Win32 API 日本語リファレンス
ホームDevices.Sensors › SIMPLE_DEVICE_ORIENTATION

SIMPLE_DEVICE_ORIENTATION

列挙型
基底型i4

メンバー 6

名前10進16進
SimpleDeviceOrientation_NotRotated00x0
SimpleDeviceOrientation_Rotated90DegreesCounterclockwise10x1
SimpleDeviceOrientation_Rotated180DegreesCounterclockwise20x2
SimpleDeviceOrientation_Rotated270DegreesCounterclockwise30x3
SimpleDeviceOrientation_Faceup40x4
SimpleDeviceOrientation_Facedown50x5

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum SIMPLE_DEVICE_ORIENTATION : int {
    SimpleDeviceOrientation_NotRotated = 0,
    SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1,
    SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2,
    SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3,
    SimpleDeviceOrientation_Faceup = 4,
    SimpleDeviceOrientation_Facedown = 5
} SIMPLE_DEVICE_ORIENTATION;
public enum SIMPLE_DEVICE_ORIENTATION : int
{
    SimpleDeviceOrientation_NotRotated = 0,
    SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1,
    SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2,
    SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3,
    SimpleDeviceOrientation_Faceup = 4,
    SimpleDeviceOrientation_Facedown = 5,
}
Public Enum SIMPLE_DEVICE_ORIENTATION As Integer
    SimpleDeviceOrientation_NotRotated = 0
    SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1
    SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2
    SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3
    SimpleDeviceOrientation_Faceup = 4
    SimpleDeviceOrientation_Facedown = 5
End Enum
import enum

class SIMPLE_DEVICE_ORIENTATION(enum.IntEnum):
    SimpleDeviceOrientation_NotRotated = 0
    SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1
    SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2
    SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3
    SimpleDeviceOrientation_Faceup = 4
    SimpleDeviceOrientation_Facedown = 5
// SIMPLE_DEVICE_ORIENTATION
pub const SimpleDeviceOrientation_NotRotated: i32 = 0;
pub const SimpleDeviceOrientation_Rotated90DegreesCounterclockwise: i32 = 1;
pub const SimpleDeviceOrientation_Rotated180DegreesCounterclockwise: i32 = 2;
pub const SimpleDeviceOrientation_Rotated270DegreesCounterclockwise: i32 = 3;
pub const SimpleDeviceOrientation_Faceup: i32 = 4;
pub const SimpleDeviceOrientation_Facedown: i32 = 5;
// SIMPLE_DEVICE_ORIENTATION
const (
	SimpleDeviceOrientation_NotRotated int32 = 0
	SimpleDeviceOrientation_Rotated90DegreesCounterclockwise int32 = 1
	SimpleDeviceOrientation_Rotated180DegreesCounterclockwise int32 = 2
	SimpleDeviceOrientation_Rotated270DegreesCounterclockwise int32 = 3
	SimpleDeviceOrientation_Faceup int32 = 4
	SimpleDeviceOrientation_Facedown int32 = 5
)
const
  SimpleDeviceOrientation_NotRotated = 0;
  SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1;
  SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2;
  SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3;
  SimpleDeviceOrientation_Faceup = 4;
  SimpleDeviceOrientation_Facedown = 5;
// SIMPLE_DEVICE_ORIENTATION
pub const SimpleDeviceOrientation_NotRotated: i32 = 0;
pub const SimpleDeviceOrientation_Rotated90DegreesCounterclockwise: i32 = 1;
pub const SimpleDeviceOrientation_Rotated180DegreesCounterclockwise: i32 = 2;
pub const SimpleDeviceOrientation_Rotated270DegreesCounterclockwise: i32 = 3;
pub const SimpleDeviceOrientation_Faceup: i32 = 4;
pub const SimpleDeviceOrientation_Facedown: i32 = 5;
const
  SimpleDeviceOrientation_NotRotated* = 0
  SimpleDeviceOrientation_Rotated90DegreesCounterclockwise* = 1
  SimpleDeviceOrientation_Rotated180DegreesCounterclockwise* = 2
  SimpleDeviceOrientation_Rotated270DegreesCounterclockwise* = 3
  SimpleDeviceOrientation_Faceup* = 4
  SimpleDeviceOrientation_Facedown* = 5
enum SIMPLE_DEVICE_ORIENTATION : int {
    SimpleDeviceOrientation_NotRotated = 0,
    SimpleDeviceOrientation_Rotated90DegreesCounterclockwise = 1,
    SimpleDeviceOrientation_Rotated180DegreesCounterclockwise = 2,
    SimpleDeviceOrientation_Rotated270DegreesCounterclockwise = 3,
    SimpleDeviceOrientation_Faceup = 4,
    SimpleDeviceOrientation_Facedown = 5,
}
#define global SimpleDeviceOrientation_NotRotated                        0x0
#define global SimpleDeviceOrientation_Rotated90DegreesCounterclockwise  0x1
#define global SimpleDeviceOrientation_Rotated180DegreesCounterclockwise 0x2
#define global SimpleDeviceOrientation_Rotated270DegreesCounterclockwise 0x3
#define global SimpleDeviceOrientation_Faceup                            0x4
#define global SimpleDeviceOrientation_Facedown                          0x5