Commit 1eefe9dd authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wbemprox: Implement Win32_BIOS.IdentificationCode and Win32_BIOS.SMBIOSBIOSVersion.

parent 796d4d0c
...@@ -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[] =
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment