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

Gets a pointer to the underlying IUnknown interface.

__forceinline IUnknown* CastToUnknown();  

This operation always succeeds and returns the IUnknown pointer.

Internal helper function.

Header: implements.h

Namespace: Microsoft::WRL

Implements Structure

Show: