Lines Matching refs:ProcessHandle
138 BASE_API ProcessHandle GetCurrentProcessHandle();
142 BASE_API bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle);
150 BASE_API bool OpenPrivilegedProcessHandle(ProcessId pid, ProcessHandle* handle);
156 ProcessHandle* handle);
159 BASE_API void CloseProcessHandle(ProcessHandle process);
164 BASE_API ProcessId GetProcId(ProcessHandle process);
168 FilePath GetProcessExecutablePath(ProcessHandle process);
185 ProcessId GetParentProcessId(ProcessHandle process);
204 BASE_API bool GetProcessIntegrityLevel(ProcessHandle process,
223 ProcessHandle* process_handle);
229 ProcessHandle* process_handle);
244 ProcessHandle* process_handle);
251 bool start_hidden, ProcessHandle* process_handle,
269 bool wait, ProcessHandle* process_handle);
277 bool wait, ProcessHandle* process_handle);
285 bool wait, ProcessHandle* process_handle);
301 ProcessHandle* process_handle);
346 BASE_API bool KillProcess(ProcessHandle process, int exit_code, bool wait);
351 bool KillProcessGroup(ProcessHandle process_group_id);
366 BASE_API TerminationStatus GetTerminationStatus(ProcessHandle handle,
373 BASE_API bool WaitForExitCode(ProcessHandle handle, int* exit_code);
381 BASE_API bool WaitForExitCodeWithTimeout(ProcessHandle handle, int* exit_code,
396 BASE_API bool WaitForSingleProcess(ProcessHandle handle,
542 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process);
550 virtual mach_port_t TaskForPid(ProcessHandle process) const = 0;
556 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process,
607 explicit ProcessMetrics(ProcessHandle process);
609 ProcessMetrics(ProcessHandle process, PortProvider* port_provider);
612 ProcessHandle process_;
623 mach_port_t TaskForPid(ProcessHandle process) const;