NdisQueryDepthSList (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.

NdisQueryDepthSList returns the current number of entries in a given sequenced, singly linked list.

Syntax

USHORT NdisQueryDepthSList(
  _In_ PSLIST_HEADER SListHead
);

Parameters

  • SListHead [in]
    Pointer to the head of the S-List to be queried, which the caller already initialized with NdisInitializeSListHead.

Return value

NdisQueryDepthSList returns the number of entries currently in the S-List.

Requirements

Target platform

Desktop

Version

See NdisQueryDepthSList.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

See also

NdisInitializeSListHead

NdisInterlockedPushEntrySList

NdisInterlockedPopEntrySList

 

 

Send comments about this topic to Microsoft