Implements::CanCastTo Method
Gets a pointer to the specified interface.
__forceinline HRESULT CanCastTo(
REFIID riid,
_Deref_out_ void **ppv
);
Parameters
riid
A reference to an interface ID.ppv
If successful, a pointer to the interface specified by riid.
Return Value
S_OK if successful; otherwise, an HRESULT that indicates the error, such as E_NOINTERFACE.
Remarks
This is an internal helper function that performs a QueryInterface operation.
Requirements
Header: implements.h
Namespace: Microsoft::WRL