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
80dd3678
Commit
80dd3678
authored
May 25, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
May 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Pass the object header pointer to INET_QueryOption.
parent
ae1f553d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
ftp.c
dlls/wininet/ftp.c
+3
-3
http.c
dlls/wininet/http.c
+2
-2
internet.c
dlls/wininet/internet.c
+4
-4
internet.h
dlls/wininet/internet.h
+1
-1
No files found.
dlls/wininet/ftp.c
View file @
80dd3678
...
...
@@ -1176,7 +1176,7 @@ static DWORD FTPFILE_QueryOption(object_header_t *hdr, DWORD option, void *buffe
}
}
}
return
INET_QueryOption
(
option
,
buffer
,
size
,
unicode
);
return
INET_QueryOption
(
hdr
,
option
,
buffer
,
size
,
unicode
);
}
static
DWORD
FTPFILE_ReadFile
(
object_header_t
*
hdr
,
void
*
buffer
,
DWORD
size
,
DWORD
*
read
)
...
...
@@ -2395,7 +2395,7 @@ static DWORD FTPSESSION_QueryOption(object_header_t *hdr, DWORD option, void *bu
return
ERROR_SUCCESS
;
}
return
INET_QueryOption
(
option
,
buffer
,
size
,
unicode
);
return
INET_QueryOption
(
hdr
,
option
,
buffer
,
size
,
unicode
);
}
static
const
object_vtbl_t
FTPSESSIONVtbl
=
{
...
...
@@ -3476,7 +3476,7 @@ static DWORD FTPFINDNEXT_QueryOption(object_header_t *hdr, DWORD option, void *b
return
ERROR_SUCCESS
;
}
return
INET_QueryOption
(
option
,
buffer
,
size
,
unicode
);
return
INET_QueryOption
(
hdr
,
option
,
buffer
,
size
,
unicode
);
}
static
DWORD
FTPFINDNEXT_FindNextFileW
(
object_header_t
*
hdr
,
void
*
data
)
...
...
dlls/wininet/http.c
View file @
80dd3678
...
...
@@ -1754,7 +1754,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
}
}
return
INET_QueryOption
(
option
,
buffer
,
size
,
unicode
);
return
INET_QueryOption
(
hdr
,
option
,
buffer
,
size
,
unicode
);
}
static
DWORD
HTTPREQ_SetOption
(
object_header_t
*
hdr
,
DWORD
option
,
void
*
buffer
,
DWORD
size
)
...
...
@@ -4166,7 +4166,7 @@ static DWORD HTTPSESSION_QueryOption(object_header_t *hdr, DWORD option, void *b
return
ERROR_SUCCESS
;
}
return
INET_QueryOption
(
option
,
buffer
,
size
,
unicode
);
return
INET_QueryOption
(
hdr
,
option
,
buffer
,
size
,
unicode
);
}
static
DWORD
HTTPSESSION_SetOption
(
object_header_t
*
hdr
,
DWORD
option
,
void
*
buffer
,
DWORD
size
)
...
...
dlls/wininet/internet.c
View file @
80dd3678
...
...
@@ -812,7 +812,7 @@ static DWORD APPINFO_QueryOption(object_header_t *hdr, DWORD option, void *buffe
}
}
return
INET_QueryOption
(
option
,
buffer
,
size
,
unicode
);
return
INET_QueryOption
(
hdr
,
option
,
buffer
,
size
,
unicode
);
}
static
const
object_vtbl_t
APPINFOVtbl
=
{
...
...
@@ -2194,7 +2194,7 @@ BOOL WINAPI InternetReadFileExW(HINTERNET hFile, LPINTERNET_BUFFERSW lpBuffer,
return
res
==
ERROR_SUCCESS
;
}
DWORD
INET_QueryOption
(
DWORD
option
,
void
*
buffer
,
DWORD
*
size
,
BOOL
unicode
)
DWORD
INET_QueryOption
(
object_header_t
*
hdr
,
DWORD
option
,
void
*
buffer
,
DWORD
*
size
,
BOOL
unicode
)
{
static
BOOL
warn
=
TRUE
;
...
...
@@ -2388,7 +2388,7 @@ BOOL WINAPI InternetQueryOptionW(HINTERNET hInternet, DWORD dwOption,
WININET_Release
(
hdr
);
}
}
else
{
res
=
INET_QueryOption
(
dwOption
,
lpBuffer
,
lpdwBufferLength
,
TRUE
);
res
=
INET_QueryOption
(
NULL
,
dwOption
,
lpBuffer
,
lpdwBufferLength
,
TRUE
);
}
if
(
res
!=
ERROR_SUCCESS
)
...
...
@@ -2421,7 +2421,7 @@ BOOL WINAPI InternetQueryOptionA(HINTERNET hInternet, DWORD dwOption,
WININET_Release
(
hdr
);
}
}
else
{
res
=
INET_QueryOption
(
dwOption
,
lpBuffer
,
lpdwBufferLength
,
FALSE
);
res
=
INET_QueryOption
(
NULL
,
dwOption
,
lpBuffer
,
lpdwBufferLength
,
FALSE
);
}
if
(
res
!=
ERROR_SUCCESS
)
...
...
dlls/wininet/internet.h
View file @
80dd3678
...
...
@@ -389,7 +389,7 @@ object_header_t *WININET_AddRef( object_header_t *info );
BOOL
WININET_Release
(
object_header_t
*
info
);
BOOL
WININET_FreeHandle
(
HINTERNET
hinternet
);
DWORD
INET_QueryOption
(
DWORD
,
void
*
,
DWORD
*
,
BOOL
);
DWORD
INET_QueryOption
(
object_header_t
*
,
DWORD
,
void
*
,
DWORD
*
,
BOOL
);
time_t
ConvertTimeString
(
LPCWSTR
asctime
);
...
...
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