Share via


ComPtrRefBase::operator IInspectable** Operator

 

The latest version of this topic can be found at ComPtrRefBase::operator IInspectable** Operator.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

operator IInspectable**() const;  

Remarks

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.

Requirements

Header: client.h

Namespace: Microsoft::WRL::Details

See Also

ComPtrRefBase Class
Microsoft::WRL::Details Namespace