Beginners question: get playstate of windows media player

  • Thread starter Thread starter nazneen84
  • Start date Start date
N

nazneen84

I need to execute a certain code when a soundtrack stops playing on
windows media player

i m trying to avoid using Opennetcf libs

is there any way i can do this?

i have gone through the APIs but couldn't figure it out
 
If you are using Windows Mobile 5.0 or higher you can use the state and
notification broker. The MediaPlayerTrack* properties would be a starting
point.

Peter
 
If you are using Windows Mobile 5.0 or higher you can use the state and
notification broker. The MediaPlayerTrack* properties would be a starting
point.

Peter


But the an event is raised only if the track changes...not when it
stops
 
But the an event is raised only if the track changes...not when it
stops

what i want is to handle PlayStateChange.....but i don't know how to
go about it in CE
 
Does MediaPlayerTrackTimeElapsed not return to 0 when stopped, or are you
talking about Pausing rather than Stopping?

Peter
 
Does MediaPlayerTrackTimeElapsed not return to 0 when stopped, or are you
talking about Pausing rather than Stopping?

Peter

Thanks a lot...thats exactly what i was looking for:)
 
Back
Top