Function winsafe::EnumWindows

source ·
pub fn EnumWindows<F>(func: F) -> SysResult<()>
where F: FnMut(HWND) -> bool,
Available on crate feature user only.
Expand description

EnumWindows function.

§Examples

use winsafe::{self as w, prelude::*};

w::EnumWindows(|hwnd: w::HWND| -> bool {
    println!("HWND: {}", hwnd);
    true
})?;