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
b9956f75
Commit
b9956f75
authored
Oct 23, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add ::Unadvise().
parent
fe3ff2ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
domdoc.c
dlls/msxml3/domdoc.c
+21
-4
No files found.
dlls/msxml3/domdoc.c
View file @
b9956f75
...
...
@@ -91,6 +91,14 @@ struct ConnectionPoint
ConnectionPoint
*
next
;
IConnectionPointContainer
*
container
;
domdoc
*
doc
;
union
{
IUnknown
*
unk
;
IDispatch
*
disp
;
IPropertyNotifySink
*
propnotif
;
}
*
sinks
;
DWORD
sinks_size
;
};
struct
domdoc
...
...
@@ -2929,11 +2937,19 @@ static HRESULT WINAPI ConnectionPoint_Advise(IConnectionPoint *iface, IUnknown *
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ConnectionPoint_Unadvise
(
IConnectionPoint
*
iface
,
DWORD
dwC
ookie
)
static
HRESULT
WINAPI
ConnectionPoint_Unadvise
(
IConnectionPoint
*
iface
,
DWORD
c
ookie
)
{
ConnectionPoint
*
This
=
impl_from_IConnectionPoint
(
iface
);
FIXME
(
"(%p)->(%d): stub
\n
"
,
This
,
dwCookie
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
cookie
);
if
(
cookie
==
0
||
cookie
>
This
->
sinks_size
||
!
This
->
sinks
[
cookie
-
1
].
unk
)
return
CONNECT_E_NOCONNECTION
;
IUnknown_Release
(
This
->
sinks
[
cookie
-
1
].
unk
);
This
->
sinks
[
cookie
-
1
].
unk
=
NULL
;
return
S_OK
;
}
static
HRESULT
WINAPI
ConnectionPoint_EnumConnections
(
IConnectionPoint
*
iface
,
...
...
@@ -2961,7 +2977,8 @@ void ConnectionPoint_Init(ConnectionPoint *cp, struct domdoc *doc, REFIID riid)
cp
->
lpVtblConnectionPoint
=
&
ConnectionPointVtbl
;
cp
->
doc
=
doc
;
cp
->
iid
=
riid
;
cp
->
next
=
NULL
;
cp
->
sinks
=
NULL
;
cp
->
sinks_size
=
0
;
cp
->
next
=
doc
->
cp_list
;
doc
->
cp_list
=
cp
;
...
...
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