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
8925638f
Commit
8925638f
authored
Jul 28, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLStyle5 implementation.
parent
b9202639
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
135 additions
and
0 deletions
+135
-0
htmlstyle.c
dlls/mshtml/htmlstyle.c
+3
-0
htmlstyle.h
dlls/mshtml/htmlstyle.h
+1
-0
htmlstyle3.c
dlls/mshtml/htmlstyle3.c
+131
-0
No files found.
dlls/mshtml/htmlstyle.c
View file @
8925638f
...
@@ -656,6 +656,9 @@ static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, v
...
@@ -656,6 +656,9 @@ static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, v
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle4
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle4
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle4 %p)
\n
"
,
This
,
ppv
);
TRACE
(
"(%p)->(IID_IHTMLStyle4 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle4_iface
;
*
ppv
=
&
This
->
IHTMLStyle4_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle5
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle5 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IHTMLStyle5_iface
;
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
}
else
if
(
dispex_query_interface
(
&
This
->
dispex
,
riid
,
ppv
))
{
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
return
*
ppv
?
S_OK
:
E_NOINTERFACE
;
}
}
...
...
dlls/mshtml/htmlstyle.h
View file @
8925638f
...
@@ -22,6 +22,7 @@ struct HTMLStyle {
...
@@ -22,6 +22,7 @@ struct HTMLStyle {
IHTMLStyle2
IHTMLStyle2_iface
;
IHTMLStyle2
IHTMLStyle2_iface
;
IHTMLStyle3
IHTMLStyle3_iface
;
IHTMLStyle3
IHTMLStyle3_iface
;
IHTMLStyle4
IHTMLStyle4_iface
;
IHTMLStyle4
IHTMLStyle4_iface
;
IHTMLStyle5
IHTMLStyle5_iface
;
LONG
ref
;
LONG
ref
;
...
...
dlls/mshtml/htmlstyle3.c
View file @
8925638f
...
@@ -458,8 +458,139 @@ static const IHTMLStyle4Vtbl HTMLStyle4Vtbl = {
...
@@ -458,8 +458,139 @@ static const IHTMLStyle4Vtbl HTMLStyle4Vtbl = {
HTMLStyle4_get_minHeight
HTMLStyle4_get_minHeight
};
};
static
inline
HTMLStyle
*
impl_from_IHTMLStyle5
(
IHTMLStyle5
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLStyle
,
IHTMLStyle5_iface
);
}
static
HRESULT
WINAPI
HTMLStyle5_QueryInterface
(
IHTMLStyle5
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
return
IHTMLStyle_QueryInterface
(
&
This
->
IHTMLStyle_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
HTMLStyle5_AddRef
(
IHTMLStyle5
*
iface
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
return
IHTMLStyle_AddRef
(
&
This
->
IHTMLStyle_iface
);
}
static
ULONG
WINAPI
HTMLStyle5_Release
(
IHTMLStyle5
*
iface
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
return
IHTMLStyle_Release
(
&
This
->
IHTMLStyle_iface
);
}
static
HRESULT
WINAPI
HTMLStyle5_GetTypeInfoCount
(
IHTMLStyle5
*
iface
,
UINT
*
pctinfo
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
HTMLStyle5_GetTypeInfo
(
IHTMLStyle5
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
HTMLStyle5_GetIDsOfNames
(
IHTMLStyle5
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
return
IDispatchEx_GetIDsOfNames
(
&
This
->
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
HTMLStyle5_Invoke
(
IHTMLStyle5
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
return
IDispatchEx_Invoke
(
&
This
->
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
HTMLStyle5_put_msInterpolationMode
(
IHTMLStyle5
*
iface
,
BSTR
v
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLStyle5_get_msInterpolationMode
(
IHTMLStyle5
*
iface
,
BSTR
*
p
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLStyle5_put_maxHeight
(
IHTMLStyle5
*
iface
,
VARIANT
v
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLStyle5_get_maxHeight
(
IHTMLStyle5
*
iface
,
VARIANT
*
p
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLStyle5_put_minWidth
(
IHTMLStyle5
*
iface
,
VARIANT
v
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLStyle5_get_minWidth
(
IHTMLStyle5
*
iface
,
VARIANT
*
p
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLStyle5_put_maxWidth
(
IHTMLStyle5
*
iface
,
VARIANT
v
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
HTMLStyle5_get_maxWidth
(
IHTMLStyle5
*
iface
,
VARIANT
*
p
)
{
HTMLStyle
*
This
=
impl_from_IHTMLStyle5
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
}
static
const
IHTMLStyle5Vtbl
HTMLStyle5Vtbl
=
{
HTMLStyle5_QueryInterface
,
HTMLStyle5_AddRef
,
HTMLStyle5_Release
,
HTMLStyle5_GetTypeInfoCount
,
HTMLStyle5_GetTypeInfo
,
HTMLStyle5_GetIDsOfNames
,
HTMLStyle5_Invoke
,
HTMLStyle5_put_msInterpolationMode
,
HTMLStyle5_get_msInterpolationMode
,
HTMLStyle5_put_maxHeight
,
HTMLStyle5_get_maxHeight
,
HTMLStyle5_put_minWidth
,
HTMLStyle5_get_minWidth
,
HTMLStyle5_put_maxWidth
,
HTMLStyle5_get_maxWidth
};
void
HTMLStyle3_Init
(
HTMLStyle
*
This
)
void
HTMLStyle3_Init
(
HTMLStyle
*
This
)
{
{
This
->
IHTMLStyle3_iface
.
lpVtbl
=
&
HTMLStyle3Vtbl
;
This
->
IHTMLStyle3_iface
.
lpVtbl
=
&
HTMLStyle3Vtbl
;
This
->
IHTMLStyle4_iface
.
lpVtbl
=
&
HTMLStyle4Vtbl
;
This
->
IHTMLStyle4_iface
.
lpVtbl
=
&
HTMLStyle4Vtbl
;
This
->
IHTMLStyle5_iface
.
lpVtbl
=
&
HTMLStyle5Vtbl
;
}
}
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