9 #define MAXIMUM_LEADBYTES 12
11 /* Some documentation can be found here: http://www.ping.uio.no/~ovehk/nls/ */
12 typedef struct _CPTABLEINFO
{
14 USHORT MaximumCharacterSize
; /* 1 = SBCS, 2 = DBCS */
15 USHORT DefaultChar
; /* Default MultiByte Character for the CP->Unicode conversion */
16 USHORT UniDefaultChar
; /* Default Unicode Character for the CP->Unicode conversion */
17 USHORT TransDefaultChar
; /* Default MultiByte Character for the Unicode->CP conversion */
18 USHORT TransUniDefaultChar
; /* Default Unicode Character for the Unicode->CP conversion */
20 UCHAR LeadByte
[MAXIMUM_LEADBYTES
];
21 PUSHORT MultiByteTable
; /* Table for CP->Unicode conversion */
22 PVOID WideCharTable
; /* Table for Unicode->CP conversion */
25 } CPTABLEINFO
, *PCPTABLEINFO
;
27 typedef struct _NLSTABLEINFO
{
28 CPTABLEINFO OemTableInfo
;
29 CPTABLEINFO AnsiTableInfo
;
30 PUSHORT UpperCaseTable
;
31 PUSHORT LowerCaseTable
;
32 } NLSTABLEINFO
, *PNLSTABLEINFO
;