201 lines
4.9 KiB
C
201 lines
4.9 KiB
C
/*
|
|
* Header includes for shdocvw.dll
|
|
*
|
|
* 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
|
|
*/
|
|
|
|
#ifndef __WINE_SHDOCVW_H
|
|
#define __WINE_SHDOCVW_H
|
|
|
|
#define COM_NO_WINDOWS_H
|
|
/* FIXME: Is there a better way to deal with all these includes? */
|
|
#include <stdarg.h>
|
|
|
|
#include "windef.h"
|
|
#include "winbase.h"
|
|
#include "wingdi.h"
|
|
#include "winuser.h"
|
|
|
|
#include "ole2.h"
|
|
#include "olectl.h"
|
|
#include "shlobj.h"
|
|
#include "exdisp.h"
|
|
|
|
/**********************************************************************
|
|
* IClassFactory declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IClassFactoryVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IClassFactoryImpl;
|
|
|
|
extern IClassFactoryImpl SHDOCVW_ClassFactory;
|
|
|
|
|
|
/**********************************************************************
|
|
* IOleObject declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IOleObjectVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IOleObjectImpl;
|
|
|
|
extern IOleObjectImpl SHDOCVW_OleObject;
|
|
|
|
|
|
/**********************************************************************
|
|
* IOleInPlaceObject declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IOleInPlaceObjectVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IOleInPlaceObjectImpl;
|
|
|
|
extern IOleInPlaceObjectImpl SHDOCVW_OleInPlaceObject;
|
|
|
|
|
|
/**********************************************************************
|
|
* IOleControl declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IOleControlVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IOleControlImpl;
|
|
|
|
extern IOleControlImpl SHDOCVW_OleControl;
|
|
|
|
|
|
/**********************************************************************
|
|
* IWebBrowser declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IWebBrowserVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IWebBrowserImpl;
|
|
|
|
extern IWebBrowserImpl SHDOCVW_WebBrowser;
|
|
|
|
|
|
/**********************************************************************
|
|
* IProvideClassInfo declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IProvideClassInfoVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IProvideClassInfoImpl;
|
|
|
|
extern IProvideClassInfoImpl SHDOCVW_ProvideClassInfo;
|
|
|
|
|
|
/**********************************************************************
|
|
* IProvideClassInfo2 declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IProvideClassInfo2Vtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IProvideClassInfo2Impl;
|
|
|
|
extern IProvideClassInfo2Impl SHDOCVW_ProvideClassInfo2;
|
|
|
|
|
|
/**********************************************************************
|
|
* IPersistStorage declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IPersistStorageVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IPersistStorageImpl;
|
|
|
|
extern IPersistStorageImpl SHDOCVW_PersistStorage;
|
|
|
|
|
|
/**********************************************************************
|
|
* IPersistStreamInit declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IPersistStreamInitVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IPersistStreamInitImpl;
|
|
|
|
extern IPersistStreamInitImpl SHDOCVW_PersistStreamInit;
|
|
|
|
|
|
/**********************************************************************
|
|
* IQuickActivate declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IQuickActivateVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IQuickActivateImpl;
|
|
|
|
extern IQuickActivateImpl SHDOCVW_QuickActivate;
|
|
|
|
|
|
/**********************************************************************
|
|
* IConnectionPointContainer declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IConnectionPointContainerVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IConnectionPointContainerImpl;
|
|
|
|
extern IConnectionPointContainerImpl SHDOCVW_ConnectionPointContainer;
|
|
|
|
|
|
/**********************************************************************
|
|
* IConnectionPoint declaration for SHDOCVW.DLL
|
|
*/
|
|
typedef struct
|
|
{
|
|
/* IUnknown fields */
|
|
IConnectionPointVtbl *lpVtbl;
|
|
DWORD ref;
|
|
} IConnectionPointImpl;
|
|
|
|
extern IConnectionPointImpl SHDOCVW_ConnectionPoint;
|
|
|
|
/**********************************************************************
|
|
* 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 ); }
|
|
|
|
#endif /* __WINE_SHDOCVW_H */
|