Lines Matching refs:MAX_PATH
33 TCHAR s[MAX_PATH + 2]; in GetWindowsDir()
35 needLength = ::GetWindowsDirectory(s, MAX_PATH + 1); in GetWindowsDir()
41 WCHAR s[MAX_PATH + 2]; in GetWindowsDir()
43 needLength = ::GetWindowsDirectoryW(s, MAX_PATH + 1); in GetWindowsDir()
46 return (needLength > 0 && needLength <= MAX_PATH); in GetWindowsDir()
55 TCHAR s[MAX_PATH + 2]; in GetSystemDir()
57 needLength = ::GetSystemDirectory(s, MAX_PATH + 1); in GetSystemDir()
63 WCHAR s[MAX_PATH + 2]; in GetSystemDir()
65 needLength = ::GetSystemDirectoryW(s, MAX_PATH + 1); in GetSystemDir()
68 return (needLength > 0 && needLength <= MAX_PATH); in GetSystemDir()
526 TCHAR s[MAX_PATH + 2]; in GetCurrentDir()
528 needLength = ::GetCurrentDirectory(MAX_PATH + 1, s); in GetCurrentDir()
534 WCHAR s[MAX_PATH + 2]; in GetCurrentDir()
536 needLength = ::GetCurrentDirectoryW(MAX_PATH + 1, s); in GetCurrentDir()
539 return (needLength > 0 && needLength <= MAX_PATH); in GetCurrentDir()
568 TCHAR s[MAX_PATH + 2]; in MyGetTempPath()
570 needLength = ::GetTempPath(MAX_PATH + 1, s); in MyGetTempPath()
576 WCHAR s[MAX_PATH + 2]; in MyGetTempPath()
578 needLength = ::GetTempPathW(MAX_PATH + 1, s);; in MyGetTempPath()
581 return (needLength > 0 && needLength <= MAX_PATH); in MyGetTempPath()