共用方式為


IMediaEvent.RestoreDefaultHandling

 
Microsoft DirectShow 9.0

IMediaEvent.RestoreDefaultHandling

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

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.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also