询问者
当win8 pad睡眠时,怎么通过程序唤醒

问题
全部回复
-
Windows Store App 所支持的API中没有此类API。 不过Windows APIs 中我们可以用 CreateWaitableTimer SetWaitableTimer 来实现。
你可以参考这篇例子:http://www.codeproject.com/Articles/49798/Wake-the-PC-from-standby-or-hibernation Desktop .Net 的。
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
-
注意你的机器设置:
If the software doesn't work, it does not necessarily mean that your hardware doesn't support it. It's possible that some Windows settings prevent the awakening of the system. To make sure that the settings are correct, check that:
- In "Control Panel > Power Options > Change Plan Settings > Change Advanced Power Settings > Sleep > Allow Wake Timers", all items are enabled.
- If there is no password set on your Windows account, make sure that in "Control Panel > Power Options > Change Plan Settings > Change Advanced Power Settings > Brad / Additional Settings > Require a password on wakeup", all items are disabled (thanks nanfang).
查一下设置:
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
-
你的pad版本是x86 x64的 Windows 8还是?
我只能测试到PC版本的,目前还没有环境监测Pad设备
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
-