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

PHONE_BUTTON_STATE

列挙型
基底型i4

メンバー 4

名前10進16進
PBS_UP10x1
PBS_DOWN20x2
PBS_UNKNOWN40x4
PBS_UNAVAIL80x8

各言語での定義

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

typedef enum PHONE_BUTTON_STATE : int {
    PBS_UP = 1,
    PBS_DOWN = 2,
    PBS_UNKNOWN = 4,
    PBS_UNAVAIL = 8
} PHONE_BUTTON_STATE;
public enum PHONE_BUTTON_STATE : int
{
    PBS_UP = 1,
    PBS_DOWN = 2,
    PBS_UNKNOWN = 4,
    PBS_UNAVAIL = 8,
}
Public Enum PHONE_BUTTON_STATE As Integer
    PBS_UP = 1
    PBS_DOWN = 2
    PBS_UNKNOWN = 4
    PBS_UNAVAIL = 8
End Enum
import enum

class PHONE_BUTTON_STATE(enum.IntEnum):
    PBS_UP = 1
    PBS_DOWN = 2
    PBS_UNKNOWN = 4
    PBS_UNAVAIL = 8
// PHONE_BUTTON_STATE
pub const PBS_UP: i32 = 1;
pub const PBS_DOWN: i32 = 2;
pub const PBS_UNKNOWN: i32 = 4;
pub const PBS_UNAVAIL: i32 = 8;
// PHONE_BUTTON_STATE
const (
	PBS_UP int32 = 1
	PBS_DOWN int32 = 2
	PBS_UNKNOWN int32 = 4
	PBS_UNAVAIL int32 = 8
)
const
  PBS_UP = 1;
  PBS_DOWN = 2;
  PBS_UNKNOWN = 4;
  PBS_UNAVAIL = 8;
// PHONE_BUTTON_STATE
pub const PBS_UP: i32 = 1;
pub const PBS_DOWN: i32 = 2;
pub const PBS_UNKNOWN: i32 = 4;
pub const PBS_UNAVAIL: i32 = 8;
const
  PBS_UP* = 1
  PBS_DOWN* = 2
  PBS_UNKNOWN* = 4
  PBS_UNAVAIL* = 8
enum PHONE_BUTTON_STATE : int {
    PBS_UP = 1,
    PBS_DOWN = 2,
    PBS_UNKNOWN = 4,
    PBS_UNAVAIL = 8,
}
#define global PBS_UP      0x1
#define global PBS_DOWN    0x2
#define global PBS_UNKNOWN 0x4
#define global PBS_UNAVAIL 0x8