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
574a52e5
Commit
574a52e5
authored
Jun 12, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add VT_I1 to the list of supported variant types.
parent
eeb550c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
ole2.c
dlls/ole32/ole2.c
+6
-3
propvariant.c
dlls/ole32/tests/propvariant.c
+1
-1
No files found.
dlls/ole32/ole2.c
View file @
574a52e5
...
...
@@ -2907,8 +2907,10 @@ static inline HRESULT PROPVARIANT_ValidateType(VARTYPE vt)
{
case
VT_EMPTY
:
case
VT_NULL
:
case
VT_I1
:
case
VT_I2
:
case
VT_I4
:
case
VT_I8
:
case
VT_R4
:
case
VT_R8
:
case
VT_CY
:
...
...
@@ -2920,7 +2922,6 @@ static inline HRESULT PROPVARIANT_ValidateType(VARTYPE vt)
case
VT_UI1
:
case
VT_UI2
:
case
VT_UI4
:
case
VT_I8
:
case
VT_UI8
:
case
VT_LPSTR
:
case
VT_LPWSTR
:
...
...
@@ -2933,8 +2934,10 @@ static inline HRESULT PROPVARIANT_ValidateType(VARTYPE vt)
case
VT_BLOB_OBJECT
:
case
VT_CF
:
case
VT_CLSID
:
case
VT_I1
|
VT_VECTOR
:
case
VT_I2
|
VT_VECTOR
:
case
VT_I4
|
VT_VECTOR
:
case
VT_I8
|
VT_VECTOR
:
case
VT_R4
|
VT_VECTOR
:
case
VT_R8
|
VT_VECTOR
:
case
VT_CY
|
VT_VECTOR
:
...
...
@@ -2946,7 +2949,6 @@ static inline HRESULT PROPVARIANT_ValidateType(VARTYPE vt)
case
VT_UI1
|
VT_VECTOR
:
case
VT_UI2
|
VT_VECTOR
:
case
VT_UI4
|
VT_VECTOR
:
case
VT_I8
|
VT_VECTOR
:
case
VT_UI8
|
VT_VECTOR
:
case
VT_LPSTR
|
VT_VECTOR
:
case
VT_LPWSTR
|
VT_VECTOR
:
...
...
@@ -2979,8 +2981,10 @@ HRESULT WINAPI PropVariantClear(PROPVARIANT * pvar) /* [in/out] */
{
case
VT_EMPTY
:
case
VT_NULL
:
case
VT_I1
:
case
VT_I2
:
case
VT_I4
:
case
VT_I8
:
case
VT_R4
:
case
VT_R8
:
case
VT_CY
:
...
...
@@ -2991,7 +2995,6 @@ HRESULT WINAPI PropVariantClear(PROPVARIANT * pvar) /* [in/out] */
case
VT_UI1
:
case
VT_UI2
:
case
VT_UI4
:
case
VT_I8
:
case
VT_UI8
:
case
VT_FILETIME
:
break
;
...
...
dlls/ole32/tests/propvariant.c
View file @
574a52e5
...
...
@@ -56,7 +56,7 @@ static const struct valid_mapping
{
PROP_V1
|
PROP_TODO
,
PROP_V1
|
PROP_TODO
,
PROP_INV
,
PROP_V1
|
PROP_TODO
},
/* VT_UNKNOWN */
{
PROP_V1
,
PROP_V1
|
PROP_TODO
,
PROP_INV
,
PROP_V1
|
PROP_TODO
},
/* VT_DECIMAL */
{
PROP_INV
,
PROP_INV
,
PROP_INV
,
PROP_INV
},
/* 15 */
{
PROP_V1
|
PROP_TODO
,
PROP_V1
|
PROP_TODO
,
PROP_V1
|
PROP_TODO
,
PROP_V1
|
PROP_TODO
},
/* VT_I1 */
{
PROP_V1
,
PROP_V1
|
PROP_TODO
,
PROP_V1
,
PROP_V1
|
PROP_TODO
},
/* VT_I1 */
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_UI1 */
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_UI2 */
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_UI4 */
...
...
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