登录
首页 » Windows开发 » C++ to achieve regular shutdown, restart, write

C++ to achieve regular shutdown, restart, write

于 2022-03-13 发布 文件大小:24.68 kB
0 124
下载积分: 2 下载次数: 1

代码说明:

C++实现定时关机,重启,注销。同时支持倒计时实现关,启,注-C++ to achieve regular shutdown, restart, write-off. At the same time, support for the countdown to achieve clearance, Kai, note

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

发表评论

0 个回复

  • Hebei Tai substantially a second semester, the curriculum design source, led dis...
    河北工业大大一至大二学期,课程设计源码,led显示器,希望对大家有所帮助,特别是河北工业大学的同学。-Hebei Tai substantially a second semester, the curriculum design source, led display, I hope to help all of you, especially students of Hebei Industrial University.
    2022-02-13 12:44:19下载
    积分:1
  • 气球式提示栏的实现例子
    气球式提示栏的实现例子-balloon-type column suggested the realization example
    2022-07-26 11:17:50下载
    积分:1
  • 把注册表自启动shell的键值改写ExAtmShell 快速,准确!
    把注册表自启动shell的键值改写ExAtmShell 快速,准确!-put the registry since the launch of the keys rewritten shell ExAtmShell rapid and accurate!
    2022-03-16 12:23:11下载
    积分:1
  • 共享内存方式xray机 实现全屏 VC7.0
    共享内存方式xray机 实现全屏 VC7.0 -Shared memory to achieve full-screen mode
    2022-03-24 00:15:08下载
    积分:1
  • 这一样本的蓝牙应用说明使用Windows CE
    This a sample Bluetooth application which illustrates the use of Windows CE Bluetooth stack -This a sample Bluetooth application which illustrates the use of Windows CE Bluetooth stack
    2022-03-13 23:35:05下载
    积分:1
  • 经典游戏doom的代码,学习C编程的好
    经典游戏doom的代码,学习C编程的好-Classic doom games of the code, learn good C programming
    2022-08-16 03:10:10下载
    积分:1
  • 很好的代码请使用!!1
    很好的代码请使用!!1-good use of the codes, please! ! 1!
    2023-02-26 07:20:04下载
    积分:1
  • 如何使用Word中的助手控件MS Agent Control的例子
    如何使用Word中的助手控件MS Agent Control的例子--An example that how to use assistant control in word
    2022-03-24 00:28:17下载
    积分:1
  • C#读XML文件小例子
    C#读XML文件小例子-C# XML document read small example
    2022-09-26 20:30:02下载
    积分:1
  • 获得焦点的窗口和窗口的句柄
    应用背景通过使用这个应用程序,您可以轻松地获得标题和当前焦点的窗口句柄的句柄。在这个项目中我们必须使函数调用user32.dll是Windows的API的一部分。两种功能,我们将使用:getforegroundwindow() -得到处理和了解处理我们可以称getwindowtext()获得窗口的标题。关键技术在我们进入代码之前,让我们先添加2个标签,2个文本框和一个计时器。相应地将所有这些名称命名,设置定时器的时间间隔,当然,允许它。现在的代码。首先,我们定义我们的使用报表:使用系统;使用系统;使用system.windows.forms;使用system.runtime.interopservices;我们需要一个命名空间,所以我们可以使用dllimport。然后我们宣布我们的Windows API函数使用dllimport: ; ; ; ; ; ; ;[ dllimport(“user32。dll”)]静态extern int getforegroundwindow();【dllimport(“user32。dll”)]静态extern int GetWindowText(int HWND,StringBuilder文本,int数);最后,我们插入下面的代码,在计时器的滴答声(双按您的定时器在设计视图)事件: ; ; ; ; ; ; ; ; ; ; ; ;const int CHR = 256; ; ; ; ; ; ; ; ; ; ; ;int处理= 0; ; ; ; ; ; ; ; ; ; ; ;StringBuilder缓冲=新的StringBuilder(CHR); ; ; ; ; ; ; ; ; ; ; ;getforegroundwindow()处理=;&n
    2023-04-09 00:00:03下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载