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

USB_DEVICE_SPEED

列挙型
基底型i4

メンバー 4

名前10進16進
UsbLowSpeed00x0
UsbFullSpeed10x1
UsbHighSpeed20x2
UsbSuperSpeed30x3

各言語での定義

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

typedef enum USB_DEVICE_SPEED : int {
    UsbLowSpeed = 0,
    UsbFullSpeed = 1,
    UsbHighSpeed = 2,
    UsbSuperSpeed = 3
} USB_DEVICE_SPEED;
public enum USB_DEVICE_SPEED : int
{
    UsbLowSpeed = 0,
    UsbFullSpeed = 1,
    UsbHighSpeed = 2,
    UsbSuperSpeed = 3,
}
Public Enum USB_DEVICE_SPEED As Integer
    UsbLowSpeed = 0
    UsbFullSpeed = 1
    UsbHighSpeed = 2
    UsbSuperSpeed = 3
End Enum
import enum

class USB_DEVICE_SPEED(enum.IntEnum):
    UsbLowSpeed = 0
    UsbFullSpeed = 1
    UsbHighSpeed = 2
    UsbSuperSpeed = 3
// USB_DEVICE_SPEED
pub const UsbLowSpeed: i32 = 0;
pub const UsbFullSpeed: i32 = 1;
pub const UsbHighSpeed: i32 = 2;
pub const UsbSuperSpeed: i32 = 3;
// USB_DEVICE_SPEED
const (
	UsbLowSpeed int32 = 0
	UsbFullSpeed int32 = 1
	UsbHighSpeed int32 = 2
	UsbSuperSpeed int32 = 3
)
const
  UsbLowSpeed = 0;
  UsbFullSpeed = 1;
  UsbHighSpeed = 2;
  UsbSuperSpeed = 3;
// USB_DEVICE_SPEED
pub const UsbLowSpeed: i32 = 0;
pub const UsbFullSpeed: i32 = 1;
pub const UsbHighSpeed: i32 = 2;
pub const UsbSuperSpeed: i32 = 3;
const
  UsbLowSpeed* = 0
  UsbFullSpeed* = 1
  UsbHighSpeed* = 2
  UsbSuperSpeed* = 3
enum USB_DEVICE_SPEED : int {
    UsbLowSpeed = 0,
    UsbFullSpeed = 1,
    UsbHighSpeed = 2,
    UsbSuperSpeed = 3,
}
#define global UsbLowSpeed   0x0
#define global UsbFullSpeed  0x1
#define global UsbHighSpeed  0x2
#define global UsbSuperSpeed 0x3