Function windows_win::raw::process::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.