NET_DMA_PNP_NOTIFICATION struttura (netdma.h)

Nota L'interfaccia NetDMA non è supportata in Windows 8 e versioni successive.
 
La struttura NET_DMA_PNP_NOTIFICATION specifica una notifica di risparmio energia nell'interfaccia NetDMA.

Sintassi

typedef struct _NET_DMA_PNP_NOTIFICATION {
  ULONG                         StructureRevision;
  ULONG                         StructureSize;
  NET_DMA_PNP_NOTIFICATION_CODE NotificationCode;
  PVOID                         Buffer;
  ULONG                         BufferLength;
} NET_DMA_PNP_NOTIFICATION, *PNET_DMA_PNP_NOTIFICATION;

Members

StructureRevision

Revisione per questa struttura. Il driver del provider NetDMA deve impostare questo membro su NET_DMA_PNP_NOTIFICATION_REVISION_1.

StructureSize

Dimensioni, in byte, della struttura di notifica. Questa dimensione non include le dimensioni dei dati specifici della notifica in Buffer, se presente. Un driver del provider NetDMA deve impostare questo membro su sizeof(NET_DMA_PNP_NOTIFICATION).

NotificationCode

Valore che identifica l'evento del provider DMA. Questo valore deve essere uno dei valori dell'oggetto NET_DMA_PNP_NOTIFICATION_CODE'enumerazione.

Buffer

Puntatore ai dati specifici della notifica, se presenti. I driver del provider NetDMA impostano questo membro su NULL per NetDmaNotificationProviderPowerDown e le notifiche NetDmaNotificationProviderPowerUp.

BufferLength

Lunghezza, in byte, dei dati specifici della notifica nel membro buffer . I driver del provider NetDMA impostano questo membro su zero per le notifiche NetDmaNotificationProviderPowerDown e NetDmaNotificationProviderPowerUp .

Commenti

Per inviare una notifica di risparmio energia all'interfaccia NetDMA, i driver del provider NetDMA chiamano la funzione NetDmaPnPEventNotify e forniscono un puntatore a una struttura NET_DMA_PNP_NOTIFICATION nel parametro PnPEvent .

Requisiti

Requisito Valore
Client minimo supportato Supportato per i driver NetDMA 2.0 e NetDMA 1.1 in Windows Server 2008.
Intestazione netdma.h (include Netdma.h)

Vedi anche

NET_DMA_PNP_NOTIFICATION_CODE

NetDmaPnPEventNotify