mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:21:50 +00:00
[MSAFD] Add an initial implementation of SIO_GET_EXTENSION_FUNCTION_POINTER IOCTL
Also stub the related functions the IOCTL will return, namely: WSAID_ACCEPTEX, WSAID_CONNECTEX, WSAID_DISCONNECTEX, WSAID_GETACCEPTEXSOCKADDRS This will allow Steam client not to fail in an ASSERT related to the Steam client PlatformSocketsInit function. Even though, this doesn't fix Steam running on ReactOS since its UI requires a Windows 7 API from Kernel32: SetThreadErrorMode(). Nota: its crash got fixed thanks to the Wine sync done recently. CORE-14966
This commit is contained in:
parent
cc820b7f9f
commit
2b1f6c8b0d
3 changed files with 159 additions and 1 deletions
|
@ -53,4 +53,65 @@ WSPJoinLeaf(
|
|||
return (SOCKET)0;
|
||||
}
|
||||
|
||||
BOOL
|
||||
WSPAPI
|
||||
WSPAcceptEx(
|
||||
IN SOCKET sListenSocket,
|
||||
IN SOCKET sAcceptSocket,
|
||||
OUT PVOID lpOutputBuffer,
|
||||
IN DWORD dwReceiveDataLength,
|
||||
IN DWORD dwLocalAddressLength,
|
||||
IN DWORD dwRemoteAddressLength,
|
||||
OUT LPDWORD lpdwBytesReceived,
|
||||
IN OUT LPOVERLAPPED lpOverlapped)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
WSPAPI
|
||||
WSPConnectEx(
|
||||
IN SOCKET s,
|
||||
IN const struct sockaddr *name,
|
||||
IN int namelen,
|
||||
IN PVOID lpSendBuffer,
|
||||
IN DWORD dwSendDataLength,
|
||||
OUT LPDWORD lpdwBytesSent,
|
||||
IN OUT LPOVERLAPPED lpOverlapped)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
WSPAPI
|
||||
WSPDisconnectEx(
|
||||
IN SOCKET hSocket,
|
||||
IN LPOVERLAPPED lpOverlapped,
|
||||
IN DWORD dwFlags,
|
||||
IN DWORD reserved)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
VOID
|
||||
WSPAPI
|
||||
WSPGetAcceptExSockaddrs(
|
||||
IN PVOID lpOutputBuffer,
|
||||
IN DWORD dwReceiveDataLength,
|
||||
IN DWORD dwLocalAddressLength,
|
||||
IN DWORD dwRemoteAddressLength,
|
||||
OUT struct sockaddr **LocalSockaddr,
|
||||
OUT LPINT LocalSockaddrLength,
|
||||
OUT struct sockaddr **RemoteSockaddr,
|
||||
OUT LPINT RemoteSockaddrLength)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue