Moved prototype for SHBindToParent() to shlobj.h.
diff --git a/dlls/shell32/undocshell.h b/dlls/shell32/undocshell.h index bea5109..248fd81 100644 --- a/dlls/shell32/undocshell.h +++ b/dlls/shell32/undocshell.h
@@ -101,12 +101,6 @@ LPITEMIDLIST WINAPI ILCreateFromPathW(LPCWSTR path); LPITEMIDLIST WINAPI ILCreateFromPathAW(LPCVOID path); -HRESULT WINAPI SHBindToParent( - LPCITEMIDLIST pidl, - REFIID riid, - LPVOID *ppv, - LPCITEMIDLIST *ppidlLast); - /* string functions */
diff --git a/include/shlobj.h b/include/shlobj.h index 37b4a84..eb160a0 100644 --- a/include/shlobj.h +++ b/include/shlobj.h
@@ -576,6 +576,11 @@ #define CSIDL_FLAG_MASK 0xff00 /**************************************************************************** + * SHBindToParent API + */ +HRESULT WINAPI SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv, LPCITEMIDLIST *ppidlLast); + +/**************************************************************************** * SHDefExtractIcon API */ HRESULT WINAPI SHDefExtractIconA(LPCSTR pszIconFile, int iIndex, UINT uFlags,