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
8a87ea5b
Commit
8a87ea5b
authored
Dec 28, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added AboutProtocolInfo::QueryInfo implementation.
parent
ea093f4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
3 deletions
+39
-3
protocol.c
dlls/mshtml/protocol.c
+39
-3
No files found.
dlls/mshtml/protocol.c
View file @
8a87ea5b
...
...
@@ -251,6 +251,8 @@ static HRESULT WINAPI AboutProtocol_Start(IInternetProtocol *iface, LPCWSTR szUr
IInternetBindInfo_GetBindInfo
(
pOIBindInfo
,
&
grfBINDF
,
&
bindinfo
);
ReleaseBindInfo
(
&
bindinfo
);
TRACE
(
"bindf %x
\n
"
,
grfBINDF
);
if
(
strlenW
(
szUrl
)
>=
sizeof
(
wszAbout
)
/
sizeof
(
WCHAR
)
&&
!
memcmp
(
wszAbout
,
szUrl
,
sizeof
(
wszAbout
)))
{
text
=
szUrl
+
sizeof
(
wszAbout
)
/
sizeof
(
WCHAR
);
if
(
!
strcmpW
(
wszBlank
,
text
))
...
...
@@ -449,9 +451,43 @@ static HRESULT WINAPI AboutProtocolInfo_QueryInfo(IInternetProtocolInfo *iface,
QUERYOPTION
QueryOption
,
DWORD
dwQueryFlags
,
LPVOID
pBuffer
,
DWORD
cbBuffer
,
DWORD
*
pcbBuf
,
DWORD
dwReserved
)
{
FIXME
(
"%p)->(%s %08x %08x %p %d %p %d)
\n
"
,
iface
,
debugstr_w
(
pwzUrl
),
QueryOption
,
dwQueryFlags
,
pBuffer
,
cbBuffer
,
pcbBuf
,
dwReserved
);
return
E_NOTIMPL
;
TRACE
(
"%p)->(%s %08x %08x %p %d %p %d)
\n
"
,
iface
,
debugstr_w
(
pwzUrl
),
QueryOption
,
dwQueryFlags
,
pBuffer
,
cbBuffer
,
pcbBuf
,
dwReserved
);
switch
(
QueryOption
)
{
case
QUERY_CAN_NAVIGATE
:
return
INET_E_USE_DEFAULT_PROTOCOLHANDLER
;
case
QUERY_USES_NETWORK
:
if
(
!
pBuffer
||
cbBuffer
<
sizeof
(
DWORD
))
return
E_FAIL
;
*
(
DWORD
*
)
pBuffer
=
0
;
if
(
pcbBuf
)
*
pcbBuf
=
sizeof
(
DWORD
);
break
;
case
QUERY_IS_CACHED
:
FIXME
(
"Unsupported option QUERY_IS_CACHED
\n
"
);
return
E_NOTIMPL
;
case
QUERY_IS_INSTALLEDENTRY
:
FIXME
(
"Unsupported option QUERY_IS_INSTALLEDENTRY
\n
"
);
return
E_NOTIMPL
;
case
QUERY_IS_CACHED_OR_MAPPED
:
FIXME
(
"Unsupported option QUERY_IS_CACHED_OR_MAPPED
\n
"
);
return
E_NOTIMPL
;
case
QUERY_IS_SECURE
:
FIXME
(
"Unsupported option QUERY_IS_SECURE
\n
"
);
return
E_NOTIMPL
;
case
QUERY_IS_SAFE
:
FIXME
(
"Unsupported option QUERY_IS_SAFE
\n
"
);
return
E_NOTIMPL
;
default:
return
E_FAIL
;
}
return
S_OK
;
}
static
const
IInternetProtocolInfoVtbl
AboutProtocolInfoVtbl
=
{
...
...
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