ComPtrRefBase Class
Visual Studio 2015
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 ComPtrRefBase Class.
Supports the WRL infrastructure and is not intended to be used directly from your code.
template < typename T > class ComPtrRefBase;
Parameters
T
A ComPtr<T> type or a type derived from it, not merely the interface represented by the ComPtr.
Represents the base class for the ComPtrRef class.
Public Typedefs
| Name | Description |
|---|---|
InterfaceType | A synonym for the type of template parameter T. |
Public Operators
| Name | Description |
|---|---|
| ComPtrRefBase::operator IInspectable** Operator | Casts the current ptr_ data member to a pointer-to-a-pointer-to the IInspectable interface. |
| ComPtrRefBase::operator IUnknown** Operator | Casts the current ptr_ data member to a pointer-to-a-pointer-to the IUnknown interface. |
Protected Data Members
| Name | Description |
|---|---|
| ComPtrRefBase::ptr_ Data Member | Pointer to the type specified by the current template parameter. |
ComPtrRefBase
Header: client.h
Namespace: Microsoft::WRL::Details
Show: