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
a827a51c
Commit
a827a51c
authored
Jun 22, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Handle more property types in get_propval.
parent
4c7f6f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
query.c
dlls/wbemprox/query.c
+16
-0
No files found.
dlls/wbemprox/query.c
View file @
a827a51c
...
...
@@ -653,6 +653,22 @@ HRESULT get_propval( const struct view *view, UINT index, const WCHAR *name, VAR
V_VT
(
ret
)
=
VT_BSTR
;
V_BSTR
(
ret
)
=
SysAllocString
(
(
const
WCHAR
*
)
val
);
break
;
case
CIM_SINT16
:
V_VT
(
ret
)
=
VT_I2
;
V_I2
(
ret
)
=
val
;
break
;
case
CIM_UINT16
:
V_VT
(
ret
)
=
VT_UI2
;
V_UI2
(
ret
)
=
val
;
break
;
case
CIM_SINT32
:
V_VT
(
ret
)
=
VT_I4
;
V_I4
(
ret
)
=
val
;
break
;
case
CIM_UINT32
:
V_VT
(
ret
)
=
VT_UI4
;
V_UI4
(
ret
)
=
val
;
break
;
default:
ERR
(
"unhandled column type %u
\n
"
,
view
->
table
->
columns
[
column
].
type
);
return
WBEM_E_FAILED
;
...
...
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