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
99c1b557
Commit
99c1b557
authored
Jan 21, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_DiskDrive.DeviceId.
parent
b637d4ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
builtin.c
dlls/wbemprox/builtin.c
+5
-1
query.c
dlls/wbemprox/tests/query.c
+5
-1
No files found.
dlls/wbemprox/builtin.c
View file @
99c1b557
...
...
@@ -215,6 +215,7 @@ static const struct column col_compsys[] =
};
static
const
struct
column
col_diskdrive
[]
=
{
{
prop_deviceidW
,
CIM_STRING
|
COL_FLAG_KEY
},
{
prop_manufacturerW
,
CIM_STRING
},
{
prop_modelW
,
CIM_STRING
},
{
prop_serialnumberW
,
CIM_STRING
}
...
...
@@ -345,6 +346,8 @@ static const WCHAR compsys_manufacturerW[] =
{
'T'
,
'h'
,
'e'
,
' '
,
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'P'
,
'r'
,
'o'
,
'j'
,
'e'
,
'c'
,
't'
,
0
};
static
const
WCHAR
compsys_modelW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
diskdrive_deviceidW
[]
=
{
'\\'
,
'\\'
,
'\\'
,
'\\'
,
'.'
,
'\\'
,
'\\'
,
'P'
,
'H'
,
'Y'
,
'S'
,
'I'
,
'C'
,
'A'
,
'L'
,
'D'
,
'R'
,
'I'
,
'V'
,
'E'
,
'0'
,
0
};
static
const
WCHAR
diskdrive_modelW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'D'
,
'i'
,
's'
,
'k'
,
' '
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
0
};
static
const
WCHAR
diskdrive_manufacturerW
[]
=
...
...
@@ -399,6 +402,7 @@ struct record_computersystem
};
struct
record_diskdrive
{
const
WCHAR
*
device_id
;
const
WCHAR
*
manufacturer
;
const
WCHAR
*
name
;
const
WCHAR
*
serialnumber
;
...
...
@@ -518,7 +522,7 @@ static const struct record_cdromdrive data_cdromdrive[] =
};
static
const
struct
record_diskdrive
data_diskdrive
[]
=
{
{
diskdrive_manufacturerW
,
diskdrive_modelW
}
{
diskdrive_
deviceidW
,
diskdrive_
manufacturerW
,
diskdrive_modelW
}
};
static
const
struct
record_params
data_params
[]
=
{
...
...
dlls/wbemprox/tests/query.c
View file @
99c1b557
...
...
@@ -91,7 +91,11 @@ static void test_select( IWbemServices *services )
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
'C'
,
'a'
,
'p'
,
't'
,
'i'
,
'o'
,
'n'
,
' '
,
'L'
,
'I'
,
'K'
,
'E'
,
' '
,
'\''
,
'%'
,
'%'
,
'R'
,
'E'
,
'G'
,
'E'
,
'D'
,
'I'
,
'T'
,
'%'
,
'\''
,
0
};
static
const
WCHAR
*
test
[]
=
{
query1
,
query2
,
query3
,
query4
,
query5
,
query6
,
query7
};
static
const
WCHAR
query8
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'D'
,
'i'
,
's'
,
'k'
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
'I'
,
'D'
,
'='
,
'\"'
,
'\\'
,
'\\'
,
'\\'
,
'\\'
,
'.'
,
'\\'
,
'\\'
,
'P'
,
'H'
,
'Y'
,
'S'
,
'I'
,
'C'
,
'A'
,
'L'
,
'D'
,
'R'
,
'I'
,
'V'
,
'E'
,
'0'
,
'\"'
,
0
};
static
const
WCHAR
*
test
[]
=
{
query1
,
query2
,
query3
,
query4
,
query5
,
query6
,
query7
,
query8
};
HRESULT
hr
;
IEnumWbemClassObject
*
result
;
BSTR
wql
=
SysAllocString
(
wqlW
);
...
...
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