RtndAttachToTransmitQueue

RtndRtndAttachToTransmitQueue is an optional function that attaches a NAL client application to the driver transmit queue to allow application transmit complete callbacks.

Syntax

int RtndRtndAttachToTransmitQueue (
   ULONG InterfaceNumber,
   ULONG QueueNumber,
);

Parameters

InterfaceNumber

The driver interface index.

QueueNumber

The driver queue number.

Return Value

A return value of 0 indicates Success, -1 indicates Failure. The possible error codes are:

Error Code Meaning
ERROR_BAD_ARGUMENTS Invalid interface index or queue number.

Remarks

The function must enable transmit notifications for the queue.

The driver must implement this API if it implements RtndTransmitEx.

The NAL will call this function only if the queue is configured to use transmit notifications.

Requirements

Minimum Supported Version RTX64 4.0
Header RtNalApi.h
Library RTX64Nal.lib

See Also:

Transmitting Packets by the NIC Driver

RtndTransmitEx