20{
23
27 {
31 {
32 skip(
"LocaleNameToLCID not found in kernel32.dll\n");
33 return;
34 }
35 }
36
39
42
45
46
51
56
61
62
63 static const struct
64 {
68 } SpecialCases[] =
69 {
70 {
L"az-Cyrl", 0x0742C, 0x0082C },
71 {
L"az-Latn", 0x0782C, 0x0042C },
72 {
L"ff-Latn", 0x07C67, 0x00867 },
73 {
L"bs", 0x0781A, 0x0141A },
74 {
L"bs-Cyrl", 0x0641A, 0x0201A },
75 {
L"bs-Latn", 0x0681A, 0x0141A },
76 {
L"chr-Cher", 0x07C5C, 0x0045C },
77 {
L"dsb", 0x07C2E, 0x0082E },
78 {
L"ha-Latn", 0x07C68, 0x00468 },
79 {
L"iu-Cans", 0x0785D, 0x0045D },
80 {
L"iu-Latn", 0x07C5D, 0x0085D },
81 {
L"ku-Arab", 0x07C92, 0x00492 },
82 {
L"mn-Cyrl", 0x07850, 0x00450 },
83 {
L"mn-Mong", 0x07C50, 0x00850 },
84 {
L"nb", 0x07C14, 0x00414 },
85 {
L"nn", 0x07814, 0x00814 },
86 {
L"pa-Arab", 0x07C46, 0x00846 },
87 {
L"smn", 0x0703B, 0x0243B },
88 {
L"sd-Arab", 0x07C59, 0x00859 },
89 {
L"sma", 0x0783B, 0x01C3B },
90 {
L"smj", 0x07C3B, 0x0143B },
91 {
L"sms", 0x0743B, 0x0203B },
92 {
L"sr-Cyrl", 0x06C1A, 0x0281A },
93 {
L"sr-Latn", 0x0701A, 0x0241A },
94 {
L"tg-Cyrl", 0x07C28, 0x00428 },
95 {
L"tzm-Latn", 0x07C5F, 0x0085F },
96 {
L"tzm-Tfng", 0x0785F, 0x0105F },
97 {
L"uz-Cyrl", 0x07843, 0x00843 },
98 {
L"uz-Latn", 0x07C43, 0x00443 },
99 {
L"zh", 0x07804, 0x00804 },
100 {
L"zh-Hant", 0x07C04, 0x00C04 },
101 };
102
104 {
106 ok(
lcid == SpecialCases[
i].Neutral,
107 "Wrong neutral lcid for '%S': expected 0x%lx, got 0x%lx\n",
108 SpecialCases[
i].
Name, SpecialCases[
i].Neutral,
lcid);
110 ok(
lcid == SpecialCases[
i].Default,
111 "Wrong default lcid for '%S': expected 0x%lx, got 0x%lx\n",
112 SpecialCases[
i].
Name, SpecialCases[
i].Default,
lcid);
113 }
114
119
124
125
128
129
132
133
138
143
144}
#define ok_eq_hex(value, expected)
#define ERROR_INVALID_PARAMETER
#define GetProcAddress(x, y)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
LCID WINAPI GetUserDefaultLCID(void)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
FN_LocaleNameToLCID * pLocaleNameToLCID
LCID WINAPI FN_LocaleNameToLCID(_In_ LPCWSTR lpName, _In_ DWORD dwFlags)
#define MAKELCID(lgid, srtid)
#define SUBLANG_SPANISH_US
#define SUBLANG_ENGLISH_US
#define LOCALE_ALLOW_NEUTRAL_NAMES