Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Supports the WRL infrastructure and is not intended to be used directly from your code.
template<
typename T
>
static __forceinline Base* CastToBase(
_In_ T* ptr
);
Parameters
T
The type of parameter ptr.ptr
Pointer to a type T.
Return Value
A pointer to Base.
Remarks
Casts the specified pointer to a pointer to Base.
For more information about Base, see the Public Typedefs section in InterfaceTraits Structure.
Requirements
Header: implements.h
Namespace: Microsoft::WRL::Details