共用方式為


3.1.1.5.7 IRemUnknown2 Interface

If the server reports a COM version of 5.6 or greater, the object exporter Remote Unknown object MUST support the IRemUnknown2 interface. Clients MUST check for the RPC_S_UNKNOWN_IF error (as specified in [MS-ERREF] section 2.2) to determine if the object exporter supports the IRemUnknown2 interface.

This is an ORPC interface, not a native RPC interface.

Methods in RPC Opnum Order

Method

Description

RemQueryInterface2

Acquires standard object references (see section 2.2.18.1) to additional interfaces on the object, marshaled as MInterfacePointer.

Opnum: 6

The method listed earlier MUST NOT throw an exception.