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
ca0d8d8f
Commit
ca0d8d8f
authored
Oct 04, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Add a partial implementation of Win32_CDROMDrive.
parent
804e7e91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
builtin.c
dlls/wbemprox/builtin.c
+17
-0
No files found.
dlls/wbemprox/builtin.c
View file @
ca0d8d8f
...
...
@@ -47,6 +47,8 @@ static const WCHAR class_baseboardW[] =
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'B'
,
'a'
,
's'
,
'e'
,
'B'
,
'o'
,
'a'
,
'r'
,
'd'
,
0
};
static
const
WCHAR
class_biosW
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'B'
,
'I'
,
'O'
,
'S'
,
0
};
static
const
WCHAR
class_cdromdriveW
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'C'
,
'D'
,
'R'
,
'O'
,
'M'
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
0
};
static
const
WCHAR
class_compsysW
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'C'
,
'o'
,
'm'
,
'p'
,
'u'
,
't'
,
'e'
,
'r'
,
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
static
const
WCHAR
class_logicaldiskW
[]
=
...
...
@@ -208,6 +210,10 @@ static const struct column col_bios[] =
{
prop_serialnumberW
,
CIM_STRING
},
{
prop_versionW
,
CIM_STRING
|
COL_FLAG_KEY
}
};
static
const
struct
column
col_cdromdrive
[]
=
{
{
prop_nameW
,
CIM_STRING
}
};
static
const
struct
column
col_compsys
[]
=
{
{
prop_descriptionW
,
CIM_STRING
},
...
...
@@ -318,6 +324,8 @@ static const WCHAR bios_serialnumberW[] =
{
'0'
,
0
};
static
const
WCHAR
bios_versionW
[]
=
{
'W'
,
'I'
,
'N'
,
'E'
,
' '
,
' '
,
' '
,
'-'
,
' '
,
'1'
,
0
};
static
const
WCHAR
cdromdrive_nameW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'C'
,
'D'
,
'-'
,
'R'
,
'O'
,
'M'
,
' '
,
'A'
,
'T'
,
'A'
,
' '
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
compsys_descriptionW
[]
=
{
'A'
,
'T'
,
'/'
,
'A'
,
'T'
,
' '
,
'C'
,
'O'
,
'M'
,
'P'
,
'A'
,
'T'
,
'I'
,
'B'
,
'L'
,
'E'
,
0
};
static
const
WCHAR
compsys_domainW
[]
=
...
...
@@ -357,6 +365,10 @@ struct record_bios
const
WCHAR
*
serialnumber
;
const
WCHAR
*
version
;
};
struct
record_cdromdrive
{
const
WCHAR
*
name
;
};
struct
record_computersystem
{
const
WCHAR
*
description
;
...
...
@@ -471,6 +483,10 @@ static const struct record_bios data_bios[] =
{
{
bios_descriptionW
,
bios_manufacturerW
,
bios_releasedateW
,
bios_serialnumberW
,
bios_versionW
}
};
static
const
struct
record_cdromdrive
data_cdromdrive
[]
=
{
{
cdromdrive_nameW
}
};
static
const
struct
record_params
data_params
[]
=
{
{
class_stdregprovW
,
method_enumkeyW
,
1
,
param_defkeyW
,
CIM_UINT32
,
0x80000002
},
...
...
@@ -1114,6 +1130,7 @@ static struct table builtin_classes[] =
{
{
class_baseboardW
,
SIZEOF
(
col_baseboard
),
col_baseboard
,
SIZEOF
(
data_baseboard
),
(
BYTE
*
)
data_baseboard
},
{
class_biosW
,
SIZEOF
(
col_bios
),
col_bios
,
SIZEOF
(
data_bios
),
(
BYTE
*
)
data_bios
},
{
class_cdromdriveW
,
SIZEOF
(
col_cdromdrive
),
col_cdromdrive
,
SIZEOF
(
data_cdromdrive
),
(
BYTE
*
)
data_cdromdrive
},
{
class_compsysW
,
SIZEOF
(
col_compsys
),
col_compsys
,
0
,
NULL
,
fill_compsys
},
{
class_logicaldiskW
,
SIZEOF
(
col_logicaldisk
),
col_logicaldisk
,
0
,
NULL
,
fill_logicaldisk
},
{
class_networkadapterW
,
SIZEOF
(
col_networkadapter
),
col_networkadapter
,
0
,
NULL
,
fill_networkadapter
},
...
...
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