用户界面中未显示的关键字

NDIS 6.0 及更高版本的 NDIS 为网络设备的微型端口驱动程序提供了一些标准化关键字。 这些标准化关键字显示在 INF 文件中,但不出现在用户界面中。

以下列表中描述了这些常规关键字。 有关特定关键字的详细信息,请在 WDK 文档中搜索关键字。

*IfType
设备的 NDIS 接口类型。 有关 NDIS 接口类型的详细信息,请参阅 NDIS 接口类型

*MediaType
设备的媒体类型。 For more information about the media type of the miniport adapter, see OID_GEN_MEDIA_SUPPORTED.

*PhysicalMediaType
设备的物理媒体类型。 For more information about the physical media type of the miniport adapter, see OID_GEN_PHYSICAL_MEDIUM.

*NdisDeviceType
设备的类型。 默认值为零,表示连接到网络的标准网络设备。 Set *NdisDeviceType to NDIS_DEVICE_TYPE_ENDPOINT (1) if this device is an endpoint device and is not a true network interface that connects to a network. 例如,必须为使用网络基础结构与本地计算机系统通信但不提供与外部网络的连接的设备(例如智能手机)指定NDIS_DEVICE_TYPE_ENDPOINT。 However, you must *not* set this keyword to NDIS_DEVICE_TYPE_ENDPOINT for virtual adapters such as VPN interfaces, because they provide connectivity to an external network.

Note Windows Vista automatically identifies and monitors the networks a computer connects to. 如果设置了NDIS_DEVICE_TYPE_ENDPOINT标志,则设备是终结点设备,不是与真实外部网络的连接。 因此,Windows 在标识网络时会忽略终结点设备。 网络感知 API 指示设备未将计算机连接到网络。 在这种情况下,对于最终用户,通知区域中的网络和共享中心和网络图标不会将 NDIS 终结点设备显示为已连接。 但是,连接显示在“网络连接文件夹”中。