NETCON_CHARACTERISTIC_FLAGS enumeration (netcon.h)

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

The NETCON_CHARACTERISTIC_FLAGS enumeration type specifies possible characteristics for a network connection.

Syntax

typedef enum tagNETCON_CHARACTERISTIC_FLAGS {
  NCCF_NONE = 0,
  NCCF_ALL_USERS = 0x1,
  NCCF_ALLOW_DUPLICATION = 0x2,
  NCCF_ALLOW_REMOVAL = 0x4,
  NCCF_ALLOW_RENAME = 0x8,
  NCCF_INCOMING_ONLY = 0x20,
  NCCF_OUTGOING_ONLY = 0x40,
  NCCF_BRANDED = 0x80,
  NCCF_SHARED = 0x100,
  NCCF_BRIDGED = 0x200,
  NCCF_FIREWALLED = 0x400,
  NCCF_DEFAULT = 0x800,
  NCCF_HOMENET_CAPABLE = 0x1000,
  NCCF_SHARED_PRIVATE = 0x2000,
  NCCF_QUARANTINED = 0x4000,
  NCCF_RESERVED = 0x8000,
  NCCF_HOSTED_NETWORK = 0x10000,
  NCCF_VIRTUAL_STATION = 0x20000,
  NCCF_WIFI_DIRECT = 0x40000,
  NCCF_BLUETOOTH_MASK = 0xf0000,
  NCCF_LAN_MASK = 0xf00000
} NETCON_CHARACTERISTIC_FLAGS;

Constants

 
NCCF_NONE
Value: 0
No special characteristics.
NCCF_ALL_USERS
Value: 0x1
Connection is available to all users.
NCCF_ALLOW_DUPLICATION
Value: 0x2
Connection is duplicable.
NCCF_ALLOW_REMOVAL
Value: 0x4
Connection is removable.
NCCF_ALLOW_RENAME
Value: 0x8
Connection can be renamed.
NCCF_INCOMING_ONLY
Value: 0x20
Direction is "incoming" only.
NCCF_OUTGOING_ONLY
Value: 0x40
Direction is "outgoing" only.
NCCF_BRANDED
Value: 0x80
Icons are branded.
NCCF_SHARED
Value: 0x100
Connection is shared.
NCCF_BRIDGED
Value: 0x200
Connection is bridged.
NCCF_FIREWALLED
Value: 0x400
Connection is firewalled.
NCCF_DEFAULT
Value: 0x800
Connection is the default connection.
NCCF_HOMENET_CAPABLE
Value: 0x1000
Device supports home networking.
NCCF_SHARED_PRIVATE
Value: 0x2000
Connection is private (part of ICS).
NCCF_QUARANTINED
Value: 0x4000
Connection is quarantined.
NCCF_RESERVED
Value: 0x8000
Unused.
NCCF_HOSTED_NETWORK
Value: 0x10000
NCCF_VIRTUAL_STATION
Value: 0x20000
NCCF_WIFI_DIRECT
Value: 0x40000
NCCF_BLUETOOTH_MASK
Value: 0xf0000
Bluetooth characteristics.
NCCF_LAN_MASK
Value: 0xf00000
LAN characteristics.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Header netcon.h

See also

INetConnection

Internet Connection Sharing and Internet Connection Firewall Enumeration Types

Internet Connection Sharing and Internet Connection Firewall Reference

NETCON_PROPERTIES