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
d4cb7010
Commit
d4cb7010
authored
May 27, 2023
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/antimoniker: Fix Enum() return error code.
parent
8e4b95e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
antimoniker.c
dlls/ole32/antimoniker.c
+3
-7
moniker.c
dlls/ole32/tests/moniker.c
+3
-1
No files found.
dlls/ole32/antimoniker.c
View file @
d4cb7010
...
...
@@ -294,16 +294,12 @@ AntiMonikerImpl_ComposeWith(IMoniker* iface, IMoniker* pmkRight,
return
CreateGenericComposite
(
iface
,
pmkRight
,
ppmkComposite
);
}
/******************************************************************************
* AntiMoniker_Enum
******************************************************************************/
static
HRESULT
WINAPI
AntiMonikerImpl_Enum
(
IMoniker
*
iface
,
BOOL
fForward
,
IEnumMoniker
**
ppenumMoniker
)
static
HRESULT
WINAPI
AntiMonikerImpl_Enum
(
IMoniker
*
iface
,
BOOL
forward
,
IEnumMoniker
**
ppenumMoniker
)
{
TRACE
(
"
(%p,%d,%p)
\n
"
,
iface
,
fForward
,
ppenumMoniker
);
TRACE
(
"
%p, %d, %p.
\n
"
,
iface
,
forward
,
ppenumMoniker
);
if
(
ppenumMoniker
==
NULL
)
return
E_
POINTER
;
return
E_
INVALIDARG
;
*
ppenumMoniker
=
NULL
;
...
...
dlls/ole32/tests/moniker.c
View file @
d4cb7010
...
...
@@ -3037,7 +3037,9 @@ static void test_anti_moniker(void)
ok
(
!
enummoniker
,
"Unexpected pointer.
\n
"
);
hr
=
IMoniker_Enum
(
moniker
,
FALSE
,
NULL
);
todo_wine
ok
(
hr
==
E_INVALIDARG
,
"Unexpected hr %#lx.
\n
"
,
hr
);
hr
=
IMoniker_Enum
(
moniker
,
TRUE
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"Unexpected hr %#lx.
\n
"
,
hr
);
/* CommonPrefixWith() */
...
...
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