Previous Next

PushEntryList

The PushEntryList routine pushes an entry into a singly linked, driver-maintained list.

VOID 
  PushEntryList(
    IN PSINGLE_LIST_ENTRY  ListHead,
    IN PSINGLE_LIST_ENTRY  Entry
    );

Parameters

ListHead
Pointer to the driver-allocated storage for the head of the list.

The ListHead of type SINGLE_LIST_ENTRY is singly linked. It must be initialized to NULL before the initial entry is pushed.

Entry
Pointer to the driver-allocated storage for an entry in the list.

Return Value

None

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

Callers of PushEntryList can be running at IRQL >= DISPATCH_LEVEL only if the caller-allocated storage for ListHead is resident, and only if pointers to every list entry remain valid at IRQL >= DISPATCH_LEVEL as well.

See Also

ExInterlockedPushEntryList, PopEntryList