Lines Matching refs:lpComponent

157 	LPCTSTR lpComponent, LPCTSTR *lppComponentEnd, DWORD dwFlags)  in IsValidFilePathComponent()  argument
160 LPCTSTR lpCurrent = lpComponent; in IsValidFilePathComponent()
166 while ( !lpComponentEnd && lpCurrent && lpCurrent - lpComponent < _MAX_PATH ) in IsValidFilePathComponent()
181 if ( 1 == lpCurrent - lpComponent ) in IsValidFilePathComponent()
187 else if ( 2 == lpCurrent - lpComponent && '.' == *lpComponent ) in IsValidFilePathComponent()
310 if ( lpComponentEnd - lpComponent < 1 ) in IsValidFilePathComponent()
328 LPCTSTR lpComponent; in IsValidFilePath() local
338 lpComponent = lpszPath; in IsValidFilePath()
346 lpComponent = lpszPath + 2; in IsValidFilePath()
348 fValid = IsValidFilePathComponent( lpComponent, &lpComponent, VALIDATEPATH_ALLOW_ELLIPSE ); in IsValidFilePath()
356 if ( lpComponent && !*++lpComponent ) in IsValidFilePath()
357 lpComponent = NULL; in IsValidFilePath()
359 if ( !lpComponent ) in IsValidFilePath()
364 lpComponent = lpszPath; in IsValidFilePath()
374 fValid = IsValidFilePathComponent( lpComponent, &lpComponent, 0 ); in IsValidFilePath()
379 if ( fValid && (!lpComponent || lpComponent && !*++lpComponent ) ) in IsValidFilePath()
381 lpComponent = NULL; in IsValidFilePath()
393 lpComponent = lpszPath + 2; in IsValidFilePath()
395 if ( 1 == _tcsspn( lpComponent, CHARSET_SEPARATOR ) ) in IsValidFilePath()
396 lpComponent++; in IsValidFilePath()
397 else if ( *lpComponent ) in IsValidFilePath()
404 if ( fValid && !*lpComponent ) in IsValidFilePath()
406 lpComponent = NULL; in IsValidFilePath()
414 lpComponent = lpszPath; in IsValidFilePath()
418 if ( 1 == _tcsspn( lpComponent, CHARSET_SEPARATOR ) ) in IsValidFilePath()
420 lpComponent++; in IsValidFilePath()
421 if ( !*lpComponent ) in IsValidFilePath()
422 lpComponent = NULL; in IsValidFilePath()
432 lpComponent = lpszPath; in IsValidFilePath()
436 while ( fValid && lpComponent ) in IsValidFilePath()
438 fValid = IsValidFilePathComponent( lpComponent, &lpComponent, dwFlags ); in IsValidFilePath()
440 if ( fValid && lpComponent ) in IsValidFilePath()
442 lpComponent++; in IsValidFilePath()
446 if ( !*lpComponent ) in IsValidFilePath()
447 lpComponent = NULL; in IsValidFilePath()
454 lpComponent = lpszPath + _MAX_PATH; in IsValidFilePath()
458 *lppError = lpComponent; in IsValidFilePath()