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
436e9f9c
Commit
436e9f9c
authored
Oct 28, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Oct 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx/tests: Add missing GetPlayerName test.
parent
9c96e843
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dplayx.c
dlls/dplayx/tests/dplayx.c
+7
-0
No files found.
dlls/dplayx/tests/dplayx.c
View file @
436e9f9c
...
...
@@ -2525,6 +2525,13 @@ static void test_PlayerName(void)
hr
=
IDirectPlayX_SetPlayerName
(
pDP
[
0
],
dpid
[
0
],
&
playerName
,
DPSET_GUARANTEED
);
checkHR
(
DP_OK
,
hr
);
dwDataSize
=
1024
;
hr
=
IDirectPlayX_GetPlayerName
(
pDP
[
0
],
dpid
[
0
],
lpData
,
&
dwDataSize
);
checkHR
(
DP_OK
,
hr
);
check
(
45
,
dwDataSize
);
checkStr
(
U1
(
playerName
).
lpszShortNameA
,
U1
(
*
(
LPDPNAME
)
lpData
).
lpszShortNameA
);
checkStr
(
U2
(
playerName
).
lpszLongNameA
,
U2
(
*
(
LPDPNAME
)
lpData
).
lpszLongNameA
);
check
(
0
,
((
LPDPNAME
)
lpData
)
->
dwFlags
);
/* - Local (no propagation) */
U1
(
playerName
).
lpszShortNameA
=
(
LPSTR
)
"no_propagation"
;
...
...
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