[PATCH v3 08/10] reg: Add wchar/raw data conversion functions

Stefan Dösinger stefandoesinger at gmail.com
Sun Nov 9 07:10:01 CST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 2014-11-08 15:46, schrieb Jonathan Vollebregt:
> Or perhaps I could just replace it entirely with `(WCHAR *) "\0"`
> but it feels a bit hacky. Would that be allowed?
I don't like it. Defining a static const WCHAR would be consistent
with the other WCHAR strings.

> Is the error message generic enough that I could just return 
> ERROR_INVALID_DATA and let the default case handle it? (That error 
> message is "The data is invalid." by the way)
I have a German Windows here. The message is something like "Error:
Invalid Syntax. Enter a valid numerical value for '/d'."

Original German: "Fehler: ungültige Syntax. Geben Sie einen gültigen
numerischen Wert für '/d' ein."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJUX2epAAoJEN0/YqbEcdMwcV8P/13JY9H4638twh1RoauSdhh2
IFhs6kCQ99iZ8x8EOw4fmvKh/HX91JLdCMxPtv++wXlEfIAp1NF3XACuohmFr2en
KDc/+Hn5NE2VDjvKzrV3yiE/AxcFLT5ZmIVfQuC0kq1muHib04n1fegEsikA+KgE
1lP5xIshWn3h9ZFeMfmysrY8o/Em/Ry8j8wlV8KXYyS9vFN484P8uDM6/xvuOgIw
EpEORAcgS94uUCL9EVGs1gQAgowGeRfyvBDuatRhAdM+bY2/6Qic2iC5+hcxaNDu
1ujZAJKeW/VMlZ1cjyduwMDtiJWwBAdZTWmsO54Y3AqZR5CKyLbihDXluv6UBW2T
G0gWq7sLC2s86CQO8w1zvmlh9iXnqwe/W4xamcNJpqGwjHp9TYKVzvm0Sa+e3Eq9
r0iNScsi9wO6nhnPd+HHy5/+ylcAR76PomCXbDCcl5damsz2XPiaO9VOvWuzIuEO
QDQHP/VJ14ncDLEjZoQmeWHauUHkvL2KUftGJYUqKO8lPrOB8ve43DTc+5Qe//dO
uaFSNdDNbBVRbQ3ueq/Mw+uaJ2Cy7EkaFs/Wx1e3XyGkYN6DycMIkvAXH/5IyJqp
kUEhePYN+D7HgI1oyi/owCzsK9xZOoZtgqL3blt/Xi0P6zDSgjQxcpLTLnHR9Rep
2RAvHAVNa+XkIPrCshHq
=w2dP
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list