Re: Receiveing MCE remote mesages in a service
Janiv,
If you really want to capture these messages before they are sent to Media
Center, I think the only way to do this would be to install a Windows Hook to
the Media Center messaging window procedure. Take a look at the
SetWindowsHookEx API.
This is a pretty dangerous activity, meaning that you could cause some major
stability issues if you do not handle things correctly. Before doing this,
please carefully consider why you are doing this and perhaps think of another
way to accomplish a similar function.
--
Thanks,
Anthony Park
Microsoft MVP (Media Center)
http://www.anpark.com
"Janiv Ratson" wrote:
Help?
"Janiv Ratson" <janivr@gmailcom> wrote in message
news:OlcmrtkgHHA.4916@TK2MSFTNGP06.phx.gbl...
Help?
"Janiv Ratson" <janivr@gmailcom> wrote in message
news:O1SvaGEgHHA.2640@TK2MSFTNGP06.phx.gbl...
Hello,
I want to write a win32 service (c++) and receive MCE remote messages
into it.
the messages I want to receive are based on the MCE remote document:
http://msdn2.microsoft.com/en-us/library/ms867196.aspx#remote_control_topic5
Thanks in advance,
J.