#include "windows.h" #include "tchar.h" #pragma comment(lib, "advapi32.lib") int main() { //HANDLE OpenProcess( // [in] DWORD dwDesiredAccess, // [in] BOOL bInheritHandle, // [in] DWORD dwProcessId //); // 疑似プロセスオブジェクトの取得 HANDLE hProcess = NULL; hProcess = GetCurrentProcess(); // Try to open the remote process. DWORD PID = <PID>; hProcess = OpenProcess( PROCESS_ALL_ACCESS, TRUE, PID); if (!hProces