' ########################################################################################
' Microsoft Windows
' File: icftypes.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_icftypes_PBI)
#DEFINE PBX_icftypes_PBI
%EQUATE `ICFTYPES_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/System/WTypes.inc"
' enum NET_FW_POLICY_TYPE
%EQUATE `NET_FW_POLICY_GROUP = 0
%EQUATE `NET_FW_POLICY_LOCAL = %NET_FW_POLICY_GROUP + 1
%EQUATE `NET_FW_POLICY_EFFECTIVE = %NET_FW_POLICY_LOCAL + 1
%EQUATE `NET_FW_POLICY_TYPE_MAX = %NET_FW_POLICY_EFFECTIVE + 1
' enum NET_FW_PROFILE_TYPE
%EQUATE `NET_FW_PROFILE_DOMAIN = 0
%EQUATE `NET_FW_PROFILE_STANDARD = %NET_FW_PROFILE_DOMAIN + 1
%EQUATE `NET_FW_PROFILE_CURRENT = %NET_FW_PROFILE_STANDARD + 1
%EQUATE `NET_FW_PROFILE_TYPE_MAX = %NET_FW_PROFILE_CURRENT + 1
' enum NET_FW_PROFILE_TYPE2_
%EQUATE `NET_FW_PROFILE2_DOMAIN = &H1
%EQUATE `NET_FW_PROFILE2_PRIVATE = &H2
%EQUATE `NET_FW_PROFILE2_PUBLIC = &H4
%EQUATE `NET_FW_PROFILE2_ALL = &H7fffffff
' enum NET_FW_IP_VERSION
%EQUATE `NET_FW_IP_VERSION_V4 = 0
%EQUATE `NET_FW_IP_VERSION_V6 = %NET_FW_IP_VERSION_V4 + 1
%EQUATE `NET_FW_IP_VERSION_ANY = %NET_FW_IP_VERSION_V6 + 1
%EQUATE `NET_FW_IP_VERSION_MAX = %NET_FW_IP_VERSION_ANY + 1
' enum NET_FW_SCOPE
%EQUATE `NET_FW_SCOPE_ALL = 0
%EQUATE `NET_FW_SCOPE_LOCAL_SUBNET = %NET_FW_SCOPE_ALL + 1
%EQUATE `NET_FW_SCOPE_CUSTOM = %NET_FW_SCOPE_LOCAL_SUBNET + 1
%EQUATE `NET_FW_SCOPE_MAX = %NET_FW_SCOPE_CUSTOM + 1
' enum NET_FW_IP_PROTOCOL
%EQUATE `NET_FW_IP_PROTOCOL_TCP = 6
%EQUATE `NET_FW_IP_PROTOCOL_UDP = 17
%EQUATE `NET_FW_IP_PROTOCOL_ANY = 256
' enum NET_FW_SERVICE_TYPE
%EQUATE `NET_FW_SERVICE_FILE_AND_PRINT = 0
%EQUATE `NET_FW_SERVICE_UPNP = %NET_FW_SERVICE_FILE_AND_PRINT + 1
%EQUATE `NET_FW_SERVICE_REMOTE_DESKTOP = %NET_FW_SERVICE_UPNP + 1
%EQUATE `NET_FW_SERVICE_NONE = %NET_FW_SERVICE_REMOTE_DESKTOP + 1
%EQUATE `NET_FW_SERVICE_TYPE_MAX = %NET_FW_SERVICE_NONE + 1
' enum NET_FW_RULE_DIRECTION_
%EQUATE `NET_FW_RULE_DIR_IN = 1
%EQUATE `NET_FW_RULE_DIR_OUT = %NET_FW_RULE_DIR_IN + 1
%EQUATE `NET_FW_RULE_DIR_MAX = %NET_FW_RULE_DIR_OUT + 1
' enum %NET_FW_ACTION_
%EQUATE `NET_FW_ACTION_BLOCK = 0
%EQUATE `NET_FW_ACTION_ALLOW = %NET_FW_ACTION_BLOCK + 1
%EQUATE `NET_FW_ACTION_MAX = %NET_FW_ACTION_ALLOW + 1
' enum %NET_FW_MODIFY_STATE_
%EQUATE `NET_FW_MODIFY_STATE_OK = 0
%EQUATE `NET_FW_MODIFY_STATE_GP_OVERRIDE = %NET_FW_MODIFY_STATE_OK + 1
%EQUATE `NET_FW_MODIFY_STATE_INBOUND_BLOCKED = %NET_FW_MODIFY_STATE_GP_OVERRIDE + 1
' enum NET_FW_RULE_CATEGORY_
%EQUATE `NET_FW_RULE_CATEGORY_BOOT = 0
%EQUATE `NET_FW_RULE_CATEGORY_STEALTH = %NET_FW_RULE_CATEGORY_BOOT + 1
%EQUATE `NET_FW_RULE_CATEGORY_FIREWALL = %NET_FW_RULE_CATEGORY_STEALTH + 1
%EQUATE `NET_FW_RULE_CATEGORY_CONSEC = %NET_FW_RULE_CATEGORY_FIREWALL + 1
%EQUATE `NET_FW_RULE_CATEGORY_MAX = %NET_FW_RULE_CATEGORY_CONSEC + 1
' enum NET_FW_EDGE_TRAVERSAL_TYPE_
%EQUATE `NET_FW_EDGE_TRAVERSAL_TYPE_DENY = 0
%EQUATE `NET_FW_EDGE_TRAVERSAL_TYPE_ALLOW = %NET_FW_EDGE_TRAVERSAL_TYPE_DENY + 1
%EQUATE `NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_APP = %NET_FW_EDGE_TRAVERSAL_TYPE_ALLOW + 1
%EQUATE `NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_USER = %NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_APP + 1
#ENDIF
