GetModuleFileNameEx

HANDLE hProcess =::OpenProcess(PROCESS_ALL_ACCESS,false,5196);
 char bufFullName[500]={0};
 ::GetModuleFileNameEx((HMODULE)hProcess,NULL,bufFullName,sizeof(bufFullName));

你可能感兴趣的:(c#,python,c/c++)