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
36dccf83
Commit
36dccf83
authored
Mar 29, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Add a separate refcount for IDirectPlay3A.
parent
9378c418
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
dplay.c
dlls/dplayx/dplay.c
+0
-0
dplay_global.h
dlls/dplayx/dplay_global.h
+2
-1
dplayx.c
dlls/dplayx/tests/dplayx.c
+1
-1
No files found.
dlls/dplayx/dplay.c
View file @
36dccf83
This diff is collapsed.
Click to expand it.
dlls/dplayx/dplay_global.h
View file @
36dccf83
...
...
@@ -184,10 +184,11 @@ typedef struct IDirectPlayImpl
{
IDirectPlay2A
IDirectPlay2A_iface
;
IDirectPlay2
IDirectPlay2_iface
;
IDirectPlay3A
IDirectPlay3A_iface
;
IDirectPlay4A
IDirectPlay4A_iface
;
IDirectPlay4
IDirectPlay4_iface
;
LONG
numIfaces
;
/* "in use interfaces" refcount */
LONG
ref2A
,
ref2
,
ref4A
,
ref4
;
LONG
ref2A
,
ref2
,
ref
3A
,
ref
4A
,
ref4
;
CRITICAL_SECTION
lock
;
DirectPlay2Data
*
dp2
;
}
IDirectPlayImpl
;
...
...
dlls/dplayx/tests/dplayx.c
View file @
36dccf83
...
...
@@ -6423,7 +6423,7 @@ static void test_COM(void)
hr
=
IDirectPlayX_QueryInterface
(
dp4
,
&
IID_IDirectPlay4A
,
(
void
**
)
&
dp4A
);
ok
(
hr
==
S_OK
,
"QueryInterface for IID_IDirectPlay4A failed: %08x
\n
"
,
hr
);
refcount
=
IDirectPlayX_AddRef
(
dp4A
);
todo_wine
ok
(
refcount
==
2
,
"refcount == %u, expected 2
\n
"
,
refcount
);
ok
(
refcount
==
2
,
"refcount == %u, expected 2
\n
"
,
refcount
);
IDirectPlayX_Release
(
dp4A
);
hr
=
IDirectPlayX_QueryInterface
(
dp4
,
&
IID_IUnknown
,
(
void
**
)
&
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