Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9b97fa1a
Commit
9b97fa1a
authored
Dec 19, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Dec 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux: Fix test failures on Wine wow64.
parent
0e5c2f34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gameexplorer.c
dlls/gameux/gameexplorer.c
+4
-4
No files found.
dlls/gameux/gameexplorer.c
View file @
9b97fa1a
...
...
@@ -217,7 +217,7 @@ static HRESULT GAMEUX_WriteRegistryRecord(struct GAMEUX_GAME_DATA *GameData)
if
(
SUCCEEDED
(
hr
))
hr
=
HRESULT_FROM_WIN32
(
RegCreateKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryKey
,
0
,
NULL
,
0
,
KEY_ALL_ACCESS
,
NULL
,
0
,
NULL
,
0
,
KEY_ALL_ACCESS
|
KEY_WOW64_64KEY
,
NULL
,
&
hKey
,
NULL
));
if
(
SUCCEEDED
(
hr
))
...
...
@@ -252,7 +252,7 @@ static HRESULT GAMEUX_WriteRegistryRecord(struct GAMEUX_GAME_DATA *GameData)
if
(
FAILED
(
hr
))
{
/* if something failed, remove whole key */
hr2
=
RegDeleteKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryKey
,
0
,
0
);
hr2
=
RegDeleteKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryKey
,
KEY_WOW64_64KEY
,
0
);
/* do not overwrite old failure code with new success code */
if
(
FAILED
(
hr2
))
hr
=
hr2
;
...
...
@@ -481,7 +481,7 @@ static HRESULT GAMEUX_RemoveRegistryRecord(GUID* pInstanceID)
/* first, check is game installed for all users */
hr
=
GAMEUX_buildGameRegistryPath
(
GIS_ALL_USERS
,
pInstanceID
,
&
lpRegistryPath
);
if
(
SUCCEEDED
(
hr
))
hr
=
HRESULT_FROM_WIN32
(
RegDeleteKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryPath
,
0
,
0
));
hr
=
HRESULT_FROM_WIN32
(
RegDeleteKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryPath
,
KEY_WOW64_64KEY
,
0
));
HeapFree
(
GetProcessHeap
(),
0
,
lpRegistryPath
);
...
...
@@ -490,7 +490,7 @@ static HRESULT GAMEUX_RemoveRegistryRecord(GUID* pInstanceID)
{
hr
=
GAMEUX_buildGameRegistryPath
(
GIS_CURRENT_USER
,
pInstanceID
,
&
lpRegistryPath
);
if
(
SUCCEEDED
(
hr
))
hr
=
HRESULT_FROM_WIN32
(
RegDeleteKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryPath
,
0
,
0
));
hr
=
HRESULT_FROM_WIN32
(
RegDeleteKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryPath
,
KEY_WOW64_64KEY
,
0
));
HeapFree
(
GetProcessHeap
(),
0
,
lpRegistryPath
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment