Skip to content

Latest commit

 

History

History
66 lines (58 loc) · 1.33 KB

File metadata and controls

66 lines (58 loc) · 1.33 KB
title ChainInterfaces::CanCastTo Method | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
implements/Microsoft::WRL::ChainInterfaces::CanCastTo
dev_langs
C++
helpviewer_keywords
CanCastTo method
ms.assetid 8be44875-53ed-494b-91a0-0f8e399685bb
caps.latest.revision 3
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

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

See Also

ChainInterfaces Structure