Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]
The NETCON_TYPE type enumerates the various kinds of network connections.
Syntax
typedef enum tagNETCON_TYPE {
  NCT_DIRECT_CONNECT = 0,
  NCT_INBOUND = 1,
  NCT_INTERNET,
  NCT_LAN,
  NCT_PHONE,
  NCT_TUNNEL,
  NCT_BRIDGE
} NETCON_TYPE;
Constants
NCT_DIRECT_CONNECTValue: 0 Direct serial connection through a serial port.  | 
NCT_INBOUNDValue: 1 Another computer dials in to the local computer through this connection.  | 
NCT_INTERNETThe connection is to the public Internet.  | 
NCT_LANThe connection is to a local area network (LAN).  | 
NCT_PHONEThe connection is a dial-up connection over a phone line.  | 
NCT_TUNNELThe connection is a virtual private network (VPN) connection.  | 
NCT_BRIDGEThe connection is a bridged connection.  | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows XP [desktop apps only] | 
| Minimum supported server | None supported | 
| Header | netcon.h | 
See also
Internet Connection Sharing and Internet Connection Firewall Enumeration Types
Internet Connection Sharing and Internet Connection Firewall Reference