共用方式為


NET_IF_CONNECTION_TYPE (Compact 2013)

3/26/2014

This 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;

Values

  • 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

Header

ifdef.h

See Also

Reference

NDIS Network Interface Enumerations