Share via


ComPtrRefBase::operator IInspectable** Operator

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

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

Reference

ComPtrRefBase Class

Microsoft::WRL::Details Namespace