ホーム › Devices.WebServicesOnDevices › WSD_PROTOCOL_TYPE
WSD_PROTOCOL_TYPE
列挙型メンバー 5
| 名前 | 10進 | 16進 |
|---|---|---|
| WSD_PT_NONE | 0 | 0x0 |
| WSD_PT_UDP | 1 | 0x1 |
| WSD_PT_HTTP | 2 | 0x2 |
| WSD_PT_HTTPS | 4 | 0x4 |
| WSD_PT_ALL | 255 | 0xFF |
各言語での定義
列挙メンバーの定義。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 Enumimport 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* = 255enum 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