Soft Reset and Intercepting a Hard Reset windows ce 4.2 .net c#

T

tristanbannon

I've got WindowsCE 4.2 running on a piece of harware similar to an HP
iPaq, called a Tacticomp by Inter4. That shouldn't make too much of a
difference. Also, I'm using C# .Net. I want to do two things:

-Initiate a soft reset

-Intercept a hard reset when the reset button is pushed

I know of a bunch of ways to do the former with PocketPC, but not with
Windows CE 4.2. And the second one I dont really know how to do. I
have keyboard hooks set up right now to intercept keyboard presses, but
that doesn't seem to be doing it. Any help would be greatly
appreciated!

Thanks,
Tristan
 
P

Paul G. Tobey [eMVP]

It's up to the device OEM to support either/both of those. Most OEMs
support the IOCTL_HAL_REBOOT way of doing the former, but there's absolutely
no requirement that they do it.

As far as the second, what "a reset button"? I'm not asking this as a
question that I expect to be answered, but rhetorically. Since there's no
such thing as a standard "reset button", there's no way that we could
possibly give a standard answer. You could try asking the OEM, but I think
there's zero chance that you're going to be able to do this. It might just
be a button that drives the RESET signal on the hardware active. No way to
'catch' that in software (unless you want to program your own bootloader or
something, and that's specific to the hardware, too).

Paul T.
 
T

The Jackhammer

thanks! I contacted the manufacturer earlier, so i guess i'm just
waiting to see how their manual reset button works. I'm pretty sure it
just drives a software reset but again something i have to find out.
i'll post when i have a solution
 
P

Paul G. Tobey [eMVP]

But, even if it does just fire what you're calling a soft reset, that
doesn't mean that software is involved before the hardware gets reset.
Since that device appears to me to have been designed by BSquare, I'm sure
that IOCTL_HAL_REBOOT will boot it.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top