/*
* Implementation of the Active Template Library (atl.dll)
*
* Copyright 2004 Aric Stewart for CodeWeavers
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __WINE_ATLBASE_H__
#define __WINE_ATLBASE_H__
#include <atliface.h>
#include <comcat.h>
/* Wine extension: we (ab)use _ATL_VER to handle struct layout differences between ATL versions. */
#ifndef _ATL_VER
#endif
typedef struct _ATL_OBJMAP_ENTRYA_V1_TAG
{
typedef struct _ATL_OBJMAP_ENTRYW_V1_TAG
{
typedef struct _ATL_OBJMAP_ENTRYA_TAG
{
typedef struct _ATL_OBJMAP_ENTRYW_TAG
{
typedef struct _ATL_TERMFUNC_ELEM_TAG
{
typedef struct _AtlCreateWndData_TAG
{
void* m_pThis;
typedef struct _ATL_MODULEA_TAG
{
union
{
} u;
int m_nHeap;
} _ATL_MODULEA;
typedef struct _ATL_MODULEW_TAG
{
union
{
} u;
int m_nHeap;
} _ATL_MODULEW;
typedef struct
{
void *m_aT;
int m_nSize;
int m_nAllocSize;
} CSimpleArray;
typedef struct _ATL_MODULE70
{
typedef struct _ATL_WIN_MODULE70
{
typedef struct _ATL_COM_MODULE70
{
#if _ATL_VER >= _ATL_VER_70
#else
#endif
typedef struct _ATL_INTMAP_ENTRY_TAG
{
struct _ATL_REGMAP_ENTRY
{
};
struct _ATL_CATMAP_ENTRY
{
int iType;
};
#define _ATL_CATMAP_ENTRY_END 0
HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);
HRESULT WINAPI AtlInternalQueryInterface(void* pThis, const _ATL_INTMAP_ENTRY* pEntries, REFIID iid, void** ppvObject);
HRESULT WINAPI AtlModuleLoadTypeLib(_ATL_MODULEW *pM, LPCOLESTR lpszIndex, BSTR *pbstrPath, ITypeLib **ppTypeLib);
HRESULT WINAPI AtlModuleUpdateRegistryFromResourceD(_ATL_MODULEW *pM, LPCOLESTR lpszRes, BOOL bRegister, struct _ATL_REGMAP_ENTRY *pMapEntries, IRegistrar *pReg );
HRESULT WINAPI AtlModuleUnregisterServerEx(_ATL_MODULEW* pM, BOOL bUnRegTypeLib, const CLSID* pCLSID);
HRESULT WINAPI AtlUpdateRegistryFromResourceD(HINSTANCE,LPCOLESTR,BOOL,struct _ATL_REGMAP_ENTRY*,IRegistrar*);
#endif /* __WINE_ATLBASE_H__ */