[SHLWAPI]: On Windows 2003, tests show that strings starting with "\\?" are considered UNC, while on Windows Vista+ this is not the case anymore.

Select Win2k3 behaviour: revert r54542 (and add a note).
CORE-12653 #resolve

svn path=/trunk/; revision=73529
This commit is contained in:
Hermès Bélusca-Maïto 2017-01-13 00:18:51 +00:00
parent 58c3357ad1
commit aea802c64c

View file

@ -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]=='\\'))