diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 5d4cfb76c7be24409059d9e8860ecb3e4af5f24d..3efa3edfd914a4d9a9e214d77f697cb714b9f3ff 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 884ac5b19cd31666e636546615eea07721535775..0ccd1df6ea5b74cb2c672a2cb5a11f0c20a19b14 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 1091a3e17641ebeee8241fc501cc308307497f1f..7082c6d37a2f5657fae6363d9d97fe1989d27a32 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