这里需要用到几个函数:
FindWindow//查找窗口
HWND FindWindow(
LPCTSTR lpClassName, // class name
LPCTSTR lpWindowName // window name
);
GetWindowThreadProcessId//获取窗口进程ID
DWORD GetWindowThreadProcessId(
HWND hWnd, // handle to window
LPDWORD lpdwProcessId // process identifier
);
OpenProcess//打开进程
HANDLE OpenProcess(
DWORD dwDesiredAccess, // access flag
BOOL bInheritHandle, // handle inheritance option
DWORD dwProcessId // process identifier
);
ReadProcessMemory//读取进程内存数据
2120



被折叠的 条评论
为什么被折叠?



