Nui
Public Member Functions | Public Attributes | List of all members
Microsoft::WRL::Details::WeakReferenceImpl Class Referencefinal

#include <implements.h>

Inheritance diagram for Microsoft::WRL::Details::WeakReferenceImpl:
Inheritance graph
[legend]
Collaboration diagram for Microsoft::WRL::Details::WeakReferenceImpl:
Collaboration graph
[legend]

Public Member Functions

 WeakReferenceImpl (IUnknown *unk) throw ()
 
virtual ~WeakReferenceImpl () throw ()
 
 for (;;)
 
unknown_ Release ()
 
- Public Member Functions inherited from Microsoft::WRL::RuntimeClass< RuntimeClassFlags< ClassicCom >, IWeakReference >
 RuntimeClass () throw ()
 
- Public Member Functions inherited from Microsoft::WRL::Details::StrongReference
 StrongReference (long refCount=1) throw ()
 
 ~StrongReference () throw ()
 
unsigned long IncrementStrongReference () throw ()
 
unsigned long DecrementStrongReference () throw ()
 
unsigned long GetStrongReferenceCount () throw ()
 
void SetStrongReference (unsigned long value) throw ()
 

Public Attributes

REFIID riid
 
REFIID _Outptr_result_maybenull_ _Result_nullonfailure_ IInspectable ** ppvObject
 
HRESULT hr = unknown_->QueryInterface(riid, reinterpret_cast<void**>(ppvObject))
 
return hr
 
- Public Attributes inherited from Microsoft::WRL::Details::StrongReference
long strongRefCount_
 

Additional Inherited Members

- Public Types inherited from Microsoft::WRL::RuntimeClass< RuntimeClassFlags< ClassicCom >, IWeakReference >
typedef RuntimeClass RuntimeClassT
 
- Protected Member Functions inherited from Microsoft::WRL::RuntimeClass< RuntimeClassFlags< ClassicCom >, IWeakReference >
HRESULT CustomQueryInterface (REFIID, void **, bool *handled)
 

Constructor & Destructor Documentation

◆ WeakReferenceImpl()

Microsoft::WRL::Details::WeakReferenceImpl::WeakReferenceImpl ( IUnknown *  unk)
throw (
)
inline

◆ ~WeakReferenceImpl()

virtual Microsoft::WRL::Details::WeakReferenceImpl::~WeakReferenceImpl ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ for()

Microsoft::WRL::Details::WeakReferenceImpl::for ( ;;  )
inline

◆ Release()

unknown_ Microsoft::WRL::Details::WeakReferenceImpl::Release ( )

Member Data Documentation

◆ hr [1/2]

HRESULT Microsoft::WRL::Details::WeakReferenceImpl::hr = unknown_->QueryInterface(riid, reinterpret_cast<void**>(ppvObject))

◆ hr [2/2]

return Microsoft::WRL::Details::WeakReferenceImpl::hr

◆ ppvObject

REFIID _Outptr_result_maybenull_ _Result_nullonfailure_ IInspectable** Microsoft::WRL::Details::WeakReferenceImpl::ppvObject
Initial value:
{
*ppvObject = nullptr
REFIID _Outptr_result_maybenull_ _Result_nullonfailure_ IInspectable ** ppvObject
Definition: implements.h:2505

◆ riid

REFIID Microsoft::WRL::Details::WeakReferenceImpl::riid

The documentation for this class was generated from the following file: