DOS Fn 440cH CL=4CH: IOCTL Start Code Page Prepare
Compatibility: 3.3+
Expects: AX 440cH
BX file handle (device or disk file)
CL 4cH
CH device category: 00H=unknown
01H=COMn (DOS 3.3+)
03H=console (screen + keyboard) (DOS 3.3+)
05H=parallel printer (DOS 3.2+)
DS:DX addr of an IoctlCpPrepRec that contains information for the
new code page list.
──────────────────────────────────────────────────────────────────
Returns: AX error code if CF is set to CY
──────────────────────────────────────────────────────────────────
Info: Instructs a device driver to begin preparing a new code-page
list. It can also be used to select the hardware character set
or "refresh" the device with the most recently-prepared character
set.
Notes: ■ To set up a new code page list:
■ Prepare the IoctlCpPrepRec and call this fn
■ Call fn 4403h (send control data) to pass the code-page
character set remapping information to the driver.
■ Call fn 440cH 4dH (end cp prepare).
■ To reset to the hardware code page:
■ Prepare the IoctlCpPrepRec and call this fn
■ Immediately call fn 440cH 4dH (end cp prepare) without
sending any control data to the driver.
■ To "refresh" the most recently selected code page:
■ Prepare the IoctlCpPrepRec, filling all of the ccpIDs fields
with -1 (ffffH) and then call this function.
■ Immediately call fn 440cH 4dH (end cp prepare) without
sending any control data to the driver.
See Also: Fn 44H (IOCTL)
Fn 440cH (generic IOCTL for character devices)
Generic IOCTL Data Packets
National Language Support
DOS Functions
-♦-