3.2.4.4.3 Acquiring Additional Interfaces on the Object

When the DCOM application requests references to additional interfaces on the object, the client MUST perform the following sequence of operations:

  • It MUST look up the IPID entry for the IPID specified by the application.

  • It MUST look up the OXID entry for the OXID specified in the STDOBJREF instance.

  • It MUST use the IPID of the IRemUnknown interface of the object exporter contained in the OXID entry to issue an ORPC call (see section 3.2.4.2) on the RemQueryInterface method of the IRemUnknown interface.

The client MUST specify the following information when making the call:

  • The IPID specified by the application.

  • An array of IIDs supplied by the client application.

  • The number of public reference counts requested on the new interfaces.

When the call returns successfully, the client MUST perform the following for each entry in the REMQIRESULT array:

  • If the status code contains zero, the client MUST unmarshal the corresponding STDOBJREF and return the object reference to the DCOM application (see section 3.2.4.1.2).