ComPtr::operator Microsoft::WRL::Details::BoolType Operator


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

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

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

Header: client.h

Namespace: Microsoft::WRL

ComPtr Class
ComPtr::Get Method