[PATCH] Add SHGetKnownFolderIDList stub
Nikolay Sivov
nsivov at codeweavers.com
Sat May 22 05:08:14 CDT 2010
---
dlls/shell32/shell32.spec | 1 +
dlls/shell32/shell32_main.c | 7 +++++++
include/shtypes.idl | 4 ++++
3 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index f913872..f5c77fb 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -358,6 +358,7 @@
@ stdcall SHGetIconOverlayIndexA(str long)
@ stdcall SHGetIconOverlayIndexW(wstr long)
@ stdcall SHGetInstanceExplorer(long)
+@ stdcall SHGetKnownFolderIDList(ptr long ptr ptr)
@ stdcall SHGetLocalizedName(wstr ptr long ptr)
@ stdcall SHGetMalloc(ptr)
@ stdcall SHGetNewLinkInfo(str str ptr long long) SHGetNewLinkInfoA
diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index 2824268..8b15550 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -1231,3 +1231,10 @@ HRESULT WINAPI SHGetLocalizedName(LPCWSTR path, LPWSTR module, UINT size, INT *r
FIXME("%s %p %u %p: stub\n", debugstr_w(path), module, size, res);
return E_NOTIMPL;
}
+
+HRESULT WINAPI SHGetKnownFolderIDList(REFKNOWNFOLDERID id, DWORD flags, HANDLE Token, PIDLIST_ABSOLUTE *pidl)
+{
+ FIXME("%s 0x%08x %p %p: stub\n", debugstr_guid(id), flags, Token, pidl);
+ return E_NOTIMPL;
+}
+
diff --git a/include/shtypes.idl b/include/shtypes.idl
index dd908e3..8c791e6 100644
--- a/include/shtypes.idl
+++ b/include/shtypes.idl
@@ -38,6 +38,7 @@ typedef LPITEMIDLIST PITEMID_CHILD;
typedef const PITEMID_CHILD PCITEMID_CHILD;
typedef LPCITEMIDLIST PCUITEMID_CHILD;
typedef LPCITEMIDLIST *PCUITEMID_CHILD_ARRAY;
+typedef ITEMIDLIST *PIDLIST_ABSOLUTE;
cpp_quote("#include <poppack.h>")
#ifndef MAX_PATH
@@ -102,3 +103,6 @@ typedef [v1_enum] enum tagSHCOLSTATE
} SHCOLSTATE;
typedef DWORD SHCOLSTATEF;
+
+typedef GUID KNOWNFOLDERID, *REFKNOWNFOLDERID;
+
--
1.5.6.5
--=-vPSHz41IW45bTU4iGmbR--
More information about the wine-patches
mailing list