3.11.4.1.3 QueueInfo (Opnum 9)

The QueueInfo method is received by the server in an RPC_REQUEST packet. In response, the server returns an MSMQQueueInfo object that represents the referenced queue.

 [propget] HRESULT QueueInfo(
   [out, retval] IMSMQQueueInfo** ppqinfo
 );

ppqinfo: A pointer to an IMSMQQueueInfo4 interface pointer that contains the MSMQQueueInfo object that represents the referenced 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:

  • If the IsInitialized instance variable is False:

    • Return an error OLE_E_BLANK (0x80040007), and take no further action.

  • Set the ppqinfo output variable to MSMQQueueInfoObject.

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