NET_IF_CONNECTION_TYPE enumeration (ifdef.h)
The NET_IF_CONNECTION_TYPE enumeration type specifies the NDIS network interface connection type.
Syntax
typedef enum _NET_IF_CONNECTION_TYPE {
NET_IF_CONNECTION_DEDICATED = 1,
NET_IF_CONNECTION_PASSIVE = 2,
NET_IF_CONNECTION_DEMAND = 3,
NET_IF_CONNECTION_MAXIMUM = 4
} NET_IF_CONNECTION_TYPE, *PNET_IF_CONNECTION_TYPE;
Constants
NET_IF_CONNECTION_DEDICATED Value: 1 Specifies the dedicated connection type. The connection comes up automatically when media sense is TRUE. For example, an Ethernet connection is dedicated. |
NET_IF_CONNECTION_PASSIVE Value: 2 Specifies the passive connection type. The other end must bring up the connection to the local station. For example, the RAS interface is passive. |
NET_IF_CONNECTION_DEMAND Value: 3 Specifies the demand-dial connection type. A demand-dial connection comes up in response to a local action--for example, sending a packet. |
NET_IF_CONNECTION_MAXIMUM Value: 4 A maximum value for testing purposes. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.0 and later. |
Header | ifdef.h (include Netioapi.h, Ntddndis.h) |