Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at ChainInterfaces::CanCastTo Method.
Indicates whether the specified interface ID can be cast to each of the specializations defined by the non-default template parameters.
Syntax
__forceinline bool CanCastTo(
REFIID riid,
_Deref_out_ void **ppv
);
Parameters
riid
An interface ID.
ppv
A pointer to the last interface ID that was cast successfully.
Return Value
true if all the cast operations succeeded; otherwise, false.
Requirements
Header: implements.h
Namespace: Microsoft::WRL