Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
b9956f75
Commit
b9956f75
authored
14 years ago
by
Nikolay Sivov
Committed by
Alexandre Julliard
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
msxml3: Add ::Unadvise().
parent
fe3ff2ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/msxml3/domdoc.c
+21
-4
21 additions, 4 deletions
dlls/msxml3/domdoc.c
with
21 additions
and
4 deletions
dlls/msxml3/domdoc.c
+
21
−
4
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment