Win32 API 日本語リファレンス
ホームStorage.VirtualDiskService › VDS_HBAPORT_STATUS

VDS_HBAPORT_STATUS

列挙型
基底型i4

メンバー 8

名前10進16進
VDS_HPS_UNKNOWN10x1
VDS_HPS_ONLINE20x2
VDS_HPS_OFFLINE30x3
VDS_HPS_BYPASSED40x4
VDS_HPS_DIAGNOSTICS50x5
VDS_HPS_LINKDOWN60x6
VDS_HPS_ERROR70x7
VDS_HPS_LOOPBACK80x8

各言語での定義

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

typedef enum VDS_HBAPORT_STATUS : int {
    VDS_HPS_UNKNOWN = 1,
    VDS_HPS_ONLINE = 2,
    VDS_HPS_OFFLINE = 3,
    VDS_HPS_BYPASSED = 4,
    VDS_HPS_DIAGNOSTICS = 5,
    VDS_HPS_LINKDOWN = 6,
    VDS_HPS_ERROR = 7,
    VDS_HPS_LOOPBACK = 8
} VDS_HBAPORT_STATUS;
public enum VDS_HBAPORT_STATUS : int
{
    VDS_HPS_UNKNOWN = 1,
    VDS_HPS_ONLINE = 2,
    VDS_HPS_OFFLINE = 3,
    VDS_HPS_BYPASSED = 4,
    VDS_HPS_DIAGNOSTICS = 5,
    VDS_HPS_LINKDOWN = 6,
    VDS_HPS_ERROR = 7,
    VDS_HPS_LOOPBACK = 8,
}
Public Enum VDS_HBAPORT_STATUS As Integer
    VDS_HPS_UNKNOWN = 1
    VDS_HPS_ONLINE = 2
    VDS_HPS_OFFLINE = 3
    VDS_HPS_BYPASSED = 4
    VDS_HPS_DIAGNOSTICS = 5
    VDS_HPS_LINKDOWN = 6
    VDS_HPS_ERROR = 7
    VDS_HPS_LOOPBACK = 8
End Enum
import enum

class VDS_HBAPORT_STATUS(enum.IntEnum):
    VDS_HPS_UNKNOWN = 1
    VDS_HPS_ONLINE = 2
    VDS_HPS_OFFLINE = 3
    VDS_HPS_BYPASSED = 4
    VDS_HPS_DIAGNOSTICS = 5
    VDS_HPS_LINKDOWN = 6
    VDS_HPS_ERROR = 7
    VDS_HPS_LOOPBACK = 8
// VDS_HBAPORT_STATUS
pub const VDS_HPS_UNKNOWN: i32 = 1;
pub const VDS_HPS_ONLINE: i32 = 2;
pub const VDS_HPS_OFFLINE: i32 = 3;
pub const VDS_HPS_BYPASSED: i32 = 4;
pub const VDS_HPS_DIAGNOSTICS: i32 = 5;
pub const VDS_HPS_LINKDOWN: i32 = 6;
pub const VDS_HPS_ERROR: i32 = 7;
pub const VDS_HPS_LOOPBACK: i32 = 8;
// VDS_HBAPORT_STATUS
const (
	VDS_HPS_UNKNOWN int32 = 1
	VDS_HPS_ONLINE int32 = 2
	VDS_HPS_OFFLINE int32 = 3
	VDS_HPS_BYPASSED int32 = 4
	VDS_HPS_DIAGNOSTICS int32 = 5
	VDS_HPS_LINKDOWN int32 = 6
	VDS_HPS_ERROR int32 = 7
	VDS_HPS_LOOPBACK int32 = 8
)
const
  VDS_HPS_UNKNOWN = 1;
  VDS_HPS_ONLINE = 2;
  VDS_HPS_OFFLINE = 3;
  VDS_HPS_BYPASSED = 4;
  VDS_HPS_DIAGNOSTICS = 5;
  VDS_HPS_LINKDOWN = 6;
  VDS_HPS_ERROR = 7;
  VDS_HPS_LOOPBACK = 8;
// VDS_HBAPORT_STATUS
pub const VDS_HPS_UNKNOWN: i32 = 1;
pub const VDS_HPS_ONLINE: i32 = 2;
pub const VDS_HPS_OFFLINE: i32 = 3;
pub const VDS_HPS_BYPASSED: i32 = 4;
pub const VDS_HPS_DIAGNOSTICS: i32 = 5;
pub const VDS_HPS_LINKDOWN: i32 = 6;
pub const VDS_HPS_ERROR: i32 = 7;
pub const VDS_HPS_LOOPBACK: i32 = 8;
const
  VDS_HPS_UNKNOWN* = 1
  VDS_HPS_ONLINE* = 2
  VDS_HPS_OFFLINE* = 3
  VDS_HPS_BYPASSED* = 4
  VDS_HPS_DIAGNOSTICS* = 5
  VDS_HPS_LINKDOWN* = 6
  VDS_HPS_ERROR* = 7
  VDS_HPS_LOOPBACK* = 8
enum VDS_HBAPORT_STATUS : int {
    VDS_HPS_UNKNOWN = 1,
    VDS_HPS_ONLINE = 2,
    VDS_HPS_OFFLINE = 3,
    VDS_HPS_BYPASSED = 4,
    VDS_HPS_DIAGNOSTICS = 5,
    VDS_HPS_LINKDOWN = 6,
    VDS_HPS_ERROR = 7,
    VDS_HPS_LOOPBACK = 8,
}
#define global VDS_HPS_UNKNOWN     0x1
#define global VDS_HPS_ONLINE      0x2
#define global VDS_HPS_OFFLINE     0x3
#define global VDS_HPS_BYPASSED    0x4
#define global VDS_HPS_DIAGNOSTICS 0x5
#define global VDS_HPS_LINKDOWN    0x6
#define global VDS_HPS_ERROR       0x7
#define global VDS_HPS_LOOPBACK    0x8