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


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
> >
> >
>
>



Relevant Pages

  • Re: [PATCH] call drv->shutdown at rmmod
    ... |>> At the kexec BOF at OSDL there was some discussion on calling the ... |>> device shutdown method at module remove time, in addition to calling ... The driver was the observation that the primary ... |> whether or not to call shutdown for that particular device. ...
    (Linux-Kernel)
  • Re: How do I kill or break out of a synchronous Socket.Accept() ca
    ... I've tried calling both Closeand/or Shutdown(). ... Socket doesn't have a Dispose(), or I would have tried that too. ...
    (microsoft.public.dotnet.general)
  • Re: Thread and desktop
    ... Calling Shell_NotifyIconfrom a thread that has ... AFAIK shells are local to desktop (because windows and hooks are) ... Do all apps across all ... To tell the truth I forgot, but AFAIR everyone get notified (shutdown ...
    (microsoft.public.win32.programmer.kernel)
  • NullReferenceException after __crt_dll_terminate
    ... My managed code calls unmanaded DLL. ... calling __crt_dll_terminate before shutdown of my ... pointer to unmanaged class. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: [PATCH] call drv->shutdown at rmmod
    ... > At the kexec BOF at OSDL there was some discussion on calling the ... > device shutdown method at module remove time, in addition to calling ... And having shutdown maybe called before remove ...
    (Linux-Kernel)