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
148b38d9
Commit
148b38d9
authored
Jan 02, 2011
by
Thomas Mullaly
Committed by
Alexandre Julliard
Jan 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Added IDN support functions and types.
parent
4121ac12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
winnls.h
include/winnls.h
+23
-0
No files found.
include/winnls.h
View file @
148b38d9
...
...
@@ -24,6 +24,12 @@
extern
"C"
{
#endif
#ifndef _NORMALIZE_
# define WINNORMALIZEAPI DECLSPEC_IMPORT
#else
# define WINNORMALIZEAPI
#endif
/* Country codes */
#define CTRY_DEFAULT (0)
#define CTRY_ALBANIA (355)
...
...
@@ -532,9 +538,21 @@ extern "C" {
#define LGRPID_GEORGIAN 0x10
#define LGRPID_ARMENIAN 0x11
/* IDN defines. */
#define IDN_ALLOW_UNASSIGNED 0x1
#define IDN_USE_STD3_ASCII_RULES 0x2
/* Types
*/
typedef
enum
_NORM_FORM
{
NormalizationOther
=
0
,
NormalizationC
=
0x1
,
NormalizationD
=
0x2
,
NormalizationKC
=
0x5
,
NormalizationKD
=
0x6
}
NORM_FORM
;
typedef
DWORD
CALID
;
typedef
DWORD
CALTYPE
;
typedef
LONG
GEOID
;
...
...
@@ -790,8 +808,12 @@ WINBASEAPI LCID WINAPI GetUserDefaultLCID(void);
WINBASEAPI
INT
WINAPI
GetUserDefaultLocaleName
(
LPWSTR
,
int
);
WINBASEAPI
LANGID
WINAPI
GetUserDefaultUILanguage
(
void
);
WINBASEAPI
GEOID
WINAPI
GetUserGeoID
(
GEOCLASS
);
WINNORMALIZEAPI
INT
WINAPI
IdnToAscii
(
DWORD
,
LPCWSTR
,
INT
,
LPWSTR
,
INT
);
WINNORMALIZEAPI
INT
WINAPI
IdnToNameprepUnicode
(
DWORD
,
LPCWSTR
,
INT
,
LPWSTR
,
INT
);
WINNORMALIZEAPI
INT
WINAPI
IdnToUnicode
(
DWORD
,
LPCWSTR
,
INT
,
LPWSTR
,
INT
);
WINBASEAPI
BOOL
WINAPI
IsDBCSLeadByte
(
BYTE
);
WINBASEAPI
BOOL
WINAPI
IsDBCSLeadByteEx
(
UINT
,
BYTE
);
WINNORMALIZEAPI
BOOL
WINAPI
IsNormalizedString
(
NORM_FORM
,
LPCWSTR
,
INT
);
WINBASEAPI
BOOL
WINAPI
IsValidCodePage
(
UINT
);
WINBASEAPI
BOOL
WINAPI
IsValidLocale
(
LCID
,
DWORD
);
WINBASEAPI
BOOL
WINAPI
IsValidLanguageGroup
(
LGRPID
,
DWORD
);
...
...
@@ -801,6 +823,7 @@ WINBASEAPI INT WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,INT,LPWSTR,INT);
#define LCMapString WINELIB_NAME_AW(LCMapString)
WINBASEAPI
LCID
WINAPI
LocaleNameToLCID
(
LPCWSTR
,
DWORD
);
WINBASEAPI
INT
WINAPI
MultiByteToWideChar
(
UINT
,
DWORD
,
LPCSTR
,
INT
,
LPWSTR
,
INT
);
WINNORMALIZEAPI
INT
WINAPI
NormalizeString
(
NORM_FORM
,
LPCWSTR
,
INT
,
LPWSTR
,
INT
);
WINBASEAPI
INT
WINAPI
SetCalendarInfoA
(
LCID
,
CALID
,
CALTYPE
,
LPCSTR
);
WINBASEAPI
INT
WINAPI
SetCalendarInfoW
(
LCID
,
CALID
,
CALTYPE
,
LPCWSTR
);
#define SetCalendarInfo WINELIB_NAME_AW(SetCalendarInfo)
...
...
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