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
1c7d32aa
Commit
1c7d32aa
authored
Jan 02, 2011
by
Thomas Mullaly
Committed by
Alexandre Julliard
Jan 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added stubs for IDN functions.
parent
40294182
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
1 deletion
+63
-1
Makefile.in
dlls/kernel32/Makefile.in
+1
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+5
-0
locale.c
dlls/kernel32/locale.c
+57
-0
No files found.
dlls/kernel32/Makefile.in
View file @
1c7d32aa
EXTRADEFS
=
-D_KERNEL32_
EXTRADEFS
=
-D_KERNEL32_
-D_NORMALIZE_
MODULE
=
kernel32.dll
IMPORTLIB
=
kernel32
IMPORTS
=
winecrt0 ntdll
...
...
dlls/kernel32/kernel32.spec
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)
...
...
dlls/kernel32/locale.c
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
;
}
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