NdisFreeToNPagedLookasideList (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NdisFreeToNPagedLookasideList returns an entry to the given lookaside list.

Syntax

VOID NdisFreeToNPagedLookasideList(
  _In_ PNPAGED_LOOKASIDE_LIST Lookaside,
  _In_ PVOID                  Entry
);

Parameters

  • Lookaside [in]
    Pointer to the head of the lookaside list to which the entry will be returned.

  • Entry [in]
    Pointer to the entry to be freed.

Return value

None

Remarks

If the lookaside list has not reached the system-determined maximum number of entries, Entry is inserted at the front of the lookaside list. If the list has reached its maximum size, Entry is released to nonpaged pool. That is, NdisFreeToNPagedLookasideList either calls the driver's Free function if the driver provided one to NdisInitializeNPagedLookasideList, or it frees the given entry itself.

Requirements

Target platform

Desktop

Version

See NdisFreeToNPagedLookasideList.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

See also

NdisAllocateFromNPagedLookasideList

NdisDeleteNPagedLookasideList

NdisInitializeNPagedLookasideList

 

 

Send comments about this topic to Microsoft