#define INCL_DOSQUEUES USHORT rc = DosOpenQueue(OwnerPID, QueueHandle, QueueName); PUSHORT OwnerPID; /* Address to put queue owners' PID */ PHQUEUE QueueHandle; /* Address to put handle of queue */ PSZ QueueName; /* Pointer to queue name string */ USHORT rc; /* return code */