IDeferredCommand::Cancel

 
Microsoft DirectShow 9.0

IDeferredCommand::Cancel

The Cancel method cancels a command that the application previously queued.

Syntax

  HRESULT Cancel(void);

Parameters

This method takes no parameters.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
VFW_E_ALREADY_CANCELLED The request was already cancelled.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also