共用方式為


IMediaEvent.FreeEventParams

 
Microsoft DirectShow 9.0

IMediaEvent.FreeEventParams

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

The FreeEventParams method frees resources associated with the parameters of an event.

Syntax

  objMediaEvent.FreeEventParams(
 EvCode As Long,
 Param1 As Long,
 Param2 As Long)

Parameters

EvCode

Specifies the event code.

Param1

Specifies the first event parameter.

Param2

Specifies the second event parameter.

Return Values

This method does not return a value.

Remarks

After you call the IMediaEvent.GetEvent method to retrieve an event notification, you must call FreeEventParams. This method frees any resources that were allocated for the event parameters. Pass in the same variables used for the GetEvent call.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also