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
95a9bc04
Commit
95a9bc04
authored
Sep 16, 2010
by
Mariusz Pluciński
Committed by
Alexandre Julliard
Sep 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux: Add UninstallGame implementation.
parent
5213d9d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
gameexplorer.c
dlls/gameux/gameexplorer.c
+16
-2
gameexplorer.c
dlls/gameux/tests/gameexplorer.c
+2
-2
No files found.
dlls/gameux/gameexplorer.c
View file @
95a9bc04
...
...
@@ -991,9 +991,23 @@ static HRESULT WINAPI GameExplorer2Impl_UninstallGame(
IGameExplorer2
*
iface
,
LPCWSTR
binaryGDFPath
)
{
HRESULT
hr
;
GUID
instanceId
;
GameExplorerImpl
*
This
=
impl_from_IGameExplorer2
(
iface
);
FIXME
(
"stub (%p, %s)
\n
"
,
This
,
debugstr_w
(
binaryGDFPath
));
return
E_NOTIMPL
;
TRACE
(
"(%p, %s)
\n
"
,
This
,
debugstr_w
(
binaryGDFPath
));
if
(
!
binaryGDFPath
)
return
E_INVALIDARG
;
hr
=
GAMEUX_FindGameInstanceId
(
binaryGDFPath
,
GIS_CURRENT_USER
,
&
instanceId
);
if
(
hr
==
S_FALSE
)
hr
=
GAMEUX_FindGameInstanceId
(
binaryGDFPath
,
GIS_ALL_USERS
,
&
instanceId
);
if
(
hr
==
S_OK
)
hr
=
GAMEUX_RemoveRegistryRecord
(
&
instanceId
);
return
hr
;
}
static
const
struct
IGameExplorer2Vtbl
GameExplorer2ImplVtbl
=
...
...
dlls/gameux/tests/gameexplorer.c
View file @
95a9bc04
...
...
@@ -646,10 +646,10 @@ void test_install_uninstall_game(void)
_validateGameRegistryKey
(
__LINE__
,
GIS_CURRENT_USER
,
&
guid
,
&
applicationId
,
sExePath
,
sExeName
,
TRUE
);
hr
=
IGameExplorer2_UninstallGame
(
ge2
,
sExeName
);
todo_wine
ok
(
SUCCEEDED
(
hr
),
"IGameExplorer2::UninstallGame failed (error 0x%08x)
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"IGameExplorer2::UninstallGame failed (error 0x%08x)
\n
"
,
hr
);
}
todo_wine
_validateGameRegistryKey
(
__LINE__
,
GIS_CURRENT_USER
,
&
guid
,
&
applicationId
,
sExePath
,
sExeName
,
FALSE
);
_validateGameRegistryKey
(
__LINE__
,
GIS_CURRENT_USER
,
&
guid
,
&
applicationId
,
sExePath
,
sExeName
,
FALSE
);
IGameExplorer2_Release
(
ge2
);
}
...
...
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