[SHLWAPI]: Stub SHPropertyBag_WriteLONG and SHPropertyBag_WriteStr. Patch by Jared Smudde. CORE-12805

svn path=/trunk/; revision=73866
This commit is contained in:
Giannis Adamopoulos
2017-02-20 20:18:10 +00:00
parent 9abeb0d9b0
commit f4c6543a49
2 changed files with 42 additions and 2 deletions
+40
View File
@@ -5197,6 +5197,46 @@ HRESULT WINAPI SHPropertyBag_ReadLONG(IPropertyBag *ppb, LPCWSTR pszPropName, LP
return hr;
}
#ifdef __REACTOS__
/**************************************************************************
* SHPropertyBag_WriteLONG (SHLWAPI.497)
*
* This function asks a property bag to write a named property as a LONG.
*
* PARAMS
* ppb: a IPropertyBag interface
* pszPropName: Unicode string that names the property
* lValue: address to receive the property value as a 32-bit signed integer
*
* RETURNS
* HRESULT codes
*/
HRESULT WINAPI SHPropertyBag_WriteLONG(IPropertyBag *ppb, LPCWSTR pszPropName, LONG lValue)
{
UNIMPLEMENTED;
return E_NOTIMPL;
}
/**************************************************************************
* SHPropertyBag_WriteStr (SHLWAPI.495)
*
* This function asks a property bag to write a string as the value of a named property.
*
* PARAMS
* ppb: a IPropertyBag interface
* pszPropName: Unicode string that names the property
* pValue: address to write the property value
*
* RETURNS
* HRESULT codes
*/
HRESULT WINAPI SHPropertyBag_WriteStr(IPropertyBag *ppb, LPCWSTR pszPropName, LPCWSTR pszValue)
{
UNIMPLEMENTED;
return E_NOTIMPL;
}
#endif
/* return flags for SHGetObjectCompatFlags, names derived from registry value names */
#define OBJCOMPAT_OTNEEDSSFCACHE 0x00000001
#define OBJCOMPAT_NO_WEBVIEW 0x00000002
+2 -2
View File
@@ -492,9 +492,9 @@
492 stub -noname PrettifyFileDescriptionW
493 stub -noname SHPropertyBag_ReadType
494 stub -noname SHPropertyBag_ReadStr
495 stub -noname SHPropertyBag_WriteStr
495 stdcall -noname SHPropertyBag_WriteStr(ptr wstr wstr)
496 stdcall -noname SHPropertyBag_ReadLONG(ptr wstr ptr)
497 stub -noname SHPropertyBag_WriteLONG
497 stdcall -noname SHPropertyBag_WriteLONG(ptr wstr long)
498 stub -noname SHPropertyBag_ReadBOOLOld
499 stub -noname SHPropertyBag_WriteBOOL
500 stdcall AssocGetPerceivedType(wstr ptr ptr ptr)