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
285eeea7
Commit
285eeea7
authored
Apr 30, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Implement InternetReadFileEx for ftp requests.
parent
14620938
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
ftp.c
dlls/wininet/ftp.c
+14
-2
No files found.
dlls/wininet/ftp.c
View file @
285eeea7
...
...
@@ -1138,6 +1138,18 @@ static DWORD FTPFILE_ReadFile(WININETHANDLEHEADER *hdr, void *buffer, DWORD size
return
res
>=
0
?
ERROR_SUCCESS
:
INTERNET_ERROR_BASE
;
/* FIXME*/
}
static
DWORD
FTPFILE_ReadFileExA
(
WININETHANDLEHEADER
*
hdr
,
INTERNET_BUFFERSA
*
buffers
,
DWORD
flags
,
DWORD_PTR
context
)
{
return
FTPFILE_ReadFile
(
hdr
,
buffers
->
lpvBuffer
,
buffers
->
dwBufferLength
,
&
buffers
->
dwBufferLength
);
}
static
DWORD
FTPFILE_ReadFileExW
(
WININETHANDLEHEADER
*
hdr
,
INTERNET_BUFFERSW
*
buffers
,
DWORD
flags
,
DWORD_PTR
context
)
{
return
FTPFILE_ReadFile
(
hdr
,
buffers
->
lpvBuffer
,
buffers
->
dwBufferLength
,
&
buffers
->
dwBufferLength
);
}
static
BOOL
FTPFILE_WriteFile
(
WININETHANDLEHEADER
*
hdr
,
const
void
*
buffer
,
DWORD
size
,
DWORD
*
written
)
{
LPWININETFTPFILE
lpwh
=
(
LPWININETFTPFILE
)
hdr
;
...
...
@@ -1224,8 +1236,8 @@ static const HANDLEHEADERVtbl FTPFILEVtbl = {
FTPFILE_QueryOption
,
NULL
,
FTPFILE_ReadFile
,
NULL
,
NULL
,
FTPFILE_ReadFileExA
,
FTPFILE_ReadFileExW
,
FTPFILE_WriteFile
,
FTPFILE_QueryDataAvailable
,
NULL
...
...
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