Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
80e8c138
Commit
80e8c138
authored
Mar 02, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Move Idn functions to kernelbase.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5d2ec076
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
37 deletions
+42
-37
kernel32.spec
dlls/kernel32/kernel32.spec
+3
-3
locale.c
dlls/kernel32/locale.c
+0
-31
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+3
-3
locale.c
dlls/kernelbase/locale.c
+36
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
80e8c138
...
...
@@ -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
...
...
dlls/kernel32/locale.c
View file @
80e8c138
...
...
@@ -542,37 +542,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.@)
*/
...
...
dlls/kernelbase/kernelbase.spec
View file @
80e8c138
...
...
@@ -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)
...
...
dlls/kernelbase/locale.c
View file @
80e8c138
...
...
@@ -4460,6 +4460,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.@)
*/
BOOL
WINAPI
DECLSPEC_HOTPATCH
IsCharAlphaA
(
CHAR
c
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment