Searched refs:lenShort (Results 1 – 2 of 2) sorted by relevance
59 DWORD lenShort = _tcslen(longPath) + 1; in toShortPath() local60 TCHAR *shortPath = (TCHAR *)malloc(lenShort * sizeof(TCHAR)); in toShortPath()62 DWORD length = GetShortPathName(longPath, shortPath, lenShort); in toShortPath()63 if (length > lenShort) { in toShortPath()66 lenShort = length; in toShortPath()68 length = GetShortPathName(longPath, shortPath, lenShort); in toShortPath()
333 DWORD lenShort = (DWORD)strlen(longPath) + 1; // GetShortPathName deals with DWORDs in toShortPath() local334 char * shortPath = (char *)malloc(lenShort); in toShortPath()336 DWORD length = GetShortPathName(longPath, shortPath, lenShort); in toShortPath()337 if (length > lenShort) { in toShortPath()340 lenShort = length; in toShortPath()342 length = GetShortPathName(longPath, shortPath, lenShort); in toShortPath()