DosPeekMailslot or Dos32PeekMailslot

The DosPeekMailslot API reads the next available message in a mailslot without removing it.

Note: If a higher-priority message arrives, there is no guarantee that a message previously read by the DosPeekMailslot API will be the same message read by a subsequent call to the DosReadMailslot API.

Restrictions

Syntax

Parameters

Return Codes

Related Information