2 * Defines the COM interfaces and APIs related to EnumIDList
4 * Depends on 'obj_base.h'.
6 * Copyright (C) 1999 Juergen Schmied
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef __WINE_WINE_OBJ_ENUMIDLIST_H
24 #define __WINE_WINE_OBJ_ENUMIDLIST_H
28 #endif /* defined(__cplusplus) */
30 /*****************************************************************************
31 * Predeclare the interfaces
33 typedef struct IEnumIDList IEnumIDList, *LPENUMIDLIST;
35 #define ICOM_INTERFACE IEnumIDList
36 #define IEnumIDList_METHODS \
37 ICOM_METHOD3(HRESULT, Next, ULONG, celt, LPITEMIDLIST*, rgelt, ULONG*, pceltFetched) \
38 ICOM_METHOD1(HRESULT, Skip, ULONG, celt) \
39 ICOM_METHOD (HRESULT, Reset) \
40 ICOM_METHOD1(HRESULT, Clone, IEnumIDList**, ppenum)
41 #define IEnumIDList_IMETHODS \
44 ICOM_DEFINE(IEnumIDList,IUnknown)
47 /*** IUnknown methods ***/
48 #define IEnumIDList_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
49 #define IEnumIDList_AddRef(p) ICOM_CALL (AddRef,p)
50 #define IEnumIDList_Release(p) ICOM_CALL (Release,p)
51 /*** IEnumIDList methods ***/
52 #define IEnumIDList_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
53 #define IEnumIDList_Skip(p,a) ICOM_CALL1(Skip,p,a)
54 #define IEnumIDList_Reset(p) ICOM_CALL(Reset,p)
55 #define IEnumIDList_Clone(p,a) ICOM_CALL1(Clone,p,a)
59 #endif /* defined(__cplusplus) */
61 #endif /* __WINE_WINE_OBJ_ENUMIDLIST_H */