ReadProcessMemory函数用于读取其他进程的数据。
BOOL STDCALL ReadProcessMemory ( HANDLE hProcess, LPCVOID lpBaseAddress, LPVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead ) { NTSTATUS Status; Status = NtReadVirtualMemory( hProcess, (PVOID)lpBaseAddress,lpBuffer, nSize, (PULONG)lpNumberOfBytesRead ); if (!NT_SUCCESS(Status)) { SetLastErrorByStatus (Status); return FALSE; } return TRUE; }
C ReadProcessMemory,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/alsofly/p/3734811.html