This header is used by Windows Firewall Technologies. For more information, see:
netcon.h contains the following programming interfaces:
The IEnumNetSharingEveryConnection interface provides methods for enumerating all the connections in the Connections folder.
The IEnumNetSharingPortMapping interface provides methods to enumerate the port mappings for a particular connection.
The IEnumNetSharingPrivateConnection interface provides methods for enumerating the currently configured privately-shared connections.
The IEnumNetSharingPublicConnection interface provides methods for enumerating the currently configured publicly-shared connections.
The INetConnection interface provides methods to manage network connections.
Use the INetConnectionProps interface to retrieve the properties for a connection.
The INetSharingConfiguration interface provides methods to manage connection sharing, port mapping, and Internet Connection Firewall.
The INetSharingEveryConnectionCollection interface makes it possible for scripting languages such as VBScript and JScript to enumerate all the connections in the connections folder.
The INetSharingManager interface is the primary interface for the Manager object. INetSharingManager provides methods to determine if sharing is installed, to manage port mappings, and to obtain enumeration interfaces for public and private connections.
The INetSharingPortMapping interface provides methods for managing a particular port mapping.
The INetSharingPortMappingCollection interface makes it possible for scripting languages such as VBScript and JScript to enumerate port mappings.
The INetSharingPortMappingProps interface provides methods that retrieve and set the properties of a network connection port mapping.
The INetSharingPrivateConnectionCollection interface makes it possible for scripting languages such as VBScript and JScript to enumerate private connections.
The INetSharingPublicConnectionCollection interface makes it possible for scripting languages such as VBScript and JScript to enumerate public connections.
The NcFreeNetconProperties function frees memory associated with NETCON_PROPERTIES structures.
The NcIsValidConnectionName function verifies if the passed in connection name is valid.
The NETCON_PROPERTIES structure stores values that describe the properties of a network connection.
The NETCON_CHARACTERISTIC_FLAGS enumeration type specifies possible characteristics for a network connection.
The values of the NETCON_MEDIATYPE enumerate the possible ways the computer connects to the network.
The NETCON_STATUS type enumerates possible status conditions for a network connection.
The NETCON_TYPE type enumerates the various kinds of network connections.
The values of the SHARINGCONNECTIONTYPE type enumerate the possible types of shared connections.