DosReadMailslot or Dos32ReadMailslot

The DosReadMailslot API reads and then removes the next available message of a mailslot.

Messages are stored in a mailslot based on their priority (0-9). An incoming message with a higher priority might be stored ahead of a previously stored message with the same or lower priority.