Share via


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.

Syntax

__forceinline IUnknown* CastToUnknown();  

Return Value

This operation always succeeds and returns the IUnknown pointer.

Remarks

Internal helper function.

Requirements

Header: implements.h

Namespace: Microsoft::WRL

See Also

Implements Structure