[PATCH v2 1/2] kernel32: Use RtlAnsiStringToUnicodeString() in OpenMutexA.

Alexandre Julliard julliard at winehq.org
Tue Jun 2 14:56:49 CDT 2020


Akihiro Sagawa <sagawa.aki at gmail.com> writes:

> v2: No updates for kernel32/sync.c. Just remove a test part.
>
> This commit makes consistent with the commit 2db497e89e8e4a37a8bd569b8691b9b87ae63606,
> which introduces RtlAnsiStringToUnicodeString() into CreateMutexA().
>
> Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
> ---
>  dlls/kernel32/sync.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

We'd probably want to make all the functions consistent, not just these
two. Also the use of the StaticUnicodeString buffer is unrelated, and
could use a test case.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list