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

IOD_DESFLAGS

列挙型フラグ
基底型u4

メンバー 11

名前10進16進
fIOD_PortType10x1
fIOD_Memory00x0
fIOD_IO10x1
fIOD_DECODE2520xFC
fIOD_10_BIT_DECODE40x4
fIOD_12_BIT_DECODE80x8
fIOD_16_BIT_DECODE160x10
fIOD_POSITIVE_DECODE320x20
fIOD_PASSIVE_DECODE640x40
fIOD_WINDOW_DECODE1280x80
fIOD_PORT_BAR2560x100

各言語での定義

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

typedef enum IOD_DESFLAGS : unsigned int {
    fIOD_PortType = 1,
    fIOD_Memory = 0,
    fIOD_IO = 1,
    fIOD_DECODE = 252,
    fIOD_10_BIT_DECODE = 4,
    fIOD_12_BIT_DECODE = 8,
    fIOD_16_BIT_DECODE = 16,
    fIOD_POSITIVE_DECODE = 32,
    fIOD_PASSIVE_DECODE = 64,
    fIOD_WINDOW_DECODE = 128,
    fIOD_PORT_BAR = 256
} IOD_DESFLAGS;
[Flags]
public enum IOD_DESFLAGS : uint
{
    fIOD_PortType = 1,
    fIOD_Memory = 0,
    fIOD_IO = 1,
    fIOD_DECODE = 252,
    fIOD_10_BIT_DECODE = 4,
    fIOD_12_BIT_DECODE = 8,
    fIOD_16_BIT_DECODE = 16,
    fIOD_POSITIVE_DECODE = 32,
    fIOD_PASSIVE_DECODE = 64,
    fIOD_WINDOW_DECODE = 128,
    fIOD_PORT_BAR = 256,
}
<Flags>
Public Enum IOD_DESFLAGS As UInteger
    fIOD_PortType = 1
    fIOD_Memory = 0
    fIOD_IO = 1
    fIOD_DECODE = 252
    fIOD_10_BIT_DECODE = 4
    fIOD_12_BIT_DECODE = 8
    fIOD_16_BIT_DECODE = 16
    fIOD_POSITIVE_DECODE = 32
    fIOD_PASSIVE_DECODE = 64
    fIOD_WINDOW_DECODE = 128
    fIOD_PORT_BAR = 256
End Enum
import enum

class IOD_DESFLAGS(enum.IntFlag):
    fIOD_PortType = 1
    fIOD_Memory = 0
    fIOD_IO = 1
    fIOD_DECODE = 252
    fIOD_10_BIT_DECODE = 4
    fIOD_12_BIT_DECODE = 8
    fIOD_16_BIT_DECODE = 16
    fIOD_POSITIVE_DECODE = 32
    fIOD_PASSIVE_DECODE = 64
    fIOD_WINDOW_DECODE = 128
    fIOD_PORT_BAR = 256
// IOD_DESFLAGS (flags)
pub const fIOD_PortType: u32 = 1;
pub const fIOD_Memory: u32 = 0;
pub const fIOD_IO: u32 = 1;
pub const fIOD_DECODE: u32 = 252;
pub const fIOD_10_BIT_DECODE: u32 = 4;
pub const fIOD_12_BIT_DECODE: u32 = 8;
pub const fIOD_16_BIT_DECODE: u32 = 16;
pub const fIOD_POSITIVE_DECODE: u32 = 32;
pub const fIOD_PASSIVE_DECODE: u32 = 64;
pub const fIOD_WINDOW_DECODE: u32 = 128;
pub const fIOD_PORT_BAR: u32 = 256;
// IOD_DESFLAGS
const (
	fIOD_PortType uint32 = 1
	fIOD_Memory uint32 = 0
	fIOD_IO uint32 = 1
	fIOD_DECODE uint32 = 252
	fIOD_10_BIT_DECODE uint32 = 4
	fIOD_12_BIT_DECODE uint32 = 8
	fIOD_16_BIT_DECODE uint32 = 16
	fIOD_POSITIVE_DECODE uint32 = 32
	fIOD_PASSIVE_DECODE uint32 = 64
	fIOD_WINDOW_DECODE uint32 = 128
	fIOD_PORT_BAR uint32 = 256
)
const
  fIOD_PortType = 1;
  fIOD_Memory = 0;
  fIOD_IO = 1;
  fIOD_DECODE = 252;
  fIOD_10_BIT_DECODE = 4;
  fIOD_12_BIT_DECODE = 8;
  fIOD_16_BIT_DECODE = 16;
  fIOD_POSITIVE_DECODE = 32;
  fIOD_PASSIVE_DECODE = 64;
  fIOD_WINDOW_DECODE = 128;
  fIOD_PORT_BAR = 256;
// IOD_DESFLAGS
pub const fIOD_PortType: u32 = 1;
pub const fIOD_Memory: u32 = 0;
pub const fIOD_IO: u32 = 1;
pub const fIOD_DECODE: u32 = 252;
pub const fIOD_10_BIT_DECODE: u32 = 4;
pub const fIOD_12_BIT_DECODE: u32 = 8;
pub const fIOD_16_BIT_DECODE: u32 = 16;
pub const fIOD_POSITIVE_DECODE: u32 = 32;
pub const fIOD_PASSIVE_DECODE: u32 = 64;
pub const fIOD_WINDOW_DECODE: u32 = 128;
pub const fIOD_PORT_BAR: u32 = 256;
const
  fIOD_PortType* = 1
  fIOD_Memory* = 0
  fIOD_IO* = 1
  fIOD_DECODE* = 252
  fIOD_10_BIT_DECODE* = 4
  fIOD_12_BIT_DECODE* = 8
  fIOD_16_BIT_DECODE* = 16
  fIOD_POSITIVE_DECODE* = 32
  fIOD_PASSIVE_DECODE* = 64
  fIOD_WINDOW_DECODE* = 128
  fIOD_PORT_BAR* = 256
enum IOD_DESFLAGS : uint {
    fIOD_PortType = 1,
    fIOD_Memory = 0,
    fIOD_IO = 1,
    fIOD_DECODE = 252,
    fIOD_10_BIT_DECODE = 4,
    fIOD_12_BIT_DECODE = 8,
    fIOD_16_BIT_DECODE = 16,
    fIOD_POSITIVE_DECODE = 32,
    fIOD_PASSIVE_DECODE = 64,
    fIOD_WINDOW_DECODE = 128,
    fIOD_PORT_BAR = 256,
}
#define global fIOD_PortType        0x1
#define global fIOD_Memory          0x0
#define global fIOD_IO              0x1
#define global fIOD_DECODE          0xFC
#define global fIOD_10_BIT_DECODE   0x4
#define global fIOD_12_BIT_DECODE   0x8
#define global fIOD_16_BIT_DECODE   0x10
#define global fIOD_POSITIVE_DECODE 0x20
#define global fIOD_PASSIVE_DECODE  0x40
#define global fIOD_WINDOW_DECODE   0x80
#define global fIOD_PORT_BAR        0x100
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。