[PATCH] vbscript: Implemented GetLocale

Shuai Meng mengshuaicalendr at gmail.com
Sun Mar 15 08:53:38 CDT 2015


2015-03-15 15:55 GMT+08:00 Nikolay Sivov <bunglehead at gmail.com>:

> +static HRESULT Global_GetLocale(vbdisp_t *This, VARIANT *arg, unsigned
>> args_cnt, VARIANT *res)
>> +{
>> +    return return_int(res, GetACP());
>> +}
>>
>
> This looks completely wrong. Docs say it should return locale id (as name
> suggests), not a codepage value.
>

Yeah, I misunderstand that function. But what I concern more is this line:

213 #define DISPID_GLOBAL_GETLOCALE                 207

it turns out 207 is not valid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150315/1f60e0b1/attachment.html>


More information about the wine-devel mailing list