Función NetRingGetFragmentAtIndex (ring.h)

La función NetRingGetFragmentAtIndex recupera un fragmento de un anillo neto.

Sintaxis

NET_FRAGMENT * NetRingGetFragmentAtIndex(
  NET_RING const *Ring,
  UINT32         Index
);

Parámetros

Ring

Puntero a un NET_RING.

Index

Índice de fragmento, dentro del intervalo [0, Ring-NumberOfElements>).

Valor devuelto

Devuelve un puntero al NET_FRAGMENT en el índice especificado del anillo de fragmento.

Comentarios

Esta función es un contenedor conveniente alrededor de NetRingGetElementAtIndex. Los controladores de cliente deben llamar a esta función al trabajar con un anillo de fragmento en lugar de llamar directamente a NetRingGetElementAtIndex .

Requisitos

Requisito Valor
Header ring.h
IRQL Cualquier nivel siempre que la memoria de destino sea residente

Consulte también

NET_FRAGMENT

NetRingGetElementAtIndex