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
6ebe1c60
Commit
6ebe1c60
authored
May 13, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
May 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use debugstr_mshtml_guid in a few more places.
parent
9080329e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
50 deletions
+39
-50
htmlstorage.c
dlls/mshtml/htmlstorage.c
+1
-1
htmlstylesheet.c
dlls/mshtml/htmlstylesheet.c
+17
-25
htmlwindow.c
dlls/mshtml/htmlwindow.c
+9
-24
main.c
dlls/mshtml/main.c
+12
-0
No files found.
dlls/mshtml/htmlstorage.c
View file @
6ebe1c60
...
...
@@ -56,7 +56,7 @@ static HRESULT WINAPI HTMLStorage_QueryInterface(IHTMLStorage *iface, REFIID rii
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
else
{
*
ppv
=
NULL
;
WARN
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
WARN
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_
mshtml_
guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
}
...
...
dlls/mshtml/htmlstylesheet.c
View file @
6ebe1c60
...
...
@@ -68,17 +68,17 @@ static HRESULT WINAPI HTMLStyleSheetRulesCollection_QueryInterface(IHTMLStyleShe
{
HTMLStyleSheetRulesCollection
*
This
=
impl_from_IHTMLStyleSheetRulesCollection
(
iface
);
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_mshtml_guid
(
riid
),
ppv
);
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheetRulesCollection_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyleSheetRulesCollection
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyleSheetRulesCollection %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheetRulesCollection_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
else
{
*
ppv
=
NULL
;
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_
mshtml_
guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
}
...
...
@@ -222,28 +222,24 @@ static HRESULT WINAPI HTMLStyleSheetsCollection_QueryInterface(IHTMLStyleSheetsC
{
HTMLStyleSheetsCollection
*
This
=
impl_from_IHTMLStyleSheetsCollection
(
iface
);
*
ppv
=
NULL
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_mshtml_guid
(
riid
),
ppv
)
;
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheetsCollection_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheetsCollection_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyleSheetsCollection
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyleSheetsCollection %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheetsCollection_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
else
{
*
ppv
=
NULL
;
WARN
(
"unsupported %s
\n
"
,
debugstr_mshtml_guid
(
riid
));
return
E_NOINTERFACE
;
}
if
(
*
ppv
)
{
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
WARN
(
"unsupported %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
static
ULONG
WINAPI
HTMLStyleSheetsCollection_AddRef
(
IHTMLStyleSheetsCollection
*
iface
)
...
...
@@ -415,28 +411,24 @@ static HRESULT WINAPI HTMLStyleSheet_QueryInterface(IHTMLStyleSheet *iface, REFI
{
HTMLStyleSheet
*
This
=
impl_from_IHTMLStyleSheet
(
iface
);
*
ppv
=
NULL
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_mshtml_guid
(
riid
),
ppv
)
;
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheet_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheet_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyleSheet
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyleSheet %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyleSheet_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
else
{
*
ppv
=
NULL
;
WARN
(
"unsupported %s
\n
"
,
debugstr_mshtml_guid
(
riid
));
return
E_NOINTERFACE
;
}
if
(
*
ppv
)
{
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
WARN
(
"unsupported %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
static
ULONG
WINAPI
HTMLStyleSheet_AddRef
(
IHTMLStyleSheet
*
iface
)
...
...
dlls/mshtml/htmlwindow.c
View file @
6ebe1c60
...
...
@@ -141,59 +141,45 @@ static HRESULT WINAPI HTMLWindow2_QueryInterface(IHTMLWindow2 *iface, REFIID rii
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
*
ppv
=
NULL
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_mshtml_guid
(
riid
),
ppv
)
;
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatchEx
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatchEx %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IDispatchEx_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLFramesCollection2
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLFramesCollection2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLWindow2
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLWindow2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLWindow3
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLWindow3 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow3_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLWindow4
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLWindow4 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow4_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLWindow5
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLWindow5 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow5_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLWindow6
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLWindow6 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLWindow6_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLPrivateWindow
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLPrivateWindow %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLPrivateWindow_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IServiceProvider
,
riid
))
{
TRACE
(
"(%p)->(IID_IServiceProvider %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IServiceProvider_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_ITravelLogClient
,
riid
))
{
TRACE
(
"(%p)->(IID_ITravelLogClient %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
ITravelLogClient_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IObjectIdentity
,
riid
))
{
TRACE
(
"(%p)->(IID_IObjectIdentity %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IObjectIdentity_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
inner_window
->
dispex
,
riid
,
ppv
))
{
assert
(
!*
ppv
);
return
E_NOINTERFACE
;
}
else
{
*
ppv
=
NULL
;
WARN
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_mshtml_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
}
if
(
*
ppv
)
{
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
WARN
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
static
ULONG
WINAPI
HTMLWindow2_AddRef
(
IHTMLWindow2
*
iface
)
...
...
@@ -2407,8 +2393,7 @@ static HRESULT WINAPI WindowDispEx_GetIDsOfNames(IDispatchEx *iface, REFIID riid
UINT
i
;
HRESULT
hres
;
WARN
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
WARN
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
for
(
i
=
0
;
i
<
cNames
;
i
++
)
{
/* We shouldn't use script's IDispatchEx here, so we shouldn't use GetDispID */
...
...
@@ -2686,7 +2671,7 @@ static HRESULT WINAPI HTMLWindowSP_QueryService(IServiceProvider *iface, REFGUID
return
IHTMLWindow2_QueryInterface
(
&
This
->
IHTMLWindow2_iface
,
riid
,
ppv
);
}
TRACE
(
"(%p)->(%s %s %p)
\n
"
,
This
,
debugstr_
guid
(
guidService
),
debugstr
_guid
(
riid
),
ppv
);
TRACE
(
"(%p)->(%s %s %p)
\n
"
,
This
,
debugstr_
mshtml_guid
(
guidService
),
debugstr_mshtml
_guid
(
riid
),
ppv
);
if
(
!
This
->
outer_window
->
doc_obj
)
return
E_NOINTERFACE
;
...
...
dlls/mshtml/main.c
View file @
6ebe1c60
...
...
@@ -573,9 +573,11 @@ const char *debugstr_mshtml_guid(const GUID *iid)
X
(
IID_IHTMLElementCollection
);
X
(
IID_IHTMLEventObj
);
X
(
IID_IHTMLFiltersCollection
);
X
(
IID_IHTMLFramesCollection2
);
X
(
IID_IHTMLImageElementFactory
);
X
(
IID_IHTMLLocation
);
X
(
IID_IHTMLOptionElementFactory
);
X
(
IID_IHTMLPrivateWindow
);
X
(
IID_IHTMLRect
);
X
(
IID_IHTMLScreen
);
X
(
IID_IHTMLStorage
);
...
...
@@ -585,9 +587,18 @@ const char *debugstr_mshtml_guid(const GUID *iid)
X
(
IID_IHTMLStyle4
);
X
(
IID_IHTMLStyle5
);
X
(
IID_IHTMLStyle6
);
X
(
IID_IHTMLStyleSheet
);
X
(
IID_IHTMLStyleSheetRulesCollection
);
X
(
IID_IHTMLStyleSheetsCollection
);
X
(
IID_IHTMLWindow2
);
X
(
IID_IHTMLWindow3
);
X
(
IID_IHTMLWindow4
);
X
(
IID_IHTMLWindow5
);
X
(
IID_IHTMLWindow6
);
X
(
IID_IHtmlLoadOptions
);
X
(
IID_IInternetHostSecurityManager
);
X
(
IID_IMonikerProp
);
X
(
IID_IObjectIdentity
);
X
(
IID_IObjectSafety
);
X
(
IID_IObjectWithSite
);
X
(
IID_IOleContainer
);
...
...
@@ -613,6 +624,7 @@ const char *debugstr_mshtml_guid(const GUID *iid)
X
(
IID_IServiceProvider
);
X
(
IID_ISupportErrorInfo
);
X
(
IID_ITargetContainer
);
X
(
IID_ITravelLogClient
);
X
(
IID_IUnknown
);
X
(
IID_IViewObject
);
X
(
IID_IViewObject2
);
...
...
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