MCPcopy Create free account
hub / github.com/D4stiny/PeaceMaker / AlertQueue

Method AlertQueue

PeaceMaker Kernel/AlertQueue.cpp:12–19  ·  view source on GitHub ↗

Initialize basic members of the AlertQueue class. */

Source from the content-addressed store, hash-verified

10 Initialize basic members of the AlertQueue class.
11*/
12AlertQueue::AlertQueue()
13{
14 this->alertsLock = RCAST<PKSPIN_LOCK>(ExAllocatePoolWithTag(NonPagedPool, sizeof(KSPIN_LOCK), ALERT_LOCK_TAG));
15 NT_ASSERT(this->alertsLock);
16 this->destroying = FALSE;
17 KeInitializeSpinLock(this->alertsLock);
18 InitializeListHead(RCAST<PLIST_ENTRY>(&this->alertsHead));
19}
20
21/**
22 Clear the queue of alerts.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected