コード例 #1
0
/*********************************************************
	Create message queues for this module
*/
HRESULT avcUnitNotifyCreateMessageQueues(void)
{
    HRESULT		hResult = NO_ERROR;

    hResult = aqmQueueOpen(	&avcUnitNotifyQueueID,		// the queue id
                            1,							// size of queue element = 1 quadlet
                            &avcUnitNotifyQueueMemory,	// the memory to use
                            NOTIFY_QUEUE_SIZE);			// how big the queue is

    return hResult;
}
コード例 #2
0
/*********************************************************
	Create message queues for this module
*/
HRESULT avcCreateMessageQueues(void)
{
	HRESULT		hResult = NO_ERROR;

	hResult = aqmQueueOpen(	&avcHandlerQueueID,			// the queue id
							1,							// size of queue element = 1 quadlet
							&avcHandlerQueueMemory,		// the memory to use
							AVC_QUEUE_SIZE);			// how big the queue is (in bytes)
	
	return hResult;
}