ws2_32: Add stub for TransmitFile.

Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
This commit is contained in:
Erich E. Hoover 2014-01-16 17:52:50 -07:00 committed by Alexandre Julliard
parent 60f599f584
commit 23c293ae4c
1 changed files with 15 additions and 1 deletions

View File

@ -2724,6 +2724,19 @@ static BOOL WINAPI WS2_AcceptEx(SOCKET listener, SOCKET acceptor, PVOID dest, DW
return FALSE;
}
/***********************************************************************
* TransmitFile
*/
static BOOL WINAPI WS2_TransmitFile( SOCKET s, HANDLE h, DWORD file_bytes, DWORD bytes_per_send,
LPOVERLAPPED overlapped, LPTRANSMIT_FILE_BUFFERS buffers,
DWORD flags )
{
FIXME("(%lx, %p, %d, %d, %p, %p, %d): stub !\n", s, h, file_bytes, bytes_per_send, overlapped,
buffers, flags );
WSASetLastError( WSAEOPNOTSUPP );
return FALSE;
}
/***********************************************************************
* GetAcceptExSockaddrs
*/
@ -4430,7 +4443,8 @@ INT WINAPI WSAIoctl(SOCKET s, DWORD code, LPVOID in_buff, DWORD in_size, LPVOID
}
else if ( IsEqualGUID(&transmitfile_guid, in_buff) )
{
FIXME("SIO_GET_EXTENSION_FUNCTION_POINTER: unimplemented TransmitFile\n");
*(LPFN_TRANSMITFILE *)out_buff = WS2_TransmitFile;
break;
}
else if ( IsEqualGUID(&transmitpackets_guid, in_buff) )
{