int AnsiToOem(lpAnsiStr,lpOemStr)
This function translates the string pointed to by the lpAnsiStr parameter from the ANSI character set into the OEM-defined character set. The string can be greater than 64K in length.
Parameter | Type/Description |
lpAnsiStr | LPSTR Points to a null-terminated string of characters from the ANSI character set. | |
lpOemStr | LPSTR Points to the location where the translated string is to be copied. The lpOemStr parameter can be the same as lpAnsiStr to translate the string in place. |
The return value is always –1.