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
a22b2c56
Commit
a22b2c56
authored
Dec 24, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Dec 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux: Fix another test failure on Wine wow64.
parent
63d8852c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
gamestatistics.c
dlls/gameux/gamestatistics.c
+8
-2
No files found.
dlls/gameux/gamestatistics.c
View file @
a22b2c56
...
...
@@ -365,6 +365,7 @@ static HRESULT GAMEUX_getAppIdFromGDFPath(
GAME_INSTALL_SCOPE
installScope
;
GUID
instanceId
;
LPWSTR
lpRegistryPath
;
HKEY
hKey
;
DWORD
dwLength
=
49
*
sizeof
(
WCHAR
);
/* place for GUID */
TRACE
(
"(%s, %p)
\n
"
,
debugstr_w
(
GDFBinaryPath
),
lpApplicationId
);
...
...
@@ -390,11 +391,16 @@ static HRESULT GAMEUX_getAppIdFromGDFPath(
hr
=
GAMEUX_buildGameRegistryPath
(
installScope
,
&
instanceId
,
&
lpRegistryPath
);
if
(
SUCCEEDED
(
hr
))
hr
=
HRESULT_FROM_WIN32
(
RegGetValueW
(
HKEY_LOCAL_MACHINE
,
lpRegistryPath
,
sApplicationId
,
RRF_RT_REG_SZ
,
hr
=
HRESULT_FROM_WIN32
(
RegOpenKeyExW
(
HKEY_LOCAL_MACHINE
,
lpRegistryPath
,
0
,
KEY_READ
|
KEY_WOW64_64KEY
,
&
hKey
));
if
(
SUCCEEDED
(
hr
))
hr
=
HRESULT_FROM_WIN32
(
RegGetValueW
(
hKey
,
NULL
,
sApplicationId
,
RRF_RT_REG_SZ
,
NULL
,
lpApplicationId
,
&
dwLength
));
HeapFree
(
GetProcessHeap
(),
0
,
lpRegistryPath
);
RegCloseKey
(
hKey
);
TRACE
(
"found app id: %s, return: %#x
\n
"
,
debugstr_w
(
lpApplicationId
),
hr
);
return
hr
;
...
...
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