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
bde8aa58
Commit
bde8aa58
authored
Apr 28, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
May 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added GetConnectionInterface implementation.
parent
a9cdfa99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
conpoint.c
dlls/mshtml/conpoint.c
+10
-2
No files found.
dlls/mshtml/conpoint.c
View file @
bde8aa58
...
...
@@ -40,6 +40,7 @@ struct ConnectionPoint {
const
IConnectionPointVtbl
*
lpConnectionPointVtbl
;
HTMLDocument
*
doc
;
IID
iid
;
};
#define CONPOINT_THIS(iface) DEFINE_THIS(ConnectionPoint, ConnectionPoint, iface)
...
...
@@ -83,8 +84,14 @@ static ULONG WINAPI ConnectionPoint_Release(IConnectionPoint *iface)
static
HRESULT
WINAPI
ConnectionPoint_GetConnectionInterface
(
IConnectionPoint
*
iface
,
IID
*
pIID
)
{
ConnectionPoint
*
This
=
CONPOINT_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pIID
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pIID
);
if
(
!
pIID
)
return
E_POINTER
;
memcpy
(
pIID
,
&
This
->
iid
,
sizeof
(
IID
));
return
S_OK
;
}
static
HRESULT
WINAPI
ConnectionPoint_GetConnectionPointContainer
(
IConnectionPoint
*
iface
,
...
...
@@ -145,6 +152,7 @@ static void ConnectionPoint_Create(HTMLDocument *doc, REFIID riid, ConnectionPoi
ret
->
lpConnectionPointVtbl
=
&
ConnectionPointVtbl
;
ret
->
doc
=
doc
;
memcpy
(
&
ret
->
iid
,
riid
,
sizeof
(
IID
));
*
cp
=
ret
;
}
...
...
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