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
356970e5
Commit
356970e5
authored
May 11, 2007
by
Huw Davies
Committed by
Alexandre Julliard
May 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix return value in the element not found case.
parent
a3b8be05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
typelib.c
dlls/oleaut32/tests/typelib.c
+0
-4
typelib.c
dlls/oleaut32/typelib.c
+1
-1
No files found.
dlls/oleaut32/tests/typelib.c
View file @
356970e5
...
...
@@ -623,9 +623,7 @@ todo_wine {
/* Should have six methods */
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
6
,
&
pFD
);
todo_wine
{
ok
(
hr
==
TYPE_E_ELEMENTNOTFOUND
,
"hr %08x
\n
"
,
hr
);
}
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
5
,
&
pFD
);
todo_wine
{
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
...
...
@@ -662,9 +660,7 @@ todo_wine {
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
1
,
&
pFD
);
todo_wine
{
ok
(
hr
==
TYPE_E_ELEMENTNOTFOUND
,
"hr %08x
\n
"
,
hr
);
}
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
0
,
&
pFD
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
pFD
->
memid
==
0x1c
,
"memid %08x
\n
"
,
pFD
->
memid
);
...
...
dlls/oleaut32/typelib.c
View file @
356970e5
...
...
@@ -4692,7 +4692,7 @@ HRESULT ITypeInfoImpl_GetInternalFuncDesc( ITypeInfo *iface, UINT index, const F
return
S_OK
;
}
return
E_INVALIDARG
;
return
TYPE_E_ELEMENTNOTFOUND
;
}
/* internal function to make the inherited interfaces' methods appear
...
...
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