From 5d73fe256d6a499c36b04ad0b6852059c02d0aa8 Mon Sep 17 00:00:00 2001 From: Rafal Harabien Date: Tue, 29 Nov 2011 19:10:22 +0000 Subject: [PATCH] [SHLWAPI] - PathIsUNC returns FALSE for paths starting with "\\?". Should be sent to wine. svn path=/trunk/; revision=54542 --- reactos/dll/win32/shlwapi/path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/shlwapi/path.c b/reactos/dll/win32/shlwapi/path.c index 5e95d5c2d78..40d1580e6d0 100644 --- a/reactos/dll/win32/shlwapi/path.c +++ b/reactos/dll/win32/shlwapi/path.c @@ -2186,7 +2186,7 @@ BOOL WINAPI PathIsUNCA(LPCSTR lpszPath) { TRACE("(%s)\n",debugstr_a(lpszPath)); - if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\')) + if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?')) return TRUE; return FALSE; } @@ -2200,7 +2200,7 @@ BOOL WINAPI PathIsUNCW(LPCWSTR lpszPath) { TRACE("(%s)\n",debugstr_w(lpszPath)); - if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\')) + if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?')) return TRUE; return FALSE; }