pub fn open(pid: u32, access_rights: u32) -> Result<HANDLE>Expand description
Opens process by pid.
§Note:
See information about access rights: https://msdn.microsoft.com/en-us/library/windows/desktop/ms684880%28v=vs.85%29.aspx
§Parameters
pid- Pid of the process.access_rights- Bit mask that specifies desired access rights.
§Return
Ok- Handle to opened process.Err- Error reason.