Function 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.