mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 07:40:09 +08:00
[SHLWAPI]: Follow-up on r73527 and r73529: Use WINVER conditional to separate old-Win2k3 and new-Vista+ behaviours of PathIsUNCA/W.
CORE-12653 svn path=/trunk/; revision=73564
This commit is contained in:
@@ -2202,7 +2202,7 @@ BOOL WINAPI PathIsUNCA(LPCSTR lpszPath)
|
||||
* considered UNC, while on Windows Vista+ this is not the case anymore.
|
||||
*/
|
||||
// #ifdef __REACTOS__
|
||||
#if 0
|
||||
#if (WINVER >= _WIN32_WINNT_VISTA)
|
||||
if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?'))
|
||||
#else
|
||||
if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\'))
|
||||
@@ -2225,7 +2225,7 @@ BOOL WINAPI PathIsUNCW(LPCWSTR lpszPath)
|
||||
* considered UNC, while on Windows Vista+ this is not the case anymore.
|
||||
*/
|
||||
// #ifdef __REACTOS__
|
||||
#if 0
|
||||
#if (WINVER >= _WIN32_WINNT_VISTA)
|
||||
if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?'))
|
||||
#else
|
||||
if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\'))
|
||||
|
||||
Reference in New Issue
Block a user