Freigeben über


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.

Syntax

__forceinline IUnknown* CastToUnknown();  

Return Value

A pointer to IUnknown.

Requirements

Header: implements.h

Namespace: Microsoft::WRL

See Also

ChainInterfaces Structure