1
0

Added comments

This commit is contained in:
Benjamin Höglinger-Stelzer 2023-03-23 17:52:06 +01:00
parent 865afc1b79
commit 57dfe9bfea

View File

@ -166,13 +166,13 @@ Return Value:
{
goto Exit;
}
#pragma warning(disable: 28150)
#pragma warning(disable: 28150) // elevates to DISPATCH_LEVEL
KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock,
&handle);
RemoveEntryList(&extension->ListEntry);
KeReleaseInStackQueuedSpinLock(&handle);
#pragma warning(default: 28150)
#pragma warning(default: 28150) // drops to PASSIVE_LEVEL
TraceVerbose(DMF_TRACE, "%!FUNC! called at %!irql!", KeGetCurrentIrql());
@ -515,7 +515,7 @@ Return Value:
goto Exit;
}
#pragma warning(disable: 28150)
#pragma warning(disable: 28150) // elevates to DISPATCH_LEVEL
KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock,
&handle);
@ -533,7 +533,7 @@ Return Value:
childExtension->IsExisting = FALSE;
}
KeReleaseInStackQueuedSpinLock(&handle);
KeReleaseInStackQueuedSpinLock(&handle); // drops to PASSIVE_LEVEL
#pragma warning(default: 28150)
deviceRelations = (PDEVICE_RELATIONS)Irp->IoStatus.Information;