| Author |
Message |
Antony Scerri
Guest
|
Posted:
Fri Sep 24, 2004 5:25 pm Post subject:
Controlling the default WMP |
|
|
Hi
I am looking for a way of simply controlling a WMP instance that may have
already been started. I don't want to make any changes to its interfaces,
dock/undock it or anything like that. I am simply looking to issue commands
to it, to play, pause, stop etc etc. Now looking at this it would seem that
"Remoting the Windows Media Player Control" is the section in the SDK
documentation refering to something very much like I want to do. How ever
there is no description of actualy how to register your provider with an
already running instance.
Looking at the samples RemoteSkin would be the closest, but it involves
creating ActiveX containers and a window GUI etc. Is this what I would have
to do, or is there a simpler way of creating a remote control without the
need of ActiveX. I am pretty familiar with COM and C++, just having a little
trouble understanding the WMP model.
Thanks
Tony
|
|
| Back to top |
|
 |
Jim Travis [ms]
Guest
|
Posted:
Sat Sep 25, 2004 7:49 am Post subject:
Re: Controlling the default WMP |
|
|
How about this?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/KeyboardInput/KeyboardInputReference/KeyboardInputMessages/WM_APPCOMMAND.asp
--
Jim Travis
Microsoft Corp.
Windows Media Player SDK
Download:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winmedia.asp
Latest online:
http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp
Please do not send email directly to this alias as this alias is for
newsgroup purposes only. This posting is provided "AS IS" with no
warranties, and confers no rights. You assume all risk for your use. © 2004
Microsoft Corporation. All rights reserved.
"Antony Scerri" <ascerriuk@yahoo.co.uk> wrote in message
news:2rilaiF1a6polU1@uni-berlin.de...
| Quote: | Hi
I am looking for a way of simply controlling a WMP instance that may have
already been started. I don't want to make any changes to its interfaces,
dock/undock it or anything like that. I am simply looking to issue
commands
to it, to play, pause, stop etc etc. Now looking at this it would seem
that
"Remoting the Windows Media Player Control" is the section in the SDK
documentation refering to something very much like I want to do. How ever
there is no description of actualy how to register your provider with an
already running instance.
Looking at the samples RemoteSkin would be the closest, but it involves
creating ActiveX containers and a window GUI etc. Is this what I would
have
to do, or is there a simpler way of creating a remote control without the
need of ActiveX. I am pretty familiar with COM and C++, just having a
little
trouble understanding the WMP model.
Thanks
Tony
|
|
|
| Back to top |
|
 |
Chris P. [MVP]
Guest
|
Posted:
Sun Sep 26, 2004 4:16 am Post subject:
Re: Controlling the default WMP |
|
|
Jim Travis [ms] wrote:
Sweet. I was looking for this 2 years ago and for the life of me couldn't
find anything.
*sigh* :)
|
|
| Back to top |
|
 |
|
|
|
|