IMFMediaEngineNotify::EventNotify method (mfmediaengine.h)

Notifies the application when a playback event occurs.

Syntax

HRESULT EventNotify(
  [in] DWORD     event,
  [in] DWORD_PTR param1,
  [in] DWORD     param2
);

Parameters

[in] event

A member of the MF_MEDIA_ENGINE_EVENT enumeration that specifies the event.

[in] param1

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

[in] 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

Requirement Value
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