Function windows_win::raw::window::find

source ·
pub fn find<T: AsRef<OsStr>>(
    class_name: T,
    window_name: Option<T>
) -> Result<HWND>
Expand description

Search for a window’s handle.

Parameters

  • class_name - Name of window’s class.
  • window_name - Window’s title.

Return

  • Ok - Handle to window.
  • Err - Error reason.