mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 22:16:01 +00:00
[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:
parent
58c3357ad1
commit
aea802c64c
|
@ -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]=='\\'))
|
||||
|
|
Loading…
Reference in a new issue