ChainInterfaces::CastToUnknown Method

 

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::CastToUnknown Method.

Casts the interface pointer of the type defined by the I0 template parameter to a pointer to IUnknown.

__forceinline IUnknown* CastToUnknown();  

A pointer to IUnknown.

Header: implements.h

Namespace: Microsoft::WRL

ChainInterfaces Structure

Show: