CPINFO

struct tagCPINFO {

UINT MaxCharSize;

BYTE DefaultChar[2];

BYTE LeadByte[12];

} CPINFO

typedef CPINFO *LPCPINFO

The CPINFO structure contains information about a Code Page.

Members

MaxCharSize

The maximum length, in bytes, of a character in this code page.

DefaultChar

The default character used in code page translations into this code page (according to the translation options specified on the WideCharToMultiByte function).

LeadByte

A variable-length array of lead byte ranges. If there are no lead bytes in this code page, then every element of the array is NULL. If there are lead bytes in this code page, a starting value and ending value is given for each range. Ranges are inclusive. The length of 12 reflects the fact that the maximum number of lead byte ranges for any code page is 5 (each range takes 2 bytes to describe, plus a double-byte null-terminator).