Function get_exe_path
Source pub fn get_exe_path(process: HANDLE) -> Result<String>
Expand description
Gets full path to process’s exectuable.
§Note
The process MUST be opened with either PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION flag.
§Parameters
process
- Pointer to a opened process.
§Return
Ok
- Success.
Err
- Error reason.