登录
首页 » Windows开发 » achieve dormancy function is very simple, as long as the implementation of the a...

achieve dormancy function is very simple, as long as the implementation of the a...

于 2022-03-20 发布 文件大小:1.46 kB
0 183
下载积分: 2 下载次数: 1

代码说明:

实现休眠功能很简单,只要在任意想要执行的地方执行如下给出的休眠函数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 :

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2410 wince introduce
    2410 wince introduce
    2022-05-24 19:51:04下载
    积分:1
  • 2-class problem determine the decision boundaries obtained by LMS and perceptron learning laws.
    2023-05-18 08:15:04下载
    积分:1
  • “五子棋”这个程序是部分的,它是博弈树搜索…
    本“五子棋“程序只编写了人机对弈部分,运用了博弈树进行搜索,在选取最优的走步时使用极大极小分析法,考虑到搜索的时间复杂度和空间复杂度,在程序中只进行了2步搜索,即计算机在考虑下一步的走法时,只对玩家进行一步的推测。(程序中的棋盘规格为15*15)-" quintet game " this procedure is it is it partly , is it play chess tree search for to use to play chess while being man-machine to write only, use the great extremely small analytic approach while choosing the optimum walking, consider time complexity and space complexity searched for, only search for 2 steps in the procedure , namely the computer, while considering next walking in France,
    2022-01-22 11:03:50下载
    积分:1
  • 鼠标、光标控制函数
    鼠标、光标控制函数-mouse, the cursor control function
    2022-04-01 23:14:32下载
    积分:1
  • 代码很少但是效率很高的内存整理程序。作者:mallon。用VC6编译通过。...
    代码很少但是效率很高的内存整理程序。作者:mallon。用VC6编译通过。-Few, however code memory efficient finishing process. Author: mallon. Through the use VC6 compiler.
    2022-04-17 22:42:17下载
    积分:1
  • 轻量级SQL SERVER编辑工具
    这是一个基于C#编写的轻量级的SQL SERVER编辑工具,它不仅可以编辑SQL 语句,更可以脱离SQL SERVER来执行并获得所需的结果,非常方便,是您研究数据库连接与实现的好源码。注意:建立工程是基于VS2010的。使用方法:1、执行该工具2、选择数据库引擎3、选择数据库实例4、运行软件
    2022-12-16 11:25:04下载
    积分:1
  • wap网址大全源码 使用的导航站全代码 都附加了注释 简单易懂...
    wap网址大全源码 使用的导航站全代码 都附加了注释 简单易懂-wap site using the navigation station Taiquan source code attached to all notes easy to understand
    2022-12-22 13:35:03下载
    积分:1
  • Use MFC to do the color set tool. You can learn the RGB and MFC coding.
    Use MFC to do the color set tool. You can learn the RGB and MFC coding.
    2022-03-11 17:02:34下载
    积分:1
  • 文件夹监控,可监控制定文件夹里文件的新增,删除和修改等变化...
    文件夹监控,可监控制定文件夹里文件的新增,删除和修改等变化-Folder monitoring can monitor the development of the document folder to add, delete and modify, such as changes in
    2022-06-03 09:04:43下载
    积分:1
  • NT Event Log Writer
    NT Event Log Writer - how to write event into Widnows event log using this tool-NT Event Log Writer- how to write event into Widnows event log using this tool
    2022-02-06 01:16:00下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载