'unicode' usage in x11drv/window.c (X11DRV_CreateWindow)

Alexandre Julliard julliard at winehq.org
Wed Mar 31 11:41:36 CST 2004


pvriens at xs4all.nl writes:

> while going through some of the code I saw that in the above mentioned
> function we sometimes do a SendMessage(A/W) depending on the setting of
> the unicode parameter. In the same function we do 3 SendMessageW's without
> checking unicode. Is this correct or is this not harmful ?

The distinction only matters for messages that have different behavior
in ASCII and Unicode, i.e. that have a string parameter or something
like that. For most messages always using SendMessageW is fine.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list