ReactOS  0.4.14-dev-358-gbef841c
history.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VOID HistoryDeleteBuffers (PCONSRV_CONSOLE Console)
 

Function Documentation

◆ HistoryDeleteBuffers()

VOID HistoryDeleteBuffers ( PCONSRV_CONSOLE  Console)

Definition at line 313 of file history.c.

314 {
315  PLIST_ENTRY CurrentEntry;
316  PHISTORY_BUFFER HistoryBuffer;
317 
318  while (!IsListEmpty(&Console->HistoryBuffers))
319  {
320  CurrentEntry = RemoveHeadList(&Console->HistoryBuffers);
321  HistoryBuffer = CONTAINING_RECORD(CurrentEntry, HISTORY_BUFFER, ListEntry);
322  HistoryDeleteBuffer(HistoryBuffer);
323  }
324 }
_Must_inspect_result_ FORCEINLINE BOOLEAN IsListEmpty(_In_ const LIST_ENTRY *ListHead)
Definition: rtlfuncs.h:57
FORCEINLINE PLIST_ENTRY RemoveHeadList(_Inout_ PLIST_ENTRY ListHead)
Definition: rtlfuncs.h:128
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
static VOID HistoryDeleteBuffer(PHISTORY_BUFFER Hist)
Definition: history.c:128
Definition: typedefs.h:117
CConsole Console

Referenced by ConDrvDeleteConsole(), and ConSrvDeleteConsole().