NETCON_MEDIATYPE enumeration

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

The values of the NETCON_MEDIATYPE enumerate the possible ways the computer connects to the network.

Syntax


typedef enum tagNETCON_MEDIATYPE { 
  NCM_NONE,
  NCM_DIRECT,
  NCM_ISDN,
  NCM_LAN,
  NCM_PHONE,
  NCM_TUNNEL,
  NCM_PPPOE,
  NCM_BRIDGE,
  NCM_SHAREDACCESSHOST_LAN,
  NCM_SHAREDACCESSHOST_RAS
} NETCON_MEDIATYPE;

Constants

NCM_NONE

No media is present.

NCM_DIRECT

Direct serial connection through a serial port.

NCM_ISDN

Connection is through an integrated services digital network (ISDN) line.

NCM_LAN

Connection is to a local area network (LAN).

NCM_PHONE

Dial-up connection over a conventional phone line.

NCM_TUNNEL

Virtual private network (VPN) connection.

NCM_PPPOE

Point-to-Point protocol (PPP) over Ethernet.

NCM_BRIDGE

Bridged connection.

NCM_SHAREDACCESSHOST_LAN

Shared connection to a LAN.

NCM_SHAREDACCESSHOST_RAS

Shared connection to a remote or wide area network (WAN).

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