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
ffdeda56
Commit
ffdeda56
authored
Apr 17, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Add a separate refcount for IDirectPlayLobby.
parent
d9d1b6ad
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
151 additions
and
6 deletions
+151
-6
dplobby.c
dlls/dplayx/dplobby.c
+148
-3
dplayx.c
dlls/dplayx/tests/dplayx.c
+3
-3
No files found.
dlls/dplayx/dplobby.c
View file @
ffdeda56
This diff is collapsed.
Click to expand it.
dlls/dplayx/tests/dplayx.c
View file @
ffdeda56
...
...
@@ -6493,7 +6493,7 @@ static void test_COM_dplobby(void)
hr
=
IDirectPlayLobby_QueryInterface
(
dpl
,
&
IID_IDirectPlayLobby2
,
(
void
**
)
&
dpl2
);
ok
(
hr
==
S_OK
,
"QueryInterface for IID_IDirectPlayLobby2 failed: %08x
\n
"
,
hr
);
refcount
=
IDirectPlayLobby_AddRef
(
dpl2
);
todo_wine
ok
(
refcount
==
2
,
"refcount == %u, expected 2
\n
"
,
refcount
);
ok
(
refcount
==
2
,
"refcount == %u, expected 2
\n
"
,
refcount
);
IDirectPlayLobby_Release
(
dpl2
);
hr
=
IDirectPlayLobby_QueryInterface
(
dpl
,
&
IID_IDirectPlayLobby2A
,
(
void
**
)
&
dpl2A
);
...
...
@@ -6517,8 +6517,8 @@ static void test_COM_dplobby(void)
/* IDirectPlayLobby and IUnknown share a refcount */
hr
=
IDirectPlayX_QueryInterface
(
dpl
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
ok
(
hr
==
S_OK
,
"QueryInterface for IID_IUnknown failed: %08x
\n
"
,
hr
);
refcount
=
I
DirectPlayLobby
_AddRef
(
unk
);
todo_wine
ok
(
refcount
==
4
,
"refcount == %u, expected 4
\n
"
,
refcount
);
refcount
=
I
Unknown
_AddRef
(
unk
);
ok
(
refcount
==
4
,
"refcount == %u, expected 4
\n
"
,
refcount
);
IDirectPlayLobby_Release
(
unk
);
IUnknown_Release
(
unk
);
...
...
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