Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

PushEntryList routine

The PushEntryList routine inserts an entry at the beginning of a singly linked list of SINGLE_LIST_ENTRY structures.

Syntax


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

Parameters

ListHead [in, out]

Pointer to the SINGLE_LIST_ENTRY structure that serves as the list header.

Entry [in, out]

Pointer to SINGLE_LIST_ENTRY structure that represents the entry to be inserted on the list.

Return value

None

Remarks

PushEntryList sets ListHead->Next to Entry, and Entry->Next to point to the old first entry of the list.

For information about using this routine when implementing a singly linked list, see Singly and Doubly Linked Lists.

Callers of PushEntryList can be running at any IRQL. If PushEntryList is called at IRQL >= DISPATCH_LEVEL, the storage for ListHead and the list entries must be resident.

Requirements

Target platform

Desktop

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

IRQL

Any level (See Remarks section)

See also

ExInterlockedPushEntryList
PopEntryList

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft