OemToAnsi

2.x

  void OemToAnsi(hpszOemStr, hpszWindowsStr)    
  const char _huge* hpszOemStr; /* address of string to translate */
  char _huge* hpszWindowsStr; /* address of translated string buffer */

The OemToAnsi function translates a string from the OEM-defined character set into the Windows character set.

Parameters

hpszOemStr

Points to a null-terminated string of characters from the OEM-defined character set.

hpszWindowsStr

Points to the location where the translated string is to be copied. To translate the string in place, the hpszWindowsStr parameter can be the same as the hpszOemStr parameter.

Return Value

This function does not return a value.

See Also

AnsiToOem, OemToAnsiBuff