element (PULONG) - in/out

      A pointer to an indicator that specifies whether to start at the beginning of the queue or at a particular element.

      Possible values are described in the following list:

    • Set by the application to indicate "examine the first element in the queue," according to the order that was specified when the queue was created (FIFO, LIFO, or priority).

      Any Other Value

        Set by the DosPeekQueue function to identify the element that has been examined (output), or by the owner to indicate "examine the next element" (input).
      Note: By contrast, when a DosReadQueue request follows DosPeekQueue, DosReadQueue removes the same element that is identified by element, not the next element in the queue.


    [Back] [Next]