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
1acbdd9d
Commit
1acbdd9d
authored
Nov 02, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Nov 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Make wParamFlags in the paramdesc dumping function human readable.
- Enums should be VT_I4 instead of VT_INT. - Trace the return value from the ITypeInfo_fnInvoke.
parent
da20e4d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
typelib.c
dlls/oleaut32/typelib.c
+14
-3
No files found.
dlls/oleaut32/typelib.c
View file @
1acbdd9d
...
...
@@ -5,6 +5,7 @@
* 1999 Rein Klazes
* 2000 Francois Jacques
* 2001 Huw D M Davies for CodeWeavers
* 2005 Robert Shearman, for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -1073,10 +1074,19 @@ static void dump_TypeDesc(TYPEDESC *pTD,char *szVarType) {
static
void
dump_ELEMDESC
(
ELEMDESC
*
edesc
)
{
char
buf
[
200
];
USHORT
flags
=
edesc
->
u
.
paramdesc
.
wParamFlags
;
dump_TypeDesc
(
&
edesc
->
tdesc
,
buf
);
MESSAGE
(
"
\t\t
tdesc.vartype %d (%s)
\n
"
,
edesc
->
tdesc
.
vt
,
buf
);
MESSAGE
(
"
\t\t
u.parmadesc.flags %x
\n
"
,
edesc
->
u
.
paramdesc
.
wParamFlags
);
MESSAGE
(
"
\t\t
u.parmadesc.lpex %p
\n
"
,
edesc
->
u
.
paramdesc
.
pparamdescex
);
MESSAGE
(
"
\t\t
u.paramdesc.wParamFlags"
);
if
(
!
flags
)
MESSAGE
(
" PARAMFLAGS_NONE"
);
if
(
flags
&
PARAMFLAG_FIN
)
MESSAGE
(
" PARAMFLAG_FIN"
);
if
(
flags
&
PARAMFLAG_FOUT
)
MESSAGE
(
" PARAMFLAG_FOUT"
);
if
(
flags
&
PARAMFLAG_FLCID
)
MESSAGE
(
" PARAMFLAG_FLCID"
);
if
(
flags
&
PARAMFLAG_FRETVAL
)
MESSAGE
(
" PARAMFLAG_FRETVAL"
);
if
(
flags
&
PARAMFLAG_FOPT
)
MESSAGE
(
" PARAMFLAG_FOPT"
);
if
(
flags
&
PARAMFLAG_FHASDEFAULT
)
MESSAGE
(
" PARAMFLAG_FHASDEFAULT"
);
if
(
flags
&
PARAMFLAG_FHASCUSTDATA
)
MESSAGE
(
" PARAMFLAG_FHASCUSTDATA"
);
MESSAGE
(
"
\n\t\t
u.paramdesc.lpex %p
\n
"
,
edesc
->
u
.
paramdesc
.
pparamdescex
);
}
static
void
dump_FUNCDESC
(
FUNCDESC
*
funcdesc
)
{
int
i
;
...
...
@@ -4754,7 +4764,7 @@ static HRESULT userdefined_to_variantvt(ITypeInfo *tinfo, TYPEDESC *tdesc, VARTY
switch
(
tattr
->
typekind
)
{
case
TKIND_ENUM
:
*
vt
|=
VT_I
NT
;
*
vt
|=
VT_I
4
;
break
;
case
TKIND_ALIAS
:
...
...
@@ -5095,6 +5105,7 @@ func_fail:
}
ITypeInfo2_ReleaseFuncDesc
(
iface
,
func_desc
);
TRACE
(
"-- 0x%08lx
\n
"
,
hres
);
return
hres
;
}
else
if
(
SUCCEEDED
(
hres
=
ITypeInfo2_GetVarIndexOfMemId
(
iface
,
memid
,
&
var_index
)))
{
...
...
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