Condividi tramite


enumerazione ORIENTATION_PREFERENCE (winuser.h)

Indica la preferenza di orientamento dello schermo per un processo dell'app desktop.

Sintassi

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
} ;

Costanti

 
ORIENTATION_PREFERENCE_NONE
Valore: 0x0
Il processo non ha preferenze di orientamento del dispositivo. Il sistema può scegliere qualsiasi impostazione disponibile.
ORIENTATION_PREFERENCE_LANDSCAPE
Valore: 0x1
Il processo rappresenta un'app desktop che può essere usata in modalità orizzontale.
ORIENTATION_PREFERENCE_PORTRAIT
Valore: 0x2
Il processo rappresenta un'app desktop che può essere usata in modalità verticale.
ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED
Valore: 0x4
Il processo rappresenta un'app desktop che può essere usata in modalità orizzontale capovolta.
ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED
Valore: 0x8
Il processo rappresenta un'app desktop che può essere usata in modalità verticale capovolta.

Requisiti

Requisito Valore
Intestazione Winuser