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