摘要: 1.知道进程handle 获取进程名称。PROCESS_INFORMATION* processInfo =(PROCESS_INFORMATION*)pid(); HANDLE hProcess =processInfo->hProcess; char buffer[255]; ZeroMemory(buffer,255*sizeof(char)); GetModuleFileNameExA(hProcess,0,buffer,255*sizeof(char));2.知道进程handle,获取内存使用率PROCESS_INFORMATION* processInfo = (PROCES 阅读全文
posted @ 2013-06-09 22:14 Max Woods 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: [转]http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/29cf2de9-412e-44dd-9050-174089d8e2a2/Simulating keyboard events:SendInput() is the function to use if DirectX applications need to receive the simulated keyboard events.This function injects keyboard instructions at driver level - so t 阅读全文
posted @ 2013-06-09 02:51 Max Woods 阅读(712) 评论(0) 推荐(0) 编辑