2 * Defines the COM interfaces and APIs related to EnumGUID
4 * Depends on 'obj_base.h'.
6 * Copyright (C) 2002 John K. Hohm
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_ENUMGUID_H
24 #define __WINE_WINE_OBJ_ENUMGUID_H
28 #endif /* defined(__cplusplus) */
30 /*****************************************************************************
31 * Predeclare the interfaces
33 DEFINE_OLEGUID(IID_IEnumGUID, 0x0002E000L, 0, 0);
34 typedef struct IEnumGUID IEnumGUID, *LPENUMGUID;
36 /*****************************************************************************
39 #define ICOM_INTERFACE IEnumGUID
40 #define IEnumGUID_METHODS \
41 ICOM_METHOD3(HRESULT, Next, ULONG, celt, GUID*, rgelt, ULONG*, pceltFetched) \
42 ICOM_METHOD1(HRESULT, Skip, ULONG, celt) \
43 ICOM_METHOD (HRESULT, Reset) \
44 ICOM_METHOD1(HRESULT, Clone, IEnumGUID**, ppenum)
45 #define IEnumGUID_IMETHODS \
48 ICOM_DEFINE(IEnumGUID,IUnknown)
51 #ifdef ICOM_CINTERFACE
52 /*** IUnknown methods ***/
53 #define IEnumGUID_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
54 #define IEnumGUID_AddRef(p) ICOM_CALL (AddRef,p)
55 #define IEnumGUID_Release(p) ICOM_CALL (Release,p)
56 /*** IEnumGUID methods ***/
57 #define IEnumGUID_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
58 #define IEnumGUID_Skip(p,a) ICOM_CALL1(Skip,p,a)
59 #define IEnumGUID_Reset(p) ICOM_CALL(Reset,p)
60 #define IEnumGUID_Clone(p,a) ICOM_CALL1(Clone,p,a)
65 #endif /* defined(__cplusplus) */
67 #endif /* __WINE_WINE_OBJ_ENUMGUID_H */