Commit 169af787 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

advapi32/service: Fix wrong key.

parent 160b55cb
......@@ -1880,7 +1880,7 @@ QueryServiceConfigW( SC_HANDLE hService,
total += sizeof(WCHAR);
sz = 0;
r = RegQueryValueExW( hKey, szStart, 0, &type, NULL, &sz );
r = RegQueryValueExW( hKey, szObjectName, 0, &type, NULL, &sz );
if( ( r == ERROR_SUCCESS ) && ( type == REG_SZ ) )
total += sz;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment