Converts a buffer containing OEM characters to a buffer containing the corresponding ANSI characters.
Note: When calling this routine, ensure you are using the 1024 calling convention.
Syntax:
CALL "C$ConvertOemToAnsi" USING oem-buffer, ansi-buffer
[, char-count]
Parameters:
- oem-buffer
- PIC X(n)
- ansi-buffer
- PIC X(n)
- char-count
- PIC 9(n)
On Entry:
- oem-buffer
- The OEM characters to be converted to ANSI characters.
- char-count
- The number of characters to be converted.
Note: If omitted or if the value is invalid, the actual size of the shorter of ansi-buffer and oem-buffer is used.
On Exit:
- ansi-buffer
- The converted ANSI characters.