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
448ac80f
Commit
448ac80f
authored
Sep 23, 2010
by
Mariusz Pluciński
Committed by
Alexandre Julliard
Sep 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux: IGameStatistics::GetMaxValueLength implementation.
parent
301433b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gamestatistics.c
dlls/gameux/gamestatistics.c
+7
-2
gamestatistics.c
dlls/gameux/tests/gamestatistics.c
+2
-2
No files found.
dlls/gameux/gamestatistics.c
View file @
448ac80f
...
...
@@ -33,6 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(gameux);
#define MAX_CATEGORY_LENGTH 60
#define MAX_NAME_LENGTH 30
#define MAX_VALUE_LENGTH 30
/*******************************************************************************
* IGameStatistics implementation
*/
...
...
@@ -134,8 +135,12 @@ static HRESULT WINAPI GameStatisticsImpl_GetMaxValueLength(
IGameStatistics
*
iface
,
UINT
*
cch
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
TRACE
(
"(%p, %p)
\n
"
,
iface
,
cch
);
if
(
!
cch
)
return
E_INVALIDARG
;
*
cch
=
MAX_VALUE_LENGTH
;
return
S_OK
;
}
static
HRESULT
WINAPI
GameStatisticsImpl_GetMaxCategories
(
...
...
dlls/gameux/tests/gamestatistics.c
View file @
448ac80f
...
...
@@ -252,8 +252,8 @@ static void test_gamestatisticsmgr( void )
ok
(
uMaxNameLength
==
30
,
"getting maximum name length returned invalid value: %d
\n
"
,
uMaxNameLength
);
hr
=
IGameStatistics_GetMaxValueLength
(
gs
,
&
uMaxValueLength
);
todo_wine
ok
(
hr
==
S_OK
,
"getting maximum value length failed
\n
"
);
todo_wine
ok
(
uMaxValueLength
==
30
,
"getting maximum value length returned invalid value: %d
\n
"
,
uMaxValueLength
);
ok
(
hr
==
S_OK
,
"getting maximum value length failed
\n
"
);
ok
(
uMaxValueLength
==
30
,
"getting maximum value length returned invalid value: %d
\n
"
,
uMaxValueLength
);
hr
=
IGameStatistics_GetMaxCategories
(
gs
,
&
wMaxCategories
);
todo_wine
ok
(
hr
==
S_OK
,
"getting maximum number of categories failed
\n
"
);
...
...
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