CDeferredCommand Class Reference

#include <ctlutil.h>

Inheritance diagram for CDeferredCommand:

CUnknown CBaseObject

List of all members.

Public Member Functions

 CDeferredCommand (CCmdQueue *pQ, LPUNKNOWN pUnk, HRESULT *phr, LPUNKNOWN pUnkExecutor, REFTIME time, GUID *iid, long dispidMethod, short wFlags, long cArgs, VARIANT *pDispParams, VARIANT *pvarResult, short *puArgErr, BOOL bStream)
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
STDMETHODIMP Cancel ()
STDMETHODIMP Confidence (LONG *pConfidence)
STDMETHODIMP Postpone (REFTIME newtime)
STDMETHODIMP GetHResult (HRESULT *phrResult)
HRESULT Invoke ()
BOOL IsStreamTime ()
CRefTime GetTime ()
REFIID GetIID ()
long GetMethod ()
short GetFlags ()
DISPPARAMS * GetParams ()
VARIANTGetResult ()

Protected Attributes

CCmdQueuem_pQueue
LPUNKNOWN m_pUnk
REFERENCE_TIME m_time
GUID * m_iid
long m_dispidMethod
short m_wFlags
VARIANTm_pvarResult
BOOL m_bStream
CDispParams m_DispParams
DISPID m_DispId
CBaseDispatch m_Dispatch
HRESULT m_hrResult


Detailed Description

Definition at line 573 of file ctlutil.h.


Constructor & Destructor Documentation

CDeferredCommand::CDeferredCommand ( CCmdQueue pQ,
LPUNKNOWN  pUnk,
HRESULT *  phr,
LPUNKNOWN  pUnkExecutor,
REFTIME  time,
GUID *  iid,
long  dispidMethod,
short  wFlags,
long  cArgs,
VARIANT pDispParams,
VARIANT pvarResult,
short *  puArgErr,
BOOL  bStream 
)


Member Function Documentation

STDMETHODIMP CDeferredCommand::NonDelegatingQueryInterface ( REFIID  riid,
void **  ppv 
)

Reimplemented from CUnknown.

Definition at line 1762 of file ctlutil.cpp.

References GetInterface(), CUnknown::NonDelegatingQueryInterface(), and ValidateReadWritePtr.

STDMETHODIMP CDeferredCommand::Cancel (  ) 

Definition at line 1773 of file ctlutil.cpp.

References FAILED, hr, HRESULT, m_pQueue, NULL, CCmdQueue::Remove(), and S_OK.

STDMETHODIMP CDeferredCommand::Confidence ( LONG pConfidence  ) 

Definition at line 1789 of file ctlutil.cpp.

STDMETHODIMP CDeferredCommand::Postpone ( REFTIME  newtime  ) 

STDMETHODIMP CDeferredCommand::GetHResult ( HRESULT *  phrResult  ) 

Definition at line 1795 of file ctlutil.cpp.

References CheckPointer, E_ABORT, HRESULT, m_hrResult, m_pQueue, NULL, S_OK, and ValidateReadWritePtr.

HRESULT CDeferredCommand::Invoke (  ) 

BOOL CDeferredCommand::IsStreamTime (  )  [inline]

CRefTime CDeferredCommand::GetTime (  )  [inline]

REFIID CDeferredCommand::GetIID (  )  [inline]

Definition at line 624 of file ctlutil.h.

Referenced by CDeferredCommand(), and Invoke().

long CDeferredCommand::GetMethod (  )  [inline]

Definition at line 628 of file ctlutil.h.

Referenced by Invoke().

short CDeferredCommand::GetFlags (  )  [inline]

Definition at line 632 of file ctlutil.h.

Referenced by Invoke().

DISPPARAMS* CDeferredCommand::GetParams (  )  [inline]

Definition at line 636 of file ctlutil.h.

Referenced by Invoke().

VARIANT* CDeferredCommand::GetResult (  )  [inline]

Definition at line 640 of file ctlutil.h.

Referenced by Invoke().


Member Data Documentation

Definition at line 642 of file ctlutil.h.

Referenced by Cancel(), GetHResult(), Invoke(), and Postpone().

Definition at line 649 of file ctlutil.h.

Referenced by CDeferredCommand(), and Invoke().

REFERENCE_TIME CDeferredCommand::m_time [protected]

Definition at line 652 of file ctlutil.h.

Referenced by CDeferredCommand(), and Postpone().

GUID* CDeferredCommand::m_iid [protected]

Definition at line 653 of file ctlutil.h.

Definition at line 654 of file ctlutil.h.

short CDeferredCommand::m_wFlags [protected]

Definition at line 655 of file ctlutil.h.

Definition at line 656 of file ctlutil.h.

BOOL CDeferredCommand::m_bStream [protected]

Definition at line 657 of file ctlutil.h.

Definition at line 658 of file ctlutil.h.

Referenced by CDeferredCommand().

DISPID CDeferredCommand::m_DispId [protected]

Definition at line 659 of file ctlutil.h.

Referenced by CDeferredCommand().

Definition at line 662 of file ctlutil.h.

Referenced by CDeferredCommand(), and Invoke().

HRESULT CDeferredCommand::m_hrResult [protected]

Definition at line 665 of file ctlutil.h.

Referenced by GetHResult(), and Invoke().


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

Generated on Sun May 25 00:20:38 2008 by  doxygen 1.5.6