Share via


CDeferredCommand::Cancel

 
Microsoft DirectShow 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.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also