ntdll: Provide RtlInitUnicodeString for unixlibs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
62e51da2cd
commit
1c0288413a
|
@ -2356,6 +2356,15 @@ NTSTATUS WINAPI RtlUnicodeToUTF8N( char *dst, DWORD dstlen, DWORD *reslen, const
|
|||
return status;
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
* RtlInitUnicodeString (ntdll.so)
|
||||
*/
|
||||
void WINAPI RtlInitUnicodeString( UNICODE_STRING *str, const WCHAR *data )
|
||||
{
|
||||
if (data) init_unicode_string( str, data );
|
||||
else str->Length = str->MaximumLength = 0;
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
* RtlNtStatusToDosError (ntdll.so)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue