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
6c2b2c37
Commit
6c2b2c37
authored
Feb 23, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wsock32: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
39f732c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
Makefile.in
dlls/wsock32/Makefile.in
+0
-1
service.c
dlls/wsock32/service.c
+6
-6
socket.c
dlls/wsock32/socket.c
+4
-4
No files found.
dlls/wsock32/Makefile.in
View file @
6c2b2c37
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wsock32.dll
IMPORTLIB
=
wsock32
IMPORTS
=
mswsock ws2_32 iphlpapi
...
...
dlls/wsock32/service.c
View file @
6c2b2c37
...
...
@@ -36,7 +36,7 @@ INT WINAPI GetAddressByNameA(DWORD dwNameSpace, LPGUID lpServiceType, LPSTR lpSe
LPVOID
lpCsaddrBuffer
,
LPDWORD
lpdwBufferLength
,
LPSTR
lpAliasBuffer
,
LPDWORD
lpdwAliasBufferLength
)
{
FIXME
(
"(0x%08
x, %s, %s, %p, 0x%08
x, %p, %p, %p, %p, %p) stub
\n
"
,
dwNameSpace
,
FIXME
(
"(0x%08
lx, %s, %s, %p, 0x%08l
x, %p, %p, %p, %p, %p) stub
\n
"
,
dwNameSpace
,
debugstr_guid
(
lpServiceType
),
debugstr_a
(
lpServiceName
),
lpiProtocols
,
dwResolution
,
lpServiceAsyncInfo
,
lpCsaddrBuffer
,
lpdwBufferLength
,
lpAliasBuffer
,
lpdwAliasBufferLength
);
...
...
@@ -50,7 +50,7 @@ INT WINAPI GetAddressByNameW(DWORD dwNameSpace, LPGUID lpServiceType, LPWSTR lpS
LPVOID
lpCsaddrBuffer
,
LPDWORD
lpdwBufferLength
,
LPWSTR
lpAliasBuffer
,
LPDWORD
lpdwAliasBufferLength
)
{
FIXME
(
"(0x%08
x, %s, %s, %p, 0x%08
x, %p, %p, %p, %p, %p) stub
\n
"
,
dwNameSpace
,
FIXME
(
"(0x%08
lx, %s, %s, %p, 0x%08l
x, %p, %p, %p, %p, %p) stub
\n
"
,
dwNameSpace
,
debugstr_guid
(
lpServiceType
),
debugstr_w
(
lpServiceName
),
lpiProtocols
,
dwResolution
,
lpServiceAsyncInfo
,
lpCsaddrBuffer
,
lpdwBufferLength
,
lpAliasBuffer
,
lpdwAliasBufferLength
);
...
...
@@ -133,7 +133,7 @@ INT WINAPI SetServiceA(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSE
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
,
LPDWORD
lpdwStatusFlags
)
{
/* tell the user they've got a substandard implementation */
FIXME
(
"wsock32: SetServiceA(%
u, %u, %
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
dwOperation
,
dwFlags
,
FIXME
(
"wsock32: SetServiceA(%
lu, %lu, %l
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
dwOperation
,
dwFlags
,
lpServiceInfo
,
lpServiceAsyncInfo
,
lpdwStatusFlags
);
/* some programs may be able to compensate if they know what happened */
...
...
@@ -150,7 +150,7 @@ INT WINAPI SetServiceW(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSE
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
,
LPDWORD
lpdwStatusFlags
)
{
/* tell the user they've got a substandard implementation */
FIXME
(
"wsock32: SetServiceW(%
u, %u, %
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
dwOperation
,
dwFlags
,
FIXME
(
"wsock32: SetServiceW(%
lu, %lu, %l
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
dwOperation
,
dwFlags
,
lpServiceInfo
,
lpServiceAsyncInfo
,
lpdwStatusFlags
);
/* some programs may be able to compensate if they know what happened */
...
...
@@ -192,7 +192,7 @@ INT WINAPI GetServiceA(DWORD dwNameSpace, LPGUID lpGuid, LPSTR lpServiceName,
DWORD
dwProperties
,
LPVOID
lpBuffer
,
LPDWORD
lpdwBufferSize
,
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
)
{
FIXME
(
"(%
u, %p, %s, %
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
FIXME
(
"(%
lu, %p, %s, %l
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
lpGuid
,
lpServiceName
,
dwProperties
,
lpBuffer
,
lpdwBufferSize
,
lpServiceAsyncInfo
);
/* some programs may be able to compensate if they know what happened */
...
...
@@ -209,7 +209,7 @@ INT WINAPI GetServiceW(DWORD dwNameSpace, LPGUID lpGuid, LPSTR lpServiceName,
DWORD
dwProperties
,
LPVOID
lpBuffer
,
LPDWORD
lpdwBufferSize
,
LPSERVICE_ASYNC_INFO
lpServiceAsyncInfo
)
{
FIXME
(
"(%
u, %p, %s, %
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
FIXME
(
"(%
lu, %p, %s, %l
u, %p, %p, %p): stub
\n
"
,
dwNameSpace
,
lpGuid
,
lpServiceName
,
dwProperties
,
lpBuffer
,
lpdwBufferSize
,
lpServiceAsyncInfo
);
/* some programs may be able to compensate if they know what happened */
...
...
dlls/wsock32/socket.c
View file @
6c2b2c37
...
...
@@ -250,7 +250,7 @@ DWORD WINAPI WsControl(DWORD protocol,
*/
if
(
index
==
1
)
return
NO_ERROR
;
ERR
(
"Error retrieving data for interface index %u
\n
"
,
ERR
(
"Error retrieving data for interface index %
l
u
\n
"
,
index
);
return
ret
;
}
...
...
@@ -405,8 +405,8 @@ DWORD WINAPI WsControl(DWORD protocol,
{
if
(
table
->
table
[
i
].
dwIndex
==
index
)
{
TRACE
(
"Found IP info for tei_instance 0x%x:
\n
"
,
index
);
TRACE
(
"IP 0x%08
x, mask 0x%08
x
\n
"
,
table
->
table
[
i
].
dwAddr
,
TRACE
(
"Found IP info for tei_instance 0x%
l
x:
\n
"
,
index
);
TRACE
(
"IP 0x%08
lx, mask 0x%08l
x
\n
"
,
table
->
table
[
i
].
dwAddr
,
table
->
table
[
i
].
dwMask
);
*
baseIPInfo
=
table
->
table
[
i
];
break
;
...
...
@@ -615,7 +615,7 @@ DWORD WINAPI WsControl(DWORD protocol,
}
default:
FIXME
(
"Protocol Not Supported -> protocol=0x%
x, action=0x%
x, Request=%p, RequestLen=%p, Response=%p, ResponseLen=%p
\n
"
,
FIXME
(
"Protocol Not Supported -> protocol=0x%
lx, action=0x%l
x, Request=%p, RequestLen=%p, Response=%p, ResponseLen=%p
\n
"
,
protocol
,
action
,
pRequestInfo
,
pcbRequestInfoLen
,
pResponseInfo
,
pcbResponseInfoLen
);
return
(
WSAEOPNOTSUPP
);
...
...
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