NcIsValidConnectionName function (netcon.h)

[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The NcIsValidConnectionName function verifies if the passed in connection name is valid.

Syntax

BOOL NcIsValidConnectionName(
  [in] PCWSTR pszwName
);

Parameters

[in] pszwName

Connection name to check.

Return value

TRUE if connection name is valid.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header netcon.h
DLL Netshell.dll

See also

Internet Connection Sharing and Internet Connection Firewall Interfaces

Internet Connection Sharing and Internet Connection Firewall Reference