Supports the WRL infrastructure and is not intended to be used directly from your code.
template <typename T>
class ComPtrRefBase;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.
| Name | Description |
|---|---|
InterfaceType |
A synonym for the type of template parameter T. |
| Name | Description |
|---|---|
| ComPtrRefBase::operator IInspectable** | Casts the current ptr_ data member to a pointer-to-a-pointer-to the IInspectable interface. |
| ComPtrRefBase::operator IUnknown** | Casts the current ptr_ data member to a pointer-to-a-pointer-to the IUnknown interface. |
ComPtrRefBase
Header: client.h
Namespace: Microsoft::WRL::Details
Supports the WRL infrastructure and is not intended to be used directly from your code.
operator IInspectable**() const;Casts the current ptr_ data member to a pointer-to-a-pointer-to the IInspectable interface.
An error is emitted if the current ComPtrRefBase doesn't derive from IInspectable.
This cast is available only if __WRL_CLASSIC_COM__ is defined.
Supports the WRL infrastructure and is not intended to be used directly from your code.
operator IUnknown**() const;Casts the current ptr_ data member to a pointer-to-a-pointer-to the IUnknown interface.
An error is emitted if the current ComPtrRefBase doesn't derive from IUnknown.
Supports the WRL infrastructure and is not intended to be used directly from your code.
T* ptr_;Pointer to the type specified by the current template parameter. ptr_ is the protected data member.
