Table of Contents

Constructor DesktopWindowInfo

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

DesktopWindowInfo(nint, string, string, Win32ScreencapMethods, Win32InputMethod, Win32InputMethod)

A record providing properties of window information.

public DesktopWindowInfo(nint Handle, string Name, string ClassName, Win32ScreencapMethods ScreencapMethods = Win32ScreencapMethods.Background, Win32InputMethod MouseMethod = Win32InputMethod.Seize, Win32InputMethod KeyboardMethod = Win32InputMethod.Seize)

Parameters

Handle nint

Gets the handle to a window.

Name string

Gets the window name.

ClassName string

Gets the window class name.

ScreencapMethods Win32ScreencapMethods

The screencap methods.

MouseMethod Win32InputMethod

The mouse method.

KeyboardMethod Win32InputMethod

The keyboard method.