kernel32: Move Idn functions to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5d2ec076fe
commit
80e8c138f1
|
@ -938,9 +938,9 @@
|
|||
@ stub HeapUsage
|
||||
@ stdcall -import HeapValidate(long long ptr)
|
||||
@ stdcall -import HeapWalk(long ptr)
|
||||
@ stdcall IdnToAscii(long wstr long ptr long)
|
||||
@ stdcall IdnToNameprepUnicode(long wstr long ptr long)
|
||||
@ stdcall IdnToUnicode(long wstr long ptr long)
|
||||
@ stdcall -import IdnToAscii(long wstr long ptr long)
|
||||
@ stdcall -import IdnToNameprepUnicode(long wstr long ptr long)
|
||||
@ stdcall -import IdnToUnicode(long wstr long ptr long)
|
||||
@ stdcall InitAtomTable(long)
|
||||
@ stdcall InitOnceBeginInitialize(ptr long ptr ptr) kernelbase.InitOnceBeginInitialize
|
||||
@ stdcall InitOnceComplete(ptr long ptr) kernelbase.InitOnceComplete
|
||||
|
|
|
@ -541,37 +541,6 @@ INT WINAPI GetGeoInfoA(GEOID geoid, GEOTYPE geotype, LPSTR data, int data_len, L
|
|||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* IdnToAscii (KERNEL32.@)
|
||||
*/
|
||||
INT WINAPI IdnToAscii( DWORD flags, const WCHAR *src, INT srclen, WCHAR *dst, INT dstlen )
|
||||
{
|
||||
NTSTATUS status = RtlIdnToAscii( flags, src, srclen, dst, &dstlen );
|
||||
if (!set_ntstatus( status )) return 0;
|
||||
return dstlen;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* IdnToNameprepUnicode (KERNEL32.@)
|
||||
*/
|
||||
INT WINAPI IdnToNameprepUnicode( DWORD flags, const WCHAR *src, INT srclen, WCHAR *dst, INT dstlen )
|
||||
{
|
||||
NTSTATUS status = RtlIdnToNameprepUnicode( flags, src, srclen, dst, &dstlen );
|
||||
if (!set_ntstatus( status )) return 0;
|
||||
return dstlen;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* IdnToUnicode (KERNEL32.@)
|
||||
*/
|
||||
INT WINAPI IdnToUnicode( DWORD flags, const WCHAR *src, INT srclen, WCHAR *dst, INT dstlen )
|
||||
{
|
||||
NTSTATUS status = RtlIdnToUnicode( flags, src, srclen, dst, &dstlen );
|
||||
if (!set_ntstatus( status )) return 0;
|
||||
return dstlen;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* GetFileMUIPath (KERNEL32.@)
|
||||
*/
|
||||
|
|
|
@ -785,9 +785,9 @@
|
|||
@ stdcall HeapUnlock(long)
|
||||
@ stdcall HeapValidate(long long ptr)
|
||||
@ stdcall HeapWalk(long ptr)
|
||||
@ stdcall IdnToAscii(long wstr long ptr long) kernel32.IdnToAscii
|
||||
@ stdcall IdnToNameprepUnicode(long wstr long ptr long) kernel32.IdnToNameprepUnicode
|
||||
@ stdcall IdnToUnicode(long wstr long ptr long) kernel32.IdnToUnicode
|
||||
@ stdcall IdnToAscii(long wstr long ptr long)
|
||||
@ stdcall IdnToNameprepUnicode(long wstr long ptr long)
|
||||
@ stdcall IdnToUnicode(long wstr long ptr long)
|
||||
@ stdcall ImpersonateAnonymousToken(long)
|
||||
@ stdcall ImpersonateLoggedOnUser(long)
|
||||
@ stdcall ImpersonateNamedPipeClient(long)
|
||||
|
|
|
@ -4459,6 +4459,42 @@ GEOID WINAPI DECLSPEC_HOTPATCH GetUserGeoID( GEOCLASS geoclass )
|
|||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* IdnToAscii (kernelbase.@)
|
||||
*/
|
||||
INT WINAPI DECLSPEC_HOTPATCH IdnToAscii( DWORD flags, const WCHAR *src, INT srclen,
|
||||
WCHAR *dst, INT dstlen )
|
||||
{
|
||||
NTSTATUS status = RtlIdnToAscii( flags, src, srclen, dst, &dstlen );
|
||||
if (!set_ntstatus( status )) return 0;
|
||||
return dstlen;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* IdnToNameprepUnicode (kernelbase.@)
|
||||
*/
|
||||
INT WINAPI DECLSPEC_HOTPATCH IdnToNameprepUnicode( DWORD flags, const WCHAR *src, INT srclen,
|
||||
WCHAR *dst, INT dstlen )
|
||||
{
|
||||
NTSTATUS status = RtlIdnToNameprepUnicode( flags, src, srclen, dst, &dstlen );
|
||||
if (!set_ntstatus( status )) return 0;
|
||||
return dstlen;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* IdnToUnicode (kernelbase.@)
|
||||
*/
|
||||
INT WINAPI DECLSPEC_HOTPATCH IdnToUnicode( DWORD flags, const WCHAR *src, INT srclen,
|
||||
WCHAR *dst, INT dstlen )
|
||||
{
|
||||
NTSTATUS status = RtlIdnToUnicode( flags, src, srclen, dst, &dstlen );
|
||||
if (!set_ntstatus( status )) return 0;
|
||||
return dstlen;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* IsCharAlphaA (kernelbase.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue