shell32: A lot of lnk files have extra data blocks at the end, although they don't seem to matter much. So drop the corresponding ERR() to a WARN().

This commit is contained in:
Francois Gouget 2008-01-11 09:55:32 +01:00 committed by Alexandre Julliard
parent 62c59deaa1
commit 67c6c24b04
1 changed files with 8 additions and 1 deletions

View File

@ -924,7 +924,14 @@ static HRESULT WINAPI IPersistStream_fnLoad(
r = IStream_Read(stm, &zero, sizeof zero, &dwBytesRead);
if( FAILED( r ) || zero || dwBytesRead != sizeof zero )
ERR("Last word was not zero\n");
{
/* Some lnk files have extra data blocks starting with a
* DATABLOCK_HEADER. For instance EXP_SPECIAL_FOLDER and an unknown
* one with a 0xa0000003 signature. However these don't seem to matter
* too much.
*/
WARN("Last word was not zero\n");
}
TRACE("OK\n");