[SDK:NT] Another list helper & more status values

Added STATUS_INSUFFICIENT_NVRAM_RESOURCES
Added InitializeListHead()
This commit is contained in:
2024-08-26 19:51:36 -04:00
parent ef1ac515dd
commit b63d80d5c9
2 changed files with 62 additions and 34 deletions

View File

@@ -233,6 +233,33 @@ typedef struct _LIST_ENTRY {
struct _LIST_ENTRY *Blink;
} LIST_ENTRY, *PLIST_ENTRY;
FORCEINLINE
VOID
InitializeListHead (
IN PLIST_ENTRY Head
)
/*++
Routine Description:
Initializes a list head.
Arguments:
Head - the list head.
Return Value:
None.
--*/
{
Head->Blink = Head;
Head->Flink = Head;
}
FORCEINLINE
BOOLEAN
RemoveEntryList (