From 09878e1c6a4ed2ef7832eaa86ddc8d62e2ae3567 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Thu, 23 Sep 2004 22:52:03 +0000 Subject: [PATCH] At least print message if we're not returning requested data. --- dlls/shell32/shelllink.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c index ffa4b2fa2a0..163a3cfdc9a 100644 --- a/dlls/shell32/shelllink.c +++ b/dlls/shell32/shelllink.c @@ -1027,6 +1027,8 @@ static HRESULT WINAPI IShellLinkA_fnGetPath(IShellLinkA * iface, LPSTR pszFile, WideCharToMultiByte( CP_ACP, 0, This->sPath, -1, pszFile, cchMaxPath, NULL, NULL); + if (pfd) FIXME("(%p): WIN32_FIND_DATA is not yet filled.\n", This); + return NOERROR; } @@ -1430,12 +1432,16 @@ static HRESULT WINAPI IShellLinkW_fnGetPath(IShellLinkW * iface, LPWSTR pszFile, { _ICOM_THIS_From_IShellLinkW(IShellLinkImpl, iface); - FIXME("(%p)->(pfile=%p len=%u find_data=%p flags=%lu)\n",This, pszFile, cchMaxPath, pfd, fFlags); + TRACE("(%p)->(pfile=%p len=%u find_data=%p flags=%lu)\n", + This, pszFile, cchMaxPath, pfd, fFlags); + if( cchMaxPath ) pszFile[0] = 0; if( This->sPath ) lstrcpynW( pszFile, This->sPath, cchMaxPath ); + if (pfd) FIXME("(%p): WIN32_FIND_DATA is not yet filled.\n", This); + return NOERROR; }