netapi32: Use the ntdll Unicode string functions instead of wine/unicode.h.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-11-30 12:54:01 +01:00
parent 5554c847e1
commit 58e30bca68
1 changed files with 2 additions and 3 deletions

View File

@ -42,7 +42,6 @@
#include "winternl.h"
#include "lm.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "unixlib.h"
@ -67,8 +66,8 @@ static NET_API_STATUS (*pNetWkstaGetInfo)( const char *, unsigned int, unsigned
static DWORD netapi_wcstoumbs( const WCHAR *src, char *dst, DWORD dstlen )
{
if (!dst) return 3 * strlenW( src ) + 1;
return ntdll_wcstoumbs( src, strlenW( src ) + 1, dst, dstlen, FALSE );
if (!dst) return 3 * wcslen( src ) + 1;
return ntdll_wcstoumbs( src, wcslen( src ) + 1, dst, dstlen, FALSE );
}
static DWORD netapi_umbstowcs( const char *src, WCHAR *dst, DWORD dstlen )