ComPtr::operator Microsoft::WRL::Details::BoolType 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 ComPtr::operator Microsoft::WRL::Details::BoolType Operator.

Indicates whether or not a ComPtr is managing the object lifetime of an interface.

Syntax

WRL_NOTHROW operator Microsoft::WRL::Details::BoolType() const;  

Return Value

If an interface is associated with this ComPtr, the address of the BoolStruct::Member data member; otherwise, nullptr.

Requirements

Header: client.h

Namespace: Microsoft::WRL

See Also

ComPtr Class
ComPtr::Get Method