摘要: 本文来源:https://www.jianshu.com/p/81cdf20f75f8 设备驱动分类 字符设备:可一个一个字节读取的设备,一般要实现open close read write ioctl等操作, 内核为字符设备对应一个文件如"/dev/consloe",对字符设备的操作通过操作设备文 阅读全文
posted @ 2023-08-12 11:53 红叶空间 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 【说明:本文转载自如下地址】https://cloud.tencent.com/developer/article/2107681?areaSource=102001.3&traceId=I-X1VzDQ2XOPORi2lXiHa 大家好,又见面了,我是你们的朋友全栈君。 2016.6.8 经过一个 阅读全文
posted @ 2023-08-06 10:23 红叶空间 阅读(215) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/liang19890820/article/details/51752029?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522163884759416780269844841%2522%252 阅读全文
posted @ 2021-12-07 11:32 红叶空间 阅读(34) 评论(0) 推荐(0) 编辑
摘要: ::作者:落梧凉::链接:https://www.zhihu.com/question/34541107/answer/154430381::来源:知乎::著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 @echo offtitle 获取管理员权限mode con cols=1 阅读全文
posted @ 2021-09-03 08:27 红叶空间 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<windows.h>#include <atlstr.h>#include<iostream>#include<atltime.h>#include<io.h>#include<stdio.h> using namespace std; #de 阅读全文
posted @ 2021-05-25 20:56 红叶空间 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 下面这些函数被应用于文件内存映射中:1) CreateFileMapping 2) FlushViewOfFile 3) MapViewOfFile 4) MapViewOfFileEx 5) MapViewOfFileVlm 6) OpenFileMapping 7) UnmapViewOfFil 阅读全文
posted @ 2021-05-21 17:00 红叶空间 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 引用地址:https://eason.blog.csdn.net/article/details/7707821 通过安装Hook过程,可以用来屏蔽消息队列中某些消息 HHOOK SetWindowsHookEx( int idHook,//钩子过程的类型 HOOKPROC lpfn,//钩子过程, 阅读全文
posted @ 2021-05-14 08:44 红叶空间 阅读(720) 评论(0) 推荐(0) 编辑
摘要: #include "atlstr.h" /*********************************************************************** Function : GetMouduleName** Description : 获取当前进程的名称和路径* * 阅读全文
posted @ 2021-05-12 14:52 红叶空间 阅读(546) 评论(0) 推荐(0) 编辑
摘要: #include <afxinet.h> int main(){ BOOL dRes,pRes; HINTERNET hInternet; HINTERNET hConnect; hInternet = InternetOpen("A3GS Sample", INTERNET_OPEN_TYPE_D 阅读全文
posted @ 2021-05-11 19:53 红叶空间 阅读(2464) 评论(2) 推荐(1) 编辑
摘要: //遍历进程 #include <windows.h>#include <tlhelp32.h> //进程快照函数头文件#include <stdio.h> int main(){ int countProcess=0; //当前进程数量计数变量 PROCESSENTRY32 currentProc 阅读全文
posted @ 2021-05-11 17:19 红叶空间 阅读(472) 评论(0) 推荐(0) 编辑