[PROPSYS] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67206
This commit is contained in:
Amine Khaldi 2015-04-15 18:10:40 +00:00
parent b2c305e446
commit 05895bfce5
2 changed files with 4 additions and 4 deletions

View File

@ -280,12 +280,12 @@ HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY pkey, LPWSTR psz, UINT cch
/* GUIDSTRING_MAX accounts for null terminator, +1 for space character. */
if (cch <= GUIDSTRING_MAX + 1)
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
return E_NOT_SUFFICIENT_BUFFER;
if (!pkey)
{
psz[0] = '\0';
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
return E_NOT_SUFFICIENT_BUFFER;
}
sprintfW(psz, guid_fmtW, pkey->fmtid.Data1, pkey->fmtid.Data2,
@ -323,7 +323,7 @@ HRESULT WINAPI PSStringFromPropertyKey(REFPROPERTYKEY pkey, LPWSTR psz, UINT cch
*p++ = *ptr--;
}
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
return E_NOT_SUFFICIENT_BUFFER;
}
}

View File

@ -157,7 +157,7 @@ reactos/dll/win32/pdh # Synced to Wine-1.7.27
reactos/dll/win32/pidgen # Synced to Wine-1.7.27
reactos/dll/win32/powrprof # Forked at Wine-1.0rc5
reactos/dll/win32/printui # Synced to Wine-1.7.27
reactos/dll/win32/propsys # Synced to Wine-1.7.27
reactos/dll/win32/propsys # Synced to WineStaging-1.7.37
reactos/dll/win32/pstorec # Synced to Wine-1.7.27
reactos/dll/win32/qmgr # Synced to Wine-1.7.27
reactos/dll/win32/qmgrprxy # Synced to Wine-1.7.27