1999-03-14 13:16:21 +01:00
|
|
|
/*
|
|
|
|
* Defines the COM interfaces and APIs related to EnumIDList
|
|
|
|
*
|
|
|
|
* Depends on 'obj_base.h'.
|
2002-03-10 00:29:33 +01:00
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Juergen Schmied
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
1999-03-14 13:16:21 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_WINE_OBJ_ENUMIDLIST_H
|
|
|
|
#define __WINE_WINE_OBJ_ENUMIDLIST_H
|
|
|
|
|
1999-06-12 12:53:06 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
1999-03-14 13:16:21 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* Predeclare the interfaces
|
|
|
|
*/
|
|
|
|
typedef struct IEnumIDList IEnumIDList, *LPENUMIDLIST;
|
|
|
|
|
|
|
|
#define ICOM_INTERFACE IEnumIDList
|
|
|
|
#define IEnumIDList_METHODS \
|
|
|
|
ICOM_METHOD3(HRESULT, Next, ULONG, celt, LPITEMIDLIST*, rgelt, ULONG*, pceltFetched) \
|
|
|
|
ICOM_METHOD1(HRESULT, Skip, ULONG, celt) \
|
|
|
|
ICOM_METHOD (HRESULT, Reset) \
|
1999-07-25 14:26:05 +02:00
|
|
|
ICOM_METHOD1(HRESULT, Clone, IEnumIDList**, ppenum)
|
1999-03-14 13:16:21 +01:00
|
|
|
#define IEnumIDList_IMETHODS \
|
|
|
|
IUnknown_IMETHODS \
|
|
|
|
IEnumIDList_METHODS
|
|
|
|
ICOM_DEFINE(IEnumIDList,IUnknown)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
|
|
|
#define IEnumIDList_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IEnumIDList_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IEnumIDList_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IEnumIDList methods ***/
|
|
|
|
#define IEnumIDList_Next(p,a,b,c) ICOM_CALL3(Next,p,a,b,c)
|
|
|
|
#define IEnumIDList_Skip(p,a) ICOM_CALL1(Skip,p,a)
|
|
|
|
#define IEnumIDList_Reset(p) ICOM_CALL(Reset,p)
|
|
|
|
#define IEnumIDList_Clone(p,a) ICOM_CALL1(Clone,p,a)
|
|
|
|
|
1999-06-12 12:53:06 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
1999-03-14 13:16:21 +01:00
|
|
|
#endif /* __WINE_WINE_OBJ_ENUMIDLIST_H */
|