且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

以编程方式中断活动的屏幕保护程序?

更新时间:2023-11-14 12:40:34

以fbonnet所说的内容为基础,以使用 kb 文章, pinvoke.net 网站是一个很好的资源.他们还在 PostMessage 函数此处.

Building on what fbonnet said, to use the functions shown in the kb article in C# the pinvoke.net site is a great resource. They also have a article on the PostMessage function here.

因此,使代码正常工作的基本方法是搜索 kb pinvoke.net 网站上的文章.或者您可以阅读本文为您完成了此操作./strong>

So the basic way of getting your code working could be searching the functions listed in the kb article on the pinvoke.net site. Or you can read this article has done that for you.