Store in the server all the window information accessible with
[wine] / dlls / shell32 / shellfolder.h
1 /*
2  * defines helperfunctions to manipulate the contents of a IShellFolder
3  *
4  */
5
6 #ifndef __WINE_SHELLFOLDER_HELP_H
7 #define __WINE_SHELLFOLDER_HELP_H
8
9 #include "winbase.h"
10
11 #include "wine/obj_base.h"
12 #include "wine/obj_shellfolder.h"
13
14
15 /*****************************************************************************
16  * Predeclare the interfaces
17  */
18 DEFINE_GUID(IID_ISFHelper, 0x1fe68efbL, 0x1874, 0x9812, 0x56, 0xdc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
19 typedef struct ISFHelper ISFHelper, *LPISFHELPER;
20
21 /*****************************************************************************
22  * ISFHelper interface
23  */
24
25 #define ICOM_INTERFACE ISFHelper
26 #define ISFHelper_METHODS \
27         ICOM_METHOD2 (HRESULT, GetUniqueName, LPSTR, lpName, UINT, uLen) \
28         ICOM_METHOD3 (HRESULT, AddFolder, HWND, hwnd, LPCSTR, lpName, LPITEMIDLIST*, ppidlOut) \
29         ICOM_METHOD2 (HRESULT, DeleteItems, UINT, cidl, LPCITEMIDLIST*, apidl) \
30         ICOM_METHOD3 (HRESULT, CopyItems, IShellFolder*, pSFFrom, UINT, cidl, LPCITEMIDLIST*, apidl)
31 #define ISFHelper_IMETHODS \
32     IUnknown_IMETHODS \
33     ISFHelper_METHODS
34 ICOM_DEFINE(ISFHelper, IUnknown)
35 #undef ICOM_INTERFACE
36
37 /*** IUnknown methods ***/
38 #define ISFHelper_QueryInterface(p,a,b)         ICOM_CALL2(QueryInterface,p,a,b)
39 #define ISFHelper_AddRef(p)                     ICOM_CALL (AddRef,p)
40 #define ISFHelper_Release(p)                    ICOM_CALL (Release,p)
41 /*** ISFHelper methods ***/
42 #define ISFHelper_GetUniqueName(p,a,b)          ICOM_CALL2(GetUniqueName,p,a,b)
43 #define ISFHelper_AddFolder(p,a,b,c)            ICOM_CALL3(AddFolder,p,a,b,c)
44 #define ISFHelper_DeleteItems(p,a,b)            ICOM_CALL2(DeleteItems,p,a,b)
45 #define ISFHelper_CopyItems(p,a,b,c)            ICOM_CALL3(CopyItems,p,a,b,c)
46
47 #endif /* __WINE_SHELLFOLDER_HELP_H */