Function maa_framework::internal::MaaToolkitSearchWindow
source · pub unsafe extern "C" fn MaaToolkitSearchWindow(
class_name: MaaStringView,
window_name: MaaStringView
) -> MaaSizeAvailable on crate feature
internal only.Expand description
@brief Search a win32 window by class name and window name.
This function searches the function by substring match. See also MaaToolkitFindWindow().
@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().