The IWMPUserEventSink interface receives event notifications from a custom video presenter. An application that embeds the Windows Media Player control, and provides a custom video presenter, can implement the IWMPUserEventSink interface.
The Windows Media Player control retrieves a pointer to the application's IWMPUserEventSink interface by calling IServiceProvider::QueryService, passing __uuidof(IWMPUserEventSink) in the riid parameter. Therefore, an application that implements the IWMPUserEventSink interface must also implement the IServiceProvider interface.
The IWMPUserEventSink interface inherits from the IUnknown interface. IWMPUserEventSink also has these types of members:
The IWMPUserEventSink interface has these methods.
Notifies an application of an event generated by a custom video presenter that the application provided to the Enhanced Video Renderer (EVR).