Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
968 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. slistfunc.c
  5. Abstract:
  6. This module implements WIN64 SLIST functions.
  7. Author:
  8. David N. Cutler (davec) 11-Feb-2001
  9. Revision History:
  10. --*/
  11. #include "ntrtlp.h"
  12. VOID
  13. RtlpInitializeSListHead (
  14. IN PSLIST_HEADER SListHead
  15. )
  16. /*++
  17. Routine Description:
  18. This function initializes a sequenced singly linked listhead.
  19. Arguments:
  20. SListHead - Supplies a pointer to a sequenced singly linked listhead.
  21. Return Value:
  22. None.
  23. --*/
  24. {
  25. InitializeSListHead(SListHead);
  26. return;
  27. }
  28. USHORT
  29. RtlpQueryDepthSList (
  30. IN PSLIST_HEADER SListHead
  31. )
  32. /*++
  33. Routine Description:
  34. This function queries the depth of the specified SLIST.
  35. Arguments:
  36. SListHead - Supplies a pointer to a sequenced singly linked listhead.
  37. Return Value:
  38. The current depth of the specified SLIST is returned as the function
  39. value.
  40. --*/
  41. {
  42. return QueryDepthSList(SListHead);
  43. }