#include <ctlutil.h>

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 () |
| VARIANT * | GetResult () |
Protected Attributes | |
| CCmdQueue * | m_pQueue |
| LPUNKNOWN | m_pUnk |
| REFERENCE_TIME | m_time |
| GUID * | m_iid |
| long | m_dispidMethod |
| short | m_wFlags |
| VARIANT * | m_pvarResult |
| BOOL | m_bStream |
| CDispParams | m_DispParams |
| DISPID | m_DispId |
| CBaseDispatch | m_Dispatch |
| HRESULT | m_hrResult |
Definition at line 573 of file ctlutil.h.
| 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 | |||
| ) |
Definition at line 1674 of file ctlutil.cpp.
References FAILED, GetIID(), CBaseDispatch::GetTypeInfo(), hr, HRESULT, CCmdQueue::Insert(), m_Dispatch, m_DispId, m_DispParams, m_pUnk, m_time, and IUnknown::QueryInterface().
| 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 | ) |
Definition at line 1808 of file ctlutil.cpp.
References CCmdQueue::CheckTime(), FAILED, hr, HRESULT, CCmdQueue::Insert(), IsStreamTime(), m_pQueue, m_time, and CCmdQueue::Remove().
| 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 | ( | ) |
Definition at line 1836 of file ctlutil.cpp.
References FAILED, GetFlags(), GetIID(), GetMethod(), GetParams(), GetResult(), CBaseDispatch::GetTypeInfo(), hr, HRESULT, m_Dispatch, m_hrResult, m_pQueue, m_pUnk, NULL, IUnknown::QueryInterface(), and CCmdQueue::Remove().
| BOOL CDeferredCommand::IsStreamTime | ( | ) | [inline] |
Definition at line 616 of file ctlutil.h.
Referenced by CCmdQueue::GetDueCommand(), CCmdQueue::Insert(), Postpone(), and CCmdQueue::Remove().
| CRefTime CDeferredCommand::GetTime | ( | ) | [inline] |
Definition at line 620 of file ctlutil.h.
Referenced by CCmdQueue::GetCommandDueFor(), CCmdQueue::GetDueCommand(), CCmdQueue::Insert(), and CCmdQueue::SetTimeAdvise().
| REFIID CDeferredCommand::GetIID | ( | ) | [inline] |
| long CDeferredCommand::GetMethod | ( | ) | [inline] |
| short CDeferredCommand::GetFlags | ( | ) | [inline] |
| DISPPARAMS* CDeferredCommand::GetParams | ( | ) | [inline] |
| VARIANT* CDeferredCommand::GetResult | ( | ) | [inline] |
CCmdQueue* CDeferredCommand::m_pQueue [protected] |
Definition at line 642 of file ctlutil.h.
Referenced by Cancel(), GetHResult(), Invoke(), and Postpone().
LPUNKNOWN CDeferredCommand::m_pUnk [protected] |
REFERENCE_TIME CDeferredCommand::m_time [protected] |
GUID* CDeferredCommand::m_iid [protected] |
long CDeferredCommand::m_dispidMethod [protected] |
short CDeferredCommand::m_wFlags [protected] |
VARIANT* CDeferredCommand::m_pvarResult [protected] |
BOOL CDeferredCommand::m_bStream [protected] |
CDispParams CDeferredCommand::m_DispParams [protected] |
DISPID CDeferredCommand::m_DispId [protected] |
CBaseDispatch CDeferredCommand::m_Dispatch [protected] |
HRESULT CDeferredCommand::m_hrResult [protected] |
1.5.6