NETCON_TYPE enumeration (netcon.h)
[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_CONNECT Value: 0 Direct serial connection through a serial port. |
NCT_INBOUND Value: 1 Another computer dials in to the local computer through this connection. |
NCT_INTERNET The connection is to the public Internet. |
NCT_LAN The connection is to a local area network (LAN). |
NCT_PHONE The connection is a dial-up connection over a phone line. |
NCT_TUNNEL The connection is a virtual private network (VPN) connection. |
NCT_BRIDGE The 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