6 Nov
2018
6 Nov
'18
9:34 a.m.
Alex Henrie <alexhenrie24(a)gmail.com> writes:
@@ -371,6 +371,7 @@ LSTATUS WINAPI RegCreateKeyExW( HKEY hkey, LPCWSTR name, DWORD reserved, LPWSTR UNICODE_STRING nameW, classW;
if (reserved) return ERROR_INVALID_PARAMETER; + if (!name) return ERROR_BADKEY; if (!(hkey = get_special_root_hkey( hkey, access ))) return ERROR_INVALID_HANDLE;
You are also changing RegCreateKeyExW, but the tests only cover RegCreateKeyExA. It would be good to test both. -- Alexandre Julliard julliard(a)winehq.org