Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NetAdapterCx is preview only in Windows 10, version 1903.
The NetPacketIteratorAdvanceToTheEnd method advances the current Index of a packet iterator to its End index.
void NetPacketIteratorAdvanceToTheEnd( NET_RING_PACKET_ITERATOR *Iterator );
A pointer to a NET_RING_PACKET_ITERATOR structure.
After calling NetPacketIteratorAdvanceToTheEnd, the packet iterator's current Index advances to the iterator's End index. Therefore, the packets between the old value of iterator's Index and the iterator's End - 1 inclusive are transferred to the OS.
Client drivers typically call NetPacketIteratorAdvanceToTheEnd to cancel all packets in the ring or perform other operations that drain all the ring's packets.
For a code example of using this method, see Net rings and net ring iterators.
|Minimum KMDF version||1.29|
|IRQL||Any level as long as target memory is resident|