AnsiToOemBuff

3.0

  void AnsiToOemBuff(lpszWindowsStr, lpszOemStr, cbWindowsStr)    
  LPCSTR lpszWindowsStr; /* address of string to translate */
  LPSTR lpszOemStr; /* address of buffer for translated string */
  UINT cbWindowsStr; /* length of string to translate */

The AnsiToOemBuff function translates a string from the Windows character set into the specified OEM character set.

Parameters

lpszWindowsStr

Points to a buffer containing one or more characters from the Windows character set.

lpszOemStr

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

cbWindowsStr

Specifies the number of bytes in the buffer identified by the lpszWindowsStr parameter. If cbWindowsStr is zero, the length is 64K (65,536).

Return Value

This function does not return a value.

See Also

AnsiToOem, OemToAnsi