2.2.84 FW_PROFILE_CONFIG_VALUE
This union defines the value stored by each of the different policy configuration values identified by the enumeration FW_PROFILE_CONFIG. This data type is used to pass different types of values across the same structure on function calls.
-
typedef [switch_type(FW_PROFILE_CONFIG)] union _FW_PROFILE_CONFIG_VALUE { [case(FW_PROFILE_CONFIG_LOG_FILE_PATH)] [string, range(1,10001)] wchar_t* wszStr; [case(FW_PROFILE_CONFIG_DISABLED_INTERFACES)] PFW_INTERFACE_LUIDS pDisabledInterfaces; [case(FW_PROFILE_CONFIG_ENABLE_FW, FW_PROFILE_CONFIG_DISABLE_STEALTH_MODE, FW_PROFILE_CONFIG_SHIELDED, FW_PROFILE_CONFIG_DISABLE_UNICAST_RESPONSES_TO_MULTICAST_BROADCAST, FW_PROFILE_CONFIG_LOG_DROPPED_PACKETS, FW_PROFILE_CONFIG_LOG_SUCCESS_CONNECTIONS, FW_PROFILE_CONFIG_LOG_IGNORED_RULES, FW_PROFILE_CONFIG_LOG_MAX_FILE_SIZE, FW_PROFILE_CONFIG_DISABLE_INBOUND_NOTIFICATIONS, FW_PROFILE_CONFIG_AUTH_APPS_ALLOW_USER_PREF_MERGE, FW_PROFILE_CONFIG_GLOBAL_PORTS_ALLOW_USER_PREF_MERGE, FW_PROFILE_CONFIG_ALLOW_LOCAL_POLICY_MERGE, FW_PROFILE_CONFIG_ALLOW_LOCAL_IPSEC_POLICY_MERGE, FW_PROFILE_CONFIG_DEFAULT_OUTBOUND_ACTION, FW_PROFILE_CONFIG_DEFAULT_INBOUND_ACTION, FW_PROFILE_CONFIG_DISABLE_STEALTH_MODE_IPSEC_SECURED_PACKET_EXEMPTION )] unsigned long* pdwVal; } FW_PROFILE_CONFIG_VALUE, *PFW_PROFILE_CONFIG_VALUE;
wszStr: This field contains a pointer to a Unicode string. It is used when the data type of the configuration value is a string.
pDisabledInterfaces: This field contains a pointer to an FW_INTERFACE_LUIDS data type, which holds a list of GUIDs. This field is custom marshaled, so it is passed as a plain buffer. The following diagrams show how the structures are marshaled.
-
On 32-bit servers:
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1dwNumLUIDs
pLUIDs
GUID1 (16 bytes)
...
...
-
On 64-bit servers:
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1dwNumLUIDs
...
pLUIDs
...
GUID1 (16 bytes)
...
...
pdwVal: This field contains a pointer to an unsigned long. It is used when the data type of the configuration value is an unsigned long.