diff --git a/reactos/dll/win32/shlwapi/path.c b/reactos/dll/win32/shlwapi/path.c index 507af840b33..6f40f9f9146 100644 --- a/reactos/dll/win32/shlwapi/path.c +++ b/reactos/dll/win32/shlwapi/path.c @@ -2197,7 +2197,12 @@ BOOL WINAPI PathIsUNCA(LPCSTR lpszPath) { TRACE("(%s)\n",debugstr_a(lpszPath)); -#ifdef __REACTOS__ +/* + * On Windows 2003, tests show that strings starting with "\\?" are + * considered UNC, while on Windows Vista+ this is not the case anymore. + */ +// #ifdef __REACTOS__ +#if 0 if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?')) #else if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\')) @@ -2215,7 +2220,12 @@ BOOL WINAPI PathIsUNCW(LPCWSTR lpszPath) { TRACE("(%s)\n",debugstr_w(lpszPath)); -#ifdef __REACTOS__ +/* + * On Windows 2003, tests show that strings starting with "\\?" are + * considered UNC, while on Windows Vista+ this is not the case anymore. + */ +// #ifdef __REACTOS__ +#if 0 if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?')) #else if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\'))