[SDK:NT] Another list helper & more status values
Added STATUS_INSUFFICIENT_NVRAM_RESOURCES Added InitializeListHead()
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user