求两个windows内核API函数的原型! NtReadVirtualMemory(); NtWriteVirtualMemory();
Ring0下是
NtReadVirtualMemory();
NtWriteVirtualMemory();
也可能可以是
ZwReadVirtualMemory();
ZwWriteVirtualMemory();
Ring3下是
ReadProcessMemory();
函数原型:
BOOL ReadProcessMemory(
HANDLE hProcess, // handle to the process
LPCVOID lpBaseAddress, // base of memory area
LPVOID lpBuffer, // data buffer
SIZE_T nSize, // number of bytes to read
SIZE_T * lpNumberOfBytesRead // number of bytes read
);
WriteProcessMemory();
函数原型:
BOOL WriteProcessMemory(
HANDLE hProcess, // handle to process
LPVOID lpBaseAddress, // base of memory area
LPCVOID lpBuffer, // data buffer
SIZE_T nSize, // count of bytes to write
SIZE_T * lpNumberOfBytesWritten // count of bytes written
);
NtReadVirtualMemory();
NtWriteVirtualMemory();
也可能可以是
ZwReadVirtualMemory();
ZwWriteVirtualMemory();
Ring3下是
ReadProcessMemory();
函数原型:
BOOL ReadProcessMemory(
HANDLE hProcess, // handle to the process
LPCVOID lpBaseAddress, // base of memory area
LPVOID lpBuffer, // data buffer
SIZE_T nSize, // number of bytes to read
SIZE_T * lpNumberOfBytesRead // number of bytes read
);
WriteProcessMemory();
函数原型:
BOOL WriteProcessMemory(
HANDLE hProcess, // handle to process
LPVOID lpBaseAddress, // base of memory area
LPCVOID lpBuffer, // data buffer
SIZE_T nSize, // count of bytes to write
SIZE_T * lpNumberOfBytesWritten // count of bytes written
);
...全文
相关推荐
Windows 内核API 函数 说明大全
《Windows内核API函数说明大全》是一份专为驱动开发者准备的重要参考资料,它详细解析了Windows操作系统内核层的API函数。
Windows内核驱动API大全.pdf
开发者在编写Windows内核驱动程序时,通常需要调用大量专门设计的API函数来完成各种系统级别的操作。
Windows API 函数参考手册
《Windows API 函数参考手册》是关于Microsoft Win32 API函数的完整参考手册。书中详细介绍了每一个Win32 API函数的使用方法,其中着重介绍其原型表示、函数说明、参数说明
Windows系统API常用函数(89个)简单例子大全
#### 其他常用API函数除了以上两个函数之外,还有许多其他重要的API函数,它们在Windows编程中同样扮演着重要角色。
VC编程过DNF保护代码
该项目通过VC编写驱动级代码,对Windows系统的NtReadVirtualMemory和NtWriteVirtualMemory API进行SSDT挂钩,利用汇编跳转技术绕过DNF等游戏的反作弊机


其它技术问题
