I develop a codec using a directshow filter. My user application is using Windows Media Player OCX. I want to be able to send user deined notifications to the application. Currently I do it using CBaseFilter::NotifyEvent() API. However, I don't know how to get the event in the application above the OCX. I tried to use the MediaError() API, but I could only catch events with code 'EC_ERRORABORT' and HRESULT that indicates error. In such case the graph is destroyed. I want to send notifications to the application that will not destroy the graph. What API should I use on the WMP OCX ? What is the range of event notifications codes that can be used that are not consumed by the OCX but will be passed to the application above the OCX?