3.12.4.1.10 FormatName (Opnum 16)

The FormatName method is received by the server in an RPC_REQUEST packet. In response, the server returns the format name that identifies the Queues represented by this object.

 [propget] HRESULT FormatName(
   [out, retval] BSTR* pbstrFormatName
 );

pbstrFormatName: A pointer to a BSTR that contains the format name of the queue or queues represented by the MSMQDestination object.

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 follow these guidelines:

  • Set the pbstrFormatName output parameter to the value of QueueFormatName instance variable.

  • Return S_OK (0x00000000), and take no further action.