GetDisplayAutoRotationPreferences function user32

int GetDisplayAutoRotationPreferences(
  1. Pointer<Int32> pOrientation
)

Retrieves the screen auto-rotation preferences for the current process.

BOOL GetDisplayAutoRotationPreferences(
  ORIENTATION_PREFERENCE *pOrientation
);

Implementation

int GetDisplayAutoRotationPreferences(Pointer<Int32> pOrientation) =>
    _GetDisplayAutoRotationPreferences(pOrientation);