3.4.3 Initialization
To obtain an instance of the MSMQQueueManagement object:
Clients MUST create an instance of the MSMQManagement object and initialize it by calling the IMSMQManagement::Init method on the object. Refer to section 3.3.3 for the initialization of the MSMQManagement coclass.
Clients MUST obtain the instance of MSMQQueueManagement by invoking a call to IUnknown::QueryInterface (refer to section 3.1) on the MSMQManagement object, with the interface identifier of IMSMQQueueManagement.
If the QueueIsOutgoing instance variable of the MSMQManagement object is equal to True, the server MUST return E_NOINTERFACE (0x80004002).