24 Dec
2009
24 Dec
'09
1:27 p.m.
Jeremy White <jwhite(a)codeweavers.com> writes:
I initially implemented this with wide strings. That led to cover functions WINSPOOL_GetPPDNameA and WINSPOOL_CopyPPDA because the code it interfaces with was ANSI. It struck me as ugly and I imagined Alexandre telling me it was wrong.
Alexandre, was that the wrong choice?
Using A functions seems to make it easier to handle Unix filenames, but that's wrong, because Unix filenames are not in the Ansi codepage. If you want to pass them to A functions you need to convert CP_UNIXCP -> Unicode -> CP_ACP, so using W functions is actually easier. -- Alexandre Julliard julliard(a)winehq.org