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 values of the NETCON_MEDIATYPE enumerate the possible ways the computer connects to the network.
Syntax
typedef enum tagNETCON_MEDIATYPE {
NCM_NONE = 0,
NCM_DIRECT,
NCM_ISDN = 2,
NCM_LAN,
NCM_PHONE,
NCM_TUNNEL,
NCM_PPPOE,
NCM_BRIDGE,
NCM_SHAREDACCESSHOST_LAN,
NCM_SHAREDACCESSHOST_RAS
} NETCON_MEDIATYPE;
Constants
NCM_NONEValue: 0 No media is present. |
NCM_DIRECTDirect serial connection through a serial port. |
NCM_ISDNValue: 2 Connection is through an integrated services digital network (ISDN) line. |
NCM_LANConnection is to a local area network (LAN). |
NCM_PHONEDial-up connection over a conventional phone line. |
NCM_TUNNELVirtual private network (VPN) connection. |
NCM_PPPOEPoint-to-Point protocol (PPP) over Ethernet. |
NCM_BRIDGEBridged connection. |
NCM_SHAREDACCESSHOST_LANShared connection to a LAN. |
NCM_SHAREDACCESSHOST_RASShared connection to a remote or wide area network (WAN). |
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