At least print message if we're not returning requested data.

This commit is contained in:
Martin Fuchs 2004-09-23 22:52:03 +00:00 committed by Alexandre Julliard
parent 4790f82329
commit 09878e1c6a
1 changed files with 7 additions and 1 deletions

View File

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