GetDisplayAutoRotationPreferences function user32

bool GetDisplayAutoRotationPreferences(
  1. Pointer<Int32> pOrientation
)

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;