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
2464733e
Commit
2464733e
authored
Aug 16, 2010
by
Mariusz Pluciński
Committed by
Alexandre Julliard
Aug 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux/tests: Add test of IGameExplorer2 creation.
parent
5aed3941
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
gameexplorer.c
dlls/gameux/tests/gameexplorer.c
+12
-1
No files found.
dlls/gameux/tests/gameexplorer.c
View file @
2464733e
/*
/*
* IGameExplorer tests
* IGameExplorer
and IGameExplorer2
tests
*
*
* Copyright (C) 2010 Mariusz Pluciński
* Copyright (C) 2010 Mariusz Pluciński
*
*
...
@@ -36,6 +36,7 @@ static void test_create( void )
...
@@ -36,6 +36,7 @@ static void test_create( void )
HRESULT
hr
;
HRESULT
hr
;
IGameExplorer
*
ge
=
NULL
;
IGameExplorer
*
ge
=
NULL
;
IGameExplorer2
*
ge2
=
NULL
;
/* interface available up from Vista */
/* interface available up from Vista */
hr
=
CoCreateInstance
(
&
CLSID_GameExplorer
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IGameExplorer
,
(
LPVOID
*
)
&
ge
);
hr
=
CoCreateInstance
(
&
CLSID_GameExplorer
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IGameExplorer
,
(
LPVOID
*
)
&
ge
);
...
@@ -46,6 +47,16 @@ static void test_create( void )
...
@@ -46,6 +47,16 @@ static void test_create( void )
}
}
else
else
win_skip
(
"IGameExplorer cannot be created
\n
"
);
win_skip
(
"IGameExplorer cannot be created
\n
"
);
/* interface available up from Win7 */
hr
=
CoCreateInstance
(
&
CLSID_GameExplorer
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IGameExplorer2
,
(
LPVOID
*
)
&
ge2
);
if
(
ge2
)
{
ok
(
hr
==
S_OK
,
"IGameExplorer2 creating failed (result false)
\n
"
);
IGameExplorer2_Release
(
ge2
);
}
else
win_skip
(
"IGameExplorer2 cannot be created
\n
"
);
}
}
START_TEST
(
gameexplorer
)
START_TEST
(
gameexplorer
)
...
...
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