GetDisplayAutoRotationPreferences function user32
Retrieves the screen auto-rotation preferences for the current process.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getdisplayautorotationpreferences.
Implementation
@pragma('vm:prefer-inline')
bool GetDisplayAutoRotationPreferences(Pointer<Int32> pOrientation) =>
_GetDisplayAutoRotationPreferences(pOrientation) != FALSE;