Searched refs:widestr (Results 1 – 2 of 2) sorted by relevance
42 wchar_t *widestr; in wchar_from_utf8() local49 if ((widestr = (wchar_t *)malloc(len*sizeof(wchar_t))) == NULL) in wchar_from_utf8()51 if (MultiByteToWideChar(CP_UTF8, 0, str, -1, widestr, len) == 0) { in wchar_from_utf8()52 free(widestr); in wchar_from_utf8()53 widestr = NULL; in wchar_from_utf8()56 return widestr; in wchar_from_utf8()
136 const wchar_t widestr[] = L"asdf"; variable