3.13.4.1 IMSMQQuery4 Interface

msdn link

The IMSMQQuery4 interface provides methods for sending messages to a queue or queues. The version for this interface is 1.0.

There are three previous versions of this interface: IMSMQQuery, IMSMQQuery2, and IMSMQQuery3. These previous versions are nearly identical, with somewhat fewer methods. All differences from previous versions are described in Windows Behavior notes in the method descriptions that follow.

To receive incoming remote calls for this interface, the server MUST implement a DCOM object class with the CLSID {d7d6e073-dccd-11d0-aa4b-0060970debae} (coclass MSMQQuery, as specified in section 1.9), which implements the IMSMQQuery4 interface using the UUID {eba96b24-2168-11d3-898c-00e02c074f6b}.

The following opnum table begins at opnum 7. Opnums 0 through 2 are inherited from the IUnknown interface, as specified in [MS-DCOM] section 3.1.1.5.8. Opnums 3 through 6 are inherited from the IDispatch interface, as specified in [MS-OAUT] section 3.1.4.

Methods in RPC Opnum Order

Method

Description

LookupQueue_v2

Creates and returns an MSMQQueueInfos object, which defines a query that can be used to locate public queues.<82>

Opnum: 7

Properties, get Properties

Not implemented.<83>

Opnum: 8

LookupQueue

Creates and returns an MSMQQueueInfos object, which defines a query that can be used to locate public queues. This method supersedes LookupQueue_v2 and includes additional query parameters.<84><85>

Opnum: 9