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

WDMUSB_POWER_STATE

列挙型
基底型i4

メンバー 13

名前10進16進
WdmUsbPowerNotMapped00x0
WdmUsbPowerSystemUnspecified1000x64
WdmUsbPowerSystemWorking1010x65
WdmUsbPowerSystemSleeping11020x66
WdmUsbPowerSystemSleeping21030x67
WdmUsbPowerSystemSleeping31040x68
WdmUsbPowerSystemHibernate1050x69
WdmUsbPowerSystemShutdown1060x6A
WdmUsbPowerDeviceUnspecified2000xC8
WdmUsbPowerDeviceD02010xC9
WdmUsbPowerDeviceD12020xCA
WdmUsbPowerDeviceD22030xCB
WdmUsbPowerDeviceD32040xCC

各言語での定義

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

typedef enum WDMUSB_POWER_STATE : int {
    WdmUsbPowerNotMapped = 0,
    WdmUsbPowerSystemUnspecified = 100,
    WdmUsbPowerSystemWorking = 101,
    WdmUsbPowerSystemSleeping1 = 102,
    WdmUsbPowerSystemSleeping2 = 103,
    WdmUsbPowerSystemSleeping3 = 104,
    WdmUsbPowerSystemHibernate = 105,
    WdmUsbPowerSystemShutdown = 106,
    WdmUsbPowerDeviceUnspecified = 200,
    WdmUsbPowerDeviceD0 = 201,
    WdmUsbPowerDeviceD1 = 202,
    WdmUsbPowerDeviceD2 = 203,
    WdmUsbPowerDeviceD3 = 204
} WDMUSB_POWER_STATE;
public enum WDMUSB_POWER_STATE : int
{
    WdmUsbPowerNotMapped = 0,
    WdmUsbPowerSystemUnspecified = 100,
    WdmUsbPowerSystemWorking = 101,
    WdmUsbPowerSystemSleeping1 = 102,
    WdmUsbPowerSystemSleeping2 = 103,
    WdmUsbPowerSystemSleeping3 = 104,
    WdmUsbPowerSystemHibernate = 105,
    WdmUsbPowerSystemShutdown = 106,
    WdmUsbPowerDeviceUnspecified = 200,
    WdmUsbPowerDeviceD0 = 201,
    WdmUsbPowerDeviceD1 = 202,
    WdmUsbPowerDeviceD2 = 203,
    WdmUsbPowerDeviceD3 = 204,
}
Public Enum WDMUSB_POWER_STATE As Integer
    WdmUsbPowerNotMapped = 0
    WdmUsbPowerSystemUnspecified = 100
    WdmUsbPowerSystemWorking = 101
    WdmUsbPowerSystemSleeping1 = 102
    WdmUsbPowerSystemSleeping2 = 103
    WdmUsbPowerSystemSleeping3 = 104
    WdmUsbPowerSystemHibernate = 105
    WdmUsbPowerSystemShutdown = 106
    WdmUsbPowerDeviceUnspecified = 200
    WdmUsbPowerDeviceD0 = 201
    WdmUsbPowerDeviceD1 = 202
    WdmUsbPowerDeviceD2 = 203
    WdmUsbPowerDeviceD3 = 204
End Enum
import enum

class WDMUSB_POWER_STATE(enum.IntEnum):
    WdmUsbPowerNotMapped = 0
    WdmUsbPowerSystemUnspecified = 100
    WdmUsbPowerSystemWorking = 101
    WdmUsbPowerSystemSleeping1 = 102
    WdmUsbPowerSystemSleeping2 = 103
    WdmUsbPowerSystemSleeping3 = 104
    WdmUsbPowerSystemHibernate = 105
    WdmUsbPowerSystemShutdown = 106
    WdmUsbPowerDeviceUnspecified = 200
    WdmUsbPowerDeviceD0 = 201
    WdmUsbPowerDeviceD1 = 202
    WdmUsbPowerDeviceD2 = 203
    WdmUsbPowerDeviceD3 = 204
// WDMUSB_POWER_STATE
pub const WdmUsbPowerNotMapped: i32 = 0;
pub const WdmUsbPowerSystemUnspecified: i32 = 100;
pub const WdmUsbPowerSystemWorking: i32 = 101;
pub const WdmUsbPowerSystemSleeping1: i32 = 102;
pub const WdmUsbPowerSystemSleeping2: i32 = 103;
pub const WdmUsbPowerSystemSleeping3: i32 = 104;
pub const WdmUsbPowerSystemHibernate: i32 = 105;
pub const WdmUsbPowerSystemShutdown: i32 = 106;
pub const WdmUsbPowerDeviceUnspecified: i32 = 200;
pub const WdmUsbPowerDeviceD0: i32 = 201;
pub const WdmUsbPowerDeviceD1: i32 = 202;
pub const WdmUsbPowerDeviceD2: i32 = 203;
pub const WdmUsbPowerDeviceD3: i32 = 204;
// WDMUSB_POWER_STATE
const (
	WdmUsbPowerNotMapped int32 = 0
	WdmUsbPowerSystemUnspecified int32 = 100
	WdmUsbPowerSystemWorking int32 = 101
	WdmUsbPowerSystemSleeping1 int32 = 102
	WdmUsbPowerSystemSleeping2 int32 = 103
	WdmUsbPowerSystemSleeping3 int32 = 104
	WdmUsbPowerSystemHibernate int32 = 105
	WdmUsbPowerSystemShutdown int32 = 106
	WdmUsbPowerDeviceUnspecified int32 = 200
	WdmUsbPowerDeviceD0 int32 = 201
	WdmUsbPowerDeviceD1 int32 = 202
	WdmUsbPowerDeviceD2 int32 = 203
	WdmUsbPowerDeviceD3 int32 = 204
)
const
  WdmUsbPowerNotMapped = 0;
  WdmUsbPowerSystemUnspecified = 100;
  WdmUsbPowerSystemWorking = 101;
  WdmUsbPowerSystemSleeping1 = 102;
  WdmUsbPowerSystemSleeping2 = 103;
  WdmUsbPowerSystemSleeping3 = 104;
  WdmUsbPowerSystemHibernate = 105;
  WdmUsbPowerSystemShutdown = 106;
  WdmUsbPowerDeviceUnspecified = 200;
  WdmUsbPowerDeviceD0 = 201;
  WdmUsbPowerDeviceD1 = 202;
  WdmUsbPowerDeviceD2 = 203;
  WdmUsbPowerDeviceD3 = 204;
// WDMUSB_POWER_STATE
pub const WdmUsbPowerNotMapped: i32 = 0;
pub const WdmUsbPowerSystemUnspecified: i32 = 100;
pub const WdmUsbPowerSystemWorking: i32 = 101;
pub const WdmUsbPowerSystemSleeping1: i32 = 102;
pub const WdmUsbPowerSystemSleeping2: i32 = 103;
pub const WdmUsbPowerSystemSleeping3: i32 = 104;
pub const WdmUsbPowerSystemHibernate: i32 = 105;
pub const WdmUsbPowerSystemShutdown: i32 = 106;
pub const WdmUsbPowerDeviceUnspecified: i32 = 200;
pub const WdmUsbPowerDeviceD0: i32 = 201;
pub const WdmUsbPowerDeviceD1: i32 = 202;
pub const WdmUsbPowerDeviceD2: i32 = 203;
pub const WdmUsbPowerDeviceD3: i32 = 204;
const
  WdmUsbPowerNotMapped* = 0
  WdmUsbPowerSystemUnspecified* = 100
  WdmUsbPowerSystemWorking* = 101
  WdmUsbPowerSystemSleeping1* = 102
  WdmUsbPowerSystemSleeping2* = 103
  WdmUsbPowerSystemSleeping3* = 104
  WdmUsbPowerSystemHibernate* = 105
  WdmUsbPowerSystemShutdown* = 106
  WdmUsbPowerDeviceUnspecified* = 200
  WdmUsbPowerDeviceD0* = 201
  WdmUsbPowerDeviceD1* = 202
  WdmUsbPowerDeviceD2* = 203
  WdmUsbPowerDeviceD3* = 204
enum WDMUSB_POWER_STATE : int {
    WdmUsbPowerNotMapped = 0,
    WdmUsbPowerSystemUnspecified = 100,
    WdmUsbPowerSystemWorking = 101,
    WdmUsbPowerSystemSleeping1 = 102,
    WdmUsbPowerSystemSleeping2 = 103,
    WdmUsbPowerSystemSleeping3 = 104,
    WdmUsbPowerSystemHibernate = 105,
    WdmUsbPowerSystemShutdown = 106,
    WdmUsbPowerDeviceUnspecified = 200,
    WdmUsbPowerDeviceD0 = 201,
    WdmUsbPowerDeviceD1 = 202,
    WdmUsbPowerDeviceD2 = 203,
    WdmUsbPowerDeviceD3 = 204,
}
#define global WdmUsbPowerNotMapped         0x0
#define global WdmUsbPowerSystemUnspecified 0x64
#define global WdmUsbPowerSystemWorking     0x65
#define global WdmUsbPowerSystemSleeping1   0x66
#define global WdmUsbPowerSystemSleeping2   0x67
#define global WdmUsbPowerSystemSleeping3   0x68
#define global WdmUsbPowerSystemHibernate   0x69
#define global WdmUsbPowerSystemShutdown    0x6A
#define global WdmUsbPowerDeviceUnspecified 0xC8
#define global WdmUsbPowerDeviceD0          0xC9
#define global WdmUsbPowerDeviceD1          0xCA
#define global WdmUsbPowerDeviceD2          0xCB
#define global WdmUsbPowerDeviceD3          0xCC