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
f1123366
Commit
f1123366
authored
Nov 05, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comsvcs: Add Enum() for "new" moniker.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2ede7a5a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
main.c
dlls/comsvcs/main.c
+7
-2
comsvcs.c
dlls/comsvcs/tests/comsvcs.c
+8
-0
No files found.
dlls/comsvcs/main.c
View file @
f1123366
...
...
@@ -543,9 +543,14 @@ static HRESULT WINAPI new_moniker_ComposeWith(IMoniker *iface, IMoniker *mkRight
static
HRESULT
WINAPI
new_moniker_Enum
(
IMoniker
*
iface
,
BOOL
forward
,
IEnumMoniker
**
enum_moniker
)
{
FIXM
E
(
"%p, %d, %p.
\n
"
,
iface
,
forward
,
enum_moniker
);
TRAC
E
(
"%p, %d, %p.
\n
"
,
iface
,
forward
,
enum_moniker
);
return
E_NOTIMPL
;
if
(
!
enum_moniker
)
return
E_POINTER
;
*
enum_moniker
=
NULL
;
return
S_OK
;
}
static
HRESULT
WINAPI
new_moniker_IsEqual
(
IMoniker
*
iface
,
IMoniker
*
other_moniker
)
...
...
dlls/comsvcs/tests/comsvcs.c
View file @
f1123366
...
...
@@ -364,6 +364,14 @@ todo_wine
ok
(
moniker_type
==
MKSYS_ANTIMONIKER
,
"Unexpected moniker type %d.
\n
"
,
moniker_type
);
IMoniker_Release
(
inverse
);
hr
=
IMoniker_Enum
(
moniker
,
FALSE
,
NULL
);
ok
(
hr
==
E_POINTER
,
"Unexpected hr %#x.
\n
"
,
hr
);
obj
=
(
IUnknown
*
)
moniker
;
hr
=
IMoniker_Enum
(
moniker
,
FALSE
,
(
IEnumMoniker
**
)
&
obj
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
ok
(
obj
==
NULL
,
"Unexpected return value.
\n
"
);
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