RtndDetachReceiveQueue
RtndDetachReceiveQueue detaches the driver receive queue from a NAL client application.
NOTE: This function must change the queue state to application-detached and clear the callback and context pointers. It must clear receive filters, stop receive notifications, and disable polling. All waiting receive packets should be discarded.
Syntax
int RtndDetachReceiveQueue ( 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. |
Requirements
Minimum Supported Version | RTX64 4.0 |
Header | RtNalApi.h |
Library | RTX64Nal.lib |