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
3e542bc6
Commit
3e542bc6
authored
Aug 19, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Aug 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Map INT and UINT typedesc's to VT_I4 and VT_UI4.
parent
2ae20e45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
tmarshal.c
dlls/oleaut32/tests/tmarshal.c
+2
-2
typelib.c
dlls/oleaut32/typelib.c
+6
-0
No files found.
dlls/oleaut32/tests/tmarshal.c
View file @
3e542bc6
...
...
@@ -1324,7 +1324,7 @@ todo_wine
dispparams
.
rgdispidNamedArgs
=
NULL
;
hr
=
IDispatch_Invoke
(
pDispatch
,
DISPID_TM_PROP_INT
,
&
IID_NULL
,
0x40c
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
&
varresult
,
&
excepinfo
,
NULL
);
ok_ole_success
(
hr
,
ITypeInfo_Invoke
);
todo_wine
ok
(
V_VT
(
&
varresult
)
==
VT_I4
,
"got %x
\n
"
,
V_VT
(
&
varresult
));
ok
(
V_VT
(
&
varresult
)
==
VT_I4
,
"got %x
\n
"
,
V_VT
(
&
varresult
));
ok
(
V_I4
(
&
varresult
)
==
-
13
,
"got %x
\n
"
,
V_I4
(
&
varresult
));
VariantClear
(
&
varresult
);
...
...
@@ -1335,7 +1335,7 @@ todo_wine
dispparams
.
rgdispidNamedArgs
=
NULL
;
hr
=
IDispatch_Invoke
(
pDispatch
,
DISPID_TM_PROP_UINT
,
&
IID_NULL
,
0x40c
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
&
varresult
,
&
excepinfo
,
NULL
);
ok_ole_success
(
hr
,
ITypeInfo_Invoke
);
todo_wine
ok
(
V_VT
(
&
varresult
)
==
VT_UI4
,
"got %x
\n
"
,
V_VT
(
&
varresult
));
ok
(
V_VT
(
&
varresult
)
==
VT_UI4
,
"got %x
\n
"
,
V_VT
(
&
varresult
));
ok
(
V_UI4
(
&
varresult
)
==
42
,
"got %x
\n
"
,
V_UI4
(
&
varresult
));
VariantClear
(
&
varresult
);
...
...
dlls/oleaut32/typelib.c
View file @
3e542bc6
...
...
@@ -5874,6 +5874,12 @@ static HRESULT typedescvt_to_variantvt(ITypeInfo *tinfo, const TYPEDESC *tdesc,
*
vt
|=
VT_ARRAY
;
hr
=
typedescvt_to_variantvt
(
tinfo
,
tdesc
->
u
.
lptdesc
,
vt
);
break
;
case
VT_INT
:
*
vt
|=
VT_I4
;
break
;
case
VT_UINT
:
*
vt
|=
VT_UI4
;
break
;
default:
*
vt
|=
tdesc
->
vt
;
break
;
...
...
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