NetRingIncrementIndex function (ring.h)
Returns the next index value after the specified index value, wrapping around to the beginning of the ring buffer if necessary.
UINT32 NetRingIncrementIndex(
[in] NET_RING const *Ring,
[in] UINT32 Index
);
[in] Ring
A pointer to a NET_RING.
[in] Index
The index value to increment.
Returns the next index value after the specified index value, wrapping around to the beginning of the ring buffer if necessary.
This routine is a convenient equivalent to calling NetRingAdvanceIndex with a Distance of 1.
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.29 |
Minimum UMDF version | 2.33 |
Header | ring.h (include netadaptercx.h) |
IRQL | Any level as long as target memory is resident |