From ecef0f56e1f4ccc449045b784334734b8e7ba604 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Tue, 13 Apr 2004 20:50:04 +0000 Subject: [PATCH] merge Wine commit: Filip Navara Get rid of non-standard ERROR_UNKNOWN value. The IShellLink case was tested, others were replaced with reasonable values. svn path=/trunk/; revision=9130 --- reactos/lib/shell32/shelllink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/shell32/shelllink.c b/reactos/lib/shell32/shelllink.c index 7a0503d1f56..7c098f6ad5a 100644 --- a/reactos/lib/shell32/shelllink.c +++ b/reactos/lib/shell32/shelllink.c @@ -289,7 +289,7 @@ static HRESULT WINAPI IPersistFile_fnSave(IPersistFile* iface, LPCOLESTR pszFile TRACE("(%p)->(%s)\n",This,debugstr_w(pszFileName)); if (!pszFileName || !This->sPath) - return ERROR_UNKNOWN; + return E_FAIL; r = CreateStreamOnFile(pszFileName, STGM_READWRITE | STGM_CREATE, &stm); if( SUCCEEDED( r ) )