/*1* Copyright 2014 Qian Hong for CodeWeavers2*3* This library is free software; you can redistribute it and/or4* modify it under the terms of the GNU Lesser General Public5* License as published by the Free Software Foundation; either6* version 2.1 of the License, or (at your option) any later version.7*8* This library is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU11* Lesser General Public License for more details.12*13* You should have received a copy of the GNU Lesser General Public14* License along with this library; if not, write to the Free Software15* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA16*/1718#ifndef __WINE_ATLCOM_H__19#define __WINE_ATLCOM_H__2021#ifndef __WINE_ATLBASE_H__22# error You must include atlbase.h to use this header23#endif2425typedef struct ATL_PROPMAP_ENTRY26{27LPCOLESTR szDesc;28#if _ATL_VER < _ATL_VER_10029DISPID dispid;30const CLSID *pclsidPropPage;31const IID *piidDispatch;32#else33const CLSID *pclsidPropPage;34const IID *piidDispatch;35void *rgclsidAllowed;36DWORD cclsidAllowed;37DISPID dispid;38#endif39DWORD dwOffsetData;40DWORD dwSizeData;41VARTYPE vt;42} ATL_PROPMAP_ENTRY;4344HRESULT WINAPI AtlIPersistStreamInit_Load(IStream*, ATL_PROPMAP_ENTRY*, void*, IUnknown*);45HRESULT WINAPI AtlIPersistStreamInit_Save(IStream*, BOOL, ATL_PROPMAP_ENTRY*, void*, IUnknown*);46HRESULT WINAPI AtlIPersistPropertyBag_Load(IPropertyBag*, IErrorLog*, ATL_PROPMAP_ENTRY*, void*, IUnknown*);47HRESULT WINAPI AtlIPersistPropertyBag_Save(IPropertyBag*, BOOL, BOOL, ATL_PROPMAP_ENTRY*, void*, IUnknown*);4849#endif /* __WINE_ATLCOM_H__ */505152