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
01fefd63
Commit
01fefd63
authored
Mar 31, 2004
by
Kevin Koltzau
Committed by
Alexandre Julliard
Mar 31, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented IsEqual.
parent
86976d53
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
umon.c
dlls/urlmon/umon.c
+27
-2
No files found.
dlls/urlmon/umon.c
View file @
01fefd63
...
...
@@ -643,9 +643,34 @@ static HRESULT WINAPI URLMonikerImpl_Enum(IMoniker* iface,BOOL fForward, IEnumMo
static
HRESULT
WINAPI
URLMonikerImpl_IsEqual
(
IMoniker
*
iface
,
IMoniker
*
pmkOtherMoniker
)
{
ICOM_THIS
(
URLMonikerImpl
,
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
pmkOtherMoniker
);
CLSID
clsid
;
LPOLESTR
urlPath
;
IBindCtx
*
bind
;
HRESULT
res
;
return
E_NOTIMPL
;
TRACE
(
"(%p,%p)
\n
"
,
This
,
pmkOtherMoniker
);
if
(
pmkOtherMoniker
==
NULL
)
return
E_INVALIDARG
;
IMoniker_GetClassID
(
pmkOtherMoniker
,
&
clsid
);
if
(
!
IsEqualCLSID
(
&
clsid
,
&
CLSID_StdURLMoniker
))
return
S_FALSE
;
res
=
CreateBindCtx
(
0
,
&
bind
);
if
(
FAILED
(
res
))
return
res
;
res
=
S_FALSE
;
if
(
SUCCEEDED
(
IMoniker_GetDisplayName
(
pmkOtherMoniker
,
bind
,
NULL
,
&
urlPath
)))
{
int
result
=
lstrcmpiW
(
urlPath
,
This
->
URLName
);
CoTaskMemFree
(
urlPath
);
if
(
result
==
0
)
res
=
S_OK
;
}
IUnknown_Release
(
bind
);
return
res
;
}
...
...
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