ReactOS  0.4.14-dev-50-g13bb5e2
linklist.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define InsertAscendingList(ListHead, NewEntry, Type, ListEntryField, SortField)
 

Macro Definition Documentation

◆ InsertAscendingList

#define InsertAscendingList (   ListHead,
  NewEntry,
  Type,
  ListEntryField,
  SortField 
)
Value:
do { \
PLIST_ENTRY current = (ListHead)->Flink; \
while (current != (ListHead)) \
{ \
if (CONTAINING_RECORD(current, Type, ListEntryField)->SortField >= \
(NewEntry)->SortField) \
{ \
break; \
} \
current = current->Flink; \
} \
InsertTailList(current, &((NewEntry)->ListEntryField)); \
} while (0)
Type
Definition: Type.h:6
#define InsertTailList(ListHead, Entry)
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
struct task_struct * current
Definition: linux.c:32

Definition at line 10 of file linklist.h.