void OemToAnsiBuff(lpszOemStr, lpszWindowsStr, cbOemStr) | |||||
LPCSTR lpszOemStr; | /* address of OEM character string | */ | |||
LPSTR lpszWindowsStr; | /* address of buffer for Windows string | */ | |||
UINT cbOemStr; | /* length of OEM string | */ |
The OemToAnsiBuff function translates a string from the OEM-defined character set into the Windows character set.
lpszOemStr
Points to a buffer containing one or more characters from the OEM-defined character set.
lpszWindowsStr
Points to the location where the translated string is to be copied. To translate the string in place, the lpszWindowsStr parameter can be the same as the lpszOemStr parameter.
cbOemStr
Specifies the length, in bytes, of the buffer pointed to by lpszOemStr. If cbOemStr is 0, the length is 64K.
This function does not return a value.