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

VDS_PORT_STATUS

列挙型
基底型i4

メンバー 6

名前10進16進
VDS_PRS_UNKNOWN00x0
VDS_PRS_ONLINE10x1
VDS_PRS_NOT_READY20x2
VDS_PRS_OFFLINE40x4
VDS_PRS_FAILED50x5
VDS_PRS_REMOVED80x8

各言語での定義

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

typedef enum VDS_PORT_STATUS : int {
    VDS_PRS_UNKNOWN = 0,
    VDS_PRS_ONLINE = 1,
    VDS_PRS_NOT_READY = 2,
    VDS_PRS_OFFLINE = 4,
    VDS_PRS_FAILED = 5,
    VDS_PRS_REMOVED = 8
} VDS_PORT_STATUS;
public enum VDS_PORT_STATUS : int
{
    VDS_PRS_UNKNOWN = 0,
    VDS_PRS_ONLINE = 1,
    VDS_PRS_NOT_READY = 2,
    VDS_PRS_OFFLINE = 4,
    VDS_PRS_FAILED = 5,
    VDS_PRS_REMOVED = 8,
}
Public Enum VDS_PORT_STATUS As Integer
    VDS_PRS_UNKNOWN = 0
    VDS_PRS_ONLINE = 1
    VDS_PRS_NOT_READY = 2
    VDS_PRS_OFFLINE = 4
    VDS_PRS_FAILED = 5
    VDS_PRS_REMOVED = 8
End Enum
import enum

class VDS_PORT_STATUS(enum.IntEnum):
    VDS_PRS_UNKNOWN = 0
    VDS_PRS_ONLINE = 1
    VDS_PRS_NOT_READY = 2
    VDS_PRS_OFFLINE = 4
    VDS_PRS_FAILED = 5
    VDS_PRS_REMOVED = 8
// VDS_PORT_STATUS
pub const VDS_PRS_UNKNOWN: i32 = 0;
pub const VDS_PRS_ONLINE: i32 = 1;
pub const VDS_PRS_NOT_READY: i32 = 2;
pub const VDS_PRS_OFFLINE: i32 = 4;
pub const VDS_PRS_FAILED: i32 = 5;
pub const VDS_PRS_REMOVED: i32 = 8;
// VDS_PORT_STATUS
const (
	VDS_PRS_UNKNOWN int32 = 0
	VDS_PRS_ONLINE int32 = 1
	VDS_PRS_NOT_READY int32 = 2
	VDS_PRS_OFFLINE int32 = 4
	VDS_PRS_FAILED int32 = 5
	VDS_PRS_REMOVED int32 = 8
)
const
  VDS_PRS_UNKNOWN = 0;
  VDS_PRS_ONLINE = 1;
  VDS_PRS_NOT_READY = 2;
  VDS_PRS_OFFLINE = 4;
  VDS_PRS_FAILED = 5;
  VDS_PRS_REMOVED = 8;
// VDS_PORT_STATUS
pub const VDS_PRS_UNKNOWN: i32 = 0;
pub const VDS_PRS_ONLINE: i32 = 1;
pub const VDS_PRS_NOT_READY: i32 = 2;
pub const VDS_PRS_OFFLINE: i32 = 4;
pub const VDS_PRS_FAILED: i32 = 5;
pub const VDS_PRS_REMOVED: i32 = 8;
const
  VDS_PRS_UNKNOWN* = 0
  VDS_PRS_ONLINE* = 1
  VDS_PRS_NOT_READY* = 2
  VDS_PRS_OFFLINE* = 4
  VDS_PRS_FAILED* = 5
  VDS_PRS_REMOVED* = 8
enum VDS_PORT_STATUS : int {
    VDS_PRS_UNKNOWN = 0,
    VDS_PRS_ONLINE = 1,
    VDS_PRS_NOT_READY = 2,
    VDS_PRS_OFFLINE = 4,
    VDS_PRS_FAILED = 5,
    VDS_PRS_REMOVED = 8,
}
#define global VDS_PRS_UNKNOWN   0x0
#define global VDS_PRS_ONLINE    0x1
#define global VDS_PRS_NOT_READY 0x2
#define global VDS_PRS_OFFLINE   0x4
#define global VDS_PRS_FAILED    0x5
#define global VDS_PRS_REMOVED   0x8