ReactOS  0.4.15-dev-3718-g2318f7f
CQueryContinue Class Reference
Inheritance diagram for CQueryContinue:
Collaboration diagram for CQueryContinue:

Public Member Functions

 CQueryContinue (HRESULT hContinue=S_OK)
 
 ~CQueryContinue ()
 
CQueryContinueoperator= (const CQueryContinue &qc)
 
CQueryContinueoperator= (HRESULT hContinue)
 
 operator HRESULT ()
 
virtual ULONG STDMETHODCALLTYPE AddRef ()
 
virtual ULONG STDMETHODCALLTYPE Release ()
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject)
 
virtual HRESULT STDMETHODCALLTYPE QueryContinue (void)
 

Private Attributes

HRESULT m_hContinue
 

Detailed Description

Definition at line 19 of file CUserNotification.cpp.

Constructor & Destructor Documentation

◆ CQueryContinue()

CQueryContinue::CQueryContinue ( HRESULT  hContinue = S_OK)
inline

Definition at line 25 of file CUserNotification.cpp.

25 : m_hContinue(hContinue) {}

◆ ~CQueryContinue()

CQueryContinue::~CQueryContinue ( )
inline

Definition at line 26 of file CUserNotification.cpp.

26 {}

Member Function Documentation

◆ AddRef()

virtual ULONG STDMETHODCALLTYPE CQueryContinue::AddRef ( void  )
inlinevirtual

Definition at line 48 of file CUserNotification.cpp.

49  {
50  return 1;
51  }

◆ operator HRESULT()

Definition at line 41 of file CUserNotification.cpp.

42  {
43  return m_hContinue;
44  }

◆ operator=() [1/2]

Definition at line 28 of file CUserNotification.cpp.

29  {
30  if (this != &qc)
32  return *this;
33  }

◆ operator=() [2/2]

Definition at line 35 of file CUserNotification.cpp.

36  {
37  m_hContinue = hContinue;
38  return *this;
39  }

◆ QueryContinue()

virtual HRESULT STDMETHODCALLTYPE CQueryContinue::QueryContinue ( void  )
inlinevirtual

Definition at line 64 of file CUserNotification.cpp.

65  {
66  // TRACE("IQueryContinue::QueryContinue() returning 0x%lx\n", m_hContinue);
67  return m_hContinue;
68  }

◆ QueryInterface()

virtual HRESULT STDMETHODCALLTYPE CQueryContinue::QueryInterface ( REFIID  riid,
void **  ppvObject 
)
inlinevirtual

Definition at line 58 of file CUserNotification.cpp.

59  {
60  return S_OK;
61  }
#define S_OK
Definition: intsafe.h:52

◆ Release()

virtual ULONG STDMETHODCALLTYPE CQueryContinue::Release ( void  )
inlinevirtual

Definition at line 53 of file CUserNotification.cpp.

54  {
55  return 0;
56  }

Member Data Documentation

◆ m_hContinue

HRESULT CQueryContinue::m_hContinue
private

Definition at line 22 of file CUserNotification.cpp.

Referenced by operator HRESULT(), operator=(), and QueryContinue().


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