-
achieve dormancy function is very simple, as long as the implementation of the a...
实现休眠功能很简单,只要在任意想要执行的地方执行如下给出的休眠函数SetPower()就行,其实休眠很简单,只需要API:SetSystemPowerState()就行,就如关机/注销/重启一样,只需要ExitWindowEx(),但这些API可以直接用在98下,却不能用在2000/XP中,因为这里牵涉到了用户权限,没有权限是不能进行这些操作的,所以,首先要取得权限,下面给出代码:-achieve dormancy function is very simple, as long as the implementation of the arbitrary want the local implementation of the dormancy is as follows function SetPower () on the trip, dormancy is very simple, just API : SetSystemPowerState () on the trip, as shutdown/cancellation/restart, only ExitWindowEx (), but these APIs can be directly used in 98, not in 2000/XP can use, because it involves a user privileges, no authority can carry out these operations, therefore, must first obtain authority code is given below :
- 2022-03-20 18:24:22下载
- 积分:1
-
ddfffffffffffffffffffffffffffffffffff
使用系统 ;
DynamicDllImport 的命名空间
{
公共类 MainClass
{
公共静态 void Main (字符串 [] args)
{
}
- 2022-05-06 12:50:56下载
- 积分:1
-
书籍《Windows WDM设备驱动程序开发指南》的源代码。
书籍《Windows WDM设备驱动程序开发指南》的源代码。-books, "Windows WDM Device Driver Development Guide" of the source code.
- 2022-03-15 00:34:39下载
- 积分:1
-
Mif文件读取代码
Mif文件读取代码-Mif file to read the code
- 2022-03-31 04:36:42下载
- 积分:1
-
四个单词的英语学习过程中产生的小巧程序,应用程序…
英语四级单词学习程序制作,程序小巧,应用资源文件-four words of English learning process produced compact procedures, application resource files
- 2022-07-15 04:45:15下载
- 积分:1
-
用VC打造自己的资源浏览器,有注释,是学习VC的一个好例子。你可以从中学到和巩固很多知识。...
用VC打造自己的资源浏览器,有注释,是学习VC的一个好例子。你可以从中学到和巩固很多知识。-VC to create its own browser, notes, learning VC is a good example. You can learn from a lot of knowledge and consolidation.
- 2023-04-23 08:45:02下载
- 积分:1
-
C编程PIC单片机的12f508串行光游戏
Programing in C microchip pic 12f508 to serial ligth game
- 2022-02-27 04:33:54下载
- 积分:1
-
计算机图形学,这是计算机图形学的算法画圆(midpoin…
计算机图形学,这是计算机图形学中画圆算法(中点圆算法)-Computer graphics, this is draw a circle in computer graphics algorithm (midpoint circle algorithm)
- 2022-09-12 12:30:03下载
- 积分:1
-
WinceUSB同步.reg是一个注册表文件,把他打入WINCE 5下的注册表就支持Active 同步功能了。...
WinceUSB同步.reg是一个注册表文件,把他打入WINCE 5下的注册表就支持Active 同步功能了。-WinceUSB synchronization. Reg is a registry file, put him into the registry under the WINCE 5 support Active Sync function.
- 2022-02-06 17:58:14下载
- 积分:1
-
一个USB驱动代码,实现了USB枚举,组包发包等操作
一个USB驱动代码,实现了USB枚举,组包发包等操作-A USB driver code, and realized the USB enumeration, group packages contracting and other operations
- 2022-04-12 05:09:11下载
- 积分:1