2001-01-11 23:32:44 +01:00
|
|
|
/*
|
2002-05-05 21:40:57 +02:00
|
|
|
* Header includes for shdocvw.dll
|
|
|
|
*
|
2002-03-10 00:29:33 +01:00
|
|
|
* Copyright 2001 John R. Sheets (for CodeWeavers)
|
|
|
|
*
|
|
|
|
* 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
|
2001-01-11 23:32:44 +01:00
|
|
|
*/
|
|
|
|
|
2002-05-05 21:40:57 +02:00
|
|
|
#ifndef __WINE_SHDOCVW_H
|
|
|
|
#define __WINE_SHDOCVW_H
|
|
|
|
|
2003-01-03 20:12:55 +01:00
|
|
|
#define COM_NO_WINDOWS_H
|
2002-05-05 21:40:57 +02:00
|
|
|
/* FIXME: Is there a better way to deal with all these includes? */
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
2002-05-05 21:40:57 +02:00
|
|
|
#include "winbase.h"
|
2003-09-06 01:08:26 +02:00
|
|
|
#include "wingdi.h"
|
2002-05-05 21:40:57 +02:00
|
|
|
#include "winuser.h"
|
|
|
|
|
2002-12-05 21:33:07 +01:00
|
|
|
#include "ole2.h"
|
|
|
|
#include "olectl.h"
|
|
|
|
#include "shlobj.h"
|
2003-09-04 04:00:46 +02:00
|
|
|
#include "exdisp.h"
|
2002-05-05 21:40:57 +02:00
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IClassFactory declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IClassFactoryVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IClassFactoryImpl;
|
|
|
|
|
|
|
|
extern IClassFactoryImpl SHDOCVW_ClassFactory;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IOleObject declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IOleObjectVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IOleObjectImpl;
|
|
|
|
|
|
|
|
extern IOleObjectImpl SHDOCVW_OleObject;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IOleInPlaceObject declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IOleInPlaceObjectVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IOleInPlaceObjectImpl;
|
|
|
|
|
|
|
|
extern IOleInPlaceObjectImpl SHDOCVW_OleInPlaceObject;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IOleControl declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IOleControlVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IOleControlImpl;
|
|
|
|
|
|
|
|
extern IOleControlImpl SHDOCVW_OleControl;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IWebBrowser declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IWebBrowserVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IWebBrowserImpl;
|
|
|
|
|
|
|
|
extern IWebBrowserImpl SHDOCVW_WebBrowser;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IProvideClassInfo declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IProvideClassInfoVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IProvideClassInfoImpl;
|
|
|
|
|
|
|
|
extern IProvideClassInfoImpl SHDOCVW_ProvideClassInfo;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IProvideClassInfo2 declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IProvideClassInfo2Vtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IProvideClassInfo2Impl;
|
2001-01-11 23:32:44 +01:00
|
|
|
|
2002-05-05 21:40:57 +02:00
|
|
|
extern IProvideClassInfo2Impl SHDOCVW_ProvideClassInfo2;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IPersistStorage declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IPersistStorageVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IPersistStorageImpl;
|
2001-01-11 23:32:44 +01:00
|
|
|
|
2002-05-05 21:40:57 +02:00
|
|
|
extern IPersistStorageImpl SHDOCVW_PersistStorage;
|
2001-01-11 23:32:44 +01:00
|
|
|
|
|
|
|
|
2002-05-05 21:40:57 +02:00
|
|
|
/**********************************************************************
|
|
|
|
* IPersistStreamInit declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IPersistStreamInitVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IPersistStreamInitImpl;
|
|
|
|
|
|
|
|
extern IPersistStreamInitImpl SHDOCVW_PersistStreamInit;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IQuickActivate declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IQuickActivateVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IQuickActivateImpl;
|
|
|
|
|
|
|
|
extern IQuickActivateImpl SHDOCVW_QuickActivate;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IConnectionPointContainer declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IConnectionPointContainerVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IConnectionPointContainerImpl;
|
|
|
|
|
|
|
|
extern IConnectionPointContainerImpl SHDOCVW_ConnectionPointContainer;
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
* IConnectionPoint declaration for SHDOCVW.DLL
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
/* IUnknown fields */
|
2004-08-12 21:52:49 +02:00
|
|
|
IConnectionPointVtbl *lpVtbl;
|
2002-05-05 21:40:57 +02:00
|
|
|
DWORD ref;
|
|
|
|
} IConnectionPointImpl;
|
|
|
|
|
|
|
|
extern IConnectionPointImpl SHDOCVW_ConnectionPoint;
|
|
|
|
|
2005-01-27 11:43:53 +01:00
|
|
|
/**********************************************************************
|
|
|
|
* Dll lifetime tracking declaration for shdocvw.dll
|
|
|
|
*/
|
|
|
|
extern LONG SHDOCVW_refCount;
|
|
|
|
static inline void SHDOCVW_LockModule() { InterlockedIncrement( &SHDOCVW_refCount ); }
|
|
|
|
static inline void SHDOCVW_UnlockModule() { InterlockedDecrement( &SHDOCVW_refCount ); }
|
|
|
|
|
2002-05-05 21:40:57 +02:00
|
|
|
#endif /* __WINE_SHDOCVW_H */
|