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
cc86f689
Commit
cc86f689
authored
Sep 12, 2008
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Sep 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Add some missing simple types to _argsize and _xsize.
parent
8b36e715
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
tmarshal.c
dlls/oleaut32/tmarshal.c
+8
-1
No files found.
dlls/oleaut32/tmarshal.c
View file @
cc86f689
...
...
@@ -511,6 +511,7 @@ static const IRpcProxyBufferVtbl tmproxyvtable = {
static
int
_argsize
(
TYPEDESC
*
tdesc
,
ITypeInfo
*
tinfo
)
{
switch
(
tdesc
->
vt
)
{
case
VT_I8
:
case
VT_UI8
:
return
8
/
sizeof
(
DWORD
);
case
VT_R8
:
...
...
@@ -519,6 +520,8 @@ _argsize(TYPEDESC *tdesc, ITypeInfo *tinfo) {
return
sizeof
(
CY
)
/
sizeof
(
DWORD
);
case
VT_DATE
:
return
sizeof
(
DATE
)
/
sizeof
(
DWORD
);
case
VT_DECIMAL
:
return
(
sizeof
(
DECIMAL
)
+
3
)
/
sizeof
(
DWORD
);
case
VT_VARIANT
:
return
(
sizeof
(
VARIANT
)
+
3
)
/
sizeof
(
DWORD
);
default:
...
...
@@ -532,8 +535,11 @@ _xsize(const TYPEDESC *td, ITypeInfo *tinfo) {
switch
(
td
->
vt
)
{
case
VT_DATE
:
return
sizeof
(
DATE
);
case
VT_CY
:
return
sizeof
(
CY
);
/* FIXME: VT_BOOL should return 2? */
case
VT_VARIANT
:
return
sizeof
(
VARIANT
)
+
3
;
return
sizeof
(
VARIANT
)
+
3
;
/* FIXME: why the +3? */
case
VT_CARRAY
:
{
int
i
,
arrsize
=
1
;
const
ARRAYDESC
*
adesc
=
td
->
u
.
lpadesc
;
...
...
@@ -544,6 +550,7 @@ _xsize(const TYPEDESC *td, ITypeInfo *tinfo) {
}
case
VT_UI8
:
case
VT_I8
:
case
VT_R8
:
return
8
;
case
VT_UI2
:
case
VT_I2
:
...
...
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