// 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 referenceNo description available.
The NET_PACKET_QUEUE_CONFIG structure describes the configuration options for a NetAdapterCx client driver's packet queue.
SizeThe size of this structure, in bytes.
EvtStartA pointer to the client driver's EVT_PACKET_QUEUE_START event callback function for this packet queue. This callback function is required.
EvtStopA pointer to the client driver's EVT_PACKET_QUEUE_STOP event callback function for this packet queue. This callback function is required.
EvtAdvanceA pointer to the client driver's EVT_PACKET_QUEUE_ADVANCE event callback function for this packet queue. This callback function is required.
EvtSetNotificationEnabledA pointer to the client driver's EVT_PACKET_QUEUE_SET_NOTIFICATION_ENABLED event callback function for this packet queue. This callback function is required.
EvtCancelA pointer to the client driver's EVT_PACKET_QUEUE_CANCEL event callback function for this packet queue. This callback function is required.
ExecutionContextA NETEXECUTIONCONTEXT object.
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.