3.17.4.1.80 ResponseDestination (Opnum 86)

The ResponseDestination method is received by the server in an RPC_REQUEST packet. In response, the server MUST return an IDispatch interface pointer to an MSMQDestination object that represents 0 or more queues identified by the represented Message.ResponseMultiQueueFormatName.

 [propget] HRESULT ResponseDestination(
   [out, retval] IDispatch** ppdestResponse
 );

ppdestResponse: A pointer to an IMSMQQueueInfo4 interface for the MSMQQueueInfo object representing the administration queue.

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:

  • Create a new MSMQDestination object instance.

  • Set the QueueFormatName instance variable of the created MSMQDestination object to the value of the represented Message.DestinationMultiQueueFormatName.

  • Set the ppdestResponse output parameter to a pointer to an IDispatch4 interface for the newly created MSMQDestination object.