- fix build on dbg=0. Thanks to Andrew
[reactos.git] / reactos / include / wine / shlobj.h
1 /* $Id$
2 *
3 * Compatibility header
4 *
5 * This header is wrapper to allow compilation of Wine DLLs under ReactOS
6 * build system. It contains definitions commonly refered to as Wineisms
7 * and definitions that are missing in w32api.
8 */
9
10 #include <winnetwk.h>
11
12 #include_next <shlobj.h>
13
14 #include <shlguid.h>
15 #include <shobjidl.h>
16
17 #ifndef __WINE_SHLOBJ_H
18 #define __WINE_SHLOBJ_H
19
20 #define SV_CLASS_NAME ("SHELLDLL_DefView")
21
22 /* undocumented */
23 #define FCIDM_SHVIEW_ARRANGE 0x7001
24 #define FCIDM_SHVIEW_DELETE 0x7011
25 #define FCIDM_SHVIEW_PROPERTIES 0x7013
26 #define FCIDM_SHVIEW_CUT 0x7018
27 #define FCIDM_SHVIEW_COPY 0x7019
28 #define FCIDM_SHVIEW_INSERT 0x701A
29 #define FCIDM_SHVIEW_UNDO 0x701B
30 #define FCIDM_SHVIEW_INSERTLINK 0x701C
31 #define FCIDM_SHVIEW_SELECTALL 0x7021
32 #define FCIDM_SHVIEW_INVERTSELECTION 0x7022
33
34 #define FCIDM_SHVIEW_BIGICON 0x7029
35 #define FCIDM_SHVIEW_SMALLICON 0x702A
36 #define FCIDM_SHVIEW_LISTVIEW 0x702B
37 #define FCIDM_SHVIEW_REPORTVIEW 0x702C
38 /* 0x7030-0x703f are used by the shellbrowser */
39 #define FCIDM_SHVIEW_AUTOARRANGE 0x7031
40 #define FCIDM_SHVIEW_SNAPTOGRID 0x7032
41
42 #define FCIDM_SHVIEW_HELP 0x7041
43 #define FCIDM_SHVIEW_RENAME 0x7050
44 #define FCIDM_SHVIEW_CREATELINK 0x7051
45 #define FCIDM_SHVIEW_NEWLINK 0x7052
46 #define FCIDM_SHVIEW_NEWFOLDER 0x7053
47
48 #define FCIDM_SHVIEW_REFRESH 0x7100 /* FIXME */
49 #define FCIDM_SHVIEW_EXPLORE 0x7101 /* FIXME */
50 #define FCIDM_SHVIEW_OPEN 0x7102 /* FIXME */
51
52 /* undocumented toolbar items from stddlg's*/
53 #define FCIDM_TB_UPFOLDER 0xA001
54 #define FCIDM_TB_NEWFOLDER 0xA002
55 #define FCIDM_TB_SMALLICON 0xA003
56 #define FCIDM_TB_REPORTVIEW 0xA004
57 #define FCIDM_TB_DESKTOP 0xA005 /* FIXME */
58
59 #define CSIDL_FOLDER_MASK 0x00ff
60
61 LPVOID WINAPI SHAlloc(ULONG);
62 void WINAPI SHFree(LPVOID);
63 int WINAPI SHMapPIDLToSystemImageListIndex(IShellFolder*,LPCITEMIDLIST,int*);
64
65 /*****************************************************************************
66 * IFileSystemBindData interface
67 */
68 DEFINE_GUID(IID_IFileSystemBindData, 0x01e18d10, 0x4d8b, 0x11d2, 0x85,0x5d, 0x00,0x60,0x08,0x05,0x93,0x67);
69
70 /*** IUnknown methods ***/
71 #define IFileSystemBindData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
72 #define IFileSystemBindData_AddRef(p) (p)->lpVtbl->AddRef(p)
73 #define IFileSystemBindData_Release(p) (p)->lpVtbl->Release(p)
74 /*** IFileSystemBindData methods ***/
75 #define IFileSystemBindData_GetFindData(p,a) (p)->lpVtbl->GetFindData(p,a)
76 #define IFileSystemBindData_SetFindData(p,a) (p)->lpVtbl->SetFindData(p,a)
77
78 #endif /* __WINE_SHLOBJ_H */