From d99b2bd865d4005c1f2665753d64f24b900859ad Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sat, 23 Jul 2011 10:03:10 +0000 Subject: [PATCH] [KERNEL32]: Arch, next time hit "Save" before comitting. svn path=/trunk/; revision=52794 --- reactos/dll/win32/kernel32/client/synch.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/reactos/dll/win32/kernel32/client/synch.c b/reactos/dll/win32/kernel32/client/synch.c index cdd3fd62b8f..780ecf50533 100644 --- a/reactos/dll/win32/kernel32/client/synch.c +++ b/reactos/dll/win32/kernel32/client/synch.c @@ -791,7 +791,7 @@ CreateMutexA(IN LPSECURITY_ATTRIBUTES lpMutexAttributes OPTIONAL, IN BOOL bInitialOwner, IN LPCSTR lpName OPTIONAL) { - CreateNtObjectFromWin32Api(Mutex, lpMutexAttributes, bInitialOwner, lpName); + ConvertWin32AnsiObjectApiToUnicodeApi(Mutex, lpName, lpMutexAttributes, bInitialOwner); } /* @@ -803,10 +803,10 @@ CreateMutexW(IN LPSECURITY_ATTRIBUTES lpMutexAttributes OPTIONAL, IN BOOL bInitialOwner, IN LPCWSTR lpName OPTIONAL) { - CreateNtObjectFromWin32ApiW(Mutex, Mutant, MUTEX, - lpMutexAttributes, - bInitialOwner, - lpName); + CreateNtObjectFromWin32Api(Mutex, Mutant, MUTEX, + lpMutexAttributes, + lpName, + bInitialOwner); } /* @@ -818,7 +818,7 @@ OpenMutexA(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCSTR lpName) { - OpenNtObjectFromWin32Api(Mutex, dwDesiredAccess, bInheritHandle, lpName); + ConvertOpenWin32AnsiObjectApiToUnicodeApi(Mutex, dwDesiredAccess, bInheritHandle, lpName); } /* @@ -830,7 +830,7 @@ OpenMutexW(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCWSTR lpName) { - OpenNtObjectFromWin32ApiW(Mutant, dwDesiredAccess, bInheritHandle, lpName); + OpenNtObjectFromWin32Api(Mutant, dwDesiredAccess, bInheritHandle, lpName); } /*