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
7ea1033d
Commit
7ea1033d
authored
Apr 09, 2003
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Apr 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add and fix a few stubs to return correct error.
parent
2f1e412e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
socket.c
dlls/winsock/socket.c
+14
-2
ws2_32.spec
dlls/winsock/ws2_32.spec
+1
-1
No files found.
dlls/winsock/socket.c
View file @
7ea1033d
...
...
@@ -4261,7 +4261,8 @@ int WINAPI WSADuplicateSocketA( SOCKET s, DWORD dwProcessId, LPWSAPROTOCOL_INFOA
int
WINAPI
WSAInstallServiceClassA
(
LPWSASERVICECLASSINFOA
info
)
{
FIXME
(
"Request to install service %s
\n
"
,
debugstr_a
(
info
->
lpszServiceClassName
));
return
WSAEACCES
;
WSASetLastError
(
WSAEACCES
);
return
SOCKET_ERROR
;
}
/***********************************************************************
...
...
@@ -4270,5 +4271,16 @@ int WINAPI WSAInstallServiceClassA(LPWSASERVICECLASSINFOA info)
int
WINAPI
WSAInstallServiceClassW
(
LPWSASERVICECLASSINFOW
info
)
{
FIXME
(
"Request to install service %s
\n
"
,
debugstr_w
(
info
->
lpszServiceClassName
));
return
WSAEACCES
;
WSASetLastError
(
WSAEACCES
);
return
SOCKET_ERROR
;
}
/***********************************************************************
* WSARemoveServiceClass (WS2_32.70)
*/
int
WINAPI
WSARemoveServiceClass
(
LPGUID
info
)
{
FIXME
(
"Request to remove service %p
\n
"
,
info
);
WSASetLastError
(
WSATYPE_NOT_FOUND
);
return
SOCKET_ERROR
;
}
dlls/winsock/ws2_32.spec
View file @
7ea1033d
...
...
@@ -71,7 +71,7 @@
67 stdcall WSARecv(long ptr long ptr ptr ptr ptr)
68 stub WSARecvDisconnect
69 stdcall WSARecvFrom(long ptr long ptr ptr ptr ptr ptr ptr )
70 st
ub WSARemoveServiceClass
70 st
dcall WSARemoveServiceClass(ptr)
71 stdcall WSAResetEvent(long) kernel32.ResetEvent
72 stdcall WSASend(long ptr long ptr long ptr ptr)
73 stdcall WSASendDisconnect(long ptr)
...
...
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