AnsiToOemBuff

Version 3.0

Syntax

void AnsiToOemBuff(lpAnsiStr,lpOemStr,nLength)

This function translates the string in the buffer pointed to by the lpAnsiStr parameter from the ANSI character set into the OEM-defined character set.

Parameter Type/Description  

lpAnsiStr LPSTR Points to a buffer containing one or more characters from the ANSI character set.  
lpOemStr LPSTR Points to the location where the translated string is to be copied. The lpOemStr parameter can be the same as lpAnsiStr to translate the string in place.  
nLength WORD Specifies the number of characters in the buffer identified by the lpAnsiStr parameter. If nLength is zero, the length is 64K (65,536).  

Return Value

None.