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
957516f8
Commit
957516f8
authored
Oct 29, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Remove lpwhparent from WININETHANDLERHEADER.
parent
550ffef2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
11 deletions
+0
-11
ftp.c
dlls/wininet/ftp.c
+0
-5
http.c
dlls/wininet/http.c
+0
-2
internet.c
dlls/wininet/internet.c
+0
-3
internet.h
dlls/wininet/internet.h
+0
-1
No files found.
dlls/wininet/ftp.c
View file @
957516f8
...
...
@@ -1037,7 +1037,6 @@ HINTERNET FTP_FtpOpenFileW(LPWININETFTPSESSIONW lpwfs,
lpwh
->
hdr
.
htype
=
WH_HFILE
;
lpwh
->
hdr
.
dwFlags
=
dwFlags
;
lpwh
->
hdr
.
dwContext
=
dwContext
;
lpwh
->
hdr
.
lpwhparent
=
WININET_AddRef
(
&
lpwfs
->
hdr
);
lpwh
->
hdr
.
dwRefCount
=
1
;
lpwh
->
hdr
.
destroy
=
FTP_CloseFileTransferHandle
;
lpwh
->
hdr
.
lpfnStatusCB
=
lpwfs
->
hdr
.
lpfnStatusCB
;
...
...
@@ -1722,7 +1721,6 @@ HINTERNET FTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
nServerPort
=
INTERNET_DEFAULT_FTP_PORT
;
lpwfs
->
hdr
.
htype
=
WH_HFTPSESSION
;
lpwfs
->
hdr
.
lpwhparent
=
WININET_AddRef
(
&
hIC
->
hdr
);
lpwfs
->
hdr
.
dwFlags
=
dwFlags
;
lpwfs
->
hdr
.
dwContext
=
dwContext
;
lpwfs
->
hdr
.
dwInternalFlags
=
dwInternalFlags
;
...
...
@@ -2730,8 +2728,6 @@ BOOL WINAPI FTP_FindNextFileW(LPWININETFTPFINDNEXTW lpwh, LPVOID lpvFindData)
/* Clear any error information */
INTERNET_SetLastError
(
0
);
assert
(
lpwh
->
hdr
.
lpwhparent
->
htype
==
WH_HFTPSESSION
);
lpFindFileData
=
(
LPWIN32_FIND_DATAW
)
lpvFindData
;
ZeroMemory
(
lpFindFileData
,
sizeof
(
WIN32_FIND_DATAA
));
...
...
@@ -2856,7 +2852,6 @@ static HINTERNET FTP_ReceiveFileList(LPWININETFTPSESSIONW lpwfs, INT nSocket, LP
if
(
lpwfn
)
{
lpwfn
->
hdr
.
htype
=
WH_HFTPFINDNEXT
;
lpwfn
->
hdr
.
lpwhparent
=
WININET_AddRef
(
&
lpwfs
->
hdr
);
lpwfn
->
hdr
.
dwContext
=
dwContext
;
lpwfn
->
hdr
.
dwRefCount
=
1
;
lpwfn
->
hdr
.
destroy
=
FTP_CloseFindNextHandle
;
...
...
dlls/wininet/http.c
View file @
957516f8
...
...
@@ -1002,7 +1002,6 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
goto
lend
;
}
lpwhr
->
hdr
.
htype
=
WH_HHTTPREQ
;
lpwhr
->
hdr
.
lpwhparent
=
WININET_AddRef
(
&
lpwhs
->
hdr
);
lpwhr
->
hdr
.
dwFlags
=
dwFlags
;
lpwhr
->
hdr
.
dwContext
=
dwContext
;
lpwhr
->
hdr
.
dwRefCount
=
1
;
...
...
@@ -2400,7 +2399,6 @@ HINTERNET HTTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
*/
lpwhs
->
hdr
.
htype
=
WH_HHTTPSESSION
;
lpwhs
->
hdr
.
lpwhparent
=
WININET_AddRef
(
&
hIC
->
hdr
);
lpwhs
->
hdr
.
dwFlags
=
dwFlags
;
lpwhs
->
hdr
.
dwContext
=
dwContext
;
lpwhs
->
hdr
.
dwInternalFlags
=
dwInternalFlags
;
...
...
dlls/wininet/internet.c
View file @
957516f8
...
...
@@ -521,7 +521,6 @@ HINTERNET WINAPI InternetOpenW(LPCWSTR lpszAgent, DWORD dwAccessType,
memset
(
lpwai
,
0
,
sizeof
(
WININETAPPINFOW
));
lpwai
->
hdr
.
htype
=
WH_HINIT
;
lpwai
->
hdr
.
lpwhparent
=
NULL
;
lpwai
->
hdr
.
dwFlags
=
dwFlags
;
lpwai
->
hdr
.
dwRefCount
=
1
;
lpwai
->
hdr
.
destroy
=
INTERNET_CloseHandle
;
...
...
@@ -1027,8 +1026,6 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet)
INTERNET_STATUS_HANDLE_CLOSING
,
&
hInternet
,
sizeof
(
HINTERNET
));
if
(
lpwh
->
lpwhparent
)
WININET_Release
(
lpwh
->
lpwhparent
);
WININET_FreeHandle
(
hInternet
);
WININET_Release
(
lpwh
);
...
...
dlls/wininet/internet.h
View file @
957516f8
...
...
@@ -146,7 +146,6 @@ struct _WININETHANDLEHEADER
DWORD
dwRefCount
;
WININET_object_destructor
destroy
;
INTERNET_STATUS_CALLBACK
lpfnStatusCB
;
struct
_WININETHANDLEHEADER
*
lpwhparent
;
};
...
...
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