Thanks
Rick
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
"Rick" <Ri...@discussions.microsoft.com> wrote in message
news:2D228A7E-ECA7-4217...@microsoft.com...
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com> wrote in message
news:u5lMeS1u...@TK2MSFTNGP06.phx.gbl...
In CE 5.0 the OEM has to implement the IOCTL.
In 6.0, they have to do that plus add the IOCTL to the list of those allowed
to be called from an app.
In both cases I'd still stick with my original statement that "it has
everything to do with how your OEM implemented the IOCTL" as I consider
exposing the IOCTL as part of implementation. The OEM may have exposed a
completely separate API (like WinMo does now) so the IOCTL might not be the
right route at all. So the advice of "Ask the OEM how to reboot their
system." would still stand.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
"Bruce Eitman [eMVP]" <bruce.eit...@EuroTech.com.nospam> wrote in
message news:uLr4av1u...@TK2MSFTNGP02.phx.gbl...
I just didn't want anyone to think that the existance of the IOCTL in the
OAL meant that user mode code could actually access them. This question,
possibly with different IOCTLS, comes up too often. In fact by searching
the WindowsCE newsgroups for this thread's topic reveals the answer to the
question.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com> wrote in message
news:urJjjz1u...@TK2MSFTNGP06.phx.gbl...
thank you
SetSystemPowerState(NULL, POWER_STATE_RESET, 0);
assuming you have power management in your OS. This will cause pm.dll to
call the KernelIoControl reset IOCTL. At least it does on my WinCE 6.0
platform, and had not modified pm.dll to do so.
steve araiza