Jeremy White <jwh...@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 julli...@winehq.org