Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f08ff892
Commit
f08ff892
authored
Dec 25, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use proc instead of enum in FTPFINDNEXTW request.
parent
3a08f1f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
16 deletions
+14
-16
internet.c
dlls/wininet/internet.c
+14
-15
internet.h
dlls/wininet/internet.h
+0
-1
No files found.
dlls/wininet/internet.c
View file @
f08ff892
...
...
@@ -915,6 +915,16 @@ BOOL WINAPI InternetFindNextFileA(HINTERNET hFind, LPVOID lpvFindData)
* FALSE on failure
*
*/
static
void
AsyncFtpFindNextFileProc
(
WORKREQUEST
*
workRequest
)
{
struct
WORKREQ_FTPFINDNEXTW
*
req
=
&
workRequest
->
u
.
FtpFindNextW
;
LPWININETFTPFINDNEXTW
lpwh
=
(
LPWININETFTPFINDNEXTW
)
workRequest
->
hdr
;
TRACE
(
"%p
\n
"
,
lpwh
);
FTP_FindNextFileW
(
lpwh
,
req
->
lpFindFileData
);
}
BOOL
WINAPI
InternetFindNextFileW
(
HINTERNET
hFind
,
LPVOID
lpvFindData
)
{
LPWININETAPPINFOW
hIC
=
NULL
;
...
...
@@ -937,10 +947,11 @@ BOOL WINAPI InternetFindNextFileW(HINTERNET hFind, LPVOID lpvFindData)
WORKREQUEST
workRequest
;
struct
WORKREQ_FTPFINDNEXTW
*
req
;
workRequest
.
asyncall
=
FTPFINDNEXTW
;
workRequest
.
hdr
=
WININET_AddRef
(
&
lpwh
->
hdr
);
workRequest
.
asyncall
=
CALLASYNCPROC
;
workRequest
.
asyncproc
=
AsyncFtpFindNextFileProc
;
workRequest
.
hdr
=
WININET_AddRef
(
&
lpwh
->
hdr
);
req
=
&
workRequest
.
u
.
FtpFindNextW
;
req
->
lpFindFileData
=
lpvFindData
;
req
->
lpFindFileData
=
lpvFindData
;
bSuccess
=
INTERNET_AsyncCall
(
&
workRequest
);
}
...
...
@@ -3242,18 +3253,6 @@ static VOID INTERNET_ExecuteWork(void)
case
CALLASYNCPROC
:
workRequest
.
asyncproc
(
&
workRequest
);
break
;
case
FTPFINDNEXTW
:
{
struct
WORKREQ_FTPFINDNEXTW
*
req
;
LPWININETFTPFINDNEXTW
lpwh
=
(
LPWININETFTPFINDNEXTW
)
workRequest
.
hdr
;
TRACE
(
"INTERNETFINDNEXTW %p
\n
"
,
lpwh
);
req
=
&
workRequest
.
u
.
FtpFindNextW
;
FTP_FindNextFileW
(
lpwh
,
req
->
lpFindFileData
);
}
break
;
}
WININET_Release
(
workRequest
.
hdr
);
}
...
...
dlls/wininet/internet.h
View file @
f08ff892
...
...
@@ -250,7 +250,6 @@ typedef struct
typedef
enum
{
CALLASYNCPROC
,
FTPFINDNEXTW
,
}
ASYNC_FUNC
;
struct
WORKREQ_FTPPUTFILEW
...
...
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