[PATCH] ws2_32: Set return size when calling WSAIoctl with WS_SIO_GET_EXTENSION_FUNCTION_POINTER.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed Jul 12 23:20:08 CDT 2017
This is a backbort of the above change, borrowed from Codeweavers. :)
Target: 2.0.* branch.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
dlls/ws2_32/socket.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 4977bbf..1d51338 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -4920,6 +4920,7 @@ INT WINAPI WSAIoctl(SOCKET s, DWORD code, LPVOID in_buff, DWORD in_size, LPVOID
static const GUID wsarecvmsg_guid = WSAID_WSARECVMSG;
static const GUID wsasendmsg_guid = WSAID_WSASENDMSG;
+ total = sizeof(void*);
if ( IsEqualGUID(&connectex_guid, in_buff) )
{
*(LPFN_CONNECTEX *)out_buff = WS2_ConnectEx;
--
1.9.1
More information about the wine-patches
mailing list