Function tasklist::find_process_name_by_id
source · [−]Expand description
just like the name , this function will return a Option<String>
by the id you gave, String
is the name of process.
unsafe{
let pname = tasklist::find_process_name_by_id(9720);
println!("{:#?}",pname);
}