Function windows_win::raw::window::get_by_pid
source · pub fn get_by_pid(pid: u32) -> Result<Option<HWND>>
Expand description
Retrieves handle to a window by pid using enum_by_until
.
Parameters
pid
- Pid of the process
Return
Ok
- Success.Err
- Error reason.