Microsoft DirectX 9.0

CDeferredCommand::Cancel

The Cancel method cancels a previously queued CDeferredCommand::Invoke request.

Syntax

HRESULT Cancel(void);

Return Value

Returns VFW_E_ALREADY_CANCELLED if m_pQueue is NULL. Returns an HRESULT from CCmdQueue::Remove if the call generates an error. Returns S_OK if successful.

Remarks

This member function implements the IDeferredCommand::Cancel method.

See Also