void OemToAnsiBuff(lpOemStr,lpAnsiStr,nLength)
This function translates the string in the buffer pointed to by the lpOemStr parameter from the OEM-defined character set into the ANSI character set.
Parameter | Type/Description |
lpOemStr | LPSTR Points to a buffer containing one or more 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. | |
nLength | WORD Specifies the number of characters in the buffer identified by the lpOemStr parameter. If nLength is zero, the length is 64K (65,536). |
None.