Added comments
This commit is contained in:
parent
865afc1b79
commit
57dfe9bfea
@ -167,12 +167,12 @@ Return Value:
|
|||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma warning(disable: 28150)
|
#pragma warning(disable: 28150) // elevates to DISPATCH_LEVEL
|
||||||
KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock,
|
KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock,
|
||||||
&handle);
|
&handle);
|
||||||
RemoveEntryList(&extension->ListEntry);
|
RemoveEntryList(&extension->ListEntry);
|
||||||
KeReleaseInStackQueuedSpinLock(&handle);
|
KeReleaseInStackQueuedSpinLock(&handle);
|
||||||
#pragma warning(default: 28150)
|
#pragma warning(default: 28150) // drops to PASSIVE_LEVEL
|
||||||
|
|
||||||
TraceVerbose(DMF_TRACE, "%!FUNC! called at %!irql!", KeGetCurrentIrql());
|
TraceVerbose(DMF_TRACE, "%!FUNC! called at %!irql!", KeGetCurrentIrql());
|
||||||
|
|
||||||
@ -515,7 +515,7 @@ Return Value:
|
|||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma warning(disable: 28150)
|
#pragma warning(disable: 28150) // elevates to DISPATCH_LEVEL
|
||||||
KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock,
|
KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock,
|
||||||
&handle);
|
&handle);
|
||||||
|
|
||||||
@ -533,7 +533,7 @@ Return Value:
|
|||||||
childExtension->IsExisting = FALSE;
|
childExtension->IsExisting = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
KeReleaseInStackQueuedSpinLock(&handle);
|
KeReleaseInStackQueuedSpinLock(&handle); // drops to PASSIVE_LEVEL
|
||||||
#pragma warning(default: 28150)
|
#pragma warning(default: 28150)
|
||||||
|
|
||||||
deviceRelations = (PDEVICE_RELATIONS)Irp->IoStatus.Information;
|
deviceRelations = (PDEVICE_RELATIONS)Irp->IoStatus.Information;
|
||||||
|
Loading…
Reference in New Issue
Block a user