msi 1: Implement MsiSourceListGetInfoA [try2]
truiken at gmail.com
Thu Jun 28 15:28:28 CDT 2007
On 6/28/07, Alexandre Julliard <julliard at winehq.org> wrote:
> "James Hawkins" <truiken at gmail.com> writes:
> > By this definition, for any particular property requested, the size
> > returned should be exactly the same for both the A and W call. This
> > eliminates the need for a W size variable, and in fact, setting the
> > returned A size by manipulating the returned W size (the usual divide
> > by sizeof WCHAR) would be wrong. Have I messed up somewhere in my
> > logic?
> For the A size TCHARs are bytes, not logical characters, so there
> isn't a 1:1 equivalence with the W size. The only way to return the
> correct size is to convert with WideCharToMultiByte and return the
> resulting length. That's how all A functions work.
Ok, thanks for clearing this up for me. I'll fix it and resend.
More information about the wine-devel