How to hard reset WinMobile 5.0 device?

Hi Friends,

In my application i am hard resetting WinCE4.2 and WinMobile3.0 devices by calling APIs SetCleanRebootFlag and KernelIoControl. It is documented that these APIs call will not work for WinMobile 5.0. For hard reset WinMobile5.0 i am calling ExitWindowsEx API but it only soft reset the device. How to hard reset WinMobile5.0 device .

Thanks,

Ram



Answer this question

How to hard reset WinMobile 5.0 device?

  • pauldo

    Hi Avinash,

    ://forums.microsoft.com/MSDN/ShowPost.aspx PostID=210095&SiteID=1 says about soft reset(using ExitWindowsEx). I am looking hard reset.

    Thanks,

    Ram


  • JasonInTacoma

    Ram,

    Don't know if this helps but I recently saw this post on the C# forum:

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=395341&SiteID=1

    This talks about hard reseting programmitcally. I think the reset command may be vendor specific. Hope this helps



  • Polita

    Did you take a look here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=210095&SiteID=1.

    Thanks


  • darom

    A hard reset won't "destroy" a PDA; it will only delete all the data. If you can't trust someone not to do that, how can you trust them not to start at \ and try to delete every file


  • Reghunath


    Hi

    Before I answer this question, is the information
    'restricted' I noted MSDN has REMOVED all
    documentation related to this issue.

    The answer is found in the windows ce development
    kit (not the sdks) that manufacturers use to make
    the BIOS and hardware.

    So if the information is not allowed, then I will not post the answer as this
    can be information used for destroying an unwitting users's WM 5 pda. data -
    which may not be backed up.

    Aprivate



  • Paulo X

    Hi,

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=395341&SiteID=1 says about SetSystemPowerState and KernelIoControl. These calls are only soft reset the win mobile 5.0 devices.

    1. Calls KernelIoControl with SetCleanRebootFlag, hard reset PPC2002 and PPC2003 and win mobile 3.0 devices.

    2. ExitWindowEx call soft reset the win mobile 5.0 device.

    3. ExitWindowEx call with SetCleanRebootFlag also soft reset win mobile 5.0 devices.

    How to hard reset win mobile 5.0 device pls help me.

    thanks in advance.


  • Michael Miller

    Of course, A hard reset will bring the PDA back to the NEW IN THE BOX
    STATE. If you did not save your data, its like losing your 80 Gig harddisk
    and all your precious data.

    For the developers here I;m sure we all know the consequences of
    not doing a backup. Sorry for the wrong use of the word :-) The
    new kernal call ZEROS all locations before reloading the O/S.


    Aprivate


  • How to hard reset WinMobile 5.0 device?