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
38994a42
Commit
38994a42
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: Added returns as arguments in interfaces with oleautomation flag.
parent
dc0d29c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
typelib.c
programs/oleview/typelib.c
+14
-11
No files found.
programs/oleview/typelib.c
View file @
38994a42
...
...
@@ -522,16 +522,6 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
if
(
FAILED
(
ITypeInfo_GetDocumentation
(
pTypeInfo
,
pFuncDesc
->
memid
,
&
bstrName
,
&
bstrHelpString
,
NULL
,
NULL
)))
continue
;
bstrParamNames
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
BSTR
*
)
*
(
pFuncDesc
->
cParams
+
1
));
if
(
FAILED
(
ITypeInfo_GetNames
(
pTypeInfo
,
pFuncDesc
->
memid
,
bstrParamNames
,
pFuncDesc
->
cParams
+
1
,
&
namesNo
)))
{
HeapFree
(
GetProcessHeap
(),
0
,
bstrParamNames
);
continue
;
}
SysFreeString
(
bstrParamNames
[
0
]);
memset
(
wszText
,
0
,
sizeof
(
wszText
));
memset
(
wszAfter
,
0
,
sizeof
(
wszAfter
));
tld
=
InitializeTLData
();
...
...
@@ -605,12 +595,25 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
AddToTLDataStrW
(
tld
,
wszNewLine
);
}
if
(
pTypeAttr
->
wTypeFlags
&
TYPEFLAG_FOLEAUTOMATION
)
if
(
pTypeAttr
->
wTypeFlags
&
TYPEFLAG_FOLEAUTOMATION
)
{
AddToTLDataStrW
(
tld
,
wszVT_HRESULT
);
if
(
strcmpW
(
wszText
,
wszVT_VOID
))
pFuncDesc
->
cParams
++
;
}
else
{
AddToTLDataStrW
(
tld
,
wszText
);
AddToTLDataStrW
(
tld
,
wszAfter
);
}
bstrParamNames
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
BSTR
*
)
*
(
pFuncDesc
->
cParams
+
1
));
if
(
FAILED
(
ITypeInfo_GetNames
(
pTypeInfo
,
pFuncDesc
->
memid
,
bstrParamNames
,
pFuncDesc
->
cParams
+
1
,
&
namesNo
)))
{
HeapFree
(
GetProcessHeap
(),
0
,
bstrParamNames
);
continue
;
}
SysFreeString
(
bstrParamNames
[
0
]);
AddToTLDataStrW
(
tld
,
wszSpace
);
if
(
pFuncDesc
->
memid
>=
MIN_FUNC_ID
)
{
...
...
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