3.1.4.2 IRemoteDispatch Interface

The IRemoteDispatch interface provides methods to dispatch calls on the server object. A client can optionally use this interface to deactivate the server object instance after the method call completes. The interface inherits opnums 0 to 6 from IDispatch ([MS-OAUT] section 3.1.4). The version for this interface is 0.0.

To receive incoming remote calls for this interface, the server MUST implement a DCOM object class that supports this interface by using the UUID {6619a740-81c4-43be-a186-0319578e02db} for this interface.

The client MUST be implemented with the type information for the remote object.

The interface includes the following methods beyond those in IDispatch.<3>

Methods in RPC Opnum Order

Method

Description

RemoteDispatchAutoDone

Invokes a call on the server object and deactivates it when the call completes.

Opnum: 7

RemoteDispatchNotAutoDone

Invokes a call on the server object without deactivating it when the call completes.

Opnum: 8