Function windows_win::raw::window::enum_by
source · pub fn enum_by<T: FnMut(HWND)>(parent: Option<HWND>, cmp_func: T) -> Result<()>
Expand description
Enumerates over windows handles and calls callback on each
Parameters
parent
- Handle of parent window to look up through its children only. Optional.cmp_func
- Callback that will be called on each window.
Return
Ok
- Success.Err
- Error reason.