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
b94dd24e
Commit
b94dd24e
authored
Apr 13, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use debugstr_mshtml_guid in object and embed element implementation.
parent
81c13caf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
11 deletions
+8
-11
htmlembed.c
dlls/mshtml/htmlembed.c
+2
-3
htmlobject.c
dlls/mshtml/htmlobject.c
+2
-5
main.c
dlls/mshtml/main.c
+2
-0
pluginhost.c
dlls/mshtml/pluginhost.c
+0
-3
pluginhost.h
dlls/mshtml/pluginhost.h
+2
-0
No files found.
dlls/mshtml/htmlembed.c
View file @
b94dd24e
...
...
@@ -227,14 +227,13 @@ static HRESULT HTMLEmbedElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
{
HTMLEmbedElement
*
This
=
impl_from_HTMLDOMNode
(
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
->
IHTMLEmbedElement_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLEmbedElement_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLEmbedElement
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLEmbedElement %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLEmbedElement_iface
;
}
else
{
return
HTMLElement_QI
(
&
This
->
element
.
node
,
riid
,
ppv
);
...
...
dlls/mshtml/htmlobject.c
View file @
b94dd24e
...
...
@@ -645,21 +645,18 @@ static HRESULT HTMLObjectElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
{
HTMLObjectElement
*
This
=
impl_from_HTMLDOMNode
(
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
->
IHTMLObjectElement_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLObjectElement_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLObjectElement
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLObjectElement %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLObjectElement_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLObjectElement2
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLObjectElement2 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLObjectElement2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_HTMLPluginContainer
,
riid
))
{
/* Special pseudo-interface returning HTMLPluginContainse struct. */
TRACE
(
"(%p)->(IID_HTMLPluginContainer %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
plugin_container
;
node_addref
(
&
This
->
plugin_container
.
element
.
node
);
return
S_OK
;
...
...
dlls/mshtml/main.c
View file @
b94dd24e
...
...
@@ -42,6 +42,7 @@
#define INIT_GUID
#include "mshtml_private.h"
#include "resource.h"
#include "pluginhost.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
...
...
@@ -540,6 +541,7 @@ const char *debugstr_mshtml_guid(const GUID *iid)
X
(
DIID_HTMLDocumentEvents2
);
X
(
DIID_HTMLTableEvents
);
X
(
DIID_HTMLTextContainerEvents
);
X
(
IID_HTMLPluginContainer
);
X
(
IID_IConnectionPoint
);
X
(
IID_IConnectionPointContainer
);
X
(
IID_ICustomDoc
);
...
...
dlls/mshtml/pluginhost.c
View file @
b94dd24e
...
...
@@ -37,9 +37,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
const
IID
IID_HTMLPluginContainer
=
{
0xbd7a6050
,
0xb373
,
0x4f6f
,{
0xa4
,
0x93
,
0xdd
,
0x40
,
0xc5
,
0x23
,
0xa8
,
0x6a
}};
static
BOOL
check_load_safety
(
PluginHost
*
host
)
{
DWORD
policy_size
,
policy
;
...
...
dlls/mshtml/pluginhost.h
View file @
b94dd24e
...
...
@@ -58,6 +58,8 @@ struct HTMLPluginContainer {
DWORD
props_len
;
};
DEFINE_GUID
(
IID_HTMLPluginContainer
,
0xbd7a6050
,
0xb373
,
0x4f6f
,
0xa4
,
0x93
,
0xdd
,
0x40
,
0xc5
,
0x23
,
0xa8
,
0x6a
);
extern
const
IID
IID_HTMLPluginContainer
DECLSPEC_HIDDEN
;
HRESULT
create_plugin_host
(
HTMLDocumentNode
*
,
HTMLPluginContainer
*
)
DECLSPEC_HIDDEN
;
...
...
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