次の方法で共有


3.2.4.4.1 Requesting Reference Counts on an Interface

To request additional reference counts, the client MUST perform the following sequence of operations:

The client MUST specify the following when making the call:

  • An REMINTERFACEREF structure containing:

    • The IPID contained in the STDOBJREF.

    • The public reference count that the client requires.

    • The client MAY specify a private reference count if the application requires exclusive references.<91>

When the call returns successfully, the client MUST do the following:

  • It MUST increment the public reference count in the IPID entry for the IPID contained in the STDOBJREF.

  • It MUST increment the private reference count in the IPID entry for the IPID contained in the STDOBJREF, if the client requested private reference counts.