Find Next Entry in Queue                           

Input

Output

AX CBh 06h  Zero / -Error Code AX
BX     Event Handle for this File BX
CX         CX
DX   Queue     DX
  Queue: 0 - Find next Control File in Task Queue
         1 - Find next Control File in Receive Queue
         2 - Find next Control File in Log Queue

  After a call to the Find First Entry in Queue function (05H), you can step
  chronologically through a queue using the Find Next Entry in Queue function
  (06H).  Each subsequent call to Find Next Entry in Queue returns the event
  handle of the next event chronologically (as set by function 05H) in the
  specified Queue.  For example, if you set the Find First Entry function to
  search forward chronologically, the Find Next Entry function searches
  forward for the next entry that matches the specifications set with Find
  First Entry.  If you set Find First Entry to search backwards
  chronologically, Find Next Entry searches backwards.

  You must invoke the Find First Entry in Queue function (05H) prior to using
  the Find Next Entry in Queue function.  Once you use this function to
  obtain an event handle, you can access the file associated with that event
  by calling the Open a File function (07H).

See Also 05h Error Codes


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .