Owen Rudge : shlwapi: Implement stub for SHGetViewStatePropertyBag.
Alexandre Julliard
julliard at winehq.org
Tue Sep 8 08:55:54 CDT 2009
Module: wine
Branch: master
Commit: 9e7c8e064b5c7e4ac20d7d7a0e6adc465b1041c6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9e7c8e064b5c7e4ac20d7d7a0e6adc465b1041c6
Author: Owen Rudge <orudge at codeweavers.com>
Date: Wed Sep 2 16:37:57 2009 +0100
shlwapi: Implement stub for SHGetViewStatePropertyBag.
---
dlls/shlwapi/ordinal.c | 27 +++++++++++++++++++++++++++
dlls/shlwapi/shlwapi.spec | 2 +-
2 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index b51bc5e..5b00500 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -4595,3 +4595,30 @@ 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;
+}
diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec
index 2c3b51a..87fba40 100644
--- a/dlls/shlwapi/shlwapi.spec
+++ b/dlls/shlwapi/shlwapi.spec
@@ -508,7 +508,7 @@
512 stub -noname IStream_ReadPidl
513 stub -noname IStream_WritePidl
514 stdcall -noname IUnknown_ProfferService(ptr ptr ptr ptr)
-515 stub -noname SHGetViewStatePropertyBag
+515 stdcall -noname SHGetViewStatePropertyBag(ptr wstr long ptr ptr)
516 stdcall -noname SKGetValueW(long wstr wstr long long long)
517 stub -noname SKSetValueW
518 stub -noname SKDeleteValueW
More information about the wine-cvs
mailing list