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
b54a9c66
Commit
b54a9c66
authored
May 12, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
May 12, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use debugmsg_mshtml_guid in a few more places.
parent
9a64cf77
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
56 deletions
+45
-56
htmllocation.c
dlls/mshtml/htmllocation.c
+7
-10
htmloption.c
dlls/mshtml/htmloption.c
+7
-11
htmlscreen.c
dlls/mshtml/htmlscreen.c
+7
-10
htmlstorage.c
dlls/mshtml/htmlstorage.c
+7
-10
htmlstyle.c
dlls/mshtml/htmlstyle.c
+7
-15
main.c
dlls/mshtml/main.c
+10
-0
No files found.
dlls/mshtml/htmllocation.c
View file @
b54a9c66
...
...
@@ -81,25 +81,22 @@ static HRESULT WINAPI HTMLLocation_QueryInterface(IHTMLLocation *iface, REFIID r
{
HTMLLocation
*
This
=
impl_from_IHTMLLocation
(
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
->
IHTMLLocation_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLLocation
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLLocation %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLLocation_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
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
HTMLLocation_AddRef
(
IHTMLLocation
*
iface
)
...
...
dlls/mshtml/htmloption.c
View file @
b54a9c66
...
...
@@ -366,26 +366,22 @@ static HRESULT WINAPI HTMLOptionElementFactory_QueryInterface(IHTMLOptionElement
{
HTMLOptionElementFactory
*
This
=
impl_from_IHTMLOptionElementFactory
(
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
->
IHTMLOptionElementFactory_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLOptionElementFactory_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLOptionElementFactory
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLOptionElementFactory %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLOptionElementFactory_iface
;
}
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
HTMLOptionElementFactory_AddRef
(
IHTMLOptionElementFactory
*
iface
)
...
...
dlls/mshtml/htmlscreen.c
View file @
b54a9c66
...
...
@@ -47,25 +47,22 @@ static HRESULT WINAPI HTMLScreen_QueryInterface(IHTMLScreen *iface, REFIID riid,
{
HTMLScreen
*
This
=
impl_from_IHTMLScreen
(
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
->
IHTMLScreen_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLScreen
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLScreen %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLScreen_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
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
HTMLScreen_AddRef
(
IHTMLScreen
*
iface
)
...
...
dlls/mshtml/htmlstorage.c
View file @
b54a9c66
...
...
@@ -46,25 +46,22 @@ static HRESULT WINAPI HTMLStorage_QueryInterface(IHTMLStorage *iface, REFIID rii
{
HTMLStorage
*
This
=
impl_from_IHTMLStorage
(
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
->
IHTMLStorage_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStorage
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStorage %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStorage_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
else
{
*
ppv
=
NULL
;
WARN
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_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
HTMLStorage_AddRef
(
IHTMLStorage
*
iface
)
...
...
dlls/mshtml/htmlstyle.c
View file @
b54a9c66
...
...
@@ -730,40 +730,32 @@ static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, v
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle
(
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
->
IHTMLStyle_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle2
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle3
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle3 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle3_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle4
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle4 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle4_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle5
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle5 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle5_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle6
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle6 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle6_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
else
{
*
ppv
=
NULL
;
WARN
(
"unsupported iface %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
HTMLStyle_AddRef
(
IHTMLStyle
*
iface
)
...
...
dlls/mshtml/main.c
View file @
b54a9c66
...
...
@@ -574,7 +574,17 @@ const char *debugstr_mshtml_guid(const GUID *iid)
X
(
IID_IHTMLEventObj
);
X
(
IID_IHTMLFiltersCollection
);
X
(
IID_IHTMLImageElementFactory
);
X
(
IID_IHTMLLocation
);
X
(
IID_IHTMLOptionElementFactory
);
X
(
IID_IHTMLRect
);
X
(
IID_IHTMLScreen
);
X
(
IID_IHTMLStorage
);
X
(
IID_IHTMLStyle
);
X
(
IID_IHTMLStyle2
);
X
(
IID_IHTMLStyle3
);
X
(
IID_IHTMLStyle4
);
X
(
IID_IHTMLStyle5
);
X
(
IID_IHTMLStyle6
);
X
(
IID_IHtmlLoadOptions
);
X
(
IID_IInternetHostSecurityManager
);
X
(
IID_IMonikerProp
);
...
...
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