AnsiToOemBuff 

The AnsiToOemBuff function is obsolete.

For compatibility with 16-bit versions of Windows, this function is implemented as a macro that calls the CharToOemBuffN7LR1P function, which should be used for new Win32-based applications.