NETCON_CHARACTERISTIC_FLAGS enumeration

[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_BLUETOOTH_MASK     = 0xf0000,
  NCCF_LAN_MASK           = 0xf0000
} NETCON_CHARACTERISTIC_FLAGS;

Constants

NCCF_NONE

No special characteristics.

NCCF_ALL_USERS

Connection is available to all users.

NCCF_ALLOW_DUPLICATION

Connection is duplicable.

NCCF_ALLOW_REMOVAL

Connection is removable.

NCCF_ALLOW_RENAME

Connection can be renamed.

NCCF_INCOMING_ONLY

Direction is "incoming" only.

NCCF_OUTGOING_ONLY

Direction is "outgoing" only.

NCCF_BRANDED

Icons are branded.

NCCF_SHARED

Connection is shared.

NCCF_BRIDGED

Connection is bridged.

NCCF_FIREWALLED

Connection is firewalled.

NCCF_DEFAULT

Connection is the default connection.

NCCF_HOMENET_CAPABLE

Device supports home networking.

NCCF_SHARED_PRIVATE

Connection is private (part of ICS).

NCCF_QUARANTINED

Connection is quarantined.

NCCF_RESERVED

Unused.

NCCF_BLUETOOTH_MASK

Bluetooth characteristics.

NCCF_LAN_MASK

LAN characteristics.

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

 

 

Show: