IMFMediaEngineNotify::EventNotify method

Notifies the application when a playback event occurs.

Syntax

HRESULT EventNotify(
  DWORD     event,
  DWORD_PTR param1,
  DWORD     param2
);

Parameters

event

A member of the MF_MEDIA_ENGINE_EVENT enumeration that specifies the event.

param1

The first event parameter. The meaning of this parameter depends on the event code.

param2

The second event parameter. The meaning of this parameter depends on the event code.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfmediaengine.h

See Also

IMFMediaEngineNotify