mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
2b1f6c8b0d
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
118 lines
2 KiB
C
118 lines
2 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Ancillary Function Driver DLL
|
|
* FILE: dll/win32/msafd/misc/stubs.c
|
|
* PURPOSE: Stubs
|
|
* PROGRAMMERS: Casper S. Hornstrup (chorns@users.sourceforge.net)
|
|
* REVISIONS:
|
|
* CSH 01/09-2000 Created
|
|
*/
|
|
|
|
#include <msafd.h>
|
|
|
|
INT
|
|
WSPAPI
|
|
WSPCancelBlockingCall(
|
|
OUT LPINT lpErrno)
|
|
{
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
BOOL
|
|
WSPAPI
|
|
WSPGetQOSByName(
|
|
IN SOCKET s,
|
|
IN OUT LPWSABUF lpQOSName,
|
|
OUT LPQOS lpQOS,
|
|
OUT LPINT lpErrno)
|
|
{
|
|
UNIMPLEMENTED;
|
|
|
|
return FALSE;
|
|
}
|
|
|
|
|
|
SOCKET
|
|
WSPAPI
|
|
WSPJoinLeaf(
|
|
IN SOCKET s,
|
|
IN CONST SOCKADDR *name,
|
|
IN INT namelen,
|
|
IN LPWSABUF lpCallerData,
|
|
OUT LPWSABUF lpCalleeData,
|
|
IN LPQOS lpSQOS,
|
|
IN LPQOS lpGQOS,
|
|
IN DWORD dwFlags,
|
|
OUT LPINT lpErrno)
|
|
{
|
|
UNIMPLEMENTED;
|
|
|
|
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 */
|