NET_PACKET_QUEUE_CONFIG - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netpacketqueue.h

typedef struct _NET_PACKET_QUEUE_CONFIG {
  ULONG                                     Size;
  PFN_PACKET_QUEUE_START                    EvtStart;
  PFN_PACKET_QUEUE_STOP                     EvtStop;
  PFN_PACKET_QUEUE_ADVANCE                  EvtAdvance;
  PFN_PACKET_QUEUE_SET_NOTIFICATION_ENABLED EvtSetNotificationEnabled;
  PFN_PACKET_QUEUE_CANCEL                   EvtCancel;
  NETEXECUTIONCONTEXT                       ExecutionContext;
} NET_PACKET_QUEUE_CONFIG;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-netpacketqueue-_net_packet_queue_config)

_NET_PACKET_QUEUE_CONFIG structure

Description

The NET_PACKET_QUEUE_CONFIG structure describes the configuration options for a NetAdapterCx client driver's packet queue.

Members

Size

The size of this structure, in bytes.

EvtStart

A pointer to the client driver's EVT_PACKET_QUEUE_START event callback function for this packet queue. This callback function is required.

EvtStop

A pointer to the client driver's EVT_PACKET_QUEUE_STOP event callback function for this packet queue. This callback function is required.

EvtAdvance

A pointer to the client driver's EVT_PACKET_QUEUE_ADVANCE event callback function for this packet queue. This callback function is required.

EvtSetNotificationEnabled

A pointer to the client driver's EVT_PACKET_QUEUE_SET_NOTIFICATION_ENABLED event callback function for this packet queue. This callback function is required.

EvtCancel

A pointer to the client driver's EVT_PACKET_QUEUE_CANCEL event callback function for this packet queue. This callback function is required.

ExecutionContext

A NETEXECUTIONCONTEXT object.

Remarks

Call NET_PACKET_QUEUE_CONFIG_INIT to initialize this structure.

The NET_PACKET_QUEUE_CONFIG structure is an input parameter to NetTxQueueCreate and NetRxQueueCreate. The client must use NET_PACKET_QUEUE_CONFIG_INIT to initialize this structure before calling NetTx(Rx)QueueCreate.

See also

NET_PACKET_QUEUE_CONFIG_INIT

NetTxQueueCreate

NetRxQueueCreate