GetCurrentProcess() -> NtCurrentProcess()

This commit is contained in:
zeffy
2018-03-10 16:50:56 -08:00
parent 117fe67d6f
commit 772fdbc25b

View File

@@ -139,7 +139,7 @@ destroy_list:
ptrlist_destroy(&list); ptrlist_destroy(&list);
if ( Suspending ) if ( Suspending )
NtSuspendProcess(GetCurrentProcess()); NtSuspendProcess(NtCurrentProcess());
release_mutex: release_mutex:
ReleaseMutex(g_hMainMutex); ReleaseMutex(g_hMainMutex);
CloseHandle(g_hMainMutex); CloseHandle(g_hMainMutex);