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
4e51c022
Commit
4e51c022
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 dual interfaces.
parent
d19f1673
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
main.h
programs/oleview/main.h
+1
-0
typelib.c
programs/oleview/typelib.c
+8
-3
No files found.
programs/oleview/main.h
View file @
4e51c022
...
...
@@ -120,6 +120,7 @@ typedef struct
WCHAR
wszInsertAfter
[
MAX_LOAD_STRING
];
INT
idlLen
;
BOOL
bPredefine
;
BOOL
bHide
;
}
TYPELIB_DATA
;
extern
GLOBALS
globals
;
...
...
programs/oleview/typelib.c
View file @
4e51c022
...
...
@@ -758,8 +758,10 @@ static void AddIdlData(HTREEITEM hCur, TYPELIB_DATA *pTLData)
{
tvi
.
hItem
=
hCur
;
SendMessage
(
typelib
.
hTree
,
TVM_GETITEM
,
0
,
(
LPARAM
)
&
tvi
);
AddToTLDataStrW
(
pTLData
,
wszNewLine
);
AddToTLDataStrWithTabsW
(
pTLData
,
((
TYPELIB_DATA
*
)(
tvi
.
lParam
))
->
idl
);
if
(
!
((
TYPELIB_DATA
*
)(
tvi
.
lParam
))
->
bHide
)
{
AddToTLDataStrW
(
pTLData
,
wszNewLine
);
AddToTLDataStrWithTabsW
(
pTLData
,
((
TYPELIB_DATA
*
)(
tvi
.
lParam
))
->
idl
);
}
hCur
=
TreeView_GetNextSibling
(
typelib
.
hTree
,
hCur
);
}
}
...
...
@@ -788,7 +790,8 @@ static void AddPredefinitions(HTREEITEM hFirst, TYPELIB_DATA *pTLData)
{
tvi
.
hItem
=
hCur
;
SendMessage
(
typelib
.
hTree
,
TVM_GETITEM
,
0
,
(
LPARAM
)
&
tvi
);
if
(((
TYPELIB_DATA
*
)(
tvi
.
lParam
))
->
bPredefine
)
if
(((
TYPELIB_DATA
*
)(
tvi
.
lParam
))
->
bPredefine
&&
!
((
TYPELIB_DATA
*
)(
tvi
.
lParam
))
->
bHide
)
{
AddToStrW
(
wszText
,
wszSemicolon
);
AddToTLDataStrWithTabsW
(
pTLData
,
wszText
);
...
...
@@ -1164,6 +1167,8 @@ static int PopulateTree(void)
CreateInterfaceInfo
(
pTypeInfo
,
pTypeAttr
->
cImplTypes
,
bstrName
,
bstrData
,
ulHelpContext
,
pTypeAttr
,
tld
);
tld
->
bPredefine
=
TRUE
;
if
(
pTypeAttr
->
wTypeFlags
&
TYPEFLAG_FDUAL
)
tld
->
bHide
=
TRUE
;
AddToStrW
(
wszText
,
wszTKIND_DISPATCH
);
AddToStrW
(
wszText
,
bstrName
);
...
...
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