Expand description

tasklist

tasklist is a crate let you easily find process name of process id on windows. it based on windows-rs crate.

Functions

return the first process id by the name you gave , it return the Option<u32> , u32 is the process id.

find the process id by the name you gave , it return a Vec<U32> , if the process is not exist , it will return a empty Vec<u32>

just like the name , this function will return a Option<String> by the id you gave, String is the name of process.

get the windows tasklist ,return a HashMap<String,u32> String is the name of process, and u32 is the id of process