Table of Contents

Constructor DesktopWindowInfo

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

DesktopWindowInfo(nint, string, string, Win32ScreencapMethod, Win32InputMethod, Win32InputMethod)

A record providing properties of window information.

public DesktopWindowInfo(nint Handle, string Name, string ClassName, Win32ScreencapMethod ScreencapMethod = Win32ScreencapMethod.DXGI_DesktopDup, 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.

ScreencapMethod Win32ScreencapMethod

The screencap method.

MouseMethod Win32InputMethod

The mouse method.

KeyboardMethod Win32InputMethod

The keyboard method.