Microsoft DirectX 8.1 (C++)

IMediaEvent.RestoreDefaultHandling

The RestoreDefaultHandling method restores the Filter Graph Manager's default handling for a specified event.

Syntax

objMediaEvent.RestoreDefaultHandling(
    lEvCode As Long)

Parameters

lEvCode

Specifies the event code for which to restore default handling.

Return Values

This method does not return a value.

Remarks

If you call the IMediaEvent.CancelDefaultHandling method to override the default handling for an event, you can restore the default behavior by calling RestoreDefaultHandling with the same event code.

See Also