[PATCH 2/6] user32: Copy ToUnicodeEx from wineandroid.drv in nulldrv.

Alexandre Julliard julliard at winehq.org
Fri Apr 23 08:40:21 CDT 2021


Rémi Bernon <rbernon at codeweavers.com> writes:

> Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
> ---
>  dlls/user32/driver.c | 79 +++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 78 insertions(+), 1 deletion(-)

It should be moved instead of copied, but even better, that sort of
thing should be done in the generic code, to make fallbacks available to
all drivers.

The goal shouldn't be to add a lot of code to the null driver, because
that would mean that a lot of code is needed in all drivers. On the
contrary, ideally the null driver would remain empty, and the user32
code would provide the necessary functionality, while letting the
drivers override only the parts that need special handling.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list