Win32 API 日本語リファレンス
ホームNetworkManagement.Ndis › NDIS_PORT_TYPE

NDIS_PORT_TYPE

列挙型
基底型i4

メンバー 5

名前10進16進
NdisPortTypeUndefined00x0
NdisPortTypeBridge10x1
NdisPortTypeRasConnection20x2
NdisPortType8021xSupplicant30x3
NdisPortTypeMax40x4

各言語での定義

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

typedef enum NDIS_PORT_TYPE : int {
    NdisPortTypeUndefined = 0,
    NdisPortTypeBridge = 1,
    NdisPortTypeRasConnection = 2,
    NdisPortType8021xSupplicant = 3,
    NdisPortTypeMax = 4
} NDIS_PORT_TYPE;
public enum NDIS_PORT_TYPE : int
{
    NdisPortTypeUndefined = 0,
    NdisPortTypeBridge = 1,
    NdisPortTypeRasConnection = 2,
    NdisPortType8021xSupplicant = 3,
    NdisPortTypeMax = 4,
}
Public Enum NDIS_PORT_TYPE As Integer
    NdisPortTypeUndefined = 0
    NdisPortTypeBridge = 1
    NdisPortTypeRasConnection = 2
    NdisPortType8021xSupplicant = 3
    NdisPortTypeMax = 4
End Enum
import enum

class NDIS_PORT_TYPE(enum.IntEnum):
    NdisPortTypeUndefined = 0
    NdisPortTypeBridge = 1
    NdisPortTypeRasConnection = 2
    NdisPortType8021xSupplicant = 3
    NdisPortTypeMax = 4
// NDIS_PORT_TYPE
pub const NdisPortTypeUndefined: i32 = 0;
pub const NdisPortTypeBridge: i32 = 1;
pub const NdisPortTypeRasConnection: i32 = 2;
pub const NdisPortType8021xSupplicant: i32 = 3;
pub const NdisPortTypeMax: i32 = 4;
// NDIS_PORT_TYPE
const (
	NdisPortTypeUndefined int32 = 0
	NdisPortTypeBridge int32 = 1
	NdisPortTypeRasConnection int32 = 2
	NdisPortType8021xSupplicant int32 = 3
	NdisPortTypeMax int32 = 4
)
const
  NdisPortTypeUndefined = 0;
  NdisPortTypeBridge = 1;
  NdisPortTypeRasConnection = 2;
  NdisPortType8021xSupplicant = 3;
  NdisPortTypeMax = 4;
// NDIS_PORT_TYPE
pub const NdisPortTypeUndefined: i32 = 0;
pub const NdisPortTypeBridge: i32 = 1;
pub const NdisPortTypeRasConnection: i32 = 2;
pub const NdisPortType8021xSupplicant: i32 = 3;
pub const NdisPortTypeMax: i32 = 4;
const
  NdisPortTypeUndefined* = 0
  NdisPortTypeBridge* = 1
  NdisPortTypeRasConnection* = 2
  NdisPortType8021xSupplicant* = 3
  NdisPortTypeMax* = 4
enum NDIS_PORT_TYPE : int {
    NdisPortTypeUndefined = 0,
    NdisPortTypeBridge = 1,
    NdisPortTypeRasConnection = 2,
    NdisPortType8021xSupplicant = 3,
    NdisPortTypeMax = 4,
}
#define global NdisPortTypeUndefined       0x0
#define global NdisPortTypeBridge          0x1
#define global NdisPortTypeRasConnection   0x2
#define global NdisPortType8021xSupplicant 0x3
#define global NdisPortTypeMax             0x4