IXamlDiagnostics::GetHandleFromIInspectable method (xamlom.h)
Gets an InstanceHandle representation of an IInspectable.
Syntax
HRESULT GetHandleFromIInspectable(
[in] IInspectable *pInstance,
[out, retval] InstanceHandle *pHandle
);
Parameters
[in] pInstance
An instance of the object as an IInspectable.
[out, retval] pHandle
A handle to the object.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | xamlom.h |