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
bd4437f1
Commit
bd4437f1
authored
Apr 09, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Fixed idl files generation with oleautomation flag.
parent
4e51c022
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
typelib.c
programs/oleview/typelib.c
+13
-6
No files found.
programs/oleview/typelib.c
View file @
bd4437f1
...
...
@@ -493,9 +493,10 @@ static int EnumEnums(ITypeInfo *pTypeInfo, int cVars, HTREEITEM hParent)
return
0
;
}
static
int
EnumFuncs
(
ITypeInfo
*
pTypeInfo
,
int
cFuncs
,
HTREEITEM
hParent
)
static
int
EnumFuncs
(
ITypeInfo
*
pTypeInfo
,
TYPEATTR
*
pTypeAttr
,
HTREEITEM
hParent
)
{
int
i
,
j
;
int
cFuncs
;
unsigned
namesNo
;
TVINSERTSTRUCT
tvis
;
FUNCDESC
*
pFuncDesc
;
...
...
@@ -509,6 +510,8 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
tvis
.
hInsertAfter
=
(
HTREEITEM
)
TVI_LAST
;
tvis
.
hParent
=
hParent
;
cFuncs
=
pTypeAttr
->
cFuncs
;
for
(
i
=
0
;
i
<
cFuncs
;
i
++
)
{
TYPELIB_DATA
*
tld
;
...
...
@@ -600,8 +603,12 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
AddToTLDataStrW
(
tld
,
wszNewLine
);
}
AddToTLDataStrW
(
tld
,
wszText
);
AddToTLDataStrW
(
tld
,
wszAfter
);
if
(
pTypeAttr
->
wTypeFlags
&
TYPEFLAG_FOLEAUTOMATION
)
AddToTLDataStrW
(
tld
,
wszVT_HRESULT
);
else
{
AddToTLDataStrW
(
tld
,
wszText
);
AddToTLDataStrW
(
tld
,
wszAfter
);
}
AddToTLDataStrW
(
tld
,
wszSpace
);
if
(
pFuncDesc
->
memid
>=
MIN_FUNC_ID
)
{
...
...
@@ -735,7 +742,7 @@ static int EnumImplTypes(ITypeInfo *pTypeInfo, int cImplTypes, HTREEITEM hParent
hParent
=
TreeView_InsertItem
(
typelib
.
hTree
,
&
tvis
);
EnumVars
(
pRefTypeInfo
,
pTypeAttr
->
cVars
,
hParent
);
EnumFuncs
(
pRefTypeInfo
,
pTypeAttr
->
cFuncs
,
hParent
);
EnumFuncs
(
pRefTypeInfo
,
pTypeAttr
,
hParent
);
EnumImplTypes
(
pRefTypeInfo
,
pTypeAttr
->
cImplTypes
,
hParent
);
SysFreeString
(
bstrName
);
...
...
@@ -1195,7 +1202,7 @@ static int PopulateTree(void)
AddToTLDataStrW
(
tld
,
wszColon
);
AddToTLDataStrW
(
tld
,
wszNewLine
);
tvis
.
hParent
=
TreeView_InsertItem
(
typelib
.
hTree
,
&
tvis
);
EnumFuncs
(
pTypeInfo
,
pTypeAttr
->
cFuncs
,
tvis
.
hParent
);
EnumFuncs
(
pTypeInfo
,
pTypeAttr
,
tvis
.
hParent
);
AddChildrenData
(
tvis
.
hParent
,
tld
);
EnumImplTypes
(
pTypeInfo
,
pTypeAttr
->
cImplTypes
,
hParent
);
...
...
@@ -1254,7 +1261,7 @@ static int PopulateTree(void)
hParent
=
TreeView_InsertItem
(
typelib
.
hTree
,
&
tvis
);
EnumVars
(
pTypeInfo
,
pTypeAttr
->
cVars
,
hParent
);
EnumFuncs
(
pTypeInfo
,
pTypeAttr
->
cFuncs
,
hParent
);
EnumFuncs
(
pTypeInfo
,
pTypeAttr
,
hParent
);
EnumImplTypes
(
pTypeInfo
,
pTypeAttr
->
cImplTypes
,
hParent
);
if
(
memcmp
(
bstrName
,
wszVT_UNKNOWN
,
sizeof
(
wszVT_UNKNOWN
)))
...
...
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