mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
merge Wine commit:
Filip Navara <xnavara@volny.cz> 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:
parent
df24731574
commit
ecef0f56e1
1 changed files with 1 additions and 1 deletions
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in a new issue