Is it just on my device (HTC Universal) or every Windows Mobile 5.0 delay
Soft Reset when I click the Reset button with stylus? I've noticed that it's
been delayed for a 1 or 2 seconds, but if I reset it programatically (from
some program) it is reseted immediatelly (like on WM 2003SE)? What can be
the cause of this and can I mannualy change should the reset be delayed or
sth like that (in registry or something)? Weird for me...

Re: Soft Reset delayed? by Peter

Peter
Sun Nov 20 08:39:25 CST 2005

There are two ways to soft-reset a device in WM5.0, the old method was using
kerneliocontrol and performs an immediate reset - it may lose data. The new
approach in v5 is to call SetSystemPowerState, this will ensure that
databases, registry etc are flushed first. e.g. from C++

SetSystemPowerState(NULL,POWER_STATE_RESET, 0);

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

"Aloman" <aloman.pierce@gmail.com> wrote in message
news:%239zcPrd7FHA.1420@TK2MSFTNGP09.phx.gbl...
> Is it just on my device (HTC Universal) or every Windows Mobile 5.0 delay
> Soft Reset when I click the Reset button with stylus? I've noticed that
> it's been delayed for a 1 or 2 seconds, but if I reset it programatically
> (from some program) it is reseted immediatelly (like on WM 2003SE)? What
> can be the cause of this and can I mannualy change should the reset be
> delayed or sth like that (in registry or something)? Weird for me...
>



Re: Soft Reset delayed? by ctacke/>

ctacke/>
Sun Nov 20 09:54:24 CST 2005

I's a bit scary that the IOCTL doesn't safely do the same - they should
single path that code. (though as you point out, they don't have to).

-Chris


"Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
news:uXht2Ae7FHA.3048@TK2MSFTNGP10.phx.gbl...
> There are two ways to soft-reset a device in WM5.0, the old method was
> using kerneliocontrol and performs an immediate reset - it may lose data.
> The new approach in v5 is to call SetSystemPowerState, this will ensure
> that databases, registry etc are flushed first. e.g. from C++
>
> SetSystemPowerState(NULL,POWER_STATE_RESET, 0);
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net
>
> "Aloman" <aloman.pierce@gmail.com> wrote in message
> news:%239zcPrd7FHA.1420@TK2MSFTNGP09.phx.gbl...
>> Is it just on my device (HTC Universal) or every Windows Mobile 5.0 delay
>> Soft Reset when I click the Reset button with stylus? I've noticed that
>> it's been delayed for a 1 or 2 seconds, but if I reset it programatically
>> (from some program) it is reseted immediatelly (like on WM 2003SE)? What
>> can be the cause of this and can I mannualy change should the reset be
>> delayed or sth like that (in registry or something)? Weird for me...
>>
>
>