Partager via


IsFirewallEnabled (Windows Embedded CE 6.0)

1/6/2010

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

See Also

Reference

IP Firewall Functions