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
141dfab1
Commit
141dfab1
authored
Oct 13, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLDocument4 stub implementation.
parent
41c35a1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
192 additions
and
0 deletions
+192
-0
htmldoc.c
dlls/mshtml/htmldoc.c
+3
-0
htmldoc3.c
dlls/mshtml/htmldoc3.c
+187
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
141dfab1
...
@@ -56,6 +56,9 @@ static HRESULT WINAPI HTMLDocument_QueryInterface(IHTMLDocument2 *iface, REFIID
...
@@ -56,6 +56,9 @@ static HRESULT WINAPI HTMLDocument_QueryInterface(IHTMLDocument2 *iface, REFIID
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument3
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument3
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLDocument3, %p)
\n
"
,
This
,
ppvObject
);
TRACE
(
"(%p)->(IID_IHTMLDocument3, %p)
\n
"
,
This
,
ppvObject
);
*
ppvObject
=
HTMLDOC3
(
This
);
*
ppvObject
=
HTMLDOC3
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument4
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLDocument4, %p)
\n
"
,
This
,
ppvObject
);
*
ppvObject
=
HTMLDOC4
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument5
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLDocument5
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLDocument5, %p)
\n
"
,
This
,
ppvObject
);
TRACE
(
"(%p)->(IID_IHTMLDocument5, %p)
\n
"
,
This
,
ppvObject
);
*
ppvObject
=
HTMLDOC5
(
This
);
*
ppvObject
=
HTMLDOC5
(
This
);
...
...
dlls/mshtml/htmldoc3.c
View file @
141dfab1
...
@@ -420,6 +420,8 @@ static HRESULT WINAPI HTMLDocument3_getElementsByTagName(IHTMLDocument3 *iface,
...
@@ -420,6 +420,8 @@ static HRESULT WINAPI HTMLDocument3_getElementsByTagName(IHTMLDocument3 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
#undef HTMLDOC3_THIS
static
const
IHTMLDocument3Vtbl
HTMLDocument3Vtbl
=
{
static
const
IHTMLDocument3Vtbl
HTMLDocument3Vtbl
=
{
HTMLDocument3_QueryInterface
,
HTMLDocument3_QueryInterface
,
HTMLDocument3_AddRef
,
HTMLDocument3_AddRef
,
...
@@ -471,7 +473,192 @@ static const IHTMLDocument3Vtbl HTMLDocument3Vtbl = {
...
@@ -471,7 +473,192 @@ static const IHTMLDocument3Vtbl HTMLDocument3Vtbl = {
HTMLDocument3_getElementsByTagName
HTMLDocument3_getElementsByTagName
};
};
#define HTMLDOC4_THIS(iface) DEFINE_THIS(HTMLDocument, HTMLDocument4, iface)
static
HRESULT
WINAPI
HTMLDocument4_QueryInterface
(
IHTMLDocument4
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
return
IHTMLDocument2_QueryInterface
(
HTMLDOC
(
This
),
riid
,
ppv
);
}
static
ULONG
WINAPI
HTMLDocument4_AddRef
(
IHTMLDocument4
*
iface
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
return
IHTMLDocument2_AddRef
(
HTMLDOC
(
This
));
}
static
ULONG
WINAPI
HTMLDocument4_Release
(
IHTMLDocument4
*
iface
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
return
IHTMLDocument2_Release
(
HTMLDOC
(
This
));
}
static
HRESULT
WINAPI
HTMLDocument4_GetTypeInfoCount
(
IHTMLDocument4
*
iface
,
UINT
*
pctinfo
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_GetTypeInfo
(
IHTMLDocument4
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_GetIDsOfNames
(
IHTMLDocument4
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_Invoke
(
IHTMLDocument4
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%d %s %d %d %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_focus
(
IHTMLDocument4
*
iface
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_hasFocus
(
IHTMLDocument4
*
iface
,
VARIANT_BOOL
*
pfFocus
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pfFocus
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_put_onselectionchange
(
IHTMLDocument4
*
iface
,
VARIANT
v
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(v)
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_get_onselectionchange
(
IHTMLDocument4
*
iface
,
VARIANT
*
p
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_get_namespace
(
IHTMLDocument4
*
iface
,
IDispatch
**
p
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_createDocumentFromUrl
(
IHTMLDocument4
*
iface
,
BSTR
bstrUrl
,
BSTR
bstrOptions
,
IHTMLDocument2
**
newDoc
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%s %s %p)
\n
"
,
This
,
debugstr_w
(
bstrUrl
),
debugstr_w
(
bstrOptions
),
newDoc
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_put_media
(
IHTMLDocument4
*
iface
,
BSTR
v
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_get_media
(
IHTMLDocument4
*
iface
,
BSTR
*
p
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_createEventObject
(
IHTMLDocument4
*
iface
,
VARIANT
*
pvarEventObject
,
IHTMLEventObj
**
ppEventObj
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p %p)
\n
"
,
This
,
pvarEventObject
,
ppEventObj
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_fireEvent
(
IHTMLDocument4
*
iface
,
BSTR
bstrEventName
,
VARIANT
*
pvarEventObject
,
VARIANT_BOOL
*
pfCanceled
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p %p)
\n
"
,
This
,
debugstr_w
(
bstrEventName
),
pvarEventObject
,
pfCanceled
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_createRenderStyle
(
IHTMLDocument4
*
iface
,
BSTR
v
,
IHTMLRenderStyle
**
ppIHTMLRenderStyle
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
v
),
ppIHTMLRenderStyle
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_put_oncontrolselect
(
IHTMLDocument4
*
iface
,
VARIANT
v
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(v)
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_get_oncontrolselect
(
IHTMLDocument4
*
iface
,
VARIANT
*
p
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLDocument4_get_URLEncoded
(
IHTMLDocument4
*
iface
,
BSTR
*
p
)
{
HTMLDocument
*
This
=
HTMLDOC4_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
#undef HTMLDOC4_THIS
static
const
IHTMLDocument4Vtbl
HTMLDocument4Vtbl
=
{
HTMLDocument4_QueryInterface
,
HTMLDocument4_AddRef
,
HTMLDocument4_Release
,
HTMLDocument4_GetTypeInfoCount
,
HTMLDocument4_GetTypeInfo
,
HTMLDocument4_GetIDsOfNames
,
HTMLDocument4_Invoke
,
HTMLDocument4_focus
,
HTMLDocument4_hasFocus
,
HTMLDocument4_put_onselectionchange
,
HTMLDocument4_get_onselectionchange
,
HTMLDocument4_get_namespace
,
HTMLDocument4_createDocumentFromUrl
,
HTMLDocument4_put_media
,
HTMLDocument4_get_media
,
HTMLDocument4_createEventObject
,
HTMLDocument4_fireEvent
,
HTMLDocument4_createRenderStyle
,
HTMLDocument4_put_oncontrolselect
,
HTMLDocument4_get_oncontrolselect
,
HTMLDocument4_get_URLEncoded
};
void
HTMLDocument_HTMLDocument3_Init
(
HTMLDocument
*
This
)
void
HTMLDocument_HTMLDocument3_Init
(
HTMLDocument
*
This
)
{
{
This
->
lpHTMLDocument3Vtbl
=
&
HTMLDocument3Vtbl
;
This
->
lpHTMLDocument3Vtbl
=
&
HTMLDocument3Vtbl
;
This
->
lpHTMLDocument4Vtbl
=
&
HTMLDocument4Vtbl
;
}
}
dlls/mshtml/mshtml_private.h
View file @
141dfab1
...
@@ -105,6 +105,7 @@ typedef struct {
...
@@ -105,6 +105,7 @@ typedef struct {
struct
HTMLDocument
{
struct
HTMLDocument
{
const
IHTMLDocument2Vtbl
*
lpHTMLDocument2Vtbl
;
const
IHTMLDocument2Vtbl
*
lpHTMLDocument2Vtbl
;
const
IHTMLDocument3Vtbl
*
lpHTMLDocument3Vtbl
;
const
IHTMLDocument3Vtbl
*
lpHTMLDocument3Vtbl
;
const
IHTMLDocument4Vtbl
*
lpHTMLDocument4Vtbl
;
const
IHTMLDocument5Vtbl
*
lpHTMLDocument5Vtbl
;
const
IHTMLDocument5Vtbl
*
lpHTMLDocument5Vtbl
;
const
IPersistMonikerVtbl
*
lpPersistMonikerVtbl
;
const
IPersistMonikerVtbl
*
lpPersistMonikerVtbl
;
const
IPersistFileVtbl
*
lpPersistFileVtbl
;
const
IPersistFileVtbl
*
lpPersistFileVtbl
;
...
@@ -294,6 +295,7 @@ typedef struct {
...
@@ -294,6 +295,7 @@ typedef struct {
#define HTMLDOC(x) ((IHTMLDocument2*) &(x)->lpHTMLDocument2Vtbl)
#define HTMLDOC(x) ((IHTMLDocument2*) &(x)->lpHTMLDocument2Vtbl)
#define HTMLDOC3(x) ((IHTMLDocument3*) &(x)->lpHTMLDocument3Vtbl)
#define HTMLDOC3(x) ((IHTMLDocument3*) &(x)->lpHTMLDocument3Vtbl)
#define HTMLDOC4(x) ((IHTMLDocument4*) &(x)->lpHTMLDocument4Vtbl)
#define HTMLDOC5(x) ((IHTMLDocument5*) &(x)->lpHTMLDocument5Vtbl)
#define HTMLDOC5(x) ((IHTMLDocument5*) &(x)->lpHTMLDocument5Vtbl)
#define PERSIST(x) ((IPersist*) &(x)->lpPersistFileVtbl)
#define PERSIST(x) ((IPersist*) &(x)->lpPersistFileVtbl)
#define PERSISTMON(x) ((IPersistMoniker*) &(x)->lpPersistMonikerVtbl)
#define PERSISTMON(x) ((IPersistMoniker*) &(x)->lpPersistMonikerVtbl)
...
...
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