mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
ws2_32: Return SOCKET_ERROR in stubbed WSALookupServiceNext, to prevent apps from looping forever.
This commit is contained in:
parent
ae79128978
commit
cb65dbf3d8
@ -6333,7 +6333,8 @@ INT WINAPI WSALookupServiceEnd( HANDLE lookup )
|
||||
INT WINAPI WSALookupServiceNextA( HANDLE lookup, DWORD flags, LPDWORD len, LPWSAQUERYSETA results )
|
||||
{
|
||||
FIXME( "(%p 0x%08x %p %p) Stub!\n", lookup, flags, len, results );
|
||||
return 0;
|
||||
WSASetLastError(WSA_E_NO_MORE);
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
@ -6342,7 +6343,8 @@ INT WINAPI WSALookupServiceNextA( HANDLE lookup, DWORD flags, LPDWORD len, LPWSA
|
||||
INT WINAPI WSALookupServiceNextW( HANDLE lookup, DWORD flags, LPDWORD len, LPWSAQUERYSETW results )
|
||||
{
|
||||
FIXME( "(%p 0x%08x %p %p) Stub!\n", lookup, flags, len, results );
|
||||
return 0;
|
||||
WSASetLastError(WSA_E_NO_MORE);
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user