Controlling the default WMP
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Controlling the default WMP

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Antony Scerri
Guest





Posted: Fri Sep 24, 2004 5:25 pm    Post subject: Controlling the default WMP Reply with 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
Jim Travis [ms]
Guest





Posted: Sat Sep 25, 2004 7:49 am    Post subject: Re: Controlling the default WMP Reply with quote

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 Reply with quote

Jim Travis [ms] wrote:
Quote:
How about this?


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/KeyboardInput/KeyboardInputReference/KeyboardInputMessages/WM_APPCOMMAND.asp


Sweet. I was looking for this 2 years ago and for the life of me couldn't
find anything.
*sigh* :)

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB