登录
首页 » 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 269
下载积分: 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 个回复

  • ppciaxclient软件
    ppciaxclient softphone
    2022-02-01 20:14:20下载
    积分:1
  • LDPC BP译码算法的matlab仿真代码
    这是关于LDPC译码的matlab源码,欢迎下载
    2022-02-13 22:39:28下载
    积分:1
  • 用于锁定屏幕的工具
    用于锁定屏幕的工具-Tools for locking the screen
    2022-04-16 22:33:10下载
    积分:1
  • directshow development of routines, suitable for beginners learning to use direc...
    directshow 的开发例程,适合directshow的初学者学习使用-directshow development of routines, suitable for beginners learning to use directshow
    2022-03-20 05:24:19下载
    积分:1
  • 动态规划
    动态规划----矩阵连乘问题 动态规划法是解决问题的一种方法。它不规定为了得到结果需如何将问题划分为子问题的固定方法,而是按不同输入给出问题的具体实例的子问题划分方法,然后再进行运算、解答问题。 矩阵连乘问题的主要思想如下: 1)设置大小为连乘个数的方阵 2)主对角线上方各元素Di,j(ij)记录获得该最小工作量矩阵分组的第一组的最后一个矩阵的序列号 最后通过下方元素可知最终结果的分组方式。-dynamic programming matrix continually multiply-dynamic programming problem is a problem-solving method. It does not require the results need to be how to divide the problems of the sub- problems fixed, but different input given by the specific example of the problem partition method, and then calculate, and answer questions. Matrix continually multiply the main idea is as follows : 1) the installation of the size of continually multiply the number phalanx 2) above the main diagonal elements Di, j (ilt; J) Matrix Mi continually multiply to the smallest workload 3) below elements Di, j (IGT; J) the record was the smallest workload of a matrix of the first group of a matrix of the final sequence, followed by the final element of the final results of the
    2022-06-17 10:27:59下载
    积分:1
  • with VISUAL C Design WIN32 applications, practical
    用 VISUAL C++ 设计WIN32应用程序,很实用-with VISUAL C Design WIN32 applications, practical
    2023-04-16 21:55:03下载
    积分:1
  • SIKIC的C#初级编程全套源代码
    源码包含C#初级教程的全套源代码,代码亲测可用,如何学习C sharp,在开发源代码里面包含很多实例和实战项目,欢迎初、中级开发者下载学习。
    2023-08-28 21:35:04下载
    积分:1
  • 查看气象云图的程序
    查看气象云图的程序-Show meteorological cloud procedures
    2022-02-15 02:34:45下载
    积分:1
  • 孙鑫VC 开发视频的配套源代码
    孙鑫VC 开发视频的配套源代码,整个视频教程涵盖教材20章内容。每章一个文件夹。文件夹的命名格式按照:“Lesson+章的序号”的形式命名,代表书中第几章的内容。例如:第一章的命名为“Lesson1”,它与书中章的序号是相对应的。
    2022-06-21 02:33:14下载
    积分:1
  • 无组件文件上传,可免除fso控件;移植性强。
    无组件文件上传,可免除fso控件;移植性强。-No file upload component, can be exempted from controls fso strong transplantation.
    2022-12-29 09:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载