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

NET_FW_SCOPE

列挙型
基底型i4

メンバー 4

名前10進16進
NET_FW_SCOPE_ALL00x0
NET_FW_SCOPE_LOCAL_SUBNET10x1
NET_FW_SCOPE_CUSTOM20x2
NET_FW_SCOPE_MAX30x3

各言語での定義

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

typedef enum NET_FW_SCOPE : int {
    NET_FW_SCOPE_ALL = 0,
    NET_FW_SCOPE_LOCAL_SUBNET = 1,
    NET_FW_SCOPE_CUSTOM = 2,
    NET_FW_SCOPE_MAX = 3
} NET_FW_SCOPE;
public enum NET_FW_SCOPE : int
{
    NET_FW_SCOPE_ALL = 0,
    NET_FW_SCOPE_LOCAL_SUBNET = 1,
    NET_FW_SCOPE_CUSTOM = 2,
    NET_FW_SCOPE_MAX = 3,
}
Public Enum NET_FW_SCOPE As Integer
    NET_FW_SCOPE_ALL = 0
    NET_FW_SCOPE_LOCAL_SUBNET = 1
    NET_FW_SCOPE_CUSTOM = 2
    NET_FW_SCOPE_MAX = 3
End Enum
import enum

class NET_FW_SCOPE(enum.IntEnum):
    NET_FW_SCOPE_ALL = 0
    NET_FW_SCOPE_LOCAL_SUBNET = 1
    NET_FW_SCOPE_CUSTOM = 2
    NET_FW_SCOPE_MAX = 3
// NET_FW_SCOPE
pub const NET_FW_SCOPE_ALL: i32 = 0;
pub const NET_FW_SCOPE_LOCAL_SUBNET: i32 = 1;
pub const NET_FW_SCOPE_CUSTOM: i32 = 2;
pub const NET_FW_SCOPE_MAX: i32 = 3;
// NET_FW_SCOPE
const (
	NET_FW_SCOPE_ALL int32 = 0
	NET_FW_SCOPE_LOCAL_SUBNET int32 = 1
	NET_FW_SCOPE_CUSTOM int32 = 2
	NET_FW_SCOPE_MAX int32 = 3
)
const
  NET_FW_SCOPE_ALL = 0;
  NET_FW_SCOPE_LOCAL_SUBNET = 1;
  NET_FW_SCOPE_CUSTOM = 2;
  NET_FW_SCOPE_MAX = 3;
// NET_FW_SCOPE
pub const NET_FW_SCOPE_ALL: i32 = 0;
pub const NET_FW_SCOPE_LOCAL_SUBNET: i32 = 1;
pub const NET_FW_SCOPE_CUSTOM: i32 = 2;
pub const NET_FW_SCOPE_MAX: i32 = 3;
const
  NET_FW_SCOPE_ALL* = 0
  NET_FW_SCOPE_LOCAL_SUBNET* = 1
  NET_FW_SCOPE_CUSTOM* = 2
  NET_FW_SCOPE_MAX* = 3
enum NET_FW_SCOPE : int {
    NET_FW_SCOPE_ALL = 0,
    NET_FW_SCOPE_LOCAL_SUBNET = 1,
    NET_FW_SCOPE_CUSTOM = 2,
    NET_FW_SCOPE_MAX = 3,
}
#define global NET_FW_SCOPE_ALL          0x0
#define global NET_FW_SCOPE_LOCAL_SUBNET 0x1
#define global NET_FW_SCOPE_CUSTOM       0x2
#define global NET_FW_SCOPE_MAX          0x3