// netdma.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
Note The NetDMA interface is not supported in Windows 8 and later.
The NET_DMA_PNP_NOTIFICATION structure specifies a power management notification in the NetDMA interface.
StructureRevisionThe revision for this structure. The NetDMA provider driver must set this member to NET_DMA_PNP_NOTIFICATION_REVISION_1.
StructureSizeThe size, in bytes, of the notification structure. This size does not include the size of the notification specific data at Buffer, if any. A NetDMA provider driver must set this member to sizeof(NET_DMA_PNP_NOTIFICATION).
NotificationCodeA value that identifies the DMA provider event. This value must be one of the values from the NET_DMA_PNP_NOTIFICATION_CODE enumeration.
BufferA pointer to notification-specific data, if any. NetDMA provider drivers set this member to NULL for NetDmaNotificationProviderPowerDown and NetDmaNotificationProviderPowerUp notifications.
BufferLengthThe length, in bytes, of the notification-specific data at the Buffer member. NetDMA provider drivers set this member to zero for NetDmaNotificationProviderPowerDown and NetDmaNotificationProviderPowerUp notifications.
To send a power management notification to the NetDMA interface, NetDMA provider drivers call the NetDmaPnPEventNotify function and provide a pointer to a NET_DMA_PNP_NOTIFICATION structure at the PnPEvent parameter.