Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NET_PACKET_QUEUE_CONFIG_INIT function initializes a NET_PACKET_QUEUE_CONFIG structure.
Syntax
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
);
Parameters
[_Out_] Config
A pointer to the driver-allocated NET_PACKET_QUEUE_CONFIG structure to initialize.
[_In_] EvtAdvance
A pointer to the client driver's implementation of the EVT_PACKET_QUEUE_ADVANCE callback function for this packet queue.
[_In_] EvtSetNotificationEnabled
A pointer to the client driver's implementation of the EVT_PACKET_QUEUE_SET_NOTIFICATION_ENABLED callback function for this packet queue.
[_In_] EvtCancel
A pointer to the client driver's implementation of the EVT_PACKET_QUEUE_CANCEL callback function for this packet queue.
Return value
None
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.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Universal |
| Minimum KMDF version | 1.27 |
| Minimum UMDF version | 2.33 |
| Header | netpacketqueue.h (include netadaptercx.h) |
| Library | netadaptercxstub.lib |
| IRQL | PASSIVE_LEVEL |