ホーム › NetworkManagement.NetManagement › AF_OP
AF_OP
列挙型フラグメンバー 4
| 名前 | 10進 | 16進 |
|---|---|---|
| AF_OP_PRINT | 1 | 0x1 |
| AF_OP_COMM | 2 | 0x2 |
| AF_OP_SERVER | 4 | 0x4 |
| AF_OP_ACCOUNTS | 8 | 0x8 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum AF_OP : unsigned int {
AF_OP_PRINT = 1,
AF_OP_COMM = 2,
AF_OP_SERVER = 4,
AF_OP_ACCOUNTS = 8
} AF_OP;[Flags]
public enum AF_OP : uint
{
AF_OP_PRINT = 1,
AF_OP_COMM = 2,
AF_OP_SERVER = 4,
AF_OP_ACCOUNTS = 8,
}<Flags>
Public Enum AF_OP As UInteger
AF_OP_PRINT = 1
AF_OP_COMM = 2
AF_OP_SERVER = 4
AF_OP_ACCOUNTS = 8
End Enumimport enum
class AF_OP(enum.IntFlag):
AF_OP_PRINT = 1
AF_OP_COMM = 2
AF_OP_SERVER = 4
AF_OP_ACCOUNTS = 8// AF_OP (flags)
pub const AF_OP_PRINT: u32 = 1;
pub const AF_OP_COMM: u32 = 2;
pub const AF_OP_SERVER: u32 = 4;
pub const AF_OP_ACCOUNTS: u32 = 8;// AF_OP
const (
AF_OP_PRINT uint32 = 1
AF_OP_COMM uint32 = 2
AF_OP_SERVER uint32 = 4
AF_OP_ACCOUNTS uint32 = 8
)const
AF_OP_PRINT = 1;
AF_OP_COMM = 2;
AF_OP_SERVER = 4;
AF_OP_ACCOUNTS = 8;// AF_OP
pub const AF_OP_PRINT: u32 = 1;
pub const AF_OP_COMM: u32 = 2;
pub const AF_OP_SERVER: u32 = 4;
pub const AF_OP_ACCOUNTS: u32 = 8;const
AF_OP_PRINT* = 1
AF_OP_COMM* = 2
AF_OP_SERVER* = 4
AF_OP_ACCOUNTS* = 8enum AF_OP : uint {
AF_OP_PRINT = 1,
AF_OP_COMM = 2,
AF_OP_SERVER = 4,
AF_OP_ACCOUNTS = 8,
}#define global AF_OP_PRINT 0x1
#define global AF_OP_COMM 0x2
#define global AF_OP_SERVER 0x4
#define global AF_OP_ACCOUNTS 0x8
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。