SetDisplayAutoRotationPreferences function Null safety user32

int SetDisplayAutoRotationPreferences(
  1. int orientation
)

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

BOOL SetDisplayAutoRotationPreferences(
  ORIENTATION_PREFERENCE orientation
);

Implementation

int SetDisplayAutoRotationPreferences(int orientation) =>
    _SetDisplayAutoRotationPreferences(orientation);