// netpacketqueue.h
void NET_PACKET_QUEUE_CONFIG_INIT(
[_Out_] NET_PACKET_QUEUE_CONFIG *Config,
[_In_] PFN_PACKET_QUEUE_ADVANCE EvtAdvance,
[_In_] PFN_PACKET_QUEUE_SET_NOTIFICATION_ENABLED EvtSetNotificationEnabled,
[_In_] PFN_PACKET_QUEUE_CANCEL EvtCancel
);
View the official Windows Driver Kit DDI referenceNo description available.
The NET_PACKET_QUEUE_CONFIG_INIT function initializes a NET_PACKET_QUEUE_CONFIG structure.
Config [_Out_]A pointer to the driver-allocated NET_PACKET_QUEUE_CONFIG structure to initialize.
EvtAdvance [_In_]A pointer to the client driver's implementation of the EVT_PACKET_QUEUE_ADVANCE callback function for this packet queue.
EvtSetNotificationEnabled [_In_]A pointer to the client driver's implementation of the EVT_PACKET_QUEUE_SET_NOTIFICATION_ENABLED callback function for this packet queue.
EvtCancel [_In_]A pointer to the client driver's implementation of the EVT_PACKET_QUEUE_CANCEL callback function for this packet queue.
Client drivers must call this function to initialize a NET_PACKET_QUEUE_CONFIG structure before calling NetTxQueueCreate or NetRxQueueCreate to create a packet queue.