Microsoft DirectX 9.0 |
The CancelDefaultHandling method cancels the Filter Graph Manager's default handling for a specified event. The event notification is passed to the application.
Syntax
HRESULT CancelDefaultHandling(
long lEvCode
);
Parameters
lEvCode
Event code for which to cancel default handling.
Return Value
Returns an HRESULT value. Possible values include those shown in the following table.
Value | Description |
S_OK | Success. |
E_INVALIDARG | No default handling for this event. |
Remarks
To restore the default handling for an event, call the IMediaEvent::RestoreDefaultHandling method with the event code.
See Also