Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
1c7d32aa
Commit
1c7d32aa
authored
14 years ago
by
Thomas Mullaly
Committed by
Alexandre Julliard
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
kernel32: Added stubs for IDN functions.
parent
40294182
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/kernel32/Makefile.in
+1
-1
1 addition, 1 deletion
dlls/kernel32/Makefile.in
dlls/kernel32/kernel32.spec
+5
-0
5 additions, 0 deletions
dlls/kernel32/kernel32.spec
dlls/kernel32/locale.c
+57
-0
57 additions, 0 deletions
dlls/kernel32/locale.c
with
63 additions
and
1 deletion
dlls/kernel32/Makefile.in
+
1
−
1
View file @
1c7d32aa
EXTRADEFS
=
-D_KERNEL32_
EXTRADEFS
=
-D_KERNEL32_
-D_NORMALIZE_
MODULE
=
kernel32.dll
IMPORTLIB
=
kernel32
IMPORTS
=
winecrt0 ntdll
...
...
This diff is collapsed.
Click to expand it.
dlls/kernel32/kernel32.spec
+
5
−
0
View file @
1c7d32aa
...
...
@@ -726,6 +726,9 @@
@ stub HeapUsage
@ stdcall HeapValidate(long long ptr)
@ stdcall 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 InitAtomTable(long)
@ stdcall InitializeCriticalSection(ptr)
@ stdcall InitializeCriticalSectionAndSpinCount(ptr long)
...
...
@@ -753,6 +756,7 @@
@ stdcall IsDBCSLeadByteEx(long long)
@ stdcall IsDebuggerPresent()
@ stub -i386 IsLSCallback
@ stdcall IsNormalizedString(long wstr long)
@ stdcall IsProcessInJob(long long ptr)
@ stdcall IsProcessorFeaturePresent(long)
@ stub -i386 IsSLCallback
...
...
@@ -832,6 +836,7 @@
# @ stub NlsConvertIntegerToString
# @ stub NlsGetCacheUpdateCount
# @ stub NlsResetProcessLocale
@ stdcall NormalizeString(long wstr long ptr long)
@ stub NotifyNLSUserCache
# @ stub NumaVirtualQueryNode
@ stdcall OpenConsoleW(wstr long long long)
...
...
This diff is collapsed.
Click to expand it.
dlls/kernel32/locale.c
+
57
−
0
View file @
1c7d32aa
...
...
@@ -3857,3 +3857,60 @@ INT WINAPI GetUserDefaultLocaleName(LPWSTR localename, int buffersize)
userlcid
=
GetUserDefaultLCID
();
return
LCIDToLocaleName
(
userlcid
,
localename
,
buffersize
,
0
);
}
/******************************************************************************
* NormalizeString (KERNEL32.@)
*/
INT
WINAPI
NormalizeString
(
NORM_FORM
NormForm
,
LPCWSTR
lpSrcString
,
INT
cwSrcLength
,
LPWSTR
lpDstString
,
INT
cwDstLength
)
{
FIXME
(
"%x %p %d %p %d
\n
"
,
NormForm
,
lpSrcString
,
cwSrcLength
,
lpDstString
,
cwDstLength
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/******************************************************************************
* IsNormalizedString (KERNEL32.@)
*/
BOOL
WINAPI
IsNormalizedString
(
NORM_FORM
NormForm
,
LPCWSTR
lpString
,
INT
cwLength
)
{
FIXME
(
"%x %p %d
\n
"
,
NormForm
,
lpString
,
cwLength
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* IdnToAscii (KERNEL32.@)
*/
INT
WINAPI
IdnToAscii
(
DWORD
dwFlags
,
LPCWSTR
lpUnicodeCharStr
,
INT
cchUnicodeChar
,
LPWSTR
lpASCIICharStr
,
INT
cchASCIIChar
)
{
FIXME
(
"%x %p %d %p %d
\n
"
,
dwFlags
,
lpUnicodeCharStr
,
cchUnicodeChar
,
lpASCIICharStr
,
cchASCIIChar
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/******************************************************************************
* IdnToNameprepUnicode (KERNEL32.@)
*/
INT
WINAPI
IdnToNameprepUnicode
(
DWORD
dwFlags
,
LPCWSTR
lpUnicodeCharStr
,
INT
cchUnicodeChar
,
LPWSTR
lpNameprepCharStr
,
INT
cchNameprepChar
)
{
FIXME
(
"%x %p %d %p %d
\n
"
,
dwFlags
,
lpUnicodeCharStr
,
cchUnicodeChar
,
lpNameprepCharStr
,
cchNameprepChar
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/******************************************************************************
* IdnToUnicode (KERNEL32.@)
*/
INT
WINAPI
IdnToUnicode
(
DWORD
dwFlags
,
LPCWSTR
lpASCIICharStr
,
INT
cchASCIIChar
,
LPWSTR
lpUnicodeCharStr
,
INT
cchUnicodeChar
)
{
FIXME
(
"%x %p %d %p %d
\n
"
,
dwFlags
,
lpASCIICharStr
,
cchASCIIChar
,
lpUnicodeCharStr
,
cchUnicodeChar
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment