NET_PACKET_QUEUE_CONFIG_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netpacketqueue-net_packet_queue_config_init)

NET_PACKET_QUEUE_CONFIG_INIT function

Description

The NET_PACKET_QUEUE_CONFIG_INIT function initializes a NET_PACKET_QUEUE_CONFIG structure.

Parameters

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.

Remarks

Client drivers must call this function to initialize a NET_PACKET_QUEUE_CONFIG structure before calling NetTxQueueCreate or NetRxQueueCreate to create a packet queue.

See also

NET_PACKET_QUEUE_CONFIG

NetTxQueueCreate

NetRxQueueCreate