3.17.4.1.71 ResponseQueueInfo_v2 (Opnum 77)

The ResponseQueueInfo_v2 method is received by the server in an RPC_REQUEST packet. In response, the server MUST return an IMSMQQueueInfo2 interface pointer to an MSMQQueueInfo object that represents the queue identified by the represented Message.ResponseQueueFormatName.

 [propget] HRESULT ResponseQueueInfo_v2(
   [out, retval] IMSMQQueueInfo2** ppqinfoResponse
 );

ppqinfoResponse: A pointer to a pointer to an IMSMQQueueInfo2 interface that upon successful completion will contain an MSMQQueue object representing the queue that will receive the response messages.

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 MSMQQueueInfo object instance.

  • Set the QueueFormatName instance variable of the created MSMQQueueInfo object to the value of the represented Message.ResponseQueueFormatName.

  • Call MSMQQueueInfo::Refresh on the created MSMQQueueInfo instance.

  • Set the pqinfoResponse output parameter to a pointer to an IMSMQQueueInfo2 interface for the newly created MSMQQueueInfo object.