正确处理Windows电源事件(WM_POWERBROADCAST):
http://blog.csdn.net/harbinzju/article/details/5844791
SetThreadExecutionState函数:
http://blog.sina.com.cn/s/blog_a9303fd901019ofs.html
http://blog.csdn.net/harbinzju/article/details/5844791
SetThreadExecutionState函数:
http://blog.sina.com.cn/s/blog_a9303fd901019ofs.html