Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Wed, 26 Sep 2007 02:02:02 -0700,    group: microsoft.public.win32.programmer.directx.sdk        back       


Sending non-fatal notification using WMP ocx   
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?
date: Wed, 26 Sep 2007 02:02:02 -0700   author:   Yaron Pass

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us