Moved mode setting out of .spec file into Makefile.
[wine/gsoc_dplay.git] / dlls / shell32 / shellfolder.h
blobaf8817b0cade48e8a7008b57251d35d43f742bf0
1 /*
2 * defines helperfunctions to manipulate the contents of a IShellFolder
4 * Copyright 2000 Juergen Schmied
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_SHELLFOLDER_HELP_H
22 #define __WINE_SHELLFOLDER_HELP_H
24 #include "winbase.h"
26 #include "wine/obj_base.h"
27 #include "wine/obj_shellfolder.h"
30 /*****************************************************************************
31 * Predeclare the interfaces
33 DEFINE_GUID(IID_ISFHelper, 0x1fe68efbL, 0x1874, 0x9812, 0x56, 0xdc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
34 typedef struct ISFHelper ISFHelper, *LPISFHELPER;
36 /*****************************************************************************
37 * ISFHelper interface
40 #define ICOM_INTERFACE ISFHelper
41 #define ISFHelper_METHODS \
42 ICOM_METHOD2 (HRESULT, GetUniqueName, LPSTR, lpName, UINT, uLen) \
43 ICOM_METHOD3 (HRESULT, AddFolder, HWND, hwnd, LPCSTR, lpName, LPITEMIDLIST*, ppidlOut) \
44 ICOM_METHOD2 (HRESULT, DeleteItems, UINT, cidl, LPCITEMIDLIST*, apidl) \
45 ICOM_METHOD3 (HRESULT, CopyItems, IShellFolder*, pSFFrom, UINT, cidl, LPCITEMIDLIST*, apidl)
46 #define ISFHelper_IMETHODS \
47 IUnknown_IMETHODS \
48 ISFHelper_METHODS
49 ICOM_DEFINE(ISFHelper, IUnknown)
50 #undef ICOM_INTERFACE
52 /*** IUnknown methods ***/
53 #define ISFHelper_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
54 #define ISFHelper_AddRef(p) ICOM_CALL (AddRef,p)
55 #define ISFHelper_Release(p) ICOM_CALL (Release,p)
56 /*** ISFHelper methods ***/
57 #define ISFHelper_GetUniqueName(p,a,b) ICOM_CALL2(GetUniqueName,p,a,b)
58 #define ISFHelper_AddFolder(p,a,b,c) ICOM_CALL3(AddFolder,p,a,b,c)
59 #define ISFHelper_DeleteItems(p,a,b) ICOM_CALL2(DeleteItems,p,a,b)
60 #define ISFHelper_CopyItems(p,a,b,c) ICOM_CALL3(CopyItems,p,a,b,c)
62 #endif /* __WINE_SHELLFOLDER_HELP_H */