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

NET_FW_ACTION

列挙型
基底型i4

メンバー 3

名前10進16進
NET_FW_ACTION_BLOCK00x0
NET_FW_ACTION_ALLOW10x1
NET_FW_ACTION_MAX20x2

各言語での定義

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

typedef enum NET_FW_ACTION : int {
    NET_FW_ACTION_BLOCK = 0,
    NET_FW_ACTION_ALLOW = 1,
    NET_FW_ACTION_MAX = 2
} NET_FW_ACTION;
public enum NET_FW_ACTION : int
{
    NET_FW_ACTION_BLOCK = 0,
    NET_FW_ACTION_ALLOW = 1,
    NET_FW_ACTION_MAX = 2,
}
Public Enum NET_FW_ACTION As Integer
    NET_FW_ACTION_BLOCK = 0
    NET_FW_ACTION_ALLOW = 1
    NET_FW_ACTION_MAX = 2
End Enum
import enum

class NET_FW_ACTION(enum.IntEnum):
    NET_FW_ACTION_BLOCK = 0
    NET_FW_ACTION_ALLOW = 1
    NET_FW_ACTION_MAX = 2
// NET_FW_ACTION
pub const NET_FW_ACTION_BLOCK: i32 = 0;
pub const NET_FW_ACTION_ALLOW: i32 = 1;
pub const NET_FW_ACTION_MAX: i32 = 2;
// NET_FW_ACTION
const (
	NET_FW_ACTION_BLOCK int32 = 0
	NET_FW_ACTION_ALLOW int32 = 1
	NET_FW_ACTION_MAX int32 = 2
)
const
  NET_FW_ACTION_BLOCK = 0;
  NET_FW_ACTION_ALLOW = 1;
  NET_FW_ACTION_MAX = 2;
// NET_FW_ACTION
pub const NET_FW_ACTION_BLOCK: i32 = 0;
pub const NET_FW_ACTION_ALLOW: i32 = 1;
pub const NET_FW_ACTION_MAX: i32 = 2;
const
  NET_FW_ACTION_BLOCK* = 0
  NET_FW_ACTION_ALLOW* = 1
  NET_FW_ACTION_MAX* = 2
enum NET_FW_ACTION : int {
    NET_FW_ACTION_BLOCK = 0,
    NET_FW_ACTION_ALLOW = 1,
    NET_FW_ACTION_MAX = 2,
}
#define global NET_FW_ACTION_BLOCK 0x0
#define global NET_FW_ACTION_ALLOW 0x1
#define global NET_FW_ACTION_MAX   0x2