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
c0e42d55
Commit
c0e42d55
authored
Apr 19, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added beginning InternetExplorer implementation.
parent
c48c50f5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
1 deletion
+42
-1
Makefile.in
dlls/shdocvw/Makefile.in
+1
-0
ie.c
dlls/shdocvw/ie.c
+0
-0
iexplore.c
dlls/shdocvw/iexplore.c
+28
-1
shdocvw.h
dlls/shdocvw/shdocvw.h
+13
-0
No files found.
dlls/shdocvw/Makefile.in
View file @
c0e42d55
...
...
@@ -16,6 +16,7 @@ C_SRCS = \
events.c
\
factory.c
\
frame.c
\
ie.c
\
iexplore.c
\
navigate.c
\
oleobject.c
\
...
...
dlls/shdocvw/ie.c
0 → 100644
View file @
c0e42d55
This diff is collapsed.
Click to expand it.
dlls/shdocvw/iexplore.c
View file @
c0e42d55
...
...
@@ -172,7 +172,7 @@ iecs_QueryInterface(iecs *This, REFIID riid, void **ppv)
IsEqualGUID
(
riid
,
&
IID_IOleClientSite
))
{
iecs_AddRef
(
This
);
*
ppv
=
&
This
->
lpVtbl
;
;
*
ppv
=
&
This
->
lpVtbl
;
return
S_OK
;
}
if
(
IsEqualGUID
(
riid
,
&
IID_IOleInPlaceSite
)
||
...
...
@@ -553,3 +553,30 @@ error:
return
r
;
}
HRESULT
InternetExplorer_Create
(
IUnknown
*
pOuter
,
REFIID
riid
,
void
**
ppv
)
{
InternetExplorer
*
ret
;
HRESULT
hres
;
TRACE
(
"(%p %s %p)
\n
"
,
pOuter
,
debugstr_guid
(
riid
),
ppv
);
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
InternetExplorer
));
ret
->
ref
=
0
;
ret
->
doc_host
.
disp
=
(
IDispatch
*
)
WEBBROWSER2
(
ret
);
DocHost_Init
(
&
ret
->
doc_host
,
(
IDispatch
*
)
WEBBROWSER2
(
ret
));
InternetExplorer_WebBrowser_Init
(
ret
);
/* create_frame_hwnd(ret); */
ret
->
doc_host
.
frame_hwnd
=
ret
->
frame_hwnd
=
NULL
;
hres
=
IWebBrowser2_QueryInterface
(
WEBBROWSER2
(
ret
),
riid
,
ppv
);
if
(
FAILED
(
hres
))
{
HeapFree
(
GetProcessHeap
(),
0
,
ret
);
return
hres
;
}
return
hres
;
}
dlls/shdocvw/shdocvw.h
View file @
c0e42d55
...
...
@@ -118,6 +118,16 @@ typedef struct {
DocHost
doc_host
;
}
WebBrowser
;
typedef
struct
{
const
IWebBrowser2Vtbl
*
lpWebBrowser2Vtbl
;
LONG
ref
;
HWND
frame_hwnd
;
DocHost
doc_host
;
}
InternetExplorer
;
#define WEBBROWSER(x) ((IWebBrowser*) &(x)->lpWebBrowser2Vtbl)
#define WEBBROWSER2(x) ((IWebBrowser2*) &(x)->lpWebBrowser2Vtbl)
#define OLEOBJ(x) ((IOleObject*) &(x)->lpOleObjectVtbl)
...
...
@@ -171,6 +181,9 @@ HRESULT navigate_url(DocHost*,LPCWSTR,PBYTE,ULONG,LPWSTR);
HRESULT
create_mozctl
(
REFIID
,
void
**
);
HRESULT
InternetExplorer_Create
(
IUnknown
*
,
REFIID
,
void
**
);
void
InternetExplorer_WebBrowser_Init
(
InternetExplorer
*
);
#define WB_WM_NAVIGATE2 (WM_USER+100)
#define DEFINE_THIS(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,lp ## ifc ## Vtbl)))
...
...
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