Gets the interface ID of an agile reference to an object.
- riid [in]
The interface ID of the interface to be retrieved from the agile reference. It is not required to be the same as the registered interface.
- ppvObjectReference [out, retval]
On successful completion, *ppvObjectReference is a pointer to the interface specified by riid.
This method can return one of these values.
The method completed successfully.
The requested interface isn't implemented on the registered object.
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.
Minimum supported client
|Windows 8.1 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2012 R2 [desktop apps | Windows Store apps]|