| Microsoft DirectX 8.1 (C++) | 
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. | 
See Also