Beispiel #1
0
 public static AD_PROCESS_ID GetProcessId(IDebugProcess2 process)
 {
     AD_PROCESS_ID[] pid = new AD_PROCESS_ID[1];
     EngineUtils.RequireOk(process.GetPhysicalProcessId(pid));
     return(pid[0]);
 }