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
59b9c36d
Commit
59b9c36d
authored
Feb 28, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_DiskDrive.MediaType.
parent
95142cad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
builtin.c
dlls/wbemprox/builtin.c
+10
-3
No files found.
dlls/wbemprox/builtin.c
View file @
59b9c36d
...
...
@@ -181,6 +181,8 @@ static const WCHAR prop_manufacturerW[] =
{
'M'
,
'a'
,
'n'
,
'u'
,
'f'
,
'a'
,
'c'
,
't'
,
'u'
,
'r'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
prop_maxclockspeedW
[]
=
{
'M'
,
'a'
,
'x'
,
'C'
,
'l'
,
'o'
,
'c'
,
'k'
,
'S'
,
'p'
,
'e'
,
'e'
,
'd'
,
0
};
static
const
WCHAR
prop_mediatypeW
[]
=
{
'M'
,
'e'
,
'd'
,
'i'
,
'a'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
const
WCHAR
prop_memberW
[]
=
{
'M'
,
'e'
,
'm'
,
'b'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
prop_methodW
[]
=
...
...
@@ -315,6 +317,7 @@ static const struct column col_diskdrive[] =
{
prop_deviceidW
,
CIM_STRING
|
COL_FLAG_KEY
},
{
prop_indexW
,
CIM_UINT32
,
VT_I4
},
{
prop_manufacturerW
,
CIM_STRING
},
{
prop_mediatypeW
,
CIM_STRING
},
{
prop_modelW
,
CIM_STRING
},
{
prop_serialnumberW
,
CIM_STRING
}
};
...
...
@@ -507,10 +510,12 @@ 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
[]
=
{
'('
,
'S'
,
't'
,
'a'
,
'n'
,
'd'
,
'a'
,
'r'
,
'd'
,
' '
,
'd'
,
'i'
,
's'
,
'k'
,
' '
,
'd'
,
'r'
,
'i'
,
'v'
,
'e'
,
's'
,
')'
,
0
};
static
const
WCHAR
diskdrive_mediatypeW
[]
=
{
'F'
,
'i'
,
'x'
,
'e'
,
'd'
,
' '
,
'h'
,
'a'
,
'r'
,
'd'
,
' '
,
'd'
,
'i'
,
's'
,
'k'
,
0
};
static
const
WCHAR
diskdrive_modelW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'D'
,
'i'
,
's'
,
'k'
,
' '
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
0
};
static
const
WCHAR
diskdrive_serialW
[]
=
{
'W'
,
'I'
,
'N'
,
'E'
,
'H'
,
'D'
,
'I'
,
'S'
,
'K'
,
0
};
static
const
WCHAR
networkadapter_pnpdeviceidW
[]
=
...
...
@@ -593,6 +598,7 @@ struct record_diskdrive
const
WCHAR
*
device_id
;
UINT32
index
;
const
WCHAR
*
manufacturer
;
const
WCHAR
*
mediatype
;
const
WCHAR
*
name
;
const
WCHAR
*
serialnumber
;
};
...
...
@@ -762,7 +768,8 @@ static const struct record_bios data_bios[] =
};
static
const
struct
record_diskdrive
data_diskdrive
[]
=
{
{
diskdrive_deviceidW
,
0
,
diskdrive_manufacturerW
,
diskdrive_modelW
,
diskdrive_serialW
}
{
diskdrive_deviceidW
,
0
,
diskdrive_manufacturerW
,
diskdrive_mediatypeW
,
diskdrive_modelW
,
diskdrive_serialW
}
};
static
const
struct
record_param
data_param
[]
=
{
...
...
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