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
5356c945
Commit
5356c945
authored
Apr 21, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add support for VT_DISPATCH/VT_UNKNOWN to PropVariantClear and PropVariantCopy.
parent
c6dbb33e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
ole2.c
dlls/ole32/ole2.c
+6
-0
propvariant.c
dlls/ole32/tests/propvariant.c
+2
-2
No files found.
dlls/ole32/ole2.c
View file @
5356c945
...
...
@@ -2869,6 +2869,8 @@ static inline HRESULT PROPVARIANT_ValidateType(VARTYPE vt)
case
VT_LPWSTR
:
case
VT_FILETIME
:
case
VT_BLOB
:
case
VT_DISPATCH
:
case
VT_UNKNOWN
:
case
VT_STREAM
:
case
VT_STORAGE
:
case
VT_STREAMED_OBJECT
:
...
...
@@ -2945,6 +2947,8 @@ HRESULT WINAPI PropVariantClear(PROPVARIANT * pvar) /* [in/out] */
case
VT_UINT
:
case
VT_FILETIME
:
break
;
case
VT_DISPATCH
:
case
VT_UNKNOWN
:
case
VT_STREAM
:
case
VT_STREAMED_OBJECT
:
case
VT_STORAGE
:
...
...
@@ -3058,6 +3062,8 @@ HRESULT WINAPI PropVariantCopy(PROPVARIANT *pvarDest, /* [out] */
case
VT_DATE
:
case
VT_FILETIME
:
break
;
case
VT_DISPATCH
:
case
VT_UNKNOWN
:
case
VT_STREAM
:
case
VT_STREAMED_OBJECT
:
case
VT_STORAGE
:
...
...
dlls/ole32/tests/propvariant.c
View file @
5356c945
...
...
@@ -51,11 +51,11 @@ static const struct valid_mapping
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_CY */
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_DATE */
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_BSTR */
{
PROP_V1
|
PROP_TODO
,
PROP_V1
|
PROP_TODO
,
PROP_INV
,
PROP_V1
|
PROP_TODO
},
/* VT_DISPATCH */
{
PROP_V1
,
PROP_V1
|
PROP_TODO
,
PROP_INV
,
PROP_V1
|
PROP_TODO
},
/* VT_DISPATCH */
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_ERROR */
{
PROP_V0
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_BOOL */
{
PROP_V1
|
PROP_TODO
,
PROP_V1
|
PROP_TODO
,
PROP_V0
,
PROP_V1
|
PROP_TODO
},
/* VT_VARIANT */
{
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_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_V1
|
PROP_TODO
,
PROP_V1
,
PROP_V1
|
PROP_TODO
},
/* VT_I1 */
...
...
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