-
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
-
代码模板添加
Code Template add-in for Visual C++ 5.0 在VC5中可增加的代码模板(5KB)-Code Template add-in for Visual C++ 5.0 increase in VC5 in the code templates (5KB)
- 2022-12-25 18:55:03下载
- 积分:1
-
接上级主管部门通知,为了保障奥运会的网络信息安全,净化网络环境,促进互联网信息服务健康有序发展,从即日起至2008年9月20日,我司将对所有接入的网站进行网络信...
接上级主管部门通知,为了保障奥运会的网络信息安全,净化网络环境,促进互联网信息服务健康有序发展,从即日起至2008年9月20日,我司将对所有接入的网站进行网络信息安全的彻底排查。-Then the competent authorities to inform their superiors, in order to protect the Olympic Games in network information security, clean up the network environment and the promotion of the Internet Information Service healthy and orderly development, and from now until September 20, 2008, I will have all access to the Division
- 2023-05-13 23:10:02下载
- 积分:1
-
本文档说明了如何在网络中开发网络。
This document explains how to web develop in SAP.
- 2022-03-07 08:33:24下载
- 积分:1
-
怎样把MID中的菜单去掉
怎样把MID中的菜单去掉-how to remove the menu
- 2022-07-11 17:46:25下载
- 积分:1
-
对于MFC与WinForm控件之间的支持.传统编程和.net程序的接合.
对于MFC与WinForm控件之间的支持.传统编程和.net程序的接合.-for MFC and WinForm controls between support. Traditional programming and. Net process of bonding.
- 2023-02-01 04:25:04下载
- 积分:1
-
mpeg算法,提供了一定的编码功能和解码功能,是一个比较合适的算法...
mpeg算法,提供了一定的编码功能和解码功能,是一个比较合适的算法-a mpeg algorithm with encoding and decoding function, it is a good algorithm.
- 2022-01-26 01:53:37下载
- 积分:1
-
readertest.rar
ReaderTest.rar
- 2022-01-26 04:03:26下载
- 积分:1
-
QR编码与解码
用C++编写的用于QR的编码与解码,在编写的时候遇到一些问题,有的解决了,有的没有,使用的时候需要注意
- 2022-07-17 03:30:23下载
- 积分:1
-
Chinese version of Windows programming (CHM), would like to help everyone
Windows程序设计中文版(CHM),希望对大家有帮助-Chinese version of Windows programming (CHM), would like to help everyone
- 2022-03-24 06:15:08下载
- 积分:1