IMFMediaEngineNotify::EventNotify method

Notifies the application when a playback event occurs.

Syntax


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

Parameters

event [in]

A member of the MF_MEDIA_ENGINE_EVENT enumeration that specifies the event.

param1 [in]

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

param2 [in]

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngineNotify

 

 

Community Additions

ADD
Show:
© 2014 Microsoft