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
21196a08
Commit
21196a08
authored
May 17, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
May 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Code cleanup.
parent
7ac9bc4d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
client.c
dlls/shdocvw/client.c
+1
-1
oleobject.c
dlls/shdocvw/oleobject.c
+2
-2
shdocvw.h
dlls/shdocvw/shdocvw.h
+2
-3
webbrowser.c
dlls/shdocvw/webbrowser.c
+1
-1
No files found.
dlls/shdocvw/client.c
View file @
21196a08
...
...
@@ -52,7 +52,7 @@ static HRESULT WINAPI ClientSite_QueryInterface(IOleClientSite *iface, REFIID ri
*
ppv
=
DOCSITE
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IOleCommandTarget
,
riid
))
{
TRACE
(
"(%p)->(IID_IOleCommandTarget %p)
\n
"
,
This
,
ppv
);
*
ppv
=
CL
OLECMD
(
This
);
*
ppv
=
OLECMD
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
CLDISP
(
This
);
...
...
dlls/shdocvw/oleobject.c
View file @
21196a08
...
...
@@ -700,7 +700,7 @@ static const IOleInPlaceActiveObjectVtbl OleInPlaceActiveObjectVtbl = {
InPlaceActiveObject_EnableModeless
};
#define OLECMD_THIS(iface) DEFINE_THIS(WebBrowser,
WB
OleCommandTarget, iface)
#define OLECMD_THIS(iface) DEFINE_THIS(WebBrowser, OleCommandTarget, iface)
static
HRESULT
WINAPI
WBOleCommandTarget_QueryInterface
(
IOleCommandTarget
*
iface
,
REFIID
riid
,
void
**
ppv
)
...
...
@@ -756,7 +756,7 @@ void WebBrowser_OleObject_Init(WebBrowser *This)
This
->
lpOleInPlaceObjectVtbl
=
&
OleInPlaceObjectVtbl
;
This
->
lpOleControlVtbl
=
&
OleControlVtbl
;
This
->
lpOleInPlaceActiveObjectVtbl
=
&
OleInPlaceActiveObjectVtbl
;
This
->
lp
WB
OleCommandTargetVtbl
=
&
OleCommandTargetVtbl
;
This
->
lpOleCommandTargetVtbl
=
&
OleCommandTargetVtbl
;
This
->
client
=
NULL
;
This
->
inplace
=
NULL
;
...
...
dlls/shdocvw/shdocvw.h
View file @
21196a08
...
...
@@ -99,7 +99,7 @@ typedef struct {
const
IProvideClassInfo2Vtbl
*
lpProvideClassInfoVtbl
;
const
IViewObject2Vtbl
*
lpViewObjectVtbl
;
const
IOleInPlaceActiveObjectVtbl
*
lpOleInPlaceActiveObjectVtbl
;
const
IOleCommandTargetVtbl
*
lp
WB
OleCommandTargetVtbl
;
const
IOleCommandTargetVtbl
*
lpOleCommandTargetVtbl
;
const
IHlinkFrameVtbl
*
lpHlinkFrameVtbl
;
LONG
ref
;
...
...
@@ -151,7 +151,7 @@ typedef struct {
#define VIEWOBJ(x) ((IViewObject*) &(x)->lpViewObjectVtbl);
#define VIEWOBJ2(x) ((IViewObject2*) &(x)->lpViewObjectVtbl);
#define ACTIVEOBJ(x) ((IOleInPlaceActiveObject*) &(x)->lpOleInPlaceActiveObjectVtbl)
#define
WBOLECMD(x) ((IOleCommandTarget*) &(x)->lpWB
OleCommandTargetVtbl)
#define
OLECMD(x) ((IOleCommandTarget*) &(x)->lp
OleCommandTargetVtbl)
#define HLINKFRAME(x) ((IHlinkFrame*) &(x)->lpHlinkFrameVtbl)
#define CLIENTSITE(x) ((IOleClientSite*) &(x)->lpOleClientSiteVtbl)
...
...
@@ -159,7 +159,6 @@ typedef struct {
#define DOCHOSTUI(x) ((IDocHostUIHandler*) &(x)->lpDocHostUIHandlerVtbl)
#define DOCHOSTUI2(x) ((IDocHostUIHandler2*) &(x)->lpDocHostUIHandlerVtbl)
#define DOCSITE(x) ((IOleDocumentSite*) &(x)->lpOleDocumentSiteVtbl)
#define CLOLECMD(x) ((IOleCommandTarget*) &(x)->lpOleCommandTargetVtbl)
#define CLDISP(x) ((IDispatch*) &(x)->lpDispatchVtbl)
#define SERVPROV(x) ((IServiceProvider*) &(x)->lpServiceProviderVtbl)
...
...
dlls/shdocvw/webbrowser.c
View file @
21196a08
...
...
@@ -95,7 +95,7 @@ static HRESULT WINAPI WebBrowser_QueryInterface(IWebBrowser2 *iface, REFIID riid
*
ppv
=
ACTIVEOBJ
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IOleCommandTarget
,
riid
))
{
TRACE
(
"(%p)->(IID_IOleCommandTarget %p)
\n
"
,
This
,
ppv
);
*
ppv
=
WB
OLECMD
(
This
);
*
ppv
=
OLECMD
(
This
);
}
else
if
(
IsEqualGUID
(
&
IID_IHlinkFrame
,
riid
))
{
TRACE
(
"(%p)->(IID_IHlinkFrame %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HLINKFRAME
(
This
);
...
...
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