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 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_NONEValue: 0 No special characteristics. |
NCCF_ALL_USERSValue: 0x1 Connection is available to all users. |
NCCF_ALLOW_DUPLICATIONValue: 0x2 Connection is duplicable. |
NCCF_ALLOW_REMOVALValue: 0x4 Connection is removable. |
NCCF_ALLOW_RENAMEValue: 0x8 Connection can be renamed. |
NCCF_INCOMING_ONLYValue: 0x20 Direction is "incoming" only. |
NCCF_OUTGOING_ONLYValue: 0x40 Direction is "outgoing" only. |
NCCF_BRANDEDValue: 0x80 Icons are branded. |
NCCF_SHAREDValue: 0x100 Connection is shared. |
NCCF_BRIDGEDValue: 0x200 Connection is bridged. |
NCCF_FIREWALLEDValue: 0x400 Connection is firewalled. |
NCCF_DEFAULTValue: 0x800 Connection is the default connection. |
NCCF_HOMENET_CAPABLEValue: 0x1000 Device supports home networking. |
NCCF_SHARED_PRIVATEValue: 0x2000 Connection is private (part of ICS). |
NCCF_QUARANTINEDValue: 0x4000 Connection is quarantined. |
NCCF_RESERVEDValue: 0x8000 Unused. |
NCCF_HOSTED_NETWORKValue: 0x10000 |
NCCF_VIRTUAL_STATIONValue: 0x20000 |
NCCF_WIFI_DIRECTValue: 0x40000 |
NCCF_BLUETOOTH_MASKValue: 0xf0000 Bluetooth characteristics. |
NCCF_LAN_MASKValue: 0xf00000 LAN characteristics. |
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