INT 21 - Novell NetWare - QUEUE SERVICES - READ QUEUE CURRENT STATUS
AH = E3h subfn 66h
DS:SI -> request buffer (see below)
ES:DI -> reply buffer (see below)
Return: AL = status (00h,96h,9Ch,D1h-D3h,F1h,FCh,FEh,FFh) (see AH=E3h/SF=64h)
Notes:  this function is supported by Advanced NetWare 2.1+
caller must be on a workstation which is security-equivalent to a
member of the queue's Q_USERS or Q_OPERATORS properties
SeeAlso: AH=E3h/SF=67h,AH=E3h/SF=6Fh,AH=E3h/SF=76h

Format of request buffer:
Offset  Size    Description
00h    WORD    0005h (length of following data)
02h    BYTE    66h (subfunction "Read Queue Current Status")
03h    DWORD   object ID of queue (big-endian)

Format of reply buffer:
Offset  Size    Description
00h    WORD    (call) 0085h (size of following results)
02h    DWORD   object ID of queue (big-endian)
06h    BYTE    status of queue
bit 0: operator disabled addition of new jobs
bit 1: operator refuses additional job servers attaching
bit 2: operator disabled job servicing
07h    BYTE    number of jobs in queue (00h-FAh)
08h    BYTE    number of servers attached to queue (00h-19h)
09h 25 DWORDs  list of object IDs of attached servers
6Dh 25 BYTEs   list of attached servers' stations
86h    BYTE    (call) maximum number of servers to return

See also: 21E3

21E3 - Novell NetWare - QUEUE SERVICES - READ QUEUE CURRENT STATUS