Win32 API 日本語リファレンス
ホームNetworking.WinSock › WSA_COMPATIBILITY_BEHAVIOR_ID

WSA_COMPATIBILITY_BEHAVIOR_ID

列挙型
基底型i4

メンバー 3

名前10進16進
WsaBehaviorAll00x0
WsaBehaviorReceiveBuffering10x1
WsaBehaviorAutoTuning20x2

各言語での定義

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

typedef enum WSA_COMPATIBILITY_BEHAVIOR_ID : int {
    WsaBehaviorAll = 0,
    WsaBehaviorReceiveBuffering = 1,
    WsaBehaviorAutoTuning = 2
} WSA_COMPATIBILITY_BEHAVIOR_ID;
public enum WSA_COMPATIBILITY_BEHAVIOR_ID : int
{
    WsaBehaviorAll = 0,
    WsaBehaviorReceiveBuffering = 1,
    WsaBehaviorAutoTuning = 2,
}
Public Enum WSA_COMPATIBILITY_BEHAVIOR_ID As Integer
    WsaBehaviorAll = 0
    WsaBehaviorReceiveBuffering = 1
    WsaBehaviorAutoTuning = 2
End Enum
import enum

class WSA_COMPATIBILITY_BEHAVIOR_ID(enum.IntEnum):
    WsaBehaviorAll = 0
    WsaBehaviorReceiveBuffering = 1
    WsaBehaviorAutoTuning = 2
// WSA_COMPATIBILITY_BEHAVIOR_ID
pub const WsaBehaviorAll: i32 = 0;
pub const WsaBehaviorReceiveBuffering: i32 = 1;
pub const WsaBehaviorAutoTuning: i32 = 2;
// WSA_COMPATIBILITY_BEHAVIOR_ID
const (
	WsaBehaviorAll int32 = 0
	WsaBehaviorReceiveBuffering int32 = 1
	WsaBehaviorAutoTuning int32 = 2
)
const
  WsaBehaviorAll = 0;
  WsaBehaviorReceiveBuffering = 1;
  WsaBehaviorAutoTuning = 2;
// WSA_COMPATIBILITY_BEHAVIOR_ID
pub const WsaBehaviorAll: i32 = 0;
pub const WsaBehaviorReceiveBuffering: i32 = 1;
pub const WsaBehaviorAutoTuning: i32 = 2;
const
  WsaBehaviorAll* = 0
  WsaBehaviorReceiveBuffering* = 1
  WsaBehaviorAutoTuning* = 2
enum WSA_COMPATIBILITY_BEHAVIOR_ID : int {
    WsaBehaviorAll = 0,
    WsaBehaviorReceiveBuffering = 1,
    WsaBehaviorAutoTuning = 2,
}
#define global WsaBehaviorAll              0x0
#define global WsaBehaviorReceiveBuffering 0x1
#define global WsaBehaviorAutoTuning       0x2