3.2.4.1 Application Creates a Mailslot

The application provides the following data:

  • The name of the mailslot in the format specified in section 3.2.1.

On a mailslot create request from an application running on the server, the server MUST search through the mailslots contained in MailslotList (section 3.2.1.1) to find a mailslot for which Mailslot.Name (section 3.2.1.2) matches the application-supplied name.

  • If a match is found, the server MUST fail the request with an implementation-specific error.

  • If a match is not found, the server MUST create a new mailslot, initialize Mailslot.MessageQueue (section 3.2.1.2) to an empty queue, and add the newly-created mailslot to MailslotList.