IAgileReference::Resolve(REFIID,void**) method (objidl.h)

Gets the interface ID of an agile reference to an object.

Syntax

HRESULT Resolve(
                REFIID riid,
  [out, retval] void   **ppvObjectReference
);

Parameters

riid

[out, retval] ppvObjectReference

On successful completion, *ppvObjectReference is a pointer to the interface specified by riid.

Return value

This method can return one of these values.

Return value Description
S_OK
The method completed successfully.
E_NOINTERFACE
The requested interface isn't implemented on the registered object.

Remarks

Call the RoGetAgileReference function to create an agile reference to an object. Call the Resolve method to localize the object into the apartment in which Resolve is called.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h

See also

IAgileReference

RoGetAgileReference