-
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
-
图像处理的必备源程序,有助于新手学习。
图像处理的必备源程序,有助于新手学习。-image processing essential source of help newcomers learn.
- 2022-05-28 18:18:31下载
- 积分:1
-
文件名分析的 C 语言源程序 ,用C语言来进行文件名的分析.
文件名分析的 C 语言源程序 ,用C语言来进行文件名的分析. -Analysis of the file name of the C language source code, using C language to carry out an analysis of the file name.
- 2023-05-05 17:40:03下载
- 积分:1
-
更改PE文件资源的代码
更改PE文件资源的代码-changes PE Resources code
- 2022-08-26 08:18:26下载
- 积分:1
-
VC++的文件操作函数,可以遍历指定目录下的所有或指定类型的文件....
VC++的文件操作函数,可以遍历指定目录下的所有或指定类型的文件.-VC++ The file manipulation functions, you specify a directory traversal of all or specified types of files.
- 2022-03-18 00:39:42下载
- 积分:1
-
MFC个性化菜单
不错的MFC个性化菜单,可以添加菜单标题,实现XP形式的菜单项,具有渐变色形式
- 2023-07-24 07:20:03下载
- 积分:1
-
贝塞尔curve.vb
bezier曲线.vb-bezier curve.vb
- 2022-07-16 07:55:28下载
- 积分:1
-
c8051f120ANI0.7脚AD程序,已经测试过了,好使的,希望能对新手有所帮助!...
c8051f120ANI0.7脚AD程序,已经测试过了,好使的,希望能对新手有所帮助!-c8051f120ANI0.7 feet AD procedures already tested, so. The hope is to help novice!
- 2022-09-26 00:15:03下载
- 积分:1
-
客户登记
实现银行的一个简单的代码的客户群。XLS为小型工作调查非常有用
- 2022-09-02 15:10:04下载
- 积分:1
-
数值分析源代码 课程设计
数值分析源代码 课程设计-numerical analysis courses source code design
- 2022-07-24 20:01:40下载
- 积分:1