enderqs


Hi, when I use Windows Media Player gadget, I wonder how it trasfer sound data bewteen gadget and sideshow driver And how it control the time ellaspe and the status like(stop, pause,playing) and show it Is it in the form of the same content id

I will very appreciate for your answer.Thanks.



Re: Window Media Player Gadget Issue

tenorwoody85


Hi,

Use the i-mate SideShow Debugger that I wrote to show you how the Windows Media Player gadget works.

http://www.clubimate.com/t-WINGADRV.aspx

You will be able to see the raw content that is passed to the device and also the events that are passed to and from the gadget to the device.

-james






Re: Window Media Player Gadget Issue

Dan Polivy - MSFT

Hi,

The Windows Media Player gadget does not actually transfer the music to the device; it simply controls playback of the music using the PC's audio hardware. All of the music playback is happening on Windows Vista, and being output using the standard audio output mechanisms for that PC.

To show the elapsed time and playback state, we do refresh the same content ID every second with the updated information when playing a track.

Dan






Re: Window Media Player Gadget Issue

enderqs

Hi, Dan

Thanks for your answer. And I have another question, is that the Windows Media Player gadget contorl the playback of the music through posting application events If so, and how can I know the exact event ID

Ender





Re: Window Media Player Gadget Issue

Dan Polivy - MSFT

Ender,

Yes, the gadget uses Application Events to control playback. The events are the standard SCF defined Application Events, listed here: http://msdn2.microsoft.com/en-us/library/ms744205.aspx. Different events are used in different scenarios; for example, selecting items off of a menu causes the Menu Action event to fire, selecting off the context menu fires a Context Menu Action, while any other navigation causes a Navigation Event.

Dan






databaseforum