pub unsafe fn find_process_name_by_id(process_id: u32) -> Option<String>
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);
}