acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
comptr< TYPE > Class Template Reference

Public Types

using BASE_TYPE = TYPE

Public Member Functions

 comptr (std::nullptr_t)
 comptr (const comptr &ptr)
 comptr (::transfer_t, TYPE *p)
 comptr (TYPE *p)
HRESULT CoCreateInstance (REFCLSID rclsid, LPUNKNOWN pUnkOuter=nullptr, ::u32 dwClsContext=CLSCTX_ALL)
template<class IFACE>
HRESULT as (comptr< IFACE > &iface) const
template<class IFACE>
comptr< IFACE > as () const
TYPE * operator-> ()
TYPE * operator-> () const
 operator bool () const
bool operator! () const
TYPE * detach ()
TYPE *const * pp () const
TYPE ** operator& ()
 operator TYPE * ()
comptr & operator= (TYPE *p)
comptr & operator= (const comptr &ptr)
ULONG release ()
bool is_null () const
bool is_set () const

Public Attributes

TYPE * m_p

The documentation for this class was generated from the following file:
  • operating_system/windows_common/com/comptr.h