ntdriver.h
来自「近来看《windows驱动开发技术详解》, 照着书上做了一个加载和卸载驱动的小工」· C头文件 代码 · 共 43 行
H
43 行
/********************************************************************
Copyright 2006-2008 ZHANG Luduo. All Rights Reserved.
Permission to use, copy, modify, distribute and sell this software
and its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear
in supporting documentation.
********************************************************************/
/*
代码描述 :
功能:NT式驱动的动态加载与卸载.
大部分源码参考了WinIo库, 同时也参考
了<Windows驱动开发技术详解>一书中71页, 同时
代码作者:
姓名 - 张鲁夺, ZHANG Luduo
MSN - zhangluduo@msn.com
Email - zhangluduo@163.com
QQ群 - 34064264, 56918155, 56918241
网站 - http://www.oopfans.com
为所有爱我的人和我爱的人努力!
*/
#ifndef _NTDRIVER_H
#define _NTDRIVER_H
#include <TCHAR.h>
bool InstallDriver(TCHAR* szDriverFileName, TCHAR* szServicesName);
bool RemoveDriver(TCHAR* szServicesName);
bool StartDriver(TCHAR* szServicesName);
bool StopDriver(TCHAR* szServicesName);
#endif // _NTDRIVER_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?