mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
merge Wine commit:
Filip Navara <[email protected]> Get rid of non-standard ERROR_UNKNOWN value. The IShellLink case was tested, others were replaced with reasonable values. svn path=/trunk/; revision=9130
This commit is contained in:
@@ -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 ) )
|
||||
|
||||
Reference in New Issue
Block a user