18 lines
512 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
// API: high level service for Unicode to Ansi
// return result Ansi str length (in byte)
int UnicodeStrToAnsiStr(
PCWCH pwchUnicodeStr,
int ncUnicodeStr, // in WCHAR
PCHAR pchAnsiStrBuf,
int ncAnsiStrBufSize);// in BYTE
// API: High level service for Ansi to Unicode
// return Unicode str length (in WCHAR)
int AnsiStrToUnicodeStr(
const BYTE* pbyAnsiStr,
int ncAnsiStrSize, // In char
PWCH pwchUnicodeBuf,
int ncUnicodeBuf); // In WCHAR