Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
c80ad80a
Commit
c80ad80a
authored
Jun 03, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dpnet: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5e5a4846
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5 additions
and
16 deletions
+5
-16
Makefile.in
dlls/dpnet/Makefile.in
+2
-0
address.c
dlls/dpnet/address.c
+2
-4
client.c
dlls/dpnet/client.c
+0
-1
dpnet_main.c
dlls/dpnet/dpnet_main.c
+0
-1
dpnet_private.h
dlls/dpnet/dpnet_private.h
+1
-6
lobbiedapp.c
dlls/dpnet/lobbiedapp.c
+0
-1
peer.c
dlls/dpnet/peer.c
+0
-1
server.c
dlls/dpnet/server.c
+0
-1
threadpool.c
dlls/dpnet/threadpool.c
+0
-1
No files found.
dlls/dpnet/Makefile.in
View file @
c80ad80a
...
...
@@ -2,6 +2,8 @@ MODULE = dpnet.dll
IMPORTLIB
=
dpnet
IMPORTS
=
dxguid uuid ole32 advapi32 ws2_32
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
address.c
\
client.c
\
...
...
dlls/dpnet/address.c
View file @
c80ad80a
...
...
@@ -19,7 +19,6 @@
*
*/
#include "config.h"
#include <stdarg.h>
...
...
@@ -30,7 +29,6 @@
#include "winuser.h"
#include "objbase.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "dpnet_private.h"
...
...
@@ -417,7 +415,7 @@ static HRESULT WINAPI IDirectPlay8AddressImpl_GetComponentByIndex(IDirectPlay8Ad
entry
=
This
->
components
[
dwComponentID
];
namesize
=
strlenW
(
entry
->
name
);
namesize
=
l
strlenW
(
entry
->
name
);
if
(
*
pdwBufferSize
<
entry
->
size
||
*
pdwNameLen
<
namesize
)
{
WARN
(
"Buffer too small
\n
"
);
...
...
@@ -493,7 +491,7 @@ static HRESULT WINAPI IDirectPlay8AddressImpl_AddComponent(IDirectPlay8Address *
}
break
;
case
DPNA_DATATYPE_STRING
:
if
(((
strlenW
((
WCHAR
*
)
lpvData
)
+
1
)
*
sizeof
(
WCHAR
))
!=
dwDataSize
)
if
(((
l
strlenW
((
WCHAR
*
)
lpvData
)
+
1
)
*
sizeof
(
WCHAR
))
!=
dwDataSize
)
{
WARN
(
"Invalid STRING size, returning DPNERR_INVALIDPARAM
\n
"
);
return
DPNERR_INVALIDPARAM
;
...
...
dlls/dpnet/client.c
View file @
c80ad80a
...
...
@@ -19,7 +19,6 @@
*
*/
#include "config.h"
#include <stdarg.h>
...
...
dlls/dpnet/dpnet_main.c
View file @
c80ad80a
...
...
@@ -19,7 +19,6 @@
*
*/
#include "config.h"
#include <stdarg.h>
...
...
dlls/dpnet/dpnet_private.h
View file @
c80ad80a
...
...
@@ -21,14 +21,9 @@
#ifndef __WINE_DPNET_PRIVATE_H
#define __WINE_DPNET_PRIVATE_H
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#include "wine/heap.h"
#include <wine/list.h>
#include "winsock2.h"
#include "wine/unicode.h"
#include "dplay8.h"
#include "dplobby8.h"
...
...
@@ -159,7 +154,7 @@ static inline WCHAR *heap_strdupW( const WCHAR *src )
{
WCHAR
*
dst
;
if
(
!
src
)
return
NULL
;
if
((
dst
=
heap_alloc
(
(
strlenW
(
src
)
+
1
)
*
sizeof
(
WCHAR
)
)))
strcpyW
(
dst
,
src
);
if
((
dst
=
heap_alloc
(
(
lstrlenW
(
src
)
+
1
)
*
sizeof
(
WCHAR
)
)))
l
strcpyW
(
dst
,
src
);
return
dst
;
}
...
...
dlls/dpnet/lobbiedapp.c
View file @
c80ad80a
...
...
@@ -19,7 +19,6 @@
*
*/
#include "config.h"
#include <stdarg.h>
...
...
dlls/dpnet/peer.c
View file @
c80ad80a
...
...
@@ -21,7 +21,6 @@
*
*/
#include "config.h"
#include <stdarg.h>
...
...
dlls/dpnet/server.c
View file @
c80ad80a
...
...
@@ -19,7 +19,6 @@
*
*/
#include "config.h"
#include <stdarg.h>
...
...
dlls/dpnet/threadpool.c
View file @
c80ad80a
...
...
@@ -20,7 +20,6 @@
*
*/
#include "config.h"
#include <stdarg.h>
...
...
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