Function MaaToolkitFindWindow

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

@brief Find a win32 window by class name and window name.

This function finds the function by exact match. See also MaaToolkitSearchWindow().

@param class_name The class name of the window. If passed an empty string, class name will not be filtered. @param window_name The window name 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().