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
90c7893e
Commit
90c7893e
authored
Apr 03, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_CDROMDrive.MediaType.
parent
c4309a50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
builtin.c
dlls/wbemprox/builtin.c
+5
-0
No files found.
dlls/wbemprox/builtin.c
View file @
90c7893e
...
...
@@ -299,6 +299,7 @@ static const struct column col_cdromdrive[] =
{
{
prop_deviceidW
,
CIM_STRING
|
COL_FLAG_KEY
},
{
prop_driveW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_mediatypeW
,
CIM_STRING
},
{
prop_nameW
,
CIM_STRING
},
{
prop_pnpdeviceidW
,
CIM_STRING
}
};
...
...
@@ -516,6 +517,8 @@ static const WCHAR bios_smbiosbiosversionW[] =
{
'W'
,
'i'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
bios_versionW
[]
=
{
'W'
,
'I'
,
'N'
,
'E'
,
' '
,
' '
,
' '
,
'-'
,
' '
,
'1'
,
0
};
static
const
WCHAR
cdromdrive_mediatypeW
[]
=
{
'C'
,
'D'
,
'-'
,
'R'
,
'O'
,
'M'
,
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
cdromdrive_pnpdeviceidW
[]
=
...
...
@@ -601,6 +604,7 @@ struct record_cdromdrive
{
const
WCHAR
*
device_id
;
const
WCHAR
*
drive
;
const
WCHAR
*
mediatype
;
const
WCHAR
*
name
;
const
WCHAR
*
pnpdevice_id
;
};
...
...
@@ -920,6 +924,7 @@ static enum fill_status fill_cdromdrive( struct table *table, const struct expr
rec
->
device_id
=
cdromdrive_pnpdeviceidW
;
sprintfW
(
drive
,
fmtW
,
'A'
+
i
);
rec
->
drive
=
heap_strdupW
(
drive
);
rec
->
mediatype
=
cdromdrive_mediatypeW
;
rec
->
name
=
cdromdrive_nameW
;
rec
->
pnpdevice_id
=
cdromdrive_pnpdeviceidW
;
if
(
!
match_row
(
table
,
row
,
cond
,
&
status
))
...
...
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