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
54c8fee9
Commit
54c8fee9
authored
Oct 04, 2001
by
Ove Kaaven
Committed by
Alexandre Julliard
Oct 04, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement coercion to VT_UNKNOWN from VT_DISPATCH.
parent
77f8e5fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
variant.c
dlls/oleaut32/variant.c
+12
-0
No files found.
dlls/oleaut32/variant.c
View file @
54c8fee9
...
@@ -1567,6 +1567,18 @@ static HRESULT Coerce( VARIANTARG* pd, LCID lcid, ULONG dwFlags, VARIANTARG* ps,
...
@@ -1567,6 +1567,18 @@ static HRESULT Coerce( VARIANTARG* pd, LCID lcid, ULONG dwFlags, VARIANTARG* ps,
}
}
break
;
break
;
case
(
VT_UNKNOWN
):
if
(
vtFrom
==
VT_DISPATCH
)
{
res
=
IDispatch_QueryInterface
(
V_DISPATCH
(
ps
),
&
IID_IUnknown
,
(
LPVOID
*
)
&
V_UNKNOWN
(
pd
));
}
else
{
res
=
DISP_E_TYPEMISMATCH
;
FIXME
(
"Coercion from %d to %d
\n
"
,
vtFrom
,
vt
);
}
break
;
default:
default:
res
=
DISP_E_TYPEMISMATCH
;
res
=
DISP_E_TYPEMISMATCH
;
FIXME
(
"Coercion from %d to %d
\n
"
,
vtFrom
,
vt
);
FIXME
(
"Coercion from %d to %d
\n
"
,
vtFrom
,
vt
);
...
...
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