mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 17:11:35 +00:00
[SHLWAPI]
- Revert 24342314 unintended changes svn path=/trunk/; revision=63187
This commit is contained in:
parent
40dc9fc1c8
commit
99da81e080
|
@ -19,25 +19,7 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "precomp.h"
|
||||||
#include "wine/port.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include "wine/unicode.h"
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "wingdi.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
#include "winreg.h"
|
|
||||||
#include "winternl.h"
|
|
||||||
#define NO_SHLWAPI_STREAM
|
|
||||||
#include "shlwapi.h"
|
|
||||||
#include "wine/debug.h"
|
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
|
||||||
|
|
||||||
/* Get a function pointer from a DLL handle */
|
/* Get a function pointer from a DLL handle */
|
||||||
#define GET_FUNC(func, module, name, fail) \
|
#define GET_FUNC(func, module, name, fail) \
|
||||||
|
@ -2207,7 +2189,7 @@ BOOL WINAPI PathIsUNCA(LPCSTR lpszPath)
|
||||||
{
|
{
|
||||||
TRACE("(%s)\n",debugstr_a(lpszPath));
|
TRACE("(%s)\n",debugstr_a(lpszPath));
|
||||||
|
|
||||||
if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\' && lpszPath[2] != '?')
|
if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?'))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -2221,7 +2203,7 @@ BOOL WINAPI PathIsUNCW(LPCWSTR lpszPath)
|
||||||
{
|
{
|
||||||
TRACE("(%s)\n",debugstr_w(lpszPath));
|
TRACE("(%s)\n",debugstr_w(lpszPath));
|
||||||
|
|
||||||
if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\' && lpszPath[2] != '?')
|
if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?'))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -2247,7 +2229,7 @@ BOOL WINAPI PathIsUNCServerA(LPCSTR lpszPath)
|
||||||
{
|
{
|
||||||
TRACE("(%s)\n", debugstr_a(lpszPath));
|
TRACE("(%s)\n", debugstr_a(lpszPath));
|
||||||
|
|
||||||
if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\' && *lpszPath != '?')
|
if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\')
|
||||||
{
|
{
|
||||||
while (*lpszPath)
|
while (*lpszPath)
|
||||||
{
|
{
|
||||||
|
@ -2269,7 +2251,7 @@ BOOL WINAPI PathIsUNCServerW(LPCWSTR lpszPath)
|
||||||
{
|
{
|
||||||
TRACE("(%s)\n", debugstr_w(lpszPath));
|
TRACE("(%s)\n", debugstr_w(lpszPath));
|
||||||
|
|
||||||
if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\' && lpszPath[2] != '?')
|
if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\')
|
||||||
{
|
{
|
||||||
return !strchrW( lpszPath + 2, '\\' );
|
return !strchrW( lpszPath + 2, '\\' );
|
||||||
}
|
}
|
||||||
|
@ -2297,7 +2279,7 @@ BOOL WINAPI PathIsUNCServerShareA(LPCSTR lpszPath)
|
||||||
{
|
{
|
||||||
TRACE("(%s)\n", debugstr_a(lpszPath));
|
TRACE("(%s)\n", debugstr_a(lpszPath));
|
||||||
|
|
||||||
if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\' && *lpszPath != '?')
|
if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\')
|
||||||
{
|
{
|
||||||
BOOL bSeenSlash = FALSE;
|
BOOL bSeenSlash = FALSE;
|
||||||
while (*lpszPath)
|
while (*lpszPath)
|
||||||
|
@ -2324,7 +2306,7 @@ BOOL WINAPI PathIsUNCServerShareW(LPCWSTR lpszPath)
|
||||||
{
|
{
|
||||||
TRACE("(%s)\n", debugstr_w(lpszPath));
|
TRACE("(%s)\n", debugstr_w(lpszPath));
|
||||||
|
|
||||||
if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\' && *lpszPath != '?')
|
if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\')
|
||||||
{
|
{
|
||||||
BOOL bSeenSlash = FALSE;
|
BOOL bSeenSlash = FALSE;
|
||||||
while (*lpszPath)
|
while (*lpszPath)
|
||||||
|
|
Loading…
Reference in a new issue