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
ab627418
Commit
ab627418
authored
Nov 03, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comsvcs: Implement Inverse() for "new" moniker.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
96b5670a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
main.c
dlls/comsvcs/main.c
+2
-2
comsvcs.c
dlls/comsvcs/tests/comsvcs.c
+1
-4
No files found.
dlls/comsvcs/main.c
View file @
ab627418
...
...
@@ -584,9 +584,9 @@ static HRESULT WINAPI new_moniker_GetTimeOfLastChange(IMoniker *iface, IBindCtx
static
HRESULT
WINAPI
new_moniker_Inverse
(
IMoniker
*
iface
,
IMoniker
**
inverse
)
{
FIXM
E
(
"%p, %p.
\n
"
,
iface
,
inverse
);
TRAC
E
(
"%p, %p.
\n
"
,
iface
,
inverse
);
return
E_NOTIMPL
;
return
CreateAntiMoniker
(
inverse
)
;
}
static
HRESULT
WINAPI
new_moniker_CommonPrefixWith
(
IMoniker
*
iface
,
IMoniker
*
other
,
IMoniker
**
ret
)
...
...
dlls/comsvcs/tests/comsvcs.c
View file @
ab627418
...
...
@@ -358,16 +358,13 @@ todo_wine
ok
(
hr
==
MK_E_NOSTORAGE
,
"Unexpected hr %#x.
\n
"
,
hr
);
hr
=
IMoniker_Inverse
(
moniker
,
&
inverse
);
todo_wine
ok
(
hr
==
S_OK
,
"Failed to create inverse moniker, hr %#x.
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
moniker_type
=
MKSYS_NONE
;
hr
=
IMoniker_IsSystemMoniker
(
inverse
,
&
moniker_type
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
ok
(
moniker_type
==
MKSYS_ANTIMONIKER
,
"Unexpected moniker type %d.
\n
"
,
moniker_type
);
IMoniker_Release
(
inverse
);
}
IMoniker_Release
(
moniker
);
IBindCtx_Release
(
bindctx
);
}
...
...
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