shlguid.h should be included from shlobj.h. Also, while building a Winelib app, it complained about IShellLink being undefined. Should we add the same thing for all interfaces? Changelog: Include shlguid.h from shlobj.h. Expose IShellLink to Winelib apps. Vincent
Index: wine/include/shlobj.h =================================================================== RCS file: /home/wine/wine/include/shlobj.h,v retrieving revision 1.64 diff -u -r1.64 shlobj.h --- wine/include/shlobj.h 11 Apr 2003 00:31:03 -0000 1.64 +++ wine/include/shlobj.h 12 Apr 2003 18:39:07 -0000 @@ -25,6 +25,7 @@ #include "oleauto.h" #include "commctrl.h" #include "prsht.h" +#include "shlguid.h" #ifdef __cplusplus extern "C" { Index: wine/include/wine/obj_shelllink.h =================================================================== RCS file: /home/wine/wine/include/wine/obj_shelllink.h,v retrieving revision 1.12 diff -u -r1.12 obj_shelllink.h --- wine/include/wine/obj_shelllink.h 11 Apr 2003 00:31:03 -0000 1.12 +++ wine/include/wine/obj_shelllink.h 12 Apr 2003 18:39:08 -0000 @@ -27,6 +27,8 @@ extern "C" { #endif /* defined(__cplusplus) */ +#define IShellLink WINELIB_NAME_AW(IShellLink) + /***************************************************************************** * Predeclare the interfaces */