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
926d3a88
Commit
926d3a88
authored
Mar 17, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Improve ITypeInfo2 GetRefTypeOfImplType implementation.
parent
15956152
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
typelib2.c
dlls/oleaut32/typelib2.c
+6
-5
No files found.
dlls/oleaut32/typelib2.c
View file @
926d3a88
...
...
@@ -3016,17 +3016,18 @@ static HRESULT WINAPI ITypeInfo2_fnGetRefTypeOfImplType(
if
(
!
pRefType
)
return
E_INVALIDARG
;
if
(
index
==
-
1
)
{
if
((
This
->
typeinfo
->
typekind
&
0xf
)
==
TKIND_DISPATCH
&&
(
This
->
typeinfo
->
flags
&
TYPEFLAG_FDUAL
))
{
if
(
This
->
typeinfo
->
flags
&
TYPEFLAG_FDUAL
)
{
if
(
index
==
-
1
)
{
*
pRefType
=
-
2
;
return
S_OK
;
}
return
TYPE_E_ELEMENTNOTFOUND
;
if
(
This
->
typekind
==
TKIND_DISPATCH
)
return
ITypeInfo2_GetRefTypeOfImplType
((
ITypeInfo2
*
)
&
This
->
dual
->
lpVtblTypeInfo2
,
index
,
pRefType
);
}
if
(
index
>=
This
->
typeinfo
->
cImplTypes
)
if
(
index
>=
This
->
typeinfo
->
cImplTypes
)
return
TYPE_E_ELEMENTNOTFOUND
;
if
(
This
->
typekind
==
TKIND_INTERFACE
)
{
...
...
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