Method MaaControllerGetResolution
- Namespace
- MaaFramework.Binding.Interop.Native
- Assembly
- MaaFramework.Binding.Native.dll
MaaControllerGetResolution(nint, out int, out int)
Get the raw (unscaled) device resolution.
public static bool MaaControllerGetResolution(nint ctrl, out int width, out int height)Parameters
ctrlnint-
The controller handle.
widthint-
Output parameter for the raw width.
heightint-
Output parameter for the raw height.
Returns
- bool
-
true if the resolution is available, false otherwise.
Remarks
This returns the actual device screen resolution before any scaling.