NET_IF_CONNECTION_TYPE enumeration

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,
  NET_IF_CONNECTION_DEMAND,
  NET_IF_CONNECTION_MAXIMUM
} NET_IF_CONNECTION_TYPE, *PNET_IF_CONNECTION_TYPE;

Constants

NET_IF_CONNECTION_DEDICATED

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

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

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

A maximum value for testing purposes.

Requirements

Version

Supported in NDIS 6.0 and later.

Header

Ifdef.h (include Netioapi.h or Ntddndis.h)

 

 

Send comments about this topic to Microsoft

显示:
© 2014 Microsoft