Compartir a través de


IsFirewallEnabled (Windows CE 5.0)

Send Feedback

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

IP Firewall Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.