ORIENTATION_PREFERENCE enumeration (winuser.h)
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
} ;
Constants
ORIENTATION_PREFERENCE_NONE Value: 0x0 The process has no device orientation preferences. The system may choose any available setting. |
ORIENTATION_PREFERENCE_LANDSCAPE Value: 0x1 The process represents a desktop app that can be used in landscape mode. |
ORIENTATION_PREFERENCE_PORTRAIT Value: 0x2 The process represents a desktop app that can be used in portrait mode. |
ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED Value: 0x4 The process represents a desktop app that can be used in flipped landscape mode. |
ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED Value: 0x8 The process represents a desktop app that can be used in flipped portrait mode. |
Requirements
Requirement | Value |
---|---|
Header | winuser.h |