Jump to content

Detecting Power Switch Press in Custom Shell


Recommended Posts

Posted

Hi Forum,

Not sure if is the correct place to ask. However here goes.

I have written a custom shell to use with WinPE 3.0 to deploy OS to multiple systems using WIM.

The WinPE image I create is just default with WMI.cab included. My shell is copied into \windows\system32\myshell.exe and the winpeshi.ini.

However, I cannot detect when the power button is pressed. I want the use after completion of the imaging to press the power button to shutdown the system.

What do I need to do to be able to detect the power button pressed?

Do I need to load drivers for the ACPI power buttons on my PC? Or are they just treated is it treated as just a standard power button.

Thanks

Stuart


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...