[SHELL32][SDK] Implement SHCreatePropertyBag (#5541)

- Implement SHCreatePropertyBag function in utils.cpp.
- Add its prototype to <undocshell.h>.
CORE-9283
This commit is contained in:
Katayama Hirofumi MZ 2023-08-07 17:02:39 +09:00 committed by GitHub
parent 63fae07d12
commit ea97c48909
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 13 deletions

View file

@ -180,18 +180,6 @@ SHMultiFileProperties(IDataObject *pDataObject, DWORD dwFlags)
return E_FAIL; return E_FAIL;
} }
/*
* Unimplemented
*/
EXTERN_C HRESULT
WINAPI
SHCreatePropertyBag(REFIID refIId, LPVOID *lpUnknown)
{
/* Call SHCreatePropertyBagOnMemory() from shlwapi.dll */
FIXME("SHCreatePropertyBag() stub\n");
return E_FAIL;
}
/* /*
* Unimplemented * Unimplemented
*/ */

View file

@ -9,6 +9,16 @@
WINE_DEFAULT_DEBUG_CHANNEL(shell); WINE_DEFAULT_DEBUG_CHANNEL(shell);
/*************************************************************************
* SHCreatePropertyBag (SHELL32.715)
*/
EXTERN_C HRESULT
WINAPI
SHCreatePropertyBag(_In_ REFIID riid, _Out_ void **ppvObj)
{
return SHCreatePropertyBagOnMemory(STGM_READWRITE, riid, ppvObj);
}
/************************************************************************* /*************************************************************************
* SheRemoveQuotesA (SHELL32.@) * SheRemoveQuotesA (SHELL32.@)
*/ */

View file

@ -646,8 +646,8 @@ BOOL WINAPI SHInitRestricted(LPCVOID unused, LPCVOID inpRegKey);
#define SMC_EXEC 4 #define SMC_EXEC 4
INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc); INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc);
HRESULT WINAPI SHCreatePropertyBag(_In_ REFIID riid, _Out_ void **ppvObj);
HRESULT WINAPI SHLimitInputCombo(HWND hWnd, IShellFolder *psf); HRESULT WINAPI SHLimitInputCombo(HWND hWnd, IShellFolder *psf);
HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv); HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv);
BOOL WINAPI GUIDFromStringW( BOOL WINAPI GUIDFromStringW(