Export (0) Print
Expand All
Expand Minimize

ExQueryDepthSList routine

The ExQueryDepthSList routine returns the number of entries currently in a given sequenced singly linked list.

Syntax


USHORT ExQueryDepthSList(
  _In_  PSLIST_HEADER SListHead
);

Parameters

SListHead [in]

A pointer to the SLIST_HEADER structure that serves as the header for the sequenced singly linked list. SListHead must have been initialized by calling ExInitializeSListHead.

Return value

ExQueryDepthSList returns the current number of entries in the list.

Remarks

For more information about using this routine to implement a sequenced singly linked list, see Singly and Doubly Linked Lists.

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= DISPATCH_LEVEL

See also

ExInitializeSListHead
ExInterlockedPushEntrySList
ExInterlockedPopEntrySList

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft