Converts a buffer containing ANSI characters to a buffer containing the corresponding OEM characters.
When calling this routine, ensure you are using the 1024 calling convention.
This is supported on Windows only.
Syntax:
CALL "C$ConvertAnsiToOem" USING ansi-buffer, oem-buffer
[, char-count]
Parameters:
- ansi-buffer
- PIC X(n)
- oem-buffer
- PIC X(n)
-
- char-count
- PIC 9(n)
On Entry:
- ansi-buffer
- The ANSI characters to be converted to OEM 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:
- oem-buffer
- The converted OEM characters.