Condividi tramite


ComPtrRefBase::operator IUnknown** Operator

 

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::operator IUnknown** Operator.

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

Syntax

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

ComPtrRefBase Class
Microsoft::WRL::Details Namespace