EngWideCharToMultiByte

INT EngWideCharToMultiByte(

UINT CodePage,
LPWSTR WideCharString,
INT BytesInWideCharString,
LPSTR MultiByteString,
INT BytesInMultiByteString
);

EngWideCharToMultiByte converts a wide character string into an ANSI source string using the specified code page.

Parameters

CodePage

Specifies the code page to use to perform the translation.

WideCharString

Buffer containing the wide character string to be translated.

BytesInWideCharString

Specifies the size, in bytes, of WideCharString.

MultiByteString

Buffer into which the character string is translated

BytesInMultiByteString

Specifies the number of bytes in MultiByteString. If MultiByteString is not large enough to contain the translation, EngWideCharToMultiByte truncates the string, and does not report an error.

See Also

EngMultiByteToWideChar , EngUnicodeToMultiByteN