msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CODEPAGEINFO (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
typedef struct _CODEPAGEINFO {    /* cpi */
    PBYTE pbTransTable;
    USHORT idCodePage;
    USHORT idTable;
} CODEPAGEINFO;
 
The CODEPAGEINFO structure specifies the code page and the translation table
to be set.
 
Field         Description
────────────────────────────────────────────────────────────────────────────
 
pbTransTable  Points to the keyboard translation table.
 
idCodePage    Specifies a code-page identifier. It can be one of the
              following values:
 
              Number  Code page
              ──────────────────────────────────────────────────────────────
              437     United States
 
              850     Multilingual
 
              860     Portuguese
 
              863     French-Canadian
 
              865     Nordic
 
idTable       Specifies the translation table to be replaced. If this value
              is 0xFFFF, it specifies the custom translation table.
 
See Also
 
KBD_SETNLS