// ring.h
NET_FRAGMENT * NetRingGetFragmentAtIndex(
NET_RING const *Ring,
UINT32 Index
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetRingGetFragmentAtIndex function retrieves a fragment from a net ring.
RingA pointer to a NET_RING.
IndexThe fragment index, within the range [0, Ring->NumberOfElements).
Returns a pointer to the NET_FRAGMENT at the specified index in the fragment ring.
This function is a convenient wrapper around NetRingGetElementAtIndex. Client drivers should call this function when working with a fragment ring instead of calling NetRingGetElementAtIndex directly.