http://bugs.winehq.org/show_bug.cgi?id=17650
--- Comment #6 from Lukas Jirkovsky l.jirkovsky@gmail.com 2009-03-09 12:27:46 --- I'm sorry I've been wrong in my previous post. It's caused only by change in dlls/shell32/pidl.c (maybe it was caused by forgetting to run make clean before rebuilding). Here's the corresponding part from the patch:
diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index af299d5..12e148c 100644 --- a/dlls/shell32/pidl.c +++ b/dlls/shell32/pidl.c @@ -985,7 +985,7 @@ LPITEMIDLIST WINAPI ILCreateFromPathAW (LPCVOID path) * is used to avoid having to verify the current path element on disk, so * that creating an ItemIDList from a nonexistent path still can work. */ -static HRESULT WINAPI _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile, +static HRESULT _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile, BOOL bBindCtx, LPITEMIDLIST *ppidl, LPDWORD prgfInOut) { LPSHELLFOLDER pSF = NULL;
If add the "WINAPI" back it works.