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 |
---|---|
|
The method completed successfully. |
|
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for