Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
febb3974
Commit
febb3974
authored
Apr 14, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux: Use CLSIDFromString() instead of shell32 equivalent.
parent
d721eee1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
gameexplorer.c
dlls/gameux/gameexplorer.c
+1
-4
gameexplorer.c
dlls/gameux/tests/gameexplorer.c
+1
-4
No files found.
dlls/gameux/gameexplorer.c
View file @
febb3974
...
...
@@ -35,9 +35,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
gameux
);
/* function from Shell32, not defined in header */
extern
BOOL
WINAPI
GUIDFromStringW
(
LPCWSTR
psz
,
LPGUID
pguid
);
/*******************************************************************************
* GameUX helper functions
*/
...
...
@@ -780,7 +777,7 @@ HRESULT GAMEUX_FindGameInstanceId(
if
(
lstrcmpW
(
lpValue
,
sGDFBinaryPath
)
==
0
)
{
/* key found, let's copy instance id and exit */
hr
=
(
GUIDFromStringW
(
lpName
,
pInstanceId
)
?
S_OK
:
E_FAIL
);
hr
=
CLSIDFromString
(
lpName
,
pInstanceId
);
found
=
TRUE
;
}
HeapFree
(
GetProcessHeap
(),
0
,
lpValue
);
...
...
dlls/gameux/tests/gameexplorer.c
View file @
febb3974
...
...
@@ -33,9 +33,6 @@
#include "wine/test.h"
/* function from Shell32, not defined in header */
extern
BOOL
WINAPI
GUIDFromStringW
(
LPCWSTR
psz
,
LPGUID
pguid
);
/*******************************************************************************
* Pointers used instead of direct calls. These procedures are not available on
* older system, which causes problem while loading test binary.
...
...
@@ -476,7 +473,7 @@ static void _findGameInstanceId(int line,
if
(
lstrcmpW
(
lpValue
,
sGDFBinaryPath
)
==
0
)
{
/* key found, let's copy instance id and exit */
hr
=
(
GUIDFromStringW
(
lpName
,
pInstanceId
)
?
S_OK
:
E_FAIL
);
hr
=
CLSIDFromString
(
lpName
,
pInstanceId
);
ok
(
SUCCEEDED
(
hr
),
"cannot convert subkey to guid: %s
\n
"
,
wine_dbgstr_w
(
lpName
));
...
...
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