Share via


Implements::CastToUnknown Method

Gets a pointer to the underlying IUnknown interface.

__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

Reference

Implements Structure