uLib
User mode C/C++ extended API library for Win32 programmers.
|
These functions convert between Unicode and Ansi/MultiByte.
Functions | |
ASTR | mem_ADupWStr (WCSTR WStr, UINT CodePg=CP_ACP, UINT ccExtra=0) |
WSTR | mem_WDupAStr (ACSTR AStr, UINT CodePg=CP_ACP, UINT ccExtra=0) |
ACSTR | _MBStr (WCSTR pWStr) |
Allocate an ANSI string and translate from wide string.
WStr | Wide-string to translate. |
CodePg | Codepage to use for translation. |
ccExtra | Nr of extra chars to add to allocation (e.g. for catenation). |
Dispose with mem_Free() or mem_FreeStr().
Definition at line 290 of file StrFunc.cpp.
Allocate a UNICODE string and translate from ANSI/MB string.
AStr | Ansi/MultiByte string to translate. |
CodePg | Codepage to use for translation. |
ccExtra | Nr of extra chars to add to allocation (e.g. for catenation). |
Dispose with mem_Free() or mem_FreeStr().
Definition at line 298 of file StrFunc.cpp.