1. SBCS character index
It stores the character bitmap index of SBCS character codes from 0 to 255. The definition is as follows:2. First DBCS character width table
This is a character table for 7936 characters with lead bytes of 0x81 through 0x9F in Shift JIS code. The index definition of the array is given below. The first subscript is the value "lead byte - 0x81". The second subscript is the value "trailer byte - 0x40".3. Second DBCS character width table
This is a character table for 7424 characters with lead bytes of 0xE0 through 0xFC in Shift JIS code. The index definition of the array is given below. The first subscript is the value "lead byte - 0xe0". The second subscript is the value "trailer byte - 0x40". typedef struct {
USHORT OffsetInSegment;
The offset position in the virtual bitmap index table.
BITMAP_INDEX TheIndex;
The content to substitute.
} ONE_PATCH;
typedef struct {
USHORT NumberOfPatchs;
Number of patches (0 if there is no character to patch)
ONE_PATCH patchs[]; /* Repeated as many times as the number of patches */
Content of patch
} PATCH_TABLE;