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
1.0 KiB
74 lines
1.0 KiB
/*++
|
|
|
|
Copyright (c) 2001 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
slistfunc.c
|
|
|
|
Abstract:
|
|
|
|
This module implements WIN64 SLIST functions.
|
|
|
|
Author:
|
|
|
|
David N. Cutler (davec) 11-Feb-2001
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#include "ntrtlp.h"
|
|
|
|
VOID
|
|
RtlpInitializeSListHead (
|
|
IN PSLIST_HEADER SListHead
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function initializes a sequenced singly linked listhead.
|
|
|
|
Arguments:
|
|
|
|
SListHead - Supplies a pointer to a sequenced singly linked listhead.
|
|
|
|
Return Value:
|
|
|
|
None.
|
|
|
|
--*/
|
|
|
|
{
|
|
|
|
InitializeSListHead(SListHead);
|
|
return;
|
|
}
|
|
|
|
USHORT
|
|
RtlpQueryDepthSList (
|
|
IN PSLIST_HEADER SListHead
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function queries the depth of the specified SLIST.
|
|
|
|
Arguments:
|
|
|
|
SListHead - Supplies a pointer to a sequenced singly linked listhead.
|
|
|
|
Return Value:
|
|
|
|
The current depth of the specified SLIST is returned as the function
|
|
value.
|
|
|
|
--*/
|
|
|
|
{
|
|
return QueryDepthSList(SListHead);
|
|
}
|