Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c0020b3a
Commit
c0020b3a
authored
Jan 22, 2015
by
Hao Peng
Committed by
Alexandre Julliard
Jan 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_DiskDrive.PNPDeviceID.
parent
fd08da60
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 @
c0020b3a
...
...
@@ -366,6 +366,7 @@ static const struct column col_diskdrive[] =
{
prop_manufacturerW
,
CIM_STRING
},
{
prop_mediatypeW
,
CIM_STRING
},
{
prop_modelW
,
CIM_STRING
},
{
prop_pnpdeviceidW
,
CIM_STRING
},
{
prop_serialnumberW
,
CIM_STRING
},
{
prop_sizeW
,
CIM_UINT64
}
};
...
...
@@ -595,6 +596,8 @@ static const WCHAR diskdrive_mediatype_removableW[] =
{
'R'
,
'e'
,
'm'
,
'o'
,
'v'
,
'a'
,
'b'
,
'l'
,
'e'
,
' '
,
'm'
,
'e'
,
'd'
,
'i'
,
'a'
,
0
};
static
const
WCHAR
diskdrive_modelW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'D'
,
'i'
,
's'
,
'k'
,
' '
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
0
};
static
const
WCHAR
diskdrive_pnpdeviceidW
[]
=
{
'I'
,
'D'
,
'E'
,
'\\'
,
'D'
,
'i'
,
's'
,
'k'
,
'\\'
,
'V'
,
'E'
,
'N'
,
'_'
,
'W'
,
'I'
,
'N'
,
'E'
,
0
};
static
const
WCHAR
diskdrive_serialW
[]
=
{
'W'
,
'I'
,
'N'
,
'E'
,
'H'
,
'D'
,
'I'
,
'S'
,
'K'
,
0
};
static
const
WCHAR
networkadapter_pnpdeviceidW
[]
=
...
...
@@ -695,6 +698,7 @@ struct record_diskdrive
const
WCHAR
*
manufacturer
;
const
WCHAR
*
mediatype
;
const
WCHAR
*
model
;
const
WCHAR
*
pnpdevice_id
;
const
WCHAR
*
serialnumber
;
UINT64
size
;
};
...
...
@@ -1621,6 +1625,7 @@ static enum fill_status fill_diskdrive( struct table *table, const struct expr *
else
rec
->
mediatype
=
diskdrive_mediatype_removableW
;
rec
->
model
=
diskdrive_modelW
;
rec
->
pnpdevice_id
=
diskdrive_pnpdeviceidW
;
rec
->
serialnumber
=
diskdrive_serialW
;
get_freespace
(
root
,
&
size
);
rec
->
size
=
size
;
...
...
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