Share via


ComPtrRefBase::operator IUnknown** Operator

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

operator IUnknown**() const;

Remarks

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.

Requirements

Header: client.h

Namespace: Microsoft::WRL::Details

See Also

Reference

ComPtrRefBase Class

Microsoft::WRL::Details Namespace