Function MaaToolkitSearchWindow

Source
pub unsafe extern "C" fn MaaToolkitSearchWindow(
    class_name: MaaStringView,
    window_name: MaaStringView,
) -> MaaSize
Available on crate feature internal only.
Expand description

@brief Regex search a win32 window by class name and window name.

This function searches the function by regex search. See also MaaToolkitFindWindow().

@param class_name The class name regex of the window. If passed an empty string, class name will not be filtered. @param window_name The window name regex of the window. If passed an empty string, window name will not be filtered. @return MaaSize The number of windows found that match the criteria. To get the corresponding window handle, use MaaToolkitGetWindow().