Win32 API 日本語リファレンス
ホームDevices.WebServicesOnDevices › WSD_PROTOCOL_TYPE

WSD_PROTOCOL_TYPE

列挙型
基底型i4

メンバー 5

名前10進16進
WSD_PT_NONE00x0
WSD_PT_UDP10x1
WSD_PT_HTTP20x2
WSD_PT_HTTPS40x4
WSD_PT_ALL2550xFF

各言語での定義

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

typedef enum WSD_PROTOCOL_TYPE : int {
    WSD_PT_NONE = 0,
    WSD_PT_UDP = 1,
    WSD_PT_HTTP = 2,
    WSD_PT_HTTPS = 4,
    WSD_PT_ALL = 255
} WSD_PROTOCOL_TYPE;
public enum WSD_PROTOCOL_TYPE : int
{
    WSD_PT_NONE = 0,
    WSD_PT_UDP = 1,
    WSD_PT_HTTP = 2,
    WSD_PT_HTTPS = 4,
    WSD_PT_ALL = 255,
}
Public Enum WSD_PROTOCOL_TYPE As Integer
    WSD_PT_NONE = 0
    WSD_PT_UDP = 1
    WSD_PT_HTTP = 2
    WSD_PT_HTTPS = 4
    WSD_PT_ALL = 255
End Enum
import enum

class WSD_PROTOCOL_TYPE(enum.IntEnum):
    WSD_PT_NONE = 0
    WSD_PT_UDP = 1
    WSD_PT_HTTP = 2
    WSD_PT_HTTPS = 4
    WSD_PT_ALL = 255
// WSD_PROTOCOL_TYPE
pub const WSD_PT_NONE: i32 = 0;
pub const WSD_PT_UDP: i32 = 1;
pub const WSD_PT_HTTP: i32 = 2;
pub const WSD_PT_HTTPS: i32 = 4;
pub const WSD_PT_ALL: i32 = 255;
// WSD_PROTOCOL_TYPE
const (
	WSD_PT_NONE int32 = 0
	WSD_PT_UDP int32 = 1
	WSD_PT_HTTP int32 = 2
	WSD_PT_HTTPS int32 = 4
	WSD_PT_ALL int32 = 255
)
const
  WSD_PT_NONE = 0;
  WSD_PT_UDP = 1;
  WSD_PT_HTTP = 2;
  WSD_PT_HTTPS = 4;
  WSD_PT_ALL = 255;
// WSD_PROTOCOL_TYPE
pub const WSD_PT_NONE: i32 = 0;
pub const WSD_PT_UDP: i32 = 1;
pub const WSD_PT_HTTP: i32 = 2;
pub const WSD_PT_HTTPS: i32 = 4;
pub const WSD_PT_ALL: i32 = 255;
const
  WSD_PT_NONE* = 0
  WSD_PT_UDP* = 1
  WSD_PT_HTTP* = 2
  WSD_PT_HTTPS* = 4
  WSD_PT_ALL* = 255
enum WSD_PROTOCOL_TYPE : int {
    WSD_PT_NONE = 0,
    WSD_PT_UDP = 1,
    WSD_PT_HTTP = 2,
    WSD_PT_HTTPS = 4,
    WSD_PT_ALL = 255,
}
#define global WSD_PT_NONE  0x0
#define global WSD_PT_UDP   0x1
#define global WSD_PT_HTTP  0x2
#define global WSD_PT_HTTPS 0x4
#define global WSD_PT_ALL   0xFF