Hans Leidekker : wbemprox: Implement Win32_BIOS.CurrentLanguage.
Alexandre Julliard
julliard at winehq.org
Tue Sep 17 16:22:49 CDT 2019
Module: wine
Branch: master
Commit: a94c466c54be1e8b0f3bbca13fa353bdd8e44d9d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a94c466c54be1e8b0f3bbca13fa353bdd8e44d9d
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Sep 17 13:41:42 2019 +0200
wbemprox: Implement Win32_BIOS.CurrentLanguage.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wbemprox/builtin.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 8bb5be0aac..bb43f8a229 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -183,6 +183,8 @@ static const WCHAR prop_currentclockspeedW[] =
{'C','u','r','r','e','n','t','C','l','o','c','k','S','p','e','e','d',0};
static const WCHAR prop_currenthorizontalresW[] =
{'C','u','r','r','e','n','t','H','o','r','i','z','o','n','t','a','l','R','e','s','o','l','u','t','i','o','n',0};
+static const WCHAR prop_currentlanguageW[] =
+ {'C','u','r','r','e','n','t','L','a','n','g','u','a','g','e',0};
static const WCHAR prop_currentrefreshrateW[] =
{'C','u','r','r','e','n','t','R','e','f','r','e','s','h','R','a','t','e',0};
static const WCHAR prop_currentscanmodeW[] =
@@ -457,6 +459,7 @@ static const struct column col_baseboard[] =
};
static const struct column col_bios[] =
{
+ { prop_currentlanguageW, CIM_STRING },
{ prop_descriptionW, CIM_STRING },
{ prop_identificationcodeW, CIM_STRING },
{ prop_manufacturerW, CIM_STRING|COL_FLAG_DYNAMIC },
@@ -901,6 +904,7 @@ struct record_baseboard
};
struct record_bios
{
+ const WCHAR *currentlanguage;
const WCHAR *description;
const WCHAR *identificationcode;
const WCHAR *manufacturer;
@@ -1634,6 +1638,7 @@ static enum fill_status fill_bios( struct table *table, const struct expr *cond
GetSystemFirmwareTable( RSMB, 0, buf, len );
rec = (struct record_bios *)table->data;
+ rec->currentlanguage = NULL;
rec->description = bios_descriptionW;
rec->identificationcode = NULL;
rec->manufacturer = get_bios_manufacturer( buf, len );
More information about the wine-cvs
mailing list