msi 1: Implement MsiSourceListGetInfoA [try2]
Alexandre Julliard
julliard at winehq.org
Thu Jun 28 04:10:28 CDT 2007
"James Hawkins" <truiken at gmail.com> writes:
> + ret = MsiSourceListGetInfoW(product, usersid, dwContext, dwOptions,
> + property, value, pcchValue);
> + if (ret == ERROR_SUCCESS)
> + WideCharToMultiByte(CP_ACP, 0, value, -1, szValue, *pcchValue, NULL, NULL);
The handling of pcchValue is wrong, you need a separate variable for
the W size, and you need to set *pcchValue to the correct A size.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list