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
09a2547f
Commit
09a2547f
authored
Jun 20, 2017
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
propsys: Add support for VT_I1 and VT_UI1 to PropVariantChangeType.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0c3a2a67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
propvar.c
dlls/propsys/propvar.c
+26
-0
No files found.
dlls/propsys/propvar.c
View file @
09a2547f
...
...
@@ -264,6 +264,32 @@ HRESULT WINAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT p
switch
(
vt
)
{
case
VT_I1
:
{
LONGLONG
res
;
hr
=
PROPVAR_ConvertNumber
(
propvarSrc
,
8
,
TRUE
,
&
res
);
if
(
SUCCEEDED
(
hr
))
{
ppropvarDest
->
vt
=
VT_I1
;
ppropvarDest
->
u
.
cVal
=
(
char
)
res
;
}
return
hr
;
}
case
VT_UI1
:
{
LONGLONG
res
;
hr
=
PROPVAR_ConvertNumber
(
propvarSrc
,
8
,
FALSE
,
&
res
);
if
(
SUCCEEDED
(
hr
))
{
ppropvarDest
->
vt
=
VT_UI1
;
ppropvarDest
->
u
.
bVal
=
(
UCHAR
)
res
;
}
return
hr
;
}
case
VT_I2
:
{
SHORT
res
;
...
...
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