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
778c6455
Commit
778c6455
authored
May 10, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
May 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added stub IExternalConnection interface to InternetExplorer object.
parent
2620e3cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
+51
-0
ie.c
dlls/ieframe/ie.c
+50
-0
ieframe.h
dlls/ieframe/ieframe.h
+1
-0
No files found.
dlls/ieframe/ie.c
View file @
778c6455
...
...
@@ -51,6 +51,9 @@ static HRESULT WINAPI InternetExplorer_QueryInterface(IWebBrowser2 *iface, REFII
}
else
if
(
IsEqualGUID
(
&
IID_IConnectionPointContainer
,
riid
))
{
TRACE
(
"(%p)->(IID_IConnectionPointContainer %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
doc_host
->
doc_host
.
cps
.
IConnectionPointContainer_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IExternalConnection
,
riid
))
{
TRACE
(
"(%p)->(IID_IExternalConnection %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IExternalConnection_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IServiceProvider
,
riid
))
{
TRACE
(
"(%p)->(IID_IServiceProvider %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IServiceProvider_iface
;
...
...
@@ -705,6 +708,52 @@ static const IWebBrowser2Vtbl InternetExplorerVtbl =
InternetExplorer_put_Resizable
};
static
inline
InternetExplorer
*
impl_from_IExternalConnection
(
IExternalConnection
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
InternetExplorer
,
IExternalConnection_iface
);
}
static
HRESULT
WINAPI
ExternalConnection_QueryInterface
(
IExternalConnection
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
InternetExplorer
*
This
=
impl_from_IExternalConnection
(
iface
);
return
IWebBrowser2_QueryInterface
(
&
This
->
IWebBrowser2_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
ExternalConnection_AddRef
(
IExternalConnection
*
iface
)
{
InternetExplorer
*
This
=
impl_from_IExternalConnection
(
iface
);
return
IWebBrowser2_AddRef
(
&
This
->
IWebBrowser2_iface
);
}
static
ULONG
WINAPI
ExternalConnection_Release
(
IExternalConnection
*
iface
)
{
InternetExplorer
*
This
=
impl_from_IExternalConnection
(
iface
);
return
IWebBrowser2_Release
(
&
This
->
IWebBrowser2_iface
);
}
static
DWORD
WINAPI
ExternalConnection_AddConnection
(
IExternalConnection
*
iface
,
DWORD
extconn
,
DWORD
reserved
)
{
InternetExplorer
*
This
=
impl_from_IExternalConnection
(
iface
);
FIXME
(
"(%p)
\n
"
,
This
);
return
2
;
}
static
DWORD
WINAPI
ExternalConnection_ReleaseConnection
(
IExternalConnection
*
iface
,
DWORD
extconn
,
DWORD
reserved
,
BOOL
fLastReleaseCloses
)
{
InternetExplorer
*
This
=
impl_from_IExternalConnection
(
iface
);
FIXME
(
"(%p)
\n
"
,
This
);
return
1
;
}
static
const
IExternalConnectionVtbl
ExternalConnectionVtbl
=
{
ExternalConnection_QueryInterface
,
ExternalConnection_AddRef
,
ExternalConnection_Release
,
ExternalConnection_AddConnection
,
ExternalConnection_ReleaseConnection
};
static
inline
InternetExplorer
*
impl_from_IServiceProvider
(
IServiceProvider
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
InternetExplorer
,
IServiceProvider_iface
);
...
...
@@ -755,5 +804,6 @@ static const IServiceProviderVtbl ServiceProviderVtbl =
void
InternetExplorer_WebBrowser_Init
(
InternetExplorer
*
This
)
{
This
->
IWebBrowser2_iface
.
lpVtbl
=
&
InternetExplorerVtbl
;
This
->
IExternalConnection_iface
.
lpVtbl
=
&
ExternalConnectionVtbl
;
This
->
IServiceProvider_iface
.
lpVtbl
=
&
ServiceProviderVtbl
;
}
dlls/ieframe/ieframe.h
View file @
778c6455
...
...
@@ -224,6 +224,7 @@ typedef struct {
struct
InternetExplorer
{
IWebBrowser2
IWebBrowser2_iface
;
IExternalConnection
IExternalConnection_iface
;
IServiceProvider
IServiceProvider_iface
;
HlinkFrame
hlink_frame
;
...
...
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