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
af1c1484
Commit
af1c1484
authored
Apr 11, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Skip IDispatch functions in dual interfaces properly.
parent
e314ef69
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
typelib.c
programs/oleview/typelib.c
+8
-3
No files found.
programs/oleview/typelib.c
View file @
af1c1484
...
...
@@ -512,12 +512,17 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
cFuncs
=
pTypeAttr
->
cFuncs
;
for
(
i
=
0
;
i
<
cFuncs
;
i
++
)
i
=
0
;
if
(
pTypeAttr
->
wTypeFlags
&
TYPEFLAG_FDUAL
)
{
/* skip 7 members of IDispatch */
cFuncs
+=
7
;
i
+=
7
;
}
for
(;
i
<
cFuncs
;
i
++
)
{
TYPELIB_DATA
*
tld
;
if
(
FAILED
(
ITypeInfo_GetFuncDesc
(
pTypeInfo
,
i
,
&
pFuncDesc
)))
continue
;
if
(
pTypeAttr
->
wTypeFlags
&
TYPEFLAG_FDUAL
&&
pFuncDesc
->
memid
>=
MIN_FUNC_ID
)
continue
;
if
(
FAILED
(
ITypeInfo_GetDocumentation
(
pTypeInfo
,
pFuncDesc
->
memid
,
&
bstrName
,
&
bstrHelpString
,
NULL
,
NULL
)))
continue
;
...
...
@@ -529,7 +534,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
U
(
tvis
).
item
.
pszText
=
bstrName
;
U
(
tvis
).
item
.
lParam
=
(
LPARAM
)
tld
;
bFirst
=
TRUE
;
if
(
pFuncDesc
->
memid
<
MIN_FUNC_ID
)
if
(
pFuncDesc
->
memid
<
MIN_FUNC_ID
||
pTypeAttr
->
wTypeFlags
&
TYPEFLAG_FDUAL
)
{
AddToTLDataStrW
(
tld
,
wszOpenBrackets1
);
bFirst
=
FALSE
;
...
...
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