Bewerken

Delen via


NDIS_PD_QUEUE_DISPATCH structure (ndis.h)

This structure contains a provider's driver routines for receive or transmit queues.

Syntax

typedef struct _NDIS_PD_QUEUE_DISPATCH {
  NDIS_OBJECT_HEADER                            Header;
  ULONG                                         Flags;
  NDIS_PD_POST_AND_DRAIN_BUFFER_LIST_HANDLER    PDPostAndDrainBufferList;
  NDIS_PD_QUERY_QUEUE_DEPTH_HANDLER             PDQueryQueueDepth;
  NDIS_PD_FLUSH_QUEUE_HANDLER                   PDFlushQueue;
  NDIS_PD_POST_AND_DRAIN_BUFFER_LIST_EX_HANDLER PDPostAndDrainBufferListEx;
} NDIS_PD_QUEUE_DISPATCH;

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_PD_QUEUE_DISPATCH structure. Set the members of this structure as follows:

  • Type = NDIS_OBJECT_TYPE_DEFAULT
  • Revision = NDIS_PD_QUEUE_DISPATCH_REVISION_1
  • Size = NDIS_SIZEOF_PD_QUEUE_DISPATCH_REVISION_1

Flags

This member is reserved and must be set to 0.

PDPostAndDrainBufferList

A pointer to the provider's PDPostAndDrainBufferList routine.

PDQueryQueueDepth

A pointer to the provider's PDQueryQueueDepth routine.

PDFlushQueue

A pointer to the provider's PDFlushQueue routine.

PDPostAndDrainBufferListEx

Requirements

Requirement Value
Header ndis.h