phq (PHQUEUE) - output
After DosCreateQueue returns, this handle may be used immediately by the requesting process; it is not necessary to issue DosOpenQueue.
priority (ULONG) - input
A set of flags that indicate which priority-ordering algorithm to use when placing elements in the queue, and whether or not to convert to 32-bit addresses the addresses of elements that are placed in the queue by 16-bit processes. Possible values are a combination of the values of the following two flags:
Priority-algorithm flag
QUE_FIFO (0x00000000)
QUE_NOCONVERT_ADDRESS (0x00000000)
pszName (PSZ) - input
The name string must include \QUEUES\ as the first element of the path. For example, \QUEUES\RETRIEVE\CONTROL.QUE is a valid queue name. This name must be specified by a client process in a DosOpenQueue request before the client process can add an element to the queue.
ulrc (APIRET) - returns
DosCreateQueue returns one of the following values: