From e4b41afa4a3d859f82b71eff912f0f2af1a4218a Mon Sep 17 00:00:00 2001 From: Juergen Schmied Date: Sun, 31 Jan 1999 10:00:26 +0000 Subject: [PATCH] Stub for PathQualify32[A|W]. --- dlls/shell32/shellpath.c | 18 ++++++++++++++++++ include/shell.h | 5 +++++ relay32/shell32.spec | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 5d4cfb76c7b..3efa3edfd91 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c @@ -516,6 +516,24 @@ BOOL32 WINAPI PathSetDlgItemPath32AW(HWND32 hDlg, int id, LPCVOID pszPath) return PathSetDlgItemPath32A(hDlg, id, pszPath); } +/************************************************************************* + * PathQualify32AW [SHELL32.49] + */ + +BOOL32 WINAPI PathQualify32A(LPCSTR pszPath) +{ TRACE(shell,"%s\n",pszPath); + return 0; +} +BOOL32 WINAPI PathQualify32W(LPCWSTR pszPath) +{ TRACE(shell,"%s\n",debugstr_w(pszPath)); + return 0; +} +BOOL32 WINAPI PathQualify32AW(LPCVOID pszPath) +{ if (VERSION_OsIsUnicode()) + return PathQualify32W(pszPath); + return PathQualify32A(pszPath); +} + /************************************************************************* * PathResolve [SHELL32.51] */ diff --git a/include/shell.h b/include/shell.h index 884ac5b19cd..0ccd1df6ea5 100644 --- a/include/shell.h +++ b/include/shell.h @@ -254,6 +254,11 @@ LPWSTR WINAPI PathAddBackslash32W(LPWSTR path); #define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash) LPVOID WINAPI PathAddBackslash32AW(LPVOID path); +BOOL32 WINAPI PathQualify32A(LPCSTR path); +BOOL32 WINAPI PathQualify32W(LPCWSTR path); +#define PathQualify WINELIB_NAME_AW(PathQualify) +BOOL32 WINAPI PathQualify32AW(LPCVOID path); + LPSTR WINAPI PathQuoteSpaces32A(LPCSTR path); LPWSTR WINAPI PathQuoteSpaces32W(LPCWSTR path); #define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces) diff --git a/relay32/shell32.spec b/relay32/shell32.spec index 1091a3e1764..7082c6d37a2 100644 --- a/relay32/shell32.spec +++ b/relay32/shell32.spec @@ -54,7 +54,7 @@ init Shell32LibMain 46 stdcall PathMatchSpec (str str) PathMatchSpec32AW 47 stub PathMakeUniqueName@20 48 stdcall PathSetDlgItemPath (long long ptr) PathSetDlgItemPath32AW - 49 stub PathQualify@4 + 49 stdcall PathQualify (ptr) PathQualify32AW 50 stub PathStripToRoot@4 51 stdcall PathResolve(str long long) PathResolve 52 stdcall PathGetArgs(str) PathGetArgs32AW