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
e7f5cc27
Commit
e7f5cc27
authored
Jan 04, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: COM cleanup for the IHTMLStyle iface.
parent
5ffd1510
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
htmlstyle.c
dlls/mshtml/htmlstyle.c
+0
-0
htmlstyle.h
dlls/mshtml/htmlstyle.h
+1
-2
htmlstyle2.c
dlls/mshtml/htmlstyle2.c
+3
-3
htmlstyle3.c
dlls/mshtml/htmlstyle3.c
+6
-6
No files found.
dlls/mshtml/htmlstyle.c
View file @
e7f5cc27
This diff is collapsed.
Click to expand it.
dlls/mshtml/htmlstyle.h
View file @
e7f5cc27
...
...
@@ -18,7 +18,7 @@
struct
HTMLStyle
{
DispatchEx
dispex
;
const
IHTMLStyleVtbl
*
lpHTMLStyleVtbl
;
IHTMLStyle
IHTMLStyle_iface
;
const
IHTMLStyle2Vtbl
*
lpHTMLStyle2Vtbl
;
const
IHTMLStyle3Vtbl
*
lpHTMLStyle3Vtbl
;
const
IHTMLStyle4Vtbl
*
lpHTMLStyle4Vtbl
;
...
...
@@ -28,7 +28,6 @@ struct HTMLStyle {
nsIDOMCSSStyleDeclaration
*
nsstyle
;
};
#define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl)
#define HTMLSTYLE2(x) ((IHTMLStyle2*) &(x)->lpHTMLStyle2Vtbl)
#define HTMLSTYLE3(x) ((IHTMLStyle3*) &(x)->lpHTMLStyle3Vtbl)
#define HTMLSTYLE4(x) ((IHTMLStyle4*) &(x)->lpHTMLStyle4Vtbl)
...
...
dlls/mshtml/htmlstyle2.c
View file @
e7f5cc27
...
...
@@ -39,21 +39,21 @@ static HRESULT WINAPI HTMLStyle2_QueryInterface(IHTMLStyle2 *iface, REFIID riid,
{
HTMLStyle
*
This
=
HTMLSTYLE2_THIS
(
iface
);
return
IHTMLStyle_QueryInterface
(
HTMLSTYLE
(
This
)
,
riid
,
ppv
);
return
IHTMLStyle_QueryInterface
(
&
This
->
IHTMLStyle_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
HTMLStyle2_AddRef
(
IHTMLStyle2
*
iface
)
{
HTMLStyle
*
This
=
HTMLSTYLE2_THIS
(
iface
);
return
IHTMLStyle_AddRef
(
HTMLSTYLE
(
This
)
);
return
IHTMLStyle_AddRef
(
&
This
->
IHTMLStyle_iface
);
}
static
ULONG
WINAPI
HTMLStyle2_Release
(
IHTMLStyle2
*
iface
)
{
HTMLStyle
*
This
=
HTMLSTYLE2_THIS
(
iface
);
return
IHTMLStyle_Release
(
HTMLSTYLE
(
This
)
);
return
IHTMLStyle_Release
(
&
This
->
IHTMLStyle_iface
);
}
static
HRESULT
WINAPI
HTMLStyle2_GetTypeInfoCount
(
IHTMLStyle2
*
iface
,
UINT
*
pctinfo
)
...
...
dlls/mshtml/htmlstyle3.c
View file @
e7f5cc27
...
...
@@ -39,21 +39,21 @@ static HRESULT WINAPI HTMLStyle3_QueryInterface(IHTMLStyle3 *iface, REFIID riid,
{
HTMLStyle
*
This
=
HTMLSTYLE3_THIS
(
iface
);
return
IHTMLStyle_QueryInterface
(
HTMLSTYLE
(
This
)
,
riid
,
ppv
);
return
IHTMLStyle_QueryInterface
(
&
This
->
IHTMLStyle_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
HTMLStyle3_AddRef
(
IHTMLStyle3
*
iface
)
{
HTMLStyle
*
This
=
HTMLSTYLE3_THIS
(
iface
);
return
IHTMLStyle_AddRef
(
HTMLSTYLE
(
This
)
);
return
IHTMLStyle_AddRef
(
&
This
->
IHTMLStyle_iface
);
}
static
ULONG
WINAPI
HTMLStyle3_Release
(
IHTMLStyle3
*
iface
)
{
HTMLStyle
*
This
=
HTMLSTYLE3_THIS
(
iface
);
return
IHTMLStyle_Release
(
HTMLSTYLE
(
This
)
);
return
IHTMLStyle_Release
(
&
This
->
IHTMLStyle_iface
);
}
static
HRESULT
WINAPI
HTMLStyle3_GetTypeInfoCount
(
IHTMLStyle3
*
iface
,
UINT
*
pctinfo
)
...
...
@@ -358,21 +358,21 @@ static HRESULT WINAPI HTMLStyle4_QueryInterface(IHTMLStyle4 *iface, REFIID riid,
{
HTMLStyle
*
This
=
HTMLSTYLE4_THIS
(
iface
);
return
IHTMLStyle_QueryInterface
(
HTMLSTYLE
(
This
)
,
riid
,
ppv
);
return
IHTMLStyle_QueryInterface
(
&
This
->
IHTMLStyle_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
HTMLStyle4_AddRef
(
IHTMLStyle4
*
iface
)
{
HTMLStyle
*
This
=
HTMLSTYLE4_THIS
(
iface
);
return
IHTMLStyle_AddRef
(
HTMLSTYLE
(
This
)
);
return
IHTMLStyle_AddRef
(
&
This
->
IHTMLStyle_iface
);
}
static
ULONG
WINAPI
HTMLStyle4_Release
(
IHTMLStyle4
*
iface
)
{
HTMLStyle
*
This
=
HTMLSTYLE4_THIS
(
iface
);
return
IHTMLStyle_Release
(
HTMLSTYLE
(
This
)
);
return
IHTMLStyle_Release
(
&
This
->
IHTMLStyle_iface
);
}
static
HRESULT
WINAPI
HTMLStyle4_GetTypeInfoCount
(
IHTMLStyle4
*
iface
,
UINT
*
pctinfo
)
...
...
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