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

MODEMDEVCAPS_SPEAKER_MODE

列挙型フラグ
基底型u4

メンバー 4

名前10進16進
MDMSPKRFLAG_CALLSETUP80x8
MDMSPKRFLAG_DIAL20x2
MDMSPKRFLAG_OFF10x1
MDMSPKRFLAG_ON40x4

各言語での定義

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

typedef enum MODEMDEVCAPS_SPEAKER_MODE : unsigned int {
    MDMSPKRFLAG_CALLSETUP = 8,
    MDMSPKRFLAG_DIAL = 2,
    MDMSPKRFLAG_OFF = 1,
    MDMSPKRFLAG_ON = 4
} MODEMDEVCAPS_SPEAKER_MODE;
[Flags]
public enum MODEMDEVCAPS_SPEAKER_MODE : uint
{
    MDMSPKRFLAG_CALLSETUP = 8,
    MDMSPKRFLAG_DIAL = 2,
    MDMSPKRFLAG_OFF = 1,
    MDMSPKRFLAG_ON = 4,
}
<Flags>
Public Enum MODEMDEVCAPS_SPEAKER_MODE As UInteger
    MDMSPKRFLAG_CALLSETUP = 8
    MDMSPKRFLAG_DIAL = 2
    MDMSPKRFLAG_OFF = 1
    MDMSPKRFLAG_ON = 4
End Enum
import enum

class MODEMDEVCAPS_SPEAKER_MODE(enum.IntFlag):
    MDMSPKRFLAG_CALLSETUP = 8
    MDMSPKRFLAG_DIAL = 2
    MDMSPKRFLAG_OFF = 1
    MDMSPKRFLAG_ON = 4
// MODEMDEVCAPS_SPEAKER_MODE (flags)
pub const MDMSPKRFLAG_CALLSETUP: u32 = 8;
pub const MDMSPKRFLAG_DIAL: u32 = 2;
pub const MDMSPKRFLAG_OFF: u32 = 1;
pub const MDMSPKRFLAG_ON: u32 = 4;
// MODEMDEVCAPS_SPEAKER_MODE
const (
	MDMSPKRFLAG_CALLSETUP uint32 = 8
	MDMSPKRFLAG_DIAL uint32 = 2
	MDMSPKRFLAG_OFF uint32 = 1
	MDMSPKRFLAG_ON uint32 = 4
)
const
  MDMSPKRFLAG_CALLSETUP = 8;
  MDMSPKRFLAG_DIAL = 2;
  MDMSPKRFLAG_OFF = 1;
  MDMSPKRFLAG_ON = 4;
// MODEMDEVCAPS_SPEAKER_MODE
pub const MDMSPKRFLAG_CALLSETUP: u32 = 8;
pub const MDMSPKRFLAG_DIAL: u32 = 2;
pub const MDMSPKRFLAG_OFF: u32 = 1;
pub const MDMSPKRFLAG_ON: u32 = 4;
const
  MDMSPKRFLAG_CALLSETUP* = 8
  MDMSPKRFLAG_DIAL* = 2
  MDMSPKRFLAG_OFF* = 1
  MDMSPKRFLAG_ON* = 4
enum MODEMDEVCAPS_SPEAKER_MODE : uint {
    MDMSPKRFLAG_CALLSETUP = 8,
    MDMSPKRFLAG_DIAL = 2,
    MDMSPKRFLAG_OFF = 1,
    MDMSPKRFLAG_ON = 4,
}
#define global MDMSPKRFLAG_CALLSETUP 0x8
#define global MDMSPKRFLAG_DIAL      0x2
#define global MDMSPKRFLAG_OFF       0x1
#define global MDMSPKRFLAG_ON        0x4
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。