The Create method is received by the server in an RPC_REQUEST packet. In response, the server creates a new public or private ApplicationQueue.

 HRESULT Create(
   [in, optional] VARIANT* IsTransactional,
   [in, optional] VARIANT* IsWorldReadable
 );

IsTransactional: A VARIANT pointer to a BOOLEAN value (VT_BOOL) that specifies whether the queue is transactional. If the value is TRUE (0x00000001), the queue is transactional. If the value is FALSE (0x00000000), the queue is not transactional. If the value is unspecified, the server MUST assume that this value is FALSE.

IsWorldReadable: A VARIANT pointer to a BOOLEAN value (VT_BOOL) that, if set to TRUE (0x00000001), specifies that the queue is accessible to everyone. If the value is not specified, the server MUST use FALSE (0x00000000), which specifies that the queue will be accessible only to the owner and system administrators.

Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.

When processing this call, the server MUST abide by the following contract: