Re: How can support the "Shutdown" function in the WINCE.net?
From: K. S. Huang (ks_huang_at_alphanetworks.com.remove.this)
Date: 07/30/04
- Next message: K. S. Huang: "Re: Why hive registry cannot restore ROM registry."
- Previous message: K. S. Huang: "Re: boot loader build error"
- In reply to: Dean Ramsier: "Re: How can support the "Shutdown" function in the WINCE.net?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Jul 2004 22:22:35 +0800
Currently, there is no implementation for the OFF State (Shutdown),
but the OFF_STATE can be entered by calling
SetSystemPowerState with POWER_STATE_OFF parameter.
The default implemenation of POWER_STATE_OFF in PM is same as the
POWER_STATE_SUSPEND.
So someone may modify the public\common\drivers\pm\pdd\default\platform.cpp
to implement the Shutdown,
and use SetSystemPowerState (NULL, POWER_STATE_OFF, POWER_FORCE).
"Dean Ramsier" <ramsiernospam@nospam.com> ¼¶¼g©ó¶l¥ó·s»D
:#S2xTgjdEHA.2688@TK2MSFTNGP10.phx.gbl...
> There is no shutdown API supported in WindowsCE. If you'd like to
shutdown,
> you'll need to implement a function to do that yourself, and call it.
Your
> hardware will also have to support this in some way. This functionality
> will be platform dependent.
> --
> Dean Ramsier - eMVP
>
>
> "Ying Rong Jun" <yrj1978@21cn.com> wrote in message
> news:%23aITJogdEHA.3732@TK2MSFTNGP11.phx.gbl...
> > Hello anybody:
> > I will support the "Shutdown" functiong in WINCE.net within my
platform.I
> > have customize the Shell and let the "start" menu has a "Shutdown"
> item.But
> > no API in wince same as the "ExitWindows" in the desktop windows.So how
> can
> > I do?
> > Thanks
> > Ying Rong Jun
> >
> >
>
>
- Next message: K. S. Huang: "Re: Why hive registry cannot restore ROM registry."
- Previous message: K. S. Huang: "Re: boot loader build error"
- In reply to: Dean Ramsier: "Re: How can support the "Shutdown" function in the WINCE.net?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|