6 * Copyright 1997 Marcus Meissner
7 * Copyright 1998, 1999, 2002 Juergen Schmied
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 < * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 #define GET_SHGDN_FOR(dwFlags) ((DWORD)dwFlags & (DWORD)0x0000FF00)
32 #define GET_SHGDN_RELATION(dwFlags) ((DWORD)dwFlags & (DWORD)0x000000FF)
34 LPCWSTR
GetNextElementW (LPCWSTR pszNext
, LPWSTR pszOut
, DWORD dwOut
);
35 HRESULT
SHELL32_ParseNextElement (IShellFolder2
* psf
, HWND hwndOwner
, LPBC pbc
, LPITEMIDLIST
* pidlInOut
,
36 LPOLESTR szNext
, DWORD
* pEaten
, DWORD
* pdwAttributes
);
37 HRESULT
SHELL32_GetItemAttributes (IShellFolder
* psf
, LPCITEMIDLIST pidl
, LPDWORD pdwAttributes
);
38 HRESULT
SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot
, LPCITEMIDLIST pidlChild
, REFCLSID clsid
, REFIID iid
,
40 HRESULT
SHELL32_CoCreateInitSFEx (LPCITEMIDLIST pidlRoot
, LPCSTR pathRoot
, LPCITEMIDLIST pidlChild
, REFCLSID clsid
,
41 REFIID iid
, LPVOID
* ppvOut
);
42 HRESULT
SHELL32_GetDisplayNameOfChild (IShellFolder2
* psf
, LPCITEMIDLIST pidl
, DWORD dwFlags
, LPSTR szOut
,
45 HRESULT
SHELL32_BindToChild (LPCITEMIDLIST pidlRoot
,
46 LPCSTR pathRoot
, LPCITEMIDLIST pidlComplete
, REFIID riid
, LPVOID
* ppvOut
);
48 HRESULT
SHELL32_CompareIDs (IShellFolder
* iface
, LPARAM lParam
, LPCITEMIDLIST pidl1
, LPCITEMIDLIST pidl2
);