Share via


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

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

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

Reference

ComPtr Class

ComPtr::Get Method