ORIENTATION_PREFERENCE enumeration
Indicates the screen orientation preference for a desktop app process.
Syntax
typedef enum _ORIENTATION_PREFERENCE { ORIENTATION_PREFERENCE_NONE = 0x0, ORIENTATION_PREFERENCE_LANDSCAPE = 0x1, ORIENTATION_PREFERENCE_PORTRAIT = 0x2, ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED = 0x4, ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED = 0x8 } ORIENTATION_PREFERENCE;
Constants
- ORIENTATION_PREFERENCE_NONE
-
The process has no device orientation preferences. The system may choose any available setting.
- ORIENTATION_PREFERENCE_LANDSCAPE
-
The process represents a desktop app that can be used in landscape mode.
- ORIENTATION_PREFERENCE_PORTRAIT
-
The process represents a desktop app that can be used in portrait mode.
- ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED
-
The process represents a desktop app that can be used in flipped landscape mode.
- ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED
-
The process represents a desktop app that can be used in flipped portrait mode.
See GetDisplayAutoRotationPreferences for an example of using this enumeration.
Requirements
|
Header |
|
|---|
Show: