Add and fix a few stubs to return correct error.
This commit is contained in:
parent
2f1e412e8d
commit
7ea1033d50
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 stub WSARemoveServiceClass
|
||||
70 stdcall WSARemoveServiceClass(ptr)
|
||||
71 stdcall WSAResetEvent(long) kernel32.ResetEvent
|
||||
72 stdcall WSASend(long ptr long ptr long ptr ptr)
|
||||
73 stdcall WSASendDisconnect(long ptr)
|
||||
|
|
Loading…
Reference in New Issue