Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 1.99 KB

nf-ring-netringgetelementatindex.md

File metadata and controls

74 lines (56 loc) · 1.99 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.lib req.dll req.irql req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.alt-api req.alt-loc targetos f1_keywords topic_type api_type api_location api_name
NF:ring.NetRingGetElementAtIndex
NetRingGetElementAtIndex function (ring.h)
The NetRingGetElementAtIndex function retrieves an element from a net ring.
netvista
04/01/2022
NetRingGetElementAtIndex function
NetRingGetElementAtIndex
ring.h
netadaptercx.h
Universal
1.29
2.33
Any level as long as target memory is resident
Windows
NetRingGetElementAtIndex
ring/NetRingGetElementAtIndex
apiref
HeaderDef
ring.h
NetRingGetElementAtIndex

NetRingGetElementAtIndex function

-description

The NetRingGetElementAtIndex function retrieves an element from a net ring.

-parameters

-param Ring [In]

A pointer to a NET_RING.

-param Index [In]

The element index, within the range [0, Ring->NumberOfElements).

-returns

Returns the element at the specified location.

-remarks

NetRingGetElementAtIndex uses the ElementStride member of the net ring to index into the buffer and returns the location of the specified element.

NetRingGetElementAtIndex is meant for generic use of net rings. Instead, a NetAdapterCx client driver typically calls either NetRingGetPacketAtIndex for a packet ring or NetRingGetFragmentAtIndex for a fragment ring.

-see-also

NetRingGetPacketAtIndex

NetRingGetFragmentAtIndex