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
1e32ae8b
Commit
1e32ae8b
authored
Oct 05, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Fix the variant type for Win32_SystemEnclosure.ChassisTypes.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5d96ef42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
builtin.c
dlls/wbemprox/builtin.c
+1
-1
query.c
dlls/wbemprox/tests/query.c
+0
-1
No files found.
dlls/wbemprox/builtin.c
View file @
1e32ae8b
...
...
@@ -629,7 +629,7 @@ static const struct column col_stdregprov[] =
static
const
struct
column
col_systemenclosure
[]
=
{
{
prop_captionW
,
CIM_STRING
},
{
prop_chassistypesW
,
CIM_UINT16
|
CIM_FLAG_ARRAY
},
{
prop_chassistypesW
,
CIM_UINT16
|
CIM_FLAG_ARRAY
,
VT_I4
|
VT_ARRAY
},
{
prop_descriptionW
,
CIM_STRING
},
{
prop_lockpresentW
,
CIM_BOOLEAN
},
{
prop_manufacturerW
,
CIM_STRING
},
...
...
dlls/wbemprox/tests/query.c
View file @
1e32ae8b
...
...
@@ -590,7 +590,6 @@ static void test_Win32_SystemEnclosure( IWbemServices *services )
VariantInit
(
&
val
);
hr
=
IWbemClassObject_Get
(
obj
,
chassistypesW
,
0
,
&
val
,
&
type
,
NULL
);
ok
(
hr
==
S_OK
,
"failed to get chassis types %08x
\n
"
,
hr
);
todo_wine
ok
(
V_VT
(
&
val
)
==
(
VT_I4
|
VT_ARRAY
),
"unexpected variant type 0x%x
\n
"
,
V_VT
(
&
val
)
);
ok
(
type
==
(
CIM_UINT16
|
CIM_FLAG_ARRAY
),
"unexpected type 0x%x
\n
"
,
type
);
hr
=
SafeArrayAccessData
(
V_ARRAY
(
&
val
),
(
void
**
)
&
data
);
...
...
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