[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: wbemprox: Implement some properties of Win32_BIOS. (resend 4)
From: Hans Leidekker <hans () codeweavers ! com>
Date: 2013-06-24 8:00:35
Message-ID: 1372060835.5015.8.camel () t400
[Download RAW message or body]
On Sat, 2013-06-22 at 12:17 +0900, Kim Jung Eon (김중언) wrote:
> static const struct column col_bios[] =
> {
> + { prop_biosversionW, CIM_STRING|CIM_FLAG_ARRAY},
> { prop_descriptionW, CIM_STRING },
> { prop_manufacturerW, CIM_STRING },
> { prop_releasedateW, CIM_DATETIME },
> @@ -508,6 +511,7 @@ struct record_baseboard
> };
> struct record_bios
> {
> + const struct array *biosversion;
> const WCHAR *description;
> const WCHAR *manufacturer;
> const WCHAR *releasedate;
> @@ -695,9 +699,13 @@ static const struct record_baseboard data_baseboard[] =
> {
> { baseboard_manufacturerW, baseboard_serialnumberW, baseboard_tagW }
> };
> +static const struct array data_bios_biosversion =
> +{
> + 1, (void*)bios_versionW
> +};
This can't work. BIOSVersion is of type CIM_STRING|CIM_FLAG_ARRAY, which translates
to a pointer to an array of string pointers.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic