Queue system calls under REAL/32 use the Queue Parameter Block (QPB) data structure to pass parameters to and from the table below shows the Queue Parameter Block format.

 

Real Mode Version

Field Offset Size Description
  0 Word Reserved for internal use; must be initialized to zero.
QUEUEID 2 Word QUEUEID Queue number field; filled in by Q_OPEN operation.
  4 Word Reserved for internal use; must be initialized to zero.
Buffer 6 Word Offset address of Queue Message Buffer within QPB segment.  If 0xFFFF then Buff FAR PTR is used.
Name 8 8 Bytes Name of Queue for Q_OPEN operation.
Buff Far PTR 0Fh DWord If Buffer = 0xFFFF this address is used as the pointer to the Queue Message buffer.


DPMI Version

Field Offset Size Description
  0 Word Reserved for internal use; must be initialized to zero.
QUEUEID 2 Word QUEUEID Queue number field; filled in by Q_OPEN operation.
  4 Word Reserved for internal use; must be initialized to zero.
Buffer 6 DWord Offset address of Queue Message Buffer.
Buff_sel 0A Word Selector of buffer
Name 0C 8 Bytes Name of Queue for Q_OPEN operation.