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
962b81d6
Commit
962b81d6
authored
Mar 06, 2003
by
Adam Gundy
Committed by
Alexandre Julliard
Mar 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle coercing VT_DISPATCH into VT_PTR.
parent
292d8429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
variant.c
dlls/oleaut32/variant.c
+4
-1
No files found.
dlls/oleaut32/variant.c
View file @
962b81d6
...
...
@@ -1758,7 +1758,7 @@ static HRESULT Coerce( VARIANTARG* pd, LCID lcid, ULONG dwFlags, VARIANTARG* ps,
case
VT_BSTR
:
case
VT_ERROR
:
case
VT_BOOL
:
case
VT_VARIANT
:
case
VT_DECIMAL
:
case
VT_I1
:
case
VT_UI1
:
case
VT_UI2
:
case
VT_UI4
:
case
VT_I8
:
case
VT_UI8
:
case
VT_INT
:
case
VT_UINT
:
case
VT_VOID
:
case
VT_HRESULT
:
case
VT_PTR
:
case
VT_UINT
:
case
VT_VOID
:
case
VT_HRESULT
:
case
VT_SAFEARRAY
:
case
VT_CARRAY
:
case
VT_USERDEFINED
:
case
VT_LPSTR
:
case
VT_LPWSTR
:
case
VT_RECORD
:
case
VT_FILETIME
:
case
VT_BLOB
:
case
VT_STREAM
:
case
VT_STORAGE
:
...
...
@@ -1766,6 +1766,9 @@ static HRESULT Coerce( VARIANTARG* pd, LCID lcid, ULONG dwFlags, VARIANTARG* ps,
case
VT_CF
:
case
VT_CLSID
:
res
=
DISP_E_TYPEMISMATCH
;
break
;
case
VT_PTR
:
V_UNION
(
pd
,
pdispVal
)
=
V_UNION
(
ps
,
pdispVal
);
break
;
default:
FIXME
(
"Coercion from %d to VT_DISPATCH unhandled.
\n
"
,
vtFrom
);
res
=
DISP_E_BADVARTYPE
;
...
...
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