VOID __stdcall UnlockShutdown(){ ExReleasePushLockEx((UINT64)&CmpShutdownLock, 0i64); KeLeaveCriticalRegionThread((__int64)KeGetCurrentThread()); }