NET_DMA_PNP_NOTIFICATION_CODE 枚举 (netdma.h)

注意Windows 8 及更高版本中不支持 NetDMA 接口。
 
NET_DMA_PNP_NOTIFICATION_CODE 枚举标识 NetDMA 即插即用 (PnP) 事件的类型。

语法

typedef enum _NET_DMA_PNP_NOTIFICATION_CODE {
  NetDmaNotificationProviderRegistered,
  NetDmaNotificationProviderArrival,
  NetDmaNotificationProviderRemoval,
  NetDmaNotificationChannelArrival,
  NetDmaNotificationProviderPowerDown,
  NetDmaNotificationProviderPowerUp,
  NetDmaNotificationMax
} NET_DMA_PNP_NOTIFICATION_CODE, *PNET_DMA_PNP_NOTIFICATION_CODE;

常量

 
NetDmaNotificationProviderRegistered
NetDMA 提供程序已注册。 NetDMA 在 NetDMA 客户端接口中使用此事件。
NetDmaNotificationProviderArrival
NetDMA 提供程序可供客户端使用。 NetDMA 在 NetDMA 客户端中使用此事件
接口。
NetDmaNotificationProviderRemoval
已删除 NetDMA 提供程序。 NetDMA 在 NetDMA 客户端接口中使用此事件。
NetDmaNotificationChannelArrival
NetDMA 通道可供客户端使用。 NetDMA 在 NetDMA 客户端中使用此事件
接口。
NetDmaNotificationProviderPowerDown
NetDMA 提供程序正在关闭电源。 NetDMA 提供程序驱动程序发出
NetDmaNotificationProviderPowerDown 通知之前,它将 DMA 提供程序设置为低功耗
状态。
NetDmaNotificationProviderPowerUp
NetDMA 提供程序已启动。 NetDMA 提供程序驱动程序颁发
DMA 提供程序返回到工作电源后,NetDmaNotificationProviderPowerUp 通知
状态。
NetDmaNotificationMax
支持的 NetDMA PnP 事件的总数。

注解

NET_DMA_PNP_NOTIFICATION_CODE 枚举用于 NET_DMA_PNP_NOTIFICATION 结构。

要求

要求
最低受支持的客户端 支持 Windows Server 2008 中的 NetDMA 2.0 和 NetDMA 1.1 驱动程序。
标头 netdma.h (包括 Netdma.h)

另请参阅

NET_DMA_PNP_NOTIFICATION