Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function determines whether the firewall is enabled.
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 Values
This function returns TRUE if the firewall is enabled. It returns FALSE if the firewall is disabled.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Fwapi.h.
See Also
Send Feedback on this topic to the authors