description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the interface ID of an agile reference to an object. |
627A7EE4-CFEF-47F6-BA99-51BEB78C5D55 |
IAgileReference::Resolve method |
reference |
05/31/2018 |
|
|
|
|
Gets the interface ID of an agile reference to an object.
HRESULT Resolve(
[in] REFIID riid,
[out, retval] void **ppvObjectReference
);
-
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.
Return value | Description |
---|---|
|
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows 8.1 [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2012 R2 [desktop apps | UWP apps] |