Francois Gouget wrote:
Isn't the second parameter an input string (seeing as it's a const)? If so then shouldn't it be:
172 stdcall SHCreateLinks(long str ptr long ptr)
Thanks to Dmitry and Francois for spotting problems.
Mike
ChangeLog: * stub for (undocumented) SHCreateLinks
Index: dlls/shell32/shell32.spec =================================================================== RCS file: /home/wine/wine/dlls/shell32/shell32.spec,v retrieving revision 1.74 diff -u -r1.74 shell32.spec --- dlls/shell32/shell32.spec 12 Aug 2003 18:53:41 -0000 1.74 +++ dlls/shell32/shell32.spec 21 Aug 2003 13:49:11 -0000 @@ -159,7 +159,7 @@ 169 stdcall SHDestroyPropSheetExtArray(long) 170 stdcall SHReplaceFromPropSheetExtArray(long long long long) 171 stdcall PathCleanupSpec(ptr ptr) PathCleanupSpecAW - 172 stub SHCreateLinks + 172 stdcall SHCreateLinks(long str ptr long ptr) 173 stdcall SHValidateUNC(long long long) 174 stdcall SHCreateShellFolderViewEx (ptr ptr) 175 stdcall SHGetSpecialFolderPath(long long long long) SHGetSpecialFolderPathAW Index: dlls/shell32/shlfolder.c =================================================================== RCS file: /home/wine/wine/dlls/shell32/shlfolder.c,v retrieving revision 1.79 diff -u -r1.79 shlfolder.c --- dlls/shell32/shlfolder.c 18 Jun 2003 03:30:40 -0000 1.79 +++ dlls/shell32/shlfolder.c 21 Aug 2003 13:49:12 -0000 @@ -446,3 +446,16 @@ ILFree (firstpidl); return nReturn; } + +/*********************************************************************** + * SHCreateLinks + * + * Undocumented. + */ +HRESULT WINAPI SHCreateLinks( HWND hWnd, LPCSTR lpszDir, LPDATAOBJECT lpDataObject, + UINT uFlags, LPITEMIDLIST *lppidlLinks) +{ + FIXME("%p %s %p %08x %p\n",hWnd,lpszDir,lpDataObject,uFlags,lppidlLinks); + return E_NOTIMPL; +} +