IsFirewallEnabled
Other versions of this page are also available for the following:
8/28/2008
This function determines whether the firewall is enabled.
Syntax
BOOL IsFirewallEnabled(
USHORT Family
);
Parameters
Family
[in] The firewall family. The following table shows the possible values.Value Description AF_INET
Checks if the IPv4 firewall is enabled.
AF_INET6
Checks if the IPv6 firewall is enabled.
Return Value
This function returns TRUE if the firewall is enabled. It returns FALSE if the firewall is disabled.
Requirements
Header | fwapi.h |
Windows Embedded CE | Windows CE .NET 4.2 and later |