Skip to main content

MaaWin32ScreencapMethod

Type Alias MaaWin32ScreencapMethod 

Source
pub type MaaWin32ScreencapMethod = u64;
Expand description

@brief Win32 screencap method

No bitwise OR, select ONE method only.

No default value. Client should choose one as default.

Different applications use different rendering methods, there is no universal solution.

MethodSpeedCompatibilityRequire AdminBackground SupportNotes
GDIFastMediumNoNo
FramePoolVery FastMediumNoYesRequires Windows 10 1903+
DXGI_DesktopDupVery FastLowNoNoDesktop duplication (full screen)
DXGI_DesktopDup_WindowVery FastLowNoNoDesktop duplication then crop
PrintWindowMediumMediumNoYes
ScreenDCFastHighNoNo

Note: When a window is minimized on Windows, all screencap methods will fail. Avoid minimizing the target window.