10 // FIXME: Shouldn't be included!
14 /* Helper macro to enable gcc's extension. */
15 #ifndef __GNU_EXTENSION
17 #define __GNU_EXTENSION __extension__
19 #define __GNU_EXTENSION
23 typedef unsigned long POINTER_64
; // FIXME! HACK!!!
25 /* Pseudo Modifiers for Input Parameters */
52 /* Defines the "size" of an any-size array */
54 #define ANYSIZE_ARRAY 1
57 /* Constant modifier */
72 #define NULL ((void *)0)
73 #define NULL64 ((void * POINTER_64)0)
80 // We should use the -fms-extensions compiler flag for gcc,
81 // and clean up the mess.
83 #ifndef __ANONYMOUS_DEFINED
84 #define __ANONYMOUS_DEFINED
86 #ifndef NONAMELESSUNION
88 #define _ANONYMOUS_UNION __GNU_EXTENSION
89 #define _ANONYMOUS_STRUCT __GNU_EXTENSION
90 #elif defined(__WATCOMC__) || defined(_MSC_VER)
91 #define _ANONYMOUS_UNION
92 #define _ANONYMOUS_STRUCT
93 #endif /* __GNUC__/__WATCOMC__ */
94 #endif /* NONAMELESSUNION */
96 #ifndef _ANONYMOUS_UNION
97 #define _ANONYMOUS_UNION
98 #define _UNION_NAME(x) x
99 #define DUMMYUNIONNAME u
100 #define DUMMYUNIONNAME2 u2
101 #define DUMMYUNIONNAME3 u3
102 #define DUMMYUNIONNAME4 u4
103 #define DUMMYUNIONNAME5 u5
104 #define DUMMYUNIONNAME6 u6
105 #define DUMMYUNIONNAME7 u7
106 #define DUMMYUNIONNAME8 u8
108 #define _UNION_NAME(x)
109 #define DUMMYUNIONNAME
110 #define DUMMYUNIONNAME2
111 #define DUMMYUNIONNAME3
112 #define DUMMYUNIONNAME4
113 #define DUMMYUNIONNAME5
114 #define DUMMYUNIONNAME6
115 #define DUMMYUNIONNAME7
116 #define DUMMYUNIONNAME8
119 #ifndef _ANONYMOUS_STRUCT
120 #define _ANONYMOUS_STRUCT
121 #define _STRUCT_NAME(x) x
122 #define DUMMYSTRUCTNAME s
123 #define DUMMYSTRUCTNAME2 s2
124 #define DUMMYSTRUCTNAME3 s3
125 #define DUMMYSTRUCTNAME4 s4
126 #define DUMMYSTRUCTNAME5 s5
128 #define _STRUCT_NAME(x)
129 #define DUMMYSTRUCTNAME
130 #define DUMMYSTRUCTNAME2
131 #define DUMMYSTRUCTNAME3
132 #define DUMMYSTRUCTNAME4
133 #define DUMMYSTRUCTNAME5
136 #endif /* __ANONYMOUS_DEFINED */
141 #define RESTRICTED_POINTER
144 #define ARGUMENT_PRESENT(ArgumentPointer) \
145 ((CHAR*)((ULONG_PTR)(ArgumentPointer)) != (CHAR*)NULL)
147 /* Returns the base address of a structure from a structure member */
148 #ifndef CONTAINING_RECORD
149 #define CONTAINING_RECORD(address, type, field) \
150 ((type *)(((ULONG_PTR)address) - (ULONG_PTR)(&(((type *)0)->field))))
153 /* Returns the byte offset of the specified structure's member */
155 #define FIELD_OFFSET(Type, Field) ((LONG)(LONG_PTR)&(((Type*) 0)->Field))
157 #define FIELD_OFFSET(Type, Field) __builtin_offsetof(Type, Field)
160 /* Returns the type's alignment */
161 #if defined(_MSC_VER) && (_MSC_VER >= 1300)
162 #define TYPE_ALIGNMENT(t) __alignof(t)
164 #define TYPE_ALIGNMENT(t) FIELD_OFFSET( struct { char x; t test; }, test )
167 /* Calling Conventions */
169 #define FASTCALL __fastcall
174 #define NTAPI __stdcall
177 /* Import and Export Specifiers */
179 /* Done the same way as in windef.h for now */
180 #define DECLSPEC_IMPORT __declspec(dllimport)
181 #define DECLSPEC_NORETURN __declspec(noreturn)
183 #ifndef DECLSPEC_ADDRSAFE
184 #if (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64))
185 #define DECLSPEC_ADDRSAFE __declspec(address_safe)
187 #define DECLSPEC_ADDRSAFE
191 #if !defined(_NTSYSTEM_)
192 #define NTSYSAPI DECLSPEC_IMPORT
193 #define NTSYSCALLAPI DECLSPEC_IMPORT
196 #if defined(_NTDLLBUILD_)
199 #define NTSYSCALLAPI DECLSPEC_ADDRSAFE
205 #if (_MSC_VER >= 1200)
206 #define FORCEINLINE __forceinline
208 #define FORCEINLINE __inline
210 #define FORCEINLINE static __inline__ __attribute__((always_inline))
214 #ifndef DECLSPEC_NOINLINE
215 #if (_MSC_VER >= 1300)
216 #define DECLSPEC_NOINLINE __declspec(noinline)
217 #elif defined(__GNUC__)
218 #define DECLSPEC_NOINLINE __attribute__((noinline))
220 #define DECLSPEC_NOINLINE
224 #if !defined(_M_CEE_PURE)
225 #define NTAPI_INLINE NTAPI
230 /* Use to specify structure alignment */
231 #ifndef DECLSPEC_ALIGN
232 #if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
233 #define DECLSPEC_ALIGN(x) __declspec(align(x))
234 #elif defined(__GNUC__)
235 #define DECLSPEC_ALIGN(x) __attribute__((aligned(x)))
237 #define DECLSPEC_ALIGN(x)
241 /* Use to silence unused variable warnings when it is intentional */
242 #define UNREFERENCED_PARAMETER(P) {(P)=(P);}
243 #define UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
244 #define DBG_UNREFERENCED_PARAMETER(P)
245 #define DBG_UNREFERENCED_LOCAL_VARIABLE(L)
247 /* min/max helper macros */
251 #define min(a,b) (((a) < (b)) ? (a) : (b))
255 #define max(a,b) (((a) > (b)) ? (a) : (b))
258 #endif /* NOMINMAX */
260 /* Tell windef.h that we have defined some basic types */
265 //typedef void * POINTER_64 PVOID64;
266 typedef PVOID PVOID64
; // FIXME!
270 typedef void *HANDLE
;
271 #define DECLARE_HANDLE(n) typedef struct n##__{int i;}*n
273 typedef PVOID HANDLE
;
274 #define DECLARE_HANDLE(n) typedef HANDLE n
276 typedef HANDLE
*PHANDLE
;
278 /* Upper-Case Versions of Some Standard C Types */
284 #if !defined(MIDL_PASS)
288 typedef double DOUBLE
;
291 typedef unsigned char UCHAR
, *PUCHAR
;
292 typedef unsigned short USHORT
, *PUSHORT
;
293 typedef unsigned long ULONG
, *PULONG
;
294 typedef CONST UCHAR
*PCUCHAR
;
295 typedef CONST USHORT
*PCUSHORT
;
296 typedef CONST ULONG
*PCULONG
;
298 typedef USHORT FSHORT
;
300 typedef UCHAR BOOLEAN
, *PBOOLEAN
;
301 typedef ULONG LOGICAL
;
302 typedef ULONG
*PLOGICAL
;
305 typedef SHORT
*PSHORT
;
307 typedef LONG NTSTATUS
;
308 typedef NTSTATUS
*PNTSTATUS
;
309 typedef signed char SCHAR
;
310 typedef SCHAR
*PSCHAR
;
312 #ifndef _HRESULT_DEFINED
313 #define _HRESULT_DEFINED
314 typedef LONG HRESULT
;
318 __GNU_EXTENSION
typedef __int64 LONGLONG
, *PLONGLONG
;
319 __GNU_EXTENSION
typedef unsigned __int64 ULONGLONG
, *PULONGLONG
;
320 typedef ULONGLONG DWORDLONG
, *PDWORDLONG
;
322 /* Update Sequence Number */
323 typedef LONGLONG USN
;
325 /* ANSI (Multi-byte Character) types */
326 typedef CHAR
*PCHAR
, *LPCH
, *PCH
;
327 typedef CONST CHAR
*LPCCH
, *PCCH
;
328 typedef CHAR
*NPSTR
, *LPSTR
, *PSTR
;
329 typedef PSTR
*PZPSTR
;
330 typedef CONST PSTR
*PCZPSTR
;
331 typedef CONST CHAR
*LPCSTR
, *PCSTR
;
332 typedef PCSTR
*PZPCSTR
;
334 /* Pointer to an Asciiz string */
336 typedef CONST
char *PCSZ
;
338 /* UNICODE (Wide Character) types */
339 typedef wchar_t WCHAR
;
340 typedef WCHAR
*PWCHAR
, *LPWCH
, *PWCH
;
341 typedef CONST WCHAR
*LPCWCH
, *PCWCH
;
342 typedef WCHAR
*NWPSTR
, *LPWSTR
, *PWSTR
;
343 typedef PWSTR
*PZPWSTR
;
344 typedef CONST PWSTR
*PCZPWSTR
;
345 typedef WCHAR UNALIGNED
*LPUWSTR
, *PUWSTR
;
346 typedef CONST WCHAR
*LPCWSTR
, *PCWSTR
;
347 typedef PCWSTR
*PZPCWSTR
;
348 typedef CONST WCHAR UNALIGNED
*LPCUWSTR
, *PCUWSTR
;
350 /* Cardinal Data Types */
351 typedef char CCHAR
, *PCCHAR
;
352 typedef short CSHORT
, *PCSHORT
;
353 typedef ULONG CLONG
, *PCLONG
;
355 /* NLS basics (Locale and Language Ids) */
357 typedef PULONG PLCID
;
358 typedef USHORT LANGID
;
360 /* Used to store a non-float 8 byte aligned structure */
363 _ANONYMOUS_UNION
union
365 __GNU_EXTENSION __int64 UseThisFieldToCopy
;
366 double DoNotUseThisField
;
368 } QUAD
, *PQUAD
, UQUAD
, *PUQUAD
;
370 /* Large Integer Unions */
371 #if defined(MIDL_PASS)
372 typedef struct _LARGE_INTEGER
{
374 typedef union _LARGE_INTEGER
{
375 _ANONYMOUS_STRUCT
struct
385 #endif /* MIDL_PASS */
387 } LARGE_INTEGER
, *PLARGE_INTEGER
;
389 #if defined(MIDL_PASS)
390 typedef struct _ULARGE_INTEGER
{
392 typedef union _ULARGE_INTEGER
{
393 _ANONYMOUS_STRUCT
struct
403 #endif /* MIDL_PASS */
405 } ULARGE_INTEGER
, *PULARGE_INTEGER
;
407 /* Physical Addresses are always treated as 64-bit wide */
408 typedef LARGE_INTEGER PHYSICAL_ADDRESS
, *PPHYSICAL_ADDRESS
;
410 /* Locally Unique Identifier */
411 typedef struct _LUID
{
416 /* Native API Return Value Macros */
417 #define NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0)
418 #define NT_INFORMATION(Status) ((((ULONG)(Status)) >> 30) == 1)
419 #define NT_WARNING(Status) ((((ULONG)(Status)) >> 30) == 2)
420 #define NT_ERROR(Status) ((((ULONG)(Status)) >> 30) == 3)
423 typedef struct _UNICODE_STRING
{
425 USHORT MaximumLength
;
427 } UNICODE_STRING
, *PUNICODE_STRING
;
428 typedef const UNICODE_STRING
* PCUNICODE_STRING
;
429 #define UNICODE_NULL ((WCHAR)0)
431 typedef struct _CSTRING
{
433 USHORT MaximumLength
;
435 } CSTRING
, *PCSTRING
;
436 #define ANSI_NULL ((CHAR)0)
438 typedef struct _STRING
{
440 USHORT MaximumLength
;
444 typedef STRING ANSI_STRING
;
445 typedef PSTRING PANSI_STRING
;
446 typedef STRING OEM_STRING
;
447 typedef PSTRING POEM_STRING
;
448 typedef CONST STRING
* PCOEM_STRING
;
449 typedef STRING CANSI_STRING
;
450 typedef PSTRING PCANSI_STRING
;
452 typedef struct _STRING32
{
454 USHORT MaximumLength
;
456 } STRING32
, *PSTRING32
,
457 UNICODE_STRING32
, *PUNICODE_STRING32
,
458 ANSI_STRING32
, *PANSI_STRING32
;
460 typedef struct _STRING64
{
462 USHORT MaximumLength
;
464 } STRING64
, *PSTRING64
,
465 UNICODE_STRING64
, *PUNICODE_STRING64
,
466 ANSI_STRING64
, *PANSI_STRING64
;
469 #define MAKELANGID(p, s) ((((USHORT)(s)) << 10) | (USHORT)(p))
470 #define PRIMARYLANGID(lgid) ((USHORT)(lgid) & 0x3ff)
471 #define SUBLANGID(lgid) ((USHORT)(lgid) >> 10)
473 #define NLS_VALID_LOCALE_MASK 0x000fffff
475 #define MAKELCID(lgid, srtid) ((ULONG)((((ULONG)((USHORT)(srtid))) << 16) | \
476 ((ULONG)((USHORT)(lgid)))))
477 #define MAKESORTLCID(lgid, srtid, ver) \
478 ((ULONG)((MAKELCID(lgid, srtid)) | \
479 (((ULONG)((USHORT)(ver))) << 20)))
480 #define LANGIDFROMLCID(lcid) ((USHORT)(lcid))
481 #define SORTIDFROMLCID(lcid) ((USHORT)((((ULONG)(lcid)) >> 16) & 0xf))
482 #define SORTVERSIONFROMLCID(lcid) ((USHORT)((((ULONG)(lcid)) >> 20) & 0xf))
485 /* Object Attributes */
486 typedef struct _OBJECT_ATTRIBUTES
{
488 HANDLE RootDirectory
;
489 PUNICODE_STRING ObjectName
;
491 PVOID SecurityDescriptor
;
492 PVOID SecurityQualityOfService
;
493 } OBJECT_ATTRIBUTES
, *POBJECT_ATTRIBUTES
;
494 typedef CONST OBJECT_ATTRIBUTES
*PCOBJECT_ATTRIBUTES
;
496 /* Values for the Attributes member */
497 #define OBJ_INHERIT 0x00000002
498 #define OBJ_PERMANENT 0x00000010
499 #define OBJ_EXCLUSIVE 0x00000020
500 #define OBJ_CASE_INSENSITIVE 0x00000040
501 #define OBJ_OPENIF 0x00000080
502 #define OBJ_OPENLINK 0x00000100
503 #define OBJ_KERNEL_HANDLE 0x00000200
504 #define OBJ_FORCE_ACCESS_CHECK 0x00000400
505 #define OBJ_VALID_ATTRIBUTES 0x000007F2
508 #define InitializeObjectAttributes(p,n,a,r,s) { \
509 (p)->Length = sizeof(OBJECT_ATTRIBUTES); \
510 (p)->RootDirectory = (r); \
511 (p)->Attributes = (a); \
512 (p)->ObjectName = (n); \
513 (p)->SecurityDescriptor = (s); \
514 (p)->SecurityQualityOfService = NULL; \
518 typedef enum _NT_PRODUCT_TYPE
{
522 } NT_PRODUCT_TYPE
, *PNT_PRODUCT_TYPE
;
524 typedef enum _EVENT_TYPE
{
529 typedef enum _TIMER_TYPE
{
534 typedef enum _WAIT_TYPE
{
539 /* Doubly Linked Lists */
540 typedef struct _LIST_ENTRY
{
541 struct _LIST_ENTRY
*Flink
;
542 struct _LIST_ENTRY
*Blink
;
543 } LIST_ENTRY
, *PLIST_ENTRY
, *RESTRICTED_POINTER PRLIST_ENTRY
;
545 typedef struct LIST_ENTRY32
549 } LIST_ENTRY32
, *PLIST_ENTRY32
;
551 typedef struct LIST_ENTRY64
555 } LIST_ENTRY64
, *PLIST_ENTRY64
;
557 /* Singly Linked Lists */
558 typedef struct _SINGLE_LIST_ENTRY
{
559 struct _SINGLE_LIST_ENTRY
*Next
;
560 } SINGLE_LIST_ENTRY
, *PSINGLE_LIST_ENTRY
;
562 typedef struct _PROCESSOR_NUMBER
{
566 } PROCESSOR_NUMBER
, *PPROCESSOR_NUMBER
;
568 typedef EXCEPTION_DISPOSITION
569 (NTAPI
*PEXCEPTION_ROUTINE
)(
570 IN
struct _EXCEPTION_RECORD
*ExceptionRecord
,
571 IN PVOID EstablisherFrame
,
572 IN OUT
struct _CONTEXT
*ContextRecord
,
573 IN OUT PVOID DispatcherContext
);
575 typedef struct _GROUP_AFFINITY
{
579 } GROUP_AFFINITY
, *PGROUP_AFFINITY
;
582 #define RTL_CONSTANT_STRING(s) { sizeof(s)-sizeof((s)[0]), sizeof(s), s }
584 #define RTL_FIELD_SIZE(type, field) (sizeof(((type *)0)->field))
586 #define RTL_NUMBER_OF_V1(A) (sizeof(A)/sizeof((A)[0]))
587 #define RTL_NUMBER_OF_V2(A) RTL_NUMBER_OF_V1(A)
588 #ifdef ENABLE_RTL_NUMBER_OF_V2
589 #define RTL_NUMBER_OF(A) RTL_NUMBER_OF_V2(A)
591 #define RTL_NUMBER_OF(A) RTL_NUMBER_OF_V1(A)
593 #define ARRAYSIZE(A) RTL_NUMBER_OF_V2(A)
598 #define MINSHORT 0x8000
599 #define MAXSHORT 0x7fff
600 #define MINLONG 0x80000000
601 #define MAXLONG 0x7fffffff
602 #define MAXUCHAR 0xff
603 #define MAXUSHORT 0xffff
604 #define MAXULONG 0xffffffff
605 #define MAXLONGLONG (0x7fffffffffffffffLL)
607 /* Multiplication and Shift Operations */
608 #define Int32x32To64(a,b) ((LONGLONG)(a)*(LONGLONG)(b))
609 #define UInt32x32To64(a,b) ((DWORDLONG)(a)*(DWORDLONG)(b))
610 #define Int64ShllMod32(a,b) ((DWORDLONG)(a)<<(b))
611 #define Int64ShraMod32(a,b) ((LONGLONG)(a)>>(b))
612 #define Int64ShrlMod32(a,b) ((DWORDLONG)(a)>>(b))
614 /* C_ASSERT Definition */
615 #define C_ASSERT(expr) extern char (*c_assert(void)) [(expr) ? 1 : -1]
617 /* Primary language IDs. */
618 #define LANG_NEUTRAL 0x00
619 #define LANG_INVARIANT 0x7f
621 #define LANG_AFRIKAANS 0x36
622 #define LANG_ALBANIAN 0x1c
623 #define LANG_ALSATIAN 0x84
624 #define LANG_AMHARIC 0x5e
625 #define LANG_ARABIC 0x01
626 #define LANG_ARMENIAN 0x2b
627 #define LANG_ASSAMESE 0x4d
628 #define LANG_AZERI 0x2c
629 #define LANG_BASHKIR 0x6d
630 #define LANG_BASQUE 0x2d
631 #define LANG_BELARUSIAN 0x23
632 #define LANG_BENGALI 0x45
633 #define LANG_BRETON 0x7e
634 #define LANG_BOSNIAN 0x1a
635 #define LANG_BOSNIAN_NEUTRAL 0x781a
636 #define LANG_BULGARIAN 0x02
637 #define LANG_CATALAN 0x03
638 #define LANG_CHINESE 0x04
639 #define LANG_CHINESE_SIMPLIFIED 0x04
640 #define LANG_CHINESE_TRADITIONAL 0x7c04
641 #define LANG_CORSICAN 0x83
642 #define LANG_CROATIAN 0x1a
643 #define LANG_CZECH 0x05
644 #define LANG_DANISH 0x06
645 #define LANG_DARI 0x8c
646 #define LANG_DIVEHI 0x65
647 #define LANG_DUTCH 0x13
648 #define LANG_ENGLISH 0x09
649 #define LANG_ESTONIAN 0x25
650 #define LANG_FAEROESE 0x38
651 #define LANG_FARSI 0x29
652 #define LANG_FILIPINO 0x64
653 #define LANG_FINNISH 0x0b
654 #define LANG_FRENCH 0x0c
655 #define LANG_FRISIAN 0x62
656 #define LANG_GALICIAN 0x56
657 #define LANG_GEORGIAN 0x37
658 #define LANG_GERMAN 0x07
659 #define LANG_GREEK 0x08
660 #define LANG_GREENLANDIC 0x6f
661 #define LANG_GUJARATI 0x47
662 #define LANG_HAUSA 0x68
663 #define LANG_HEBREW 0x0d
664 #define LANG_HINDI 0x39
665 #define LANG_HUNGARIAN 0x0e
666 #define LANG_ICELANDIC 0x0f
667 #define LANG_IGBO 0x70
668 #define LANG_INDONESIAN 0x21
669 #define LANG_INUKTITUT 0x5d
670 #define LANG_IRISH 0x3c
671 #define LANG_ITALIAN 0x10
672 #define LANG_JAPANESE 0x11
673 #define LANG_KANNADA 0x4b
674 #define LANG_KASHMIRI 0x60
675 #define LANG_KAZAK 0x3f
676 #define LANG_KHMER 0x53
677 #define LANG_KICHE 0x86
678 #define LANG_KINYARWANDA 0x87
679 #define LANG_KONKANI 0x57
680 #define LANG_KOREAN 0x12
681 #define LANG_KYRGYZ 0x40
682 #define LANG_LAO 0x54
683 #define LANG_LATVIAN 0x26
684 #define LANG_LITHUANIAN 0x27
685 #define LANG_LOWER_SORBIAN 0x2e
686 #define LANG_LUXEMBOURGISH 0x6e
687 #define LANG_MACEDONIAN 0x2f
688 #define LANG_MALAY 0x3e
689 #define LANG_MALAYALAM 0x4c
690 #define LANG_MALTESE 0x3a
691 #define LANG_MANIPURI 0x58
692 #define LANG_MAORI 0x81
693 #define LANG_MAPUDUNGUN 0x7a
694 #define LANG_MARATHI 0x4e
695 #define LANG_MOHAWK 0x7c
696 #define LANG_MONGOLIAN 0x50
697 #define LANG_NEPALI 0x61
698 #define LANG_NORWEGIAN 0x14
699 #define LANG_OCCITAN 0x82
700 #define LANG_ORIYA 0x48
701 #define LANG_PASHTO 0x63
702 #define LANG_PERSIAN 0x29
703 #define LANG_POLISH 0x15
704 #define LANG_PORTUGUESE 0x16
705 #define LANG_PUNJABI 0x46
706 #define LANG_QUECHUA 0x6b
707 #define LANG_ROMANIAN 0x18
708 #define LANG_ROMANSH 0x17
709 #define LANG_RUSSIAN 0x19
710 #define LANG_SAMI 0x3b
711 #define LANG_SANSKRIT 0x4f
712 #define LANG_SERBIAN 0x1a
713 #define LANG_SERBIAN_NEUTRAL 0x7c1a
714 #define LANG_SINDHI 0x59
715 #define LANG_SINHALESE 0x5b
716 #define LANG_SLOVAK 0x1b
717 #define LANG_SLOVENIAN 0x24
718 #define LANG_SOTHO 0x6c
719 #define LANG_SPANISH 0x0a
720 #define LANG_SWAHILI 0x41
721 #define LANG_SWEDISH 0x1d
722 #define LANG_SYRIAC 0x5a
723 #define LANG_TAJIK 0x28
724 #define LANG_TAMAZIGHT 0x5f
725 #define LANG_TAMIL 0x49
726 #define LANG_TATAR 0x44
727 #define LANG_TELUGU 0x4a
728 #define LANG_THAI 0x1e
729 #define LANG_TIBETAN 0x51
730 #define LANG_TIGRIGNA 0x73
731 #define LANG_TSWANA 0x32
732 #define LANG_TURKISH 0x1f
733 #define LANG_TURKMEN 0x42
734 #define LANG_UIGHUR 0x80
735 #define LANG_UKRAINIAN 0x22
736 #define LANG_UPPER_SORBIAN 0x2e
737 #define LANG_URDU 0x20
738 #define LANG_UZBEK 0x43
739 #define LANG_VIETNAMESE 0x2a
740 #define LANG_WELSH 0x52
741 #define LANG_WOLOF 0x88
742 #define LANG_XHOSA 0x34
743 #define LANG_YAKUT 0x85
745 #define LANG_YORUBA 0x6a
746 #define LANG_ZULU 0x35