SetDisplayAutoRotationPreferences function user32
Sets the screen auto-rotation preferences for the current process.
BOOL SetDisplayAutoRotationPreferences(
ORIENTATION_PREFERENCE orientation
);
Implementation
int SetDisplayAutoRotationPreferences(int orientation) =>
_SetDisplayAutoRotationPreferences(orientation);