Microsoft DirectX 9.0

IMediaEvent.FreeEventParams

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.

See Also