Moved a few registry keys from HKLM\Software\Wine to HKCU\Software\Wine for consistency.
diff --git a/dlls/d3d8/d3d8_main.c b/dlls/d3d8/d3d8_main.c index 84a471b..8352242 100644 --- a/dlls/d3d8/d3d8_main.c +++ b/dlls/d3d8/d3d8_main.c
@@ -82,8 +82,8 @@ wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" ); wine_tsx11_unlock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_unlock" ); } - /* @@ Wine registry key: HKLM\Software\Wine\Direct3D */ - if ( !RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Direct3D", &hkey) ) + /* @@ Wine registry key: HKCU\Software\Wine\Direct3D */ + if ( !RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Direct3D", &hkey) ) { if ( !RegQueryValueExA( hkey, "VertexShaderMode", 0, NULL, buffer, &size) ) {
diff --git a/dlls/gdi/driver.c b/dlls/gdi/driver.c index 0d01f17..7f9ace5 100644 --- a/dlls/gdi/driver.c +++ b/dlls/gdi/driver.c
@@ -222,8 +222,8 @@ } strcpy( buffer, "x11,tty" ); /* default value */ - /* @@ Wine registry key: HKLM\Software\Wine\Drivers */ - if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Drivers", &hkey )) + /* @@ Wine registry key: HKCU\Software\Wine\Drivers */ + if (!RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Drivers", &hkey )) { DWORD type, count = sizeof(buffer); RegQueryValueExA( hkey, "Graphics", 0, &type, buffer, &count );
diff --git a/dlls/shdocvw/shdocvw_main.c b/dlls/shdocvw/shdocvw_main.c index b7fe66b..56552ed 100644 --- a/dlls/shdocvw/shdocvw_main.c +++ b/dlls/shdocvw/shdocvw_main.c
@@ -318,8 +318,8 @@ /* find the name of the thing to download */ szUrl[0] = 0; - /* @@ Wine registry key: HKLM\Software\Wine\shdocw */ - r = RegOpenKeyW( HKEY_LOCAL_MACHINE, szMozDlPath, &hkey ); + /* @@ Wine registry key: HKCU\Software\Wine\shdocw */ + r = RegOpenKeyW( HKEY_CURRENT_USER, szMozDlPath, &hkey ); if( r == ERROR_SUCCESS ) { sz = MAX_PATH;
diff --git a/dlls/user/user_main.c b/dlls/user/user_main.c index 5ca8144..87646f8 100644 --- a/dlls/user/user_main.c +++ b/dlls/user/user_main.c
@@ -67,8 +67,8 @@ HKEY hkey; strcpy( buffer, "x11,tty" ); /* default value */ - /* @@ Wine registry key: HKLM\Software\Wine\Drivers */ - if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Drivers", &hkey )) + /* @@ Wine registry key: HKCU\Software\Wine\Drivers */ + if (!RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Drivers", &hkey )) { DWORD type, count = sizeof(buffer); RegQueryValueExA( hkey, "Graphics", 0, &type, buffer, &count );
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c index 701b597..e421dbe 100644 --- a/dlls/wined3d/wined3d_main.c +++ b/dlls/wined3d/wined3d_main.c
@@ -64,8 +64,8 @@ wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" ); wine_tsx11_unlock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_unlock" ); } - /* @@ Wine registry key: HKLM\Software\Wine\Direct3D */ - if ( !RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Direct3D", &hkey) ) + /* @@ Wine registry key: HKCU\Software\Wine\Direct3D */ + if ( !RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Direct3D", &hkey) ) { if ( !RegQueryValueExA( hkey, "VertexShaderMode", 0, NULL, buffer, &size) ) {