Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

© 2017 Microsoft