I searched the archives for the answer to this question but I couldn't find 

I'd like to be able to detect that the power button on the computer has been 
pressed while running freedos.
(Also this would apply to the powerdown event from the QEMU emulator)

I know there is a power management utility from Eric but it doesn't seem to 
monitor for the power button.

Obviously I would need to incorporate some code into my application to notice 
the button press and then to
take action (like closing files, etc) before invoking a program to shut down 
the computer. (This type of program
I can find).   

Any ideas?



Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
Freedos-user mailing list

Reply via email to