Lines Matching refs:MAX_PATH

45   UINT needLength = ::GetWindowsDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1);  in MyGetWindowsDirectory()
47 return (needLength > 0 && needLength <= MAX_PATH); in MyGetWindowsDirectory()
52 UINT needLength = ::GetSystemDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetSystemDirectory()
54 return (needLength > 0 && needLength <= MAX_PATH); in MyGetSystemDirectory()
64 UINT needLength = ::GetWindowsDirectoryW(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetWindowsDirectory()
66 return (needLength > 0 && needLength <= MAX_PATH); in MyGetWindowsDirectory()
79 UINT needLength = ::GetSystemDirectoryW(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetSystemDirectory()
81 return (needLength > 0 && needLength <= MAX_PATH); in MyGetSystemDirectory()
486 DWORD needLength = ::GetShortPathName(longPath, shortPath.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetShortPathName()
488 return (needLength > 0 && needLength < MAX_PATH); in MyGetShortPathName()
527 LPTSTR buffer = resultPath.GetBuffer(MAX_PATH); in MyGetFullPathName()
528 DWORD needLength = ::GetFullPathName(fileName, MAX_PATH + 1, buffer, &fileNamePointer); in MyGetFullPathName()
532 if (needLength >= MAX_PATH) in MyGetFullPathName()
562 LPWSTR buffer = resultPath.GetBuffer(MAX_PATH); in MyGetFullPathName()
563 DWORD needLength = ::GetFullPathNameW(fileName, MAX_PATH + 1, buffer, &fileNamePointer); in MyGetFullPathName()
567 if (needLength >= MAX_PATH) in MyGetFullPathName()
639 DWORD needLength = ::GetCurrentDirectory(MAX_PATH + 1, path.GetBuffer(MAX_PATH + 1)); in MyGetCurrentDirectory()
641 return (needLength > 0 && needLength <= MAX_PATH); in MyGetCurrentDirectory()
655 DWORD needLength = ::GetCurrentDirectoryW(MAX_PATH + 1, path.GetBuffer(MAX_PATH + 1)); in MyGetCurrentDirectory()
657 return (needLength > 0 && needLength <= MAX_PATH); in MyGetCurrentDirectory()
672 MAX_PATH, resultPath.GetBuffer(MAX_PATH + 1), &filePartPointer); in MySearchPath()
675 return (value > 0 && value <= MAX_PATH); in MySearchPath()
687 MAX_PATH, resultPath.GetBuffer(MAX_PATH + 1), &filePartPointer); in MySearchPath()
690 return (value > 0 && value <= MAX_PATH); in MySearchPath()
710 DWORD needLength = ::GetTempPath(MAX_PATH + 1, path.GetBuffer(MAX_PATH + 1)); in MyGetTempPath()
712 return (needLength > 0 && needLength <= MAX_PATH); in MyGetTempPath()
721 DWORD needLength = ::GetTempPathW(MAX_PATH + 1, path.GetBuffer(MAX_PATH + 1)); in MyGetTempPath()
723 return (needLength > 0 && needLength <= MAX_PATH); in MyGetTempPath()
735 UINT number = ::GetTempFileName(dirPath, prefix, 0, path.GetBuffer(MAX_PATH + 1)); in MyGetTempFileName()
745 UINT number = ::GetTempFileNameW(dirPath, prefix, 0, path.GetBuffer(MAX_PATH)); in MyGetTempFileName()