VOID __stdcall UnlockShutdown(){ ExReleasePushLockEx((ULONG_PTR)&CmpDummyThreadEvent + 2712, 0); KeLeaveCriticalRegionThread(KeGetCurrentThread()); }