Export (0) Print
Expand All
Expand Minimize

SetDisplayAutoRotationPreferences function

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

Syntax


BOOL WINAPI SetDisplayAutoRotationPreferences(
  _In_  ORIENTATION_PREFERENCE *pOrientation
);

Parameters

pOrientation [in]

Pointer to a location in memory with the screen orientation preferences to set for the calling process.

Return value

TRUE if the method succeeds, otherwise FALSE.

See GetDisplayAutoRotationPreferences for an example of using this function.

Requirements

Header

WinUser.h

DLL

Kernel.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft