-
关于如何锁住键盘和鼠标
钩子实际上是一个处理消息的程序段,通过系统调用,把它挂入系统。每当特定的消息发出,在没有到达目的窗口前,钩子程序就先捕获该消息,亦即钩子函数先得到控制权。这时钩子函数即可以加工处理(改变)该消息,也可以不作处理而继续传递该消息,还可以强制结束消息的传递。对每种类型的钩子由系统来维护一个钩子链,最近安装的钩子放在链的开始,而最先安装的钩子放在最后,也就是后加入的先获得控制权。要实现Win32的系统钩子,必须调用SDK中的API函数SetWindowsHookEx来安装这个钩子函数,这个函数的原型是HHOOK SetWindowsHookEx(int idHook,HOOKPROC lpfn,HINSTANCE hMod,DWORD dwThreadId);,其中,第一个参数是钩子的类型;第二个参数是钩子函数的地址;第三个参数是包含钩子函数的模块句柄;第四个参数指定监视的线程。
- 2022-02-24 11:14:29下载
- 积分:1
-
设计一个程序模拟进程管理的过程,采用时间片轮转法,进程占用CPU的时间片有每个进程的优先数来确定。(约定:每个优先数对应10分钟)...
设计一个程序模拟进程管理的过程,采用时间片轮转法,进程占用CPU的时间片有每个进程的优先数来确定。(约定:每个优先数对应10分钟)-design a simulation process management process using time-Web, the process of CPU time for each and every piece of the process to determine the priority number. (Agreement : each corresponding priority number 10 minutes)
- 2023-02-01 07:45:04下载
- 积分:1
-
How to use the WinIo library in Win2000 and WinXP system. this sample will lead...
VC下WinIo的应用实例(改进版)根据前一版有网友提出的建议进行改进,为了在VC中能正常使用WinIo库,必须按以下步骤进行配置:
(1):将WinIo.dll、WinIo.sys、WINIO.VXD三个文件放在程序可执行文件所在目录下;
(2):将WinIo.lib添加到工程中,WinIo.lib及winio.h文件必须放在工程目录下;
(3):在StdAfx.h头文件中加入#include "winio.h"语句;
(4):调用InitializeWinIo函数初始化WinIo驱动库;
(5):调用读写IO口的GetPortVal或SetPortVal函数;
(6):调用ShutdownWinIo函数;
本实例是在VC6.0环境下 XP系统.
-How to use the WinIo library in Win2000 and WinXP system. this sample will lead you to use the WinIo rightly.
- 2022-08-21 23:18:28下载
- 积分:1
-
CTrayIconPosition can get each tray position and move them
CTrayIconPosition can get each tray position and move them -CTrayIconPosition can get each tray position and move them CTrayIconPosition can get each tray position and move them
- 2023-05-15 21:10:03下载
- 积分:1
-
courses on operating system design _DLL call; Incidentally flow chart and the ma...
操作系统课程设计_DLL调用;附带说明及主要函数流程图。-courses on operating system design _DLL call; Incidentally flow chart and the main function.
- 2022-03-06 12:38:03下载
- 积分:1
-
大家知道,DELPHI许多控件有IME属性。这么好用的东西VC可没自带,怎么办呢?其实,可通过注册表,用API实现。下面说一下本人对IME的研究结果,并提供示例...
大家知道,DELPHI许多控件有IME属性。这么好用的东西VC可没自带,怎么办呢?其实,可通过注册表,用API实现。下面说一下本人对IME的研究结果,并提供示例工程供大家参考: [代码性质] VC可重用代码段 [文件大小] 10K -we all know, many controls are DELPHI IME attributes. So handy things VC may not own, how do? In fact, through the registry, using API. Now I say something right IME"s findings, and provide examples of projects for your consideration : [code nature] VC reusability of the code [Size] 10K
- 2022-04-28 15:45:30下载
- 积分:1
-
使用MFC开发 功能类似与linux下的crontab 可以在Windows下按设定的间隔时间执行程序
支持将配置信息和执行情况写入到文件...
使用MFC开发 功能类似与linux下的crontab 可以在Windows下按设定的间隔时间执行程序
支持将配置信息和执行情况写入到文件-The use of MFC development function similar to crontab under linux in Windows under the time interval set by the implementation of procedures to support the implementation of configuration information and write to a file
- 2023-02-05 09:30:03下载
- 积分:1
-
是一个TAPI拨号程序,有一些功能挺实用,很有学习价值。
是一个TAPI拨号程序,有一些功能挺实用,很有学习价值。-TAPI is a dial-up procedure, there are some very useful features.
- 2022-02-12 10:50:26下载
- 积分:1
-
学生成绩管理系统,功能基本完备,非常适合学习和研究
学生成绩管理系统,功能基本完备,非常适合学习和研究-Student achievement management system, the basic function of a complete, very suitable for study and research
- 2022-02-03 08:37:49下载
- 积分:1
-
programming embedded systems
programming embedded systems
- 2022-02-25 05:02:26下载
- 积分:1