次の方法で共有


3.1.1.5.6 IRemUnknown Interface

Object exporters MUST implement the IRemUnknown interface. The IRemUnknown interface is used by clients to manage object lifetime and to acquire additional references on the object.

Methods in RPC Opnum Order

Method

Description

RemQueryInterface

Acquires standard object references to additional interfaces on the object.

Opnum: 3

RemAddRef

Requests that a specified number of reference counts be incremented on a specified number of interfaces on the object.

Opnum: 4

RemRelease

Requests that a specified number of reference counts be decremented on a specified number of interfaces on an object.

Opnum: 5

 The methods MUST NOT throw exceptions.