Function winsafe::EnumWindows
source · pub fn EnumWindows<F>(func: F) -> SysResult<()>
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
})?;