VOID
KeEnterCriticalRegion(
);
KeEnterCriticalRegion disables the delivery of special kernel APCs temporarily.
Highest-level drivers can call this routine while running in the context of a the thread that requested the current I/O operation. Any caller of this routine should call KeLeaveCriticalRegion as quickly as possible.
Callers of KeEnterCriticalRegion must be running at IRQL PASSIVE_LEVEL.