询问者
问问大神Windows 10是否提供检测Windows是否处于锁屏状态和解锁的方法与API

问题
全部回复
-
你好,
如果你是问UWP的是否有这样的API的话,答案是没有,UWP唯一能使用的就是Windwos hello。 我查过许多文档,都表示UWP没有原生的解锁屏幕和锁屏API。 只有通过windows hello 才能解锁屏幕。
如果不是UWP,而是普通的win32应用,则我无法确定,因为我对普通win32技术不太熟悉。
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post. -
你好,
UWP 也是没有这种API的。 如果需要的话,你可以尝试下看看普通的win32 API是否可以做到这些内容。
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.