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

QOS_TRAFFIC_TYPE

列挙型
基底型i4

メンバー 6

名前10進16進
QOSTrafficTypeBestEffort00x0
QOSTrafficTypeBackground10x1
QOSTrafficTypeExcellentEffort20x2
QOSTrafficTypeAudioVideo30x3
QOSTrafficTypeVoice40x4
QOSTrafficTypeControl50x5

各言語での定義

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

typedef enum QOS_TRAFFIC_TYPE : int {
    QOSTrafficTypeBestEffort = 0,
    QOSTrafficTypeBackground = 1,
    QOSTrafficTypeExcellentEffort = 2,
    QOSTrafficTypeAudioVideo = 3,
    QOSTrafficTypeVoice = 4,
    QOSTrafficTypeControl = 5
} QOS_TRAFFIC_TYPE;
public enum QOS_TRAFFIC_TYPE : int
{
    QOSTrafficTypeBestEffort = 0,
    QOSTrafficTypeBackground = 1,
    QOSTrafficTypeExcellentEffort = 2,
    QOSTrafficTypeAudioVideo = 3,
    QOSTrafficTypeVoice = 4,
    QOSTrafficTypeControl = 5,
}
Public Enum QOS_TRAFFIC_TYPE As Integer
    QOSTrafficTypeBestEffort = 0
    QOSTrafficTypeBackground = 1
    QOSTrafficTypeExcellentEffort = 2
    QOSTrafficTypeAudioVideo = 3
    QOSTrafficTypeVoice = 4
    QOSTrafficTypeControl = 5
End Enum
import enum

class QOS_TRAFFIC_TYPE(enum.IntEnum):
    QOSTrafficTypeBestEffort = 0
    QOSTrafficTypeBackground = 1
    QOSTrafficTypeExcellentEffort = 2
    QOSTrafficTypeAudioVideo = 3
    QOSTrafficTypeVoice = 4
    QOSTrafficTypeControl = 5
// QOS_TRAFFIC_TYPE
pub const QOSTrafficTypeBestEffort: i32 = 0;
pub const QOSTrafficTypeBackground: i32 = 1;
pub const QOSTrafficTypeExcellentEffort: i32 = 2;
pub const QOSTrafficTypeAudioVideo: i32 = 3;
pub const QOSTrafficTypeVoice: i32 = 4;
pub const QOSTrafficTypeControl: i32 = 5;
// QOS_TRAFFIC_TYPE
const (
	QOSTrafficTypeBestEffort int32 = 0
	QOSTrafficTypeBackground int32 = 1
	QOSTrafficTypeExcellentEffort int32 = 2
	QOSTrafficTypeAudioVideo int32 = 3
	QOSTrafficTypeVoice int32 = 4
	QOSTrafficTypeControl int32 = 5
)
const
  QOSTrafficTypeBestEffort = 0;
  QOSTrafficTypeBackground = 1;
  QOSTrafficTypeExcellentEffort = 2;
  QOSTrafficTypeAudioVideo = 3;
  QOSTrafficTypeVoice = 4;
  QOSTrafficTypeControl = 5;
// QOS_TRAFFIC_TYPE
pub const QOSTrafficTypeBestEffort: i32 = 0;
pub const QOSTrafficTypeBackground: i32 = 1;
pub const QOSTrafficTypeExcellentEffort: i32 = 2;
pub const QOSTrafficTypeAudioVideo: i32 = 3;
pub const QOSTrafficTypeVoice: i32 = 4;
pub const QOSTrafficTypeControl: i32 = 5;
const
  QOSTrafficTypeBestEffort* = 0
  QOSTrafficTypeBackground* = 1
  QOSTrafficTypeExcellentEffort* = 2
  QOSTrafficTypeAudioVideo* = 3
  QOSTrafficTypeVoice* = 4
  QOSTrafficTypeControl* = 5
enum QOS_TRAFFIC_TYPE : int {
    QOSTrafficTypeBestEffort = 0,
    QOSTrafficTypeBackground = 1,
    QOSTrafficTypeExcellentEffort = 2,
    QOSTrafficTypeAudioVideo = 3,
    QOSTrafficTypeVoice = 4,
    QOSTrafficTypeControl = 5,
}
#define global QOSTrafficTypeBestEffort      0x0
#define global QOSTrafficTypeBackground      0x1
#define global QOSTrafficTypeExcellentEffort 0x2
#define global QOSTrafficTypeAudioVideo      0x3
#define global QOSTrafficTypeVoice           0x4
#define global QOSTrafficTypeControl         0x5