Wide Strings

String type Value
Comparison int wstrcmp(const WCHAR *wsz1, const WCHAR *wsz2);
int wstrncmp(const WCHAR
*wsz1, const WCHAR *wsz2, int cChars);
int wstrcmpi(const WCHAR
*wsz1, const WCHAR *wsz2);
int wstrncmpi(const WCHAR
*wsz1, const WCHAR *wsz2, int cChars);
Length int wstrlen(const WCHAR *wsz);
Copy WCHAR *wstrcpy(WCHAR *wszDst, const WCHAR *wszSrc);
WCHAR *wstrncpy(WCHAR
*wszDst, const WCHAR *wszSrc, int cChars);
Allocate WCHAR *wstralloc(const WCHAR *wsz);
WCHAR *wstralloc(const BSTR
bstr);
WCHAR *wstralloc(const WCHAR
*wsz);

Comments

Frees memory allocated by wstralloc using CoTaskMemFree.