NET_DMA_PNP_NOTIFICATION structure (netdma.h)

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.

Syntax

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

The revision for this structure. The NetDMA provider driver must set this member to NET_DMA_PNP_NOTIFICATION_REVISION_1.

StructureSize

The 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).

NotificationCode

A value that identifies the DMA provider event. This value must be one of the values from the NET_DMA_PNP_NOTIFICATION_CODE enumeration.

Buffer

A pointer to notification-specific data, if any. NetDMA provider drivers set this member to NULL for NetDmaNotificationProviderPowerDown and NetDmaNotificationProviderPowerUp notifications.

BufferLength

The 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.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Supported for NetDMA 2.0 and NetDMA 1.1 drivers in Windows Server 2008.
Header netdma.h (include Netdma.h)

See also

NET_DMA_PNP_NOTIFICATION_CODE

NetDmaPnPEventNotify