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
1041f61e
Commit
1041f61e
authored
Mar 28, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added IWinInetHttpInfo_{QueryOption,QueryInfo} implementation.
parent
e1c1b937
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
8 deletions
+35
-8
ftp.c
dlls/urlmon/ftp.c
+16
-4
http.c
dlls/urlmon/http.c
+19
-4
No files found.
dlls/urlmon/ftp.c
View file @
1041f61e
...
...
@@ -384,16 +384,28 @@ static HRESULT WINAPI HttpInfo_QueryOption(IWinInetHttpInfo *iface, DWORD dwOpti
void
*
pBuffer
,
DWORD
*
pcbBuffer
)
{
FtpProtocol
*
This
=
impl_from_IWinInetHttpInfo
(
iface
);
FIXME
(
"(%p)->(%x %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%x %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
);
if
(
!
This
->
base
.
request
)
return
E_FAIL
;
if
(
!
InternetQueryOptionW
(
This
->
base
.
request
,
dwOption
,
pBuffer
,
pcbBuffer
))
return
S_FALSE
;
return
S_OK
;
}
static
HRESULT
WINAPI
HttpInfo_QueryInfo
(
IWinInetHttpInfo
*
iface
,
DWORD
dwOption
,
void
*
pBuffer
,
DWORD
*
pcbBuffer
,
DWORD
*
pdwFlags
,
DWORD
*
pdwReserved
)
{
FtpProtocol
*
This
=
impl_from_IWinInetHttpInfo
(
iface
);
FIXME
(
"(%p)->(%x %p %p %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
,
pdwFlags
,
pdwReserved
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%x %p %p %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
,
pdwFlags
,
pdwReserved
);
if
(
!
This
->
base
.
request
)
return
E_FAIL
;
if
(
!
HttpQueryInfoW
(
This
->
base
.
request
,
dwOption
,
pBuffer
,
pcbBuffer
,
pdwFlags
))
return
S_FALSE
;
return
S_OK
;
}
static
const
IWinInetHttpInfoVtbl
WinInetHttpInfoVtbl
=
{
...
...
dlls/urlmon/http.c
View file @
1041f61e
...
...
@@ -836,16 +836,31 @@ static HRESULT WINAPI HttpInfo_QueryOption(IWinInetHttpInfo *iface, DWORD dwOpti
void
*
pBuffer
,
DWORD
*
pcbBuffer
)
{
HttpProtocol
*
This
=
impl_from_IWinInetHttpInfo
(
iface
);
FIXME
(
"(%p)->(%x %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%x %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
);
if
(
!
This
->
base
.
request
)
return
E_FAIL
;
if
(
!
InternetQueryOptionW
(
This
->
base
.
request
,
dwOption
,
pBuffer
,
pcbBuffer
))
return
S_FALSE
;
return
S_OK
;
}
static
HRESULT
WINAPI
HttpInfo_QueryInfo
(
IWinInetHttpInfo
*
iface
,
DWORD
dwOption
,
void
*
pBuffer
,
DWORD
*
pcbBuffer
,
DWORD
*
pdwFlags
,
DWORD
*
pdwReserved
)
{
HttpProtocol
*
This
=
impl_from_IWinInetHttpInfo
(
iface
);
FIXME
(
"(%p)->(%x %p %p %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
,
pdwFlags
,
pdwReserved
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%x %p %p %p %p)
\n
"
,
This
,
dwOption
,
pBuffer
,
pcbBuffer
,
pdwFlags
,
pdwReserved
);
if
(
!
This
->
base
.
request
)
return
E_FAIL
;
if
(
!
HttpQueryInfoW
(
This
->
base
.
request
,
dwOption
,
pBuffer
,
pcbBuffer
,
pdwFlags
))
{
if
(
pBuffer
)
memset
(
pBuffer
,
0
,
*
pcbBuffer
);
return
S_OK
;
}
return
S_OK
;
}
static
const
IWinInetHttpInfoVtbl
WinInetHttpInfoVtbl
=
{
...
...
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