开发者

Win 7 API to set power key to sleep rather than shutdown

What are the Windows 7 API calls to cause the power key to sleep rather than shutdo开发者_JAVA技巧wn?

I do not need advice about how to use the Windows Control Panel. This is a programming question.

How would one write code to do this?


This MSDN forum post has the exact same question with the correct answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜