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
9d6543b6
Commit
9d6543b6
authored
Apr 01, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Apr 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dpnet: Increase reported buffer size.
parent
da46ce10
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
peer.c
dlls/dpnet/peer.c
+1
-1
peer.c
dlls/dpnet/tests/peer.c
+2
-1
No files found.
dlls/dpnet/peer.c
View file @
9d6543b6
...
...
@@ -404,7 +404,7 @@ static HRESULT WINAPI IDirectPlay8PeerImpl_GetSPCaps(IDirectPlay8Peer *iface, co
pdpspCaps
->
dwDefaultEnumTimeout
=
1500
;
pdpspCaps
->
dwMaxEnumPayloadSize
=
983
;
pdpspCaps
->
dwBuffersPerThread
=
1
;
pdpspCaps
->
dwSystemBufferSize
=
8192
;
pdpspCaps
->
dwSystemBufferSize
=
0x10000
;
return
DPN_OK
;
}
...
...
dlls/dpnet/tests/peer.c
View file @
9d6543b6
...
...
@@ -140,7 +140,8 @@ static void test_get_sp_caps(void)
ok
(
caps
.
dwDefaultEnumTimeout
==
1500
,
"expected 1500, got %d
\n
"
,
caps
.
dwDefaultEnumTimeout
);
ok
(
caps
.
dwMaxEnumPayloadSize
==
983
,
"expected 983, got %d
\n
"
,
caps
.
dwMaxEnumPayloadSize
);
ok
(
caps
.
dwBuffersPerThread
==
1
,
"expected 1, got %d
\n
"
,
caps
.
dwBuffersPerThread
);
ok
(
caps
.
dwSystemBufferSize
==
8192
,
"expected 8192, got %d
\n
"
,
caps
.
dwSystemBufferSize
);
ok
(
caps
.
dwSystemBufferSize
==
0x10000
||
broken
(
caps
.
dwSystemBufferSize
==
0x2000
/* before Win8 */
),
"expected 0x10000, got 0x%x
\n
"
,
caps
.
dwSystemBufferSize
);
}
static
void
test_cleanup_dp
(
void
)
...
...
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