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
65598b97
Commit
65598b97
authored
Sep 23, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implemented IConnectionPoint_Advise for document object.
parent
55ff2549
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
4 deletions
+35
-4
domdoc.c
dlls/msxml3/domdoc.c
+35
-4
No files found.
dlls/msxml3/domdoc.c
View file @
65598b97
...
...
@@ -3248,12 +3248,43 @@ static HRESULT WINAPI ConnectionPoint_GetConnectionPointContainer(IConnectionPoi
return
S_OK
;
}
static
HRESULT
WINAPI
ConnectionPoint_Advise
(
IConnectionPoint
*
iface
,
IUnknown
*
pUnkS
ink
,
DWORD
*
pdwC
ookie
)
static
HRESULT
WINAPI
ConnectionPoint_Advise
(
IConnectionPoint
*
iface
,
IUnknown
*
unk_s
ink
,
DWORD
*
c
ookie
)
{
ConnectionPoint
*
This
=
impl_from_IConnectionPoint
(
iface
);
FIXME
(
"(%p)->(%p %p): stub
\n
"
,
This
,
pUnkSink
,
pdwCookie
);
return
E_NOTIMPL
;
IUnknown
*
sink
;
HRESULT
hr
;
int
i
;
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
unk_sink
,
cookie
);
hr
=
IUnknown_QueryInterface
(
unk_sink
,
This
->
iid
,
(
void
**
)
&
sink
);
if
(
FAILED
(
hr
)
&&
!
IsEqualGUID
(
&
IID_IPropertyNotifySink
,
This
->
iid
))
hr
=
IUnknown_QueryInterface
(
unk_sink
,
&
IID_IDispatch
,
(
void
**
)
&
sink
);
if
(
FAILED
(
hr
))
return
CONNECT_E_CANNOTCONNECT
;
if
(
This
->
sinks
)
{
for
(
i
=
0
;
i
<
This
->
sinks_size
;
i
++
)
if
(
!
This
->
sinks
[
i
].
unk
)
break
;
if
(
i
==
This
->
sinks_size
)
This
->
sinks
=
heap_realloc
(
This
->
sinks
,(
++
This
->
sinks_size
)
*
sizeof
(
*
This
->
sinks
));
}
else
{
This
->
sinks
=
heap_alloc
(
sizeof
(
*
This
->
sinks
));
This
->
sinks_size
=
1
;
i
=
0
;
}
This
->
sinks
[
i
].
unk
=
sink
;
if
(
cookie
)
*
cookie
=
i
+
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
ConnectionPoint_Unadvise
(
IConnectionPoint
*
iface
,
DWORD
cookie
)
...
...
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