[SHLWAPI] - PathIsUNC returns FALSE for paths starting with "\\?". Should be sent to wine.

svn path=/trunk/; revision=54542
This commit is contained in:
Rafal Harabien 2011-11-29 19:10:22 +00:00
parent 73bbc7c1e6
commit 5d73fe256d

View file

@ -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;
}