-
February 4th, 2015, 06:26 AM
#1
CPU power button event
I am using Windows 7 32bit OS and want to detect the CPU power button press event in my console application
developing in C language.
I configured the power button setting to "Do Nothing" which is in "Choose what the power button does"
options in Control Panel->Hardware and Sound->Power Options. So now i want to detect this power button
press event and do some processing in my application then i will initate shut down from application itself.
Kindly provide the windows API details which will detect the power button press event.
-
February 4th, 2015, 08:14 AM
#2
Re: CPU power button event
This question was already answered in your other thread: http://forums.codeguru.com/showthrea...71#post2173771
Why do you post it again?
Victor Nijegorodov
-
February 5th, 2015, 12:00 AM
#3
Re: CPU power button event
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|