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
1eefe9dd
Commit
1eefe9dd
authored
Nov 04, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_BIOS.IdentificationCode and Win32_BIOS.SMBIOSBIOSVersion.
parent
796d4d0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
builtin.c
dlls/wbemprox/builtin.c
+12
-1
No files found.
dlls/wbemprox/builtin.c
View file @
1eefe9dd
...
@@ -152,6 +152,8 @@ static const WCHAR prop_handleW[] =
...
@@ -152,6 +152,8 @@ static const WCHAR prop_handleW[] =
{
'H'
,
'a'
,
'n'
,
'd'
,
'l'
,
'e'
,
0
};
{
'H'
,
'a'
,
'n'
,
'd'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
prop_idW
[]
=
static
const
WCHAR
prop_idW
[]
=
{
'I'
,
'D'
,
0
};
{
'I'
,
'D'
,
0
};
static
const
WCHAR
prop_identificationcodeW
[]
=
{
'I'
,
'd'
,
'e'
,
'n'
,
't'
,
'i'
,
'f'
,
'i'
,
'c'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'C'
,
'o'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
prop_indexW
[]
=
static
const
WCHAR
prop_indexW
[]
=
{
'I'
,
'n'
,
'd'
,
'e'
,
'x'
,
0
};
{
'I'
,
'n'
,
'd'
,
'e'
,
'x'
,
0
};
static
const
WCHAR
prop_interfaceindexW
[]
=
static
const
WCHAR
prop_interfaceindexW
[]
=
...
@@ -216,6 +218,8 @@ static const WCHAR prop_servicepackminorW[] =
...
@@ -216,6 +218,8 @@ static const WCHAR prop_servicepackminorW[] =
{
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'P'
,
'a'
,
'c'
,
'k'
,
'M'
,
'i'
,
'n'
,
'o'
,
'r'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
{
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'P'
,
'a'
,
'c'
,
'k'
,
'M'
,
'i'
,
'n'
,
'o'
,
'r'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
prop_servicetypeW
[]
=
static
const
WCHAR
prop_servicetypeW
[]
=
{
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
{
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
const
WCHAR
prop_smbiosbiosversionW
[]
=
{
'S'
,
'M'
,
'B'
,
'I'
,
'O'
,
'S'
,
'B'
,
'I'
,
'O'
,
'S'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
prop_startmodeW
[]
=
static
const
WCHAR
prop_startmodeW
[]
=
{
'S'
,
't'
,
'a'
,
'r'
,
't'
,
'M'
,
'o'
,
'd'
,
'e'
,
0
};
{
'S'
,
't'
,
'a'
,
'r'
,
't'
,
'M'
,
'o'
,
'd'
,
'e'
,
0
};
static
const
WCHAR
prop_sizeW
[]
=
static
const
WCHAR
prop_sizeW
[]
=
...
@@ -261,9 +265,11 @@ static const struct column col_baseboard[] =
...
@@ -261,9 +265,11 @@ static const struct column col_baseboard[] =
static
const
struct
column
col_bios
[]
=
static
const
struct
column
col_bios
[]
=
{
{
{
prop_descriptionW
,
CIM_STRING
},
{
prop_descriptionW
,
CIM_STRING
},
{
prop_identificationcodeW
,
CIM_STRING
},
{
prop_manufacturerW
,
CIM_STRING
},
{
prop_manufacturerW
,
CIM_STRING
},
{
prop_releasedateW
,
CIM_DATETIME
},
{
prop_releasedateW
,
CIM_DATETIME
},
{
prop_serialnumberW
,
CIM_STRING
},
{
prop_serialnumberW
,
CIM_STRING
},
{
prop_smbiosbiosversionW
,
CIM_STRING
},
{
prop_versionW
,
CIM_STRING
|
COL_FLAG_KEY
}
{
prop_versionW
,
CIM_STRING
|
COL_FLAG_KEY
}
};
};
static
const
struct
column
col_cdromdrive
[]
=
static
const
struct
column
col_cdromdrive
[]
=
...
@@ -457,6 +463,8 @@ static const WCHAR bios_releasedateW[] =
...
@@ -457,6 +463,8 @@ static const WCHAR bios_releasedateW[] =
{
'2'
,
'0'
,
'1'
,
'2'
,
'0'
,
'6'
,
'0'
,
'8'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'.'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'+'
,
'0'
,
'0'
,
'0'
,
0
};
{
'2'
,
'0'
,
'1'
,
'2'
,
'0'
,
'6'
,
'0'
,
'8'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'.'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'+'
,
'0'
,
'0'
,
'0'
,
0
};
static
const
WCHAR
bios_serialnumberW
[]
=
static
const
WCHAR
bios_serialnumberW
[]
=
{
'0'
,
0
};
{
'0'
,
0
};
static
const
WCHAR
bios_smbiosbiosversionW
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
bios_versionW
[]
=
static
const
WCHAR
bios_versionW
[]
=
{
'W'
,
'I'
,
'N'
,
'E'
,
' '
,
' '
,
' '
,
'-'
,
' '
,
'1'
,
0
};
{
'W'
,
'I'
,
'N'
,
'E'
,
' '
,
' '
,
' '
,
'-'
,
' '
,
'1'
,
0
};
static
const
WCHAR
cdromdrive_nameW
[]
=
static
const
WCHAR
cdromdrive_nameW
[]
=
...
@@ -516,9 +524,11 @@ struct record_baseboard
...
@@ -516,9 +524,11 @@ struct record_baseboard
struct
record_bios
struct
record_bios
{
{
const
WCHAR
*
description
;
const
WCHAR
*
description
;
const
WCHAR
*
identificationcode
;
const
WCHAR
*
manufacturer
;
const
WCHAR
*
manufacturer
;
const
WCHAR
*
releasedate
;
const
WCHAR
*
releasedate
;
const
WCHAR
*
serialnumber
;
const
WCHAR
*
serialnumber
;
const
WCHAR
*
smbiosbiosversion
;
const
WCHAR
*
version
;
const
WCHAR
*
version
;
};
};
struct
record_cdromdrive
struct
record_cdromdrive
...
@@ -705,7 +715,8 @@ static const struct record_baseboard data_baseboard[] =
...
@@ -705,7 +715,8 @@ static const struct record_baseboard data_baseboard[] =
};
};
static
const
struct
record_bios
data_bios
[]
=
static
const
struct
record_bios
data_bios
[]
=
{
{
{
bios_descriptionW
,
bios_manufacturerW
,
bios_releasedateW
,
bios_serialnumberW
,
bios_versionW
}
{
bios_descriptionW
,
bios_descriptionW
,
bios_manufacturerW
,
bios_releasedateW
,
bios_serialnumberW
,
bios_smbiosbiosversionW
,
bios_versionW
}
};
};
static
const
struct
record_diskdrive
data_diskdrive
[]
=
static
const
struct
record_diskdrive
data_diskdrive
[]
=
{
{
...
...
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