Graceful shutdown of WinCE6.0 device RRS feed

  • Question

  • Hi,

    Graceful shutdown of WinCE6.0 device, I have implemented the virtual watchdog timer in native application which will be monitoring GUI running event.

    If GUI is not kicked then alive event then in watchdog timeout event I am calling the following functions to occur graceful/clean reboot the device. There is 5 Sec delay between watchdog time out and reset the device.


    Close all IPC and thread of native application


    TerminateProcess ()// GUI handle






    Note : In WinCE OS I have included the power manager component.

    Please let me know appart from those functions do I need to call any other functions to do graceful reset.



    Rajashekhar Toravi
    Thursday, December 2, 2010 5:11 PM

All replies

  • If your GUI is dead, then there is no need to terminate it, resetting the board will take care of that.

    Your call to SetSystemPowerState will take care of the file system.

    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG

    Eurotech Inc.
    Thursday, December 2, 2010 9:47 PM
  • Hi Bruce Eitman

    Thanks  for your reply

    Rajashekhar Toravi

    Friday, December 3, 2010 5:00 PM