Searched refs:reqLen (Results 1 – 1 of 1) sorted by relevance
2701 int len , reqLen; in SHUnicodeToAnsiCP() local2746 reqLen = SHTruncateString(mem, dstlen); in SHUnicodeToAnsiCP()2747 if (reqLen > 0) memcpy(lpDstStr, mem, reqLen-1); in SHUnicodeToAnsiCP()2759 if (!reqLen && GetLastError() == ERROR_INSUFFICIENT_BUFFER) in SHUnicodeToAnsiCP()2762 if (reqLen) in SHUnicodeToAnsiCP()2764 mem = HeapAlloc(GetProcessHeap(), 0, reqLen); in SHUnicodeToAnsiCP()2769 reqLen = SHTruncateString(mem, dstlen -1); in SHUnicodeToAnsiCP()2770 reqLen++; in SHUnicodeToAnsiCP()2772 lstrcpynA(lpDstStr, mem, reqLen); in SHUnicodeToAnsiCP()2774 lpDstStr[reqLen-1] = '\0'; in SHUnicodeToAnsiCP()[all …]