Share via


IsInterfaceFirewalled

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function indicates whether traffic through an interface is filtered by the firewall.

Syntax

BOOL IsInterfaceFirewalled(
  LPCWSTR pszInterfaceName
);

Parameters

  • pszInterfaceName
    [in] Pointer to a null-terminated Unicode string that specifies the name of the network interface.

Return Value

This function returns TRUE if the interface traffic is being filtered by the firewall.

Requirements

Header fwapi.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IP Firewall Functions