NETCON_TYPE enumeration

[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,
  NCT_INBOUND,
  NCT_INTERNET,
  NCT_LAN,
  NCT_PHONE,
  NCT_TUNNEL,
  NCT_BRIDGE
} NETCON_TYPE;

Constants

NCT_DIRECT_CONNECT

Direct serial connection through a serial port.

NCT_INBOUND

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

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 Reference
Internet Connection Sharing and Internet Connection Firewall Enumeration Types
INetConnection
NETCON_PROPERTIES

 

 

Build date: 11/16/2013

Community Additions

ADD
Show:
© 2014 Microsoft