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
6b974380
Commit
6b974380
authored
Dec 26, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Convert some tabs to spaces and some other formatting changes.
parent
fa49c971
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
typelib.c
dlls/oleaut32/typelib.c
+15
-6
No files found.
dlls/oleaut32/typelib.c
View file @
6b974380
...
...
@@ -5335,7 +5335,8 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
hres
=
S_OK
;
numargs
=
1
;
/* sizeof(thisptr) */
numargs2
=
0
;
for
(
i
=
0
;
i
<
func_desc
->
cParams
;
i
++
)
{
for
(
i
=
0
;
i
<
func_desc
->
cParams
;
i
++
)
{
TYPEDESC
*
tdesc
=
&
func_desc
->
lprgelemdescParam
[
i
].
tdesc
;
numargs
+=
_argsize
(
tdesc
->
vt
);
...
...
@@ -5354,13 +5355,15 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
args
[
0
]
=
(
DWORD
)
pIUnk
;
argspos
=
1
;
args2pos
=
0
;
for
(
i
=
0
;
i
<
func_desc
->
cParams
;
i
++
)
{
for
(
i
=
0
;
i
<
func_desc
->
cParams
;
i
++
)
{
ELEMDESC
*
elemdesc
=
&
(
func_desc
->
lprgelemdescParam
[
i
]);
TYPEDESC
*
tdesc
=
&
(
elemdesc
->
tdesc
);
USHORT
paramFlags
=
elemdesc
->
u
.
paramdesc
.
wParamFlags
;
int
arglen
=
_argsize
(
tdesc
->
vt
);
if
(
i
<
pDispParams
->
cArgs
)
{
if
(
i
<
pDispParams
->
cArgs
)
{
VARIANT
*
arg
=
&
rgvarg
[
pDispParams
->
cArgs
-
i
-
1
];
if
(
paramFlags
&
PARAMFLAG_FOPT
)
{
...
...
@@ -5381,7 +5384,9 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
hres
=
_copy_arg
(
iface
,
tdesc
,
&
args
[
argspos
],
arg
,
tdesc
->
vt
);
if
(
FAILED
(
hres
))
goto
func_fail
;
argspos
+=
arglen
;
}
else
if
(
paramFlags
&
PARAMFLAG_FOPT
)
{
}
else
if
(
paramFlags
&
PARAMFLAG_FOPT
)
{
VARIANT
*
arg
=
&
rgvarg
[
i
];
if
(
i
<
func_desc
->
cParams
-
func_desc
->
cParamsOpt
)
...
...
@@ -5395,7 +5400,9 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
hres
=
_copy_arg
(
iface
,
tdesc
,
&
args
[
argspos
],
arg
,
tdesc
->
vt
);
if
(
FAILED
(
hres
))
goto
func_fail
;
argspos
+=
arglen
;
}
else
{
}
else
{
if
(
tdesc
->
vt
==
VT_PTR
)
arglen
=
_argsize
(
tdesc
->
u
.
lptdesc
->
vt
);
else
...
...
@@ -5459,11 +5466,13 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
}
}
if
((
func_desc
->
elemdescFunc
.
tdesc
.
vt
==
VT_HRESULT
)
&&
FAILED
(
res
))
{
if
((
func_desc
->
elemdescFunc
.
tdesc
.
vt
==
VT_HRESULT
)
&&
FAILED
(
res
))
{
WARN
(
"invoked function failed with error 0x%08lx
\n
"
,
res
);
hres
=
DISP_E_EXCEPTION
;
if
(
pExcepInfo
)
pExcepInfo
->
scode
=
res
;
}
func_fail:
HeapFree
(
GetProcessHeap
(),
0
,
rgvarg
);
HeapFree
(
GetProcessHeap
(),
0
,
args2
);
...
...
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