mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
OpenServiceW: don't use the requested service access rights for the
registry key access rights, they are not the same thing.
This commit is contained in:
parent
693a3cd049
commit
bea945eed9
@ -400,8 +400,7 @@ OpenServiceW(SC_HANDLE hSCManager, LPCWSTR lpServiceName,
|
||||
TRACE("(%p,%p,%ld)\n",hSCManager, lpServiceName,
|
||||
dwDesiredAccess);
|
||||
|
||||
/* FIXME: dwDesiredAccess may need some processing */
|
||||
r = RegOpenKeyExW(hSCManager, lpServiceName, 0, dwDesiredAccess, &hKey );
|
||||
r = RegOpenKeyExW(hSCManager, lpServiceName, 0, KEY_ALL_ACCESS, &hKey );
|
||||
if (r!=ERROR_SUCCESS)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user