Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
23c293ae
Commit
23c293ae
authored
Jan 16, 2014
by
Erich E. Hoover
Committed by
Alexandre Julliard
Oct 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Add stub for TransmitFile.
Signed-off-by:
Erich E. Hoover
<
erich.e.hoover@wine-staging.com
>
parent
60f599f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
socket.c
dlls/ws2_32/socket.c
+15
-1
No files found.
dlls/ws2_32/socket.c
View file @
23c293ae
...
@@ -2725,6 +2725,19 @@ static BOOL WINAPI WS2_AcceptEx(SOCKET listener, SOCKET acceptor, PVOID dest, DW
...
@@ -2725,6 +2725,19 @@ static BOOL WINAPI WS2_AcceptEx(SOCKET listener, SOCKET acceptor, PVOID dest, DW
}
}
/***********************************************************************
/***********************************************************************
* 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
* GetAcceptExSockaddrs
*/
*/
static
void
WINAPI
WS2_GetAcceptExSockaddrs
(
PVOID
buffer
,
DWORD
data_size
,
DWORD
local_size
,
DWORD
remote_size
,
static
void
WINAPI
WS2_GetAcceptExSockaddrs
(
PVOID
buffer
,
DWORD
data_size
,
DWORD
local_size
,
DWORD
remote_size
,
...
@@ -4430,7 +4443,8 @@ INT WINAPI WSAIoctl(SOCKET s, DWORD code, LPVOID in_buff, DWORD in_size, LPVOID
...
@@ -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
)
)
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
)
)
else
if
(
IsEqualGUID
(
&
transmitpackets_guid
,
in_buff
)
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment