From 944616a1eaec8337705184aa278f40e28e2566e9 Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Mon, 1 Sep 2008 20:42:21 +0000 Subject: [PATCH] - When creating a mutex, and you intend to release it without waiting for it, then you should specify so in bInitialOwner svn path=/trunk/; revision=35862 --- reactos/dll/win32/shell32/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/shell32/control.c b/reactos/dll/win32/shell32/control.c index baa42c8d462..e2038e67a99 100644 --- a/reactos/dll/win32/shell32/control.c +++ b/reactos/dll/win32/shell32/control.c @@ -357,7 +357,7 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCWSTR wszCmd) memcpy(szName, (LPVOID)ptr, Length * sizeof(WCHAR)); szName[Length] = L'\0'; - hMutex = CreateMutexW(NULL, FALSE, szName); + hMutex = CreateMutexW(NULL, TRUE, szName); if ((!hMutex) || (GetLastError() == ERROR_ALREADY_EXISTS)) return;