shlwapi: Fix SHGetViewStatePropertyBag() prototype.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-02-03 10:16:09 +03:00 committed by Alexandre Julliard
parent 017c953d86
commit 8363316f62
3 changed files with 24 additions and 27 deletions

View File

@ -4284,33 +4284,6 @@ HRESULT WINAPI SHCreatePropertyBagOnRegKey (HKEY hKey, LPCWSTR subkey,
return E_NOTIMPL;
}
/***********************************************************************
* SHGetViewStatePropertyBag [SHLWAPI.515]
*
* Retrieves a property bag in which the view state information of a folder
* can be stored.
*
* PARAMS
* pidl [I] PIDL of the folder requested
* bag_name [I] Name of the property bag requested
* flags [I] Optional flags
* riid [I] IID of requested property bag interface
* ppv [O] Address to receive pointer to the new interface
*
* RETURNS
* success: S_OK
* failure: error code
*
*/
HRESULT WINAPI SHGetViewStatePropertyBag(LPCITEMIDLIST pidl, LPWSTR bag_name,
DWORD flags, REFIID riid, void **ppv)
{
FIXME("%p %s %d %s %p STUB\n", pidl, debugstr_w(bag_name), flags,
debugstr_guid(riid), ppv);
return E_NOTIMPL;
}
/***********************************************************************
* SHFormatDateTimeW [SHLWAPI.354]
*

View File

@ -156,3 +156,13 @@ UINT WINAPI WhichPlatform(void)
return state;
}
/***********************************************************************
* SHGetViewStatePropertyBag [SHLWAPI.515]
*/
HRESULT WINAPI SHGetViewStatePropertyBag(PCIDLIST_ABSOLUTE pidl, PCWSTR bag_name, DWORD flags, REFIID riid, void **ppv)
{
FIXME("%p, %s, %#x, %s, %p stub.\n", pidl, debugstr_w(bag_name), flags, debugstr_guid(riid), ppv);
return E_NOTIMPL;
}

View File

@ -1150,6 +1150,20 @@ HRESULT WINAPI QISearch(void* base, const QITAB *pqit, REFIID riid, void **ppv);
UINT WINAPI WhichPlatform(void);
#define SHGVSPB_PERUSER 0x00000001
#define SHGVSPB_ALLUSERS 0x00000002
#define SHGVSPB_PERFOLDER 0x00000004
#define SHGVSPB_ALLFOLDERS 0x00000008
#define SHGVSPB_INHERIT 0x00000010
#define SHGVSPB_ROAM 0x00000020
#define SHGVSPB_NOAUTODEFAULTS 0x80000000
#define SHGVSPB_FOLDER (SHGVSPB_PERUSER | SHGVSPB_PERFOLDER)
#define SHGVSPB_FOLDERNODEFAULTS (SHGVSPB_PERUSER | SHGVSPB_PERFOLDER | SHGVSPB_NOAUTODEFAULTS)
#define SHGVSPB_USERDEFAULTS (SHGVSPB_PERUSER | SHGVSPB_ALLFOLDERS)
#define SHGVSPB_GLOBALDEFAULTS (SHGVSPB_ALLUSERS | SHGVSPB_ALLFOLDERS)
HRESULT WINAPI SHGetViewStatePropertyBag(PCIDLIST_ABSOLUTE pidl, PCWSTR bagname, DWORD flags, REFIID riid, void **ppv);
#include <poppack.h>
#ifdef __cplusplus