2000-02-18 03:38:33 +08:00
|
|
|
#ifndef _OLEIDL_H
|
|
|
|
#define _OLEIDL_H
|
* include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h,
cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h,
dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h,
imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h,
ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h,
lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h,
lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h,
lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h,
lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h,
lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h,
mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h,
ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h,
ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h,
oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h,
raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h,
rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h,
rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h,
security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h,
sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h,
tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h,
wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h,
wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h,
winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h,
winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h,
wsnetbs.h, wtypes.h, zmouse.h: Add #pragma GCC system_header
if __GNUC__ >= 3.
* include/mapi.h: Change header guard name to _MAPI_H for
consistency.
2002-03-09 17:04:10 +08:00
|
|
|
#if __GNUC__ >=3
|
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <objfwd.h>
|
2002-07-26 12:38:00 +08:00
|
|
|
|
|
|
|
#define MK_ALT 32
|
|
|
|
|
2004-01-03 Filip Navara <xnavara@volny.cz>
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.
2004-01-04 06:12:35 +08:00
|
|
|
typedef interface IParseDisplayName *LPPARSEDISPLAYNAME;
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef interface IOleContainer *LPOLECONTAINER;
|
|
|
|
typedef interface IOleClientSite *LPOLECLIENTSITE;
|
|
|
|
typedef interface IOleObject *LPOLEOBJECT;
|
|
|
|
typedef interface IDropTarget *LPDROPTARGET;
|
|
|
|
typedef interface IDropSource *LPDROPSOURCE;
|
|
|
|
typedef interface IEnumOleUndoUnits *LPENUMOLEUNDOUNITS;
|
|
|
|
typedef interface IEnumOLEVERB *LPENUMOLEVERB;
|
|
|
|
typedef interface IOleWindow *LPOLEWINDOW;
|
|
|
|
typedef interface IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW;
|
|
|
|
typedef interface IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT;
|
|
|
|
typedef interface IOleInPlaceFrame *LPOLEINPLACEFRAME;
|
|
|
|
typedef interface IOleAdviseHolder *LPOLEADVISEHOLDER;
|
|
|
|
typedef interface IViewObject *LPVIEWOBJECT;
|
|
|
|
typedef interface IViewObject2 *LPVIEWOBJECT2;
|
2004-01-02 06:34:20 +08:00
|
|
|
typedef interface IOleCache *LPOLECACHE;
|
|
|
|
typedef interface IOleCache2 *LPOLECACHE2;
|
|
|
|
typedef interface IOleCacheControl *LPOLECACHECONTROL;
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-03 Filip Navara <xnavara@volny.cz>
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.
2004-01-04 06:12:35 +08:00
|
|
|
typedef enum tagBINDSPEED
|
|
|
|
{
|
|
|
|
BINDSPEED_INDEFINITE=1,
|
|
|
|
BINDSPEED_MODERATE,
|
|
|
|
BINDSPEED_IMMEDIATE
|
|
|
|
} BINDSPEED;
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef enum tagOLEWHICHMK {
|
|
|
|
OLEWHICHMK_CONTAINER=1,
|
|
|
|
OLEWHICHMK_OBJREL,
|
|
|
|
OLEWHICHMK_OBJFULL
|
|
|
|
} OLEWHICHMK;
|
|
|
|
typedef enum tagOLEGETMONIKER {
|
|
|
|
OLEGETMONIKER_ONLYIFTHERE=1,
|
|
|
|
OLEGETMONIKER_FORCEASSIGN,
|
|
|
|
OLEGETMONIKER_UNASSIGN,
|
|
|
|
OLEGETMONIKER_TEMPFORUSER
|
|
|
|
} OLEGETMONIKER;
|
2003-03-01 14:51:51 +08:00
|
|
|
typedef enum tagUSERCLASSTYPE {
|
|
|
|
USERCLASSTYPE_FULL=1,
|
|
|
|
USERCLASSTYPE_SHORT,
|
|
|
|
USERCLASSTYPE_APPNAME
|
|
|
|
} USERCLASSTYPE;
|
2003-03-04 08:36:06 +08:00
|
|
|
|
2001-11-02 03:42:57 +08:00
|
|
|
#ifdef __GNUC__
|
|
|
|
__extension__ /* IS0 C says enums limited to range of int */
|
|
|
|
#endif
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef enum tagDROPEFFECT {
|
|
|
|
DROPEFFECT_NONE=0,
|
|
|
|
DROPEFFECT_COPY=1,
|
|
|
|
DROPEFFECT_MOVE=2,
|
|
|
|
DROPEFFECT_LINK=4,
|
|
|
|
DROPEFFECT_SCROLL=0x80000000
|
|
|
|
} DROPEFFECT;
|
|
|
|
typedef struct tagOleMenuGroupWidths {
|
|
|
|
LONG width[6];
|
|
|
|
} OLEMENUGROUPWIDTHS,*LPOLEMENUGROUPWIDTHS;
|
|
|
|
typedef HGLOBAL HOLEMENU;
|
|
|
|
typedef enum tagOLECLOSE {
|
|
|
|
OLECLOSE_SAVEIFDIRTY,
|
|
|
|
OLECLOSE_NOSAVE,
|
|
|
|
OLECLOSE_PROMPTSAVE
|
|
|
|
} OLECLOSE;
|
|
|
|
typedef struct tagOLEVERB {
|
|
|
|
LONG lVerb;
|
|
|
|
LPWSTR lpszVerbName;
|
|
|
|
DWORD fuFlags;
|
|
|
|
DWORD grfAttribs;
|
|
|
|
} OLEVERB,*LPOLEVERB;
|
|
|
|
typedef RECT BORDERWIDTHS;
|
|
|
|
typedef LPRECT LPBORDERWIDTHS;
|
|
|
|
typedef LPCRECT LPCBORDERWIDTHS;
|
|
|
|
typedef struct tagOIFI {
|
|
|
|
UINT cb;
|
|
|
|
BOOL fMDIApp;
|
|
|
|
HWND hwndFrame;
|
|
|
|
HACCEL haccel;
|
|
|
|
UINT cAccelEntries;
|
|
|
|
}OLEINPLACEFRAMEINFO,*LPOLEINPLACEFRAMEINFO;
|
|
|
|
|
|
|
|
DECLARE_ENUMERATOR(OLEVERB);
|
|
|
|
typedef IEnumOLEVERB IEnumOleVerb;
|
|
|
|
|
|
|
|
EXTERN_C const IID IID_IParseDisplayName;
|
|
|
|
#define INTERFACE IParseDisplayName
|
|
|
|
DECLARE_INTERFACE_(IParseDisplayName,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(ParseDisplayName)(THIS_ IBindCtx*,LPOLESTR,ULONG*,IMoniker**) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-03 Filip Navara <xnavara@volny.cz>
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.
2004-01-04 06:12:35 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IParseDisplayName_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IParseDisplayName_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IParseDisplayName_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IParseDisplayName_ParseDisplayName(T,a,b,c,d) (T)->lpVtbl->ParseDisplayName(T,a,b,c,d)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IOleContainer;
|
|
|
|
#define INTERFACE IOleContainer
|
|
|
|
DECLARE_INTERFACE_(IOleContainer,IParseDisplayName)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(ParseDisplayName)(THIS_ IBindCtx*,LPOLESTR,ULONG*,IMoniker**) PURE;
|
|
|
|
STDMETHOD(EnumObjects)(THIS_ DWORD,IEnumUnknown**) PURE;
|
|
|
|
STDMETHOD(LockContainer)(THIS_ BOOL) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
EXTERN_C const IID IID_IOleItemContainer;
|
|
|
|
#define INTERFACE IOleItemContainer
|
|
|
|
DECLARE_INTERFACE_(IOleItemContainer,IOleContainer)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(ParseDisplayName)(THIS_ IBindCtx*,LPOLESTR,ULONG*,IMoniker**) PURE;
|
|
|
|
STDMETHOD(EnumObjects)(THIS_ DWORD,IEnumUnknown**) PURE;
|
|
|
|
STDMETHOD(LockContainer)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(GetObject)(THIS_ LPOLESTR,DWORD,IBindCtx*,REFIID,void**) PURE;
|
|
|
|
STDMETHOD(GetObjectStorage)(THIS_ LPOLESTR,IBindCtx*,REFIID,void**) PURE;
|
|
|
|
STDMETHOD(IsRunning)(THIS_ LPOLESTR) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
|
2004-01-03 Filip Navara <xnavara@volny.cz>
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.
2004-01-04 06:12:35 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleItemContainer_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleItemContainer_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleItemContainer_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleItemContainer_ParseDisplayName(T,a,b,c,d) (T)->lpVtbl->ParseDisplayName(T,a,b,c,d)
|
|
|
|
#define IOleItemContainer_EnumObjects(T,a,b) (T)->lpVtbl->EnumObjects(T,a,b)
|
|
|
|
#define IOleItemContainer_LockContainer(T,a) (T)->lpVtbl->LockContainer(T,a)
|
|
|
|
#define IOleItemContainer_GetObject(T,a,b,c,d,e) (T)->lpVtbl->GetObject(T,a,b,c,d,e)
|
|
|
|
#define IOleItemContainer_GetObjectStorage(T,a,b,c,d) (T)->lpVtbl->GetObjectStorage(T,a,b,c,d)
|
|
|
|
#define IOleItemContainer_IsRunning(T,a) (T)->lpVtbl->IsRunning(T,a)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IOleClientSite;
|
|
|
|
#define INTERFACE IOleClientSite
|
|
|
|
DECLARE_INTERFACE_(IOleClientSite,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(SaveObject)(THIS) PURE;
|
|
|
|
STDMETHOD(GetMoniker)(THIS_ DWORD,DWORD,LPMONIKER*) PURE;
|
|
|
|
STDMETHOD(GetContainer)(THIS_ LPOLECONTAINER*) PURE;
|
|
|
|
STDMETHOD(ShowObject)(THIS) PURE;
|
|
|
|
STDMETHOD(OnShowWindow)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(RequestNewObjectLayout)(THIS) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-02 06:34:20 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleClientSite_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleClientSite_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleClientSite_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleClientSite_SaveObject(T) (T)->lpVtbl->SaveObject(T)
|
|
|
|
#define IOleClientSite_GetMoniker(T,a,b,c) (T)->lpVtbl->GetMoniker(T,a,b,c)
|
|
|
|
#define IOleClientSite_GetContainer(T,a) (T)->lpVtbl->GetContainer(T,a)
|
|
|
|
#define IOleClientSite_ShowObject(T) (T)->lpVtbl->ShowObject(T)
|
|
|
|
#define IOleClientSite_OnShowWindow(T,a) (T)->lpVtbl->OnShowWindow(T,a)
|
|
|
|
#define IOleClientSite_RequestNewObjectLayout(T) (T)->lpVtbl->RequestNewObjectLayout(T)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IOleObject;
|
|
|
|
#define INTERFACE IOleObject
|
|
|
|
DECLARE_INTERFACE_(IOleObject,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(SetClientSite)(THIS_ LPOLECLIENTSITE) PURE;
|
|
|
|
STDMETHOD(GetClientSite)(THIS_ LPOLECLIENTSITE*) PURE;
|
|
|
|
STDMETHOD(SetHostNames)(THIS_ LPCOLESTR,LPCOLESTR) PURE;
|
|
|
|
STDMETHOD(Close)(THIS_ DWORD) PURE;
|
|
|
|
STDMETHOD(SetMoniker)(THIS_ DWORD,LPMONIKER) PURE;
|
|
|
|
STDMETHOD(GetMoniker)(THIS_ DWORD,DWORD,LPMONIKER*) PURE;
|
|
|
|
STDMETHOD(InitFromData)(THIS_ LPDATAOBJECT,BOOL,DWORD) PURE;
|
|
|
|
STDMETHOD(GetClipboardData)(THIS_ DWORD,LPDATAOBJECT*) PURE;
|
|
|
|
STDMETHOD(DoVerb)(THIS_ LONG,LPMSG,LPOLECLIENTSITE,LONG,HWND,LPCRECT) PURE;
|
|
|
|
STDMETHOD(EnumVerbs)(THIS_ LPENUMOLEVERB*) PURE;
|
|
|
|
STDMETHOD(Update)(THIS) PURE;
|
|
|
|
STDMETHOD(IsUpToDate)(THIS) PURE;
|
|
|
|
STDMETHOD(GetUserClassID)(THIS_ LPCLSID) PURE;
|
2003-03-04 08:36:06 +08:00
|
|
|
STDMETHOD(GetUserType)(THIS_ DWORD,LPOLESTR*) PURE;
|
2000-02-18 03:38:33 +08:00
|
|
|
STDMETHOD(SetExtent)(THIS_ DWORD,SIZEL*) PURE;
|
|
|
|
STDMETHOD(GetExtent)(THIS_ DWORD,SIZEL*) PURE;
|
|
|
|
STDMETHOD(Advise)(THIS_ LPADVISESINK,PDWORD) PURE;
|
|
|
|
STDMETHOD(Unadvise)(THIS_ DWORD) PURE;
|
|
|
|
STDMETHOD(EnumAdvise)(THIS_ LPENUMSTATDATA*) PURE;
|
|
|
|
STDMETHOD(GetMiscStatus)(THIS_ DWORD,PDWORD) PURE;
|
|
|
|
STDMETHOD(SetColorScheme)(THIS_ LPLOGPALETTE) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-03 Filip Navara <xnavara@volny.cz>
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.
2004-01-04 06:12:35 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleObject_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleObject_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleObject_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleObject_SetClientSite(T,a) (T)->lpVtbl->SetClientSite(T,a)
|
|
|
|
#define IOleObject_GetClientSite(T,a) (T)->lpVtbl->GetClientSite(T,a)
|
|
|
|
#define IOleObject_SetHostNames(T,a,b) (T)->lpVtbl->SetHostNames(T,a,b)
|
|
|
|
#define IOleObject_Close(T,a) (T)->lpVtbl->Close(T,a)
|
|
|
|
#define IOleObject_SetMoniker(T,a,b) (T)->lpVtbl->SetMoniker(T,a,b)
|
|
|
|
#define IOleObject_GetMoniker(T,a,b,c) (T)->lpVtbl->GetMoniker(T,a,b,c)
|
|
|
|
#define IOleObject_InitFromData(T,a,b,c) (T)->lpVtbl->InitFromData(T,a,b,c)
|
|
|
|
#define IOleObject_GetClipboardData(T,a,b) (T)->lpVtbl->GetClipboardData(T,a,b)
|
|
|
|
#define IOleObject_DoVerb(T,a,b,c,d,e,f) (T)->lpVtbl->DoVerb(T,a,b,c,d,e,f)
|
|
|
|
#define IOleObject_EnumVerbs(T,a) (T)->lpVtbl->EnumVerbs(T,a)
|
|
|
|
#define IOleObject_Update(T) (T)->lpVtbl->Update(T)
|
|
|
|
#define IOleObject_IsUpToDate(T) (T)->lpVtbl->IsUpToDate(T)
|
|
|
|
#define IOleObject_GetUserClassID(T,a) (T)->lpVtbl->GetUserClassID(T,a)
|
|
|
|
#define IOleObject_GetUserType(T,a,b) (T)->lpVtbl->GetUserType(T,a,b)
|
|
|
|
#define IOleObject_SetExtent(T,a,b) (T)->lpVtbl->SetExtent(T,a,b)
|
|
|
|
#define IOleObject_GetExtent(T,a,b) (T)->lpVtbl->GetExtent(T,a,b)
|
|
|
|
#define IOleObject_Advise(T,a,b) (T)->lpVtbl->Advise(T,a,b)
|
|
|
|
#define IOleObject_Unadvise(T,a) (T)->lpVtbl->Unadvise(T,a)
|
|
|
|
#define IOleObject_EnumAdvise(T,a) (T)->lpVtbl->EnumAdvise(T,a)
|
|
|
|
#define IOleObject_GetMiscStatus(T,a,b) (T)->lpVtbl->GetMiscStatus(T,a,b)
|
|
|
|
#define IOleObject_SetColorScheme(T,a) (T)->lpVtbl->SetColorScheme(T,a)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IOleWindow;
|
|
|
|
#define INTERFACE IOleWindow
|
|
|
|
DECLARE_INTERFACE_(IOleWindow,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
|
|
|
|
STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-02 06:34:20 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleWindow_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleWindow_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleWindow_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleWindow_GetWindow(T,a) (T)->lpVtbl->GetWindow(T,a)
|
|
|
|
#define IOleWindow_ContextSensitiveHelp(T,a) (T)->lpVtbl->ContextSensitiveHelp(T,a)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IOleInPlaceUIWindow;
|
|
|
|
#define INTERFACE IOleInPlaceUIWindow
|
|
|
|
DECLARE_INTERFACE_(IOleInPlaceUIWindow,IOleWindow)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
|
|
|
|
STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(GetBorder)(THIS_ LPRECT) PURE;
|
|
|
|
STDMETHOD(RequestBorderSpace)(THIS_ LPCBORDERWIDTHS) PURE;
|
|
|
|
STDMETHOD(SetBorderSpace)(THIS_ LPCBORDERWIDTHS) PURE;
|
|
|
|
STDMETHOD(SetActiveObject)(THIS_ LPOLEINPLACEACTIVEOBJECT,LPCOLESTR) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
EXTERN_C const IID IID_IOleInPlaceObject;
|
|
|
|
#define INTERFACE IOleInPlaceObject
|
|
|
|
DECLARE_INTERFACE_(IOleInPlaceObject,IOleWindow)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
|
|
|
|
STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(InPlaceDeactivate)(THIS) PURE;
|
|
|
|
STDMETHOD(UIDeactivate)(THIS) PURE;
|
|
|
|
STDMETHOD(SetObjectRects)(THIS_ LPCRECT,LPCRECT) PURE;
|
|
|
|
STDMETHOD(ReactivateAndUndo)(THIS) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IOleInPlaceActiveObject;
|
|
|
|
#define INTERFACE IOleInPlaceActiveObject
|
|
|
|
DECLARE_INTERFACE_(IOleInPlaceActiveObject,IOleWindow)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
|
|
|
|
STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG) PURE;
|
|
|
|
STDMETHOD(OnFrameWindowActivate)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(OnDocWindowActivate)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(ResizeBorder)(THIS_ LPCRECT,LPOLEINPLACEUIWINDOW,BOOL) PURE;
|
|
|
|
STDMETHOD(EnableModeless)(THIS_ BOOL) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
EXTERN_C const IID IID_IOleInPlaceFrame;
|
|
|
|
#define INTERFACE IOleInPlaceFrame
|
|
|
|
DECLARE_INTERFACE_(IOleInPlaceFrame,IOleInPlaceUIWindow)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
|
|
|
|
STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(GetBorder)(THIS_ LPRECT) PURE;
|
|
|
|
STDMETHOD(RequestBorderSpace)(THIS_ LPCBORDERWIDTHS) PURE;
|
|
|
|
STDMETHOD(SetBorderSpace)(THIS_ LPCBORDERWIDTHS) PURE;
|
|
|
|
STDMETHOD(SetActiveObject)(THIS_ LPOLEINPLACEACTIVEOBJECT,LPCOLESTR) PURE;
|
|
|
|
STDMETHOD(InsertMenus)(THIS_ HMENU,LPOLEMENUGROUPWIDTHS) PURE;
|
|
|
|
STDMETHOD(SetMenu)(THIS_ HMENU,HOLEMENU,HWND) PURE;
|
|
|
|
STDMETHOD(RemoveMenus)(THIS_ HMENU) PURE;
|
|
|
|
STDMETHOD(SetStatusText)(THIS_ LPCOLESTR) PURE;
|
|
|
|
STDMETHOD(EnableModeless)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG,WORD) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-02 06:34:20 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleInPlaceFrame_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleInPlaceFrame_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleInPlaceFrame_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleInPlaceFrame_GetWindow(T,a) (T)->lpVtbl->GetWindow(T,a)
|
|
|
|
#define IOleInPlaceFrame_ContextSensitiveHelp(T,a) (T)->lpVtbl->ContextSensitiveHelp(T,a)
|
|
|
|
#define IOleInPlaceFrame_GetBorder(T,a) (T)->lpVtbl->GetBorder(T,a)
|
|
|
|
#define IOleInPlaceFrame_RequestBorderSpace(T,a) (T)->lpVtbl->RequestBorderSpace(T,a)
|
|
|
|
#define IOleInPlaceFrame_SetBorderSpace(T,a) (T)->lpVtbl->SetBorderSpace(T,a)
|
|
|
|
#define IOleInPlaceFrame_SetActiveObject(T,a,b) (T)->lpVtbl->SetActiveObject(T,a,b)
|
|
|
|
#define IOleInPlaceFrame_InsertMenus(T,a,b) (T)->lpVtbl->InsertMenus(T,a,b)
|
|
|
|
#define IOleInPlaceFrame_SetMenu(T,a,b,c) (T)->lpVtbl->SetMenu(T,a,b,c)
|
|
|
|
#define IOleInPlaceFrame_RemoveMenus(T,a) (T)->lpVtbl->RemoveMenus(T,a)
|
|
|
|
#define IOleInPlaceFrame_SetStatusText(T,a) (T)->lpVtbl->SetStatusText(T,a)
|
|
|
|
#define IOleInPlaceFrame_EnableModeless(T,a) (T)->lpVtbl->EnableModeless(T,a)
|
|
|
|
#define IOleInPlaceFrame_TranslateAccelerator(T,a,b) (T)->lpVtbl->TranslateAccelerator(T,a,b)
|
|
|
|
#endif
|
|
|
|
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
EXTERN_C const IID IID_IOleInPlaceSite;
|
|
|
|
#define INTERFACE IOleInPlaceSite
|
|
|
|
DECLARE_INTERFACE_(IOleInPlaceSite,IOleWindow)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(GetWindow)(THIS_ HWND*) PURE;
|
|
|
|
STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(CanInPlaceActivate)(THIS) PURE;
|
|
|
|
STDMETHOD(OnInPlaceActivate)(THIS) PURE;
|
|
|
|
STDMETHOD(OnUIActivate)(THIS) PURE;
|
|
|
|
STDMETHOD(GetWindowContext)(THIS_ IOleInPlaceFrame**,IOleInPlaceUIWindow**,LPRECT,LPRECT,LPOLEINPLACEFRAMEINFO) PURE;
|
|
|
|
STDMETHOD(Scroll)(THIS_ SIZE) PURE;
|
|
|
|
STDMETHOD(OnUIDeactivate)(THIS_ BOOL) PURE;
|
|
|
|
STDMETHOD(OnInPlaceDeactivate)(THIS) PURE;
|
|
|
|
STDMETHOD(DiscardUndoState)(THIS) PURE;
|
|
|
|
STDMETHOD(DeactivateAndUndo)(THIS) PURE;
|
|
|
|
STDMETHOD(OnPosRectChange)(THIS_ LPCRECT) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2002-07-26 Mattia Barbon <mbarbon@dsi.unive.it>
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
2002-07-26 12:26:26 +08:00
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IOleAdviseHolder;
|
|
|
|
#define INTERFACE IOleAdviseHolder
|
|
|
|
DECLARE_INTERFACE_(IOleAdviseHolder,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(Advise)(THIS_ LPADVISESINK,PDWORD) PURE;
|
|
|
|
STDMETHOD(Unadvise)(THIS_ DWORD) PURE;
|
|
|
|
STDMETHOD(EnumAdvise)(THIS_ LPENUMSTATDATA*) PURE;
|
|
|
|
STDMETHOD(SendOnRename)(THIS_ LPMONIKER) PURE;
|
|
|
|
STDMETHOD(SendOnSave)(THIS) PURE;
|
|
|
|
STDMETHOD(SendOnClose)(THIS) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-02 06:34:20 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleAdviseHolder_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleAdviseHolder_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleAdviseHolder_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleAdviseHolder_Advise(T,a,b) (T)->lpVtbl->Advise(T,a,b)
|
|
|
|
#define IOleAdviseHolder_Unadvise(T,a) (T)->lpVtbl->Unadvise(T,a)
|
|
|
|
#define IOleAdviseHolder_EnumAdvise(T,a) (T)->lpVtbl->EnumAdvise(T,a)
|
|
|
|
#define IOleAdviseHolder_SendOnRename(T,a) (T)->lpVtbl->SendOnRename(T,a)
|
|
|
|
#define IOleAdviseHolder_SendOnSave(T) (T)->lpVtbl->SendOnSave(T)
|
|
|
|
#define IOleAdviseHolder_SendOnClose(T) (T)->lpVtbl->SendOnClose(T)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IDropSource;
|
|
|
|
#define INTERFACE IDropSource
|
|
|
|
DECLARE_INTERFACE_(IDropSource,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(QueryContinueDrag)(THIS_ BOOL,DWORD) PURE;
|
|
|
|
STDMETHOD(GiveFeedback)(THIS_ DWORD) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-03 Filip Navara <xnavara@volny.cz>
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.
2004-01-04 06:12:35 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IDropSource_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IDropSource_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IDropSource_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IDropSource_QueryContinueDrag(T,a,b) (T)->lpVtbl->QueryContinueDrag(T,a,b)
|
|
|
|
#define IDropSource_GiveFeedback(T,a) (T)->lpVtbl->GiveFeedback(T,a)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IDropTarget;
|
|
|
|
#define INTERFACE IDropTarget
|
|
|
|
DECLARE_INTERFACE_(IDropTarget,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(DragEnter)(THIS_ LPDATAOBJECT,DWORD,POINTL,PDWORD) PURE;
|
|
|
|
STDMETHOD(DragOver)(THIS_ DWORD,POINTL,PDWORD) PURE;
|
|
|
|
STDMETHOD(DragLeave)(THIS) PURE;
|
|
|
|
STDMETHOD(Drop)(THIS_ LPDATAOBJECT,DWORD,POINTL,PDWORD) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-03 Filip Navara <xnavara@volny.cz>
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.
2004-01-04 06:12:35 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IDropTarget_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IDropTarget_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IDropTarget_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IDropTarget_DragEnter(T,a,b,c,d) (T)->lpVtbl->DragEnter(T,a,b,c,d)
|
|
|
|
#define IDropTarget_DragOver(T,a,b,c) (T)->lpVtbl->DragOver(T,a,b,c)
|
|
|
|
#define IDropTarget_DragLeave(T) (T)->lpVtbl->DragLeave(T)
|
|
|
|
#define IDropTarget_Drop(T,a,b,c,d) (T)->lpVtbl->Drop(T,a,b,c,d)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
typedef BOOL(CALLBACK *__IView_pfncont)(DWORD);
|
|
|
|
EXTERN_C const IID IID_IViewObject;
|
|
|
|
#define INTERFACE IViewObject
|
|
|
|
DECLARE_INTERFACE_(IViewObject,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(Draw)(THIS_ DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,__IView_pfncont pfnContinue,DWORD) PURE;
|
|
|
|
STDMETHOD(GetColorSet)(THIS_ DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,LPLOGPALETTE*) PURE;
|
|
|
|
STDMETHOD(Freeze)(THIS_ DWORD,LONG,PVOID,PDWORD) PURE;
|
|
|
|
STDMETHOD(Unfreeze)(THIS_ DWORD) PURE;
|
|
|
|
STDMETHOD(SetAdvise)(THIS_ DWORD,DWORD,IAdviseSink*) PURE;
|
|
|
|
STDMETHOD(GetAdvise)(THIS_ PDWORD,PDWORD,IAdviseSink**) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-02 06:34:20 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IViewObject_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IViewObject_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IViewObject_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IViewObject_Draw(T,a,b,c,d,e,f,g,h,i,j) (T)->lpVtbl->Draw(T,a,b,c,d,e,f,g,h,i,j)
|
|
|
|
#define IViewObject_GetColorSet(T,a,b,c,d,e,f) (T)->lpVtbl->GetColorSet(T,a,b,c,d,e,f)
|
|
|
|
#define IViewObject_Freeze(T,a,b,c,d) (T)->lpVtbl->Freeze(T,a,b,c,d)
|
|
|
|
#define IViewObject_Unfreeze(T,a) (T)->lpVtbl->Unfreeze(T,a)
|
|
|
|
#define IViewObject_SetAdvise(T,a,b,c) (T)->lpVtbl->SetAdvise(T,a,b,c)
|
|
|
|
#define IViewObject_GetAdvise(T,a,b,c) (T)->lpVtbl->GetAdvise(T,a,b,c)
|
|
|
|
#endif
|
|
|
|
|
2000-02-18 03:38:33 +08:00
|
|
|
EXTERN_C const IID IID_IViewObject2;
|
|
|
|
#define INTERFACE IViewObject2
|
2003-12-09 03:37:19 +08:00
|
|
|
DECLARE_INTERFACE_(IViewObject2,IViewObject)
|
2000-02-18 03:38:33 +08:00
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(Draw)(THIS_ DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,__IView_pfncont pfnContinue,DWORD) PURE;
|
|
|
|
STDMETHOD(GetColorSet)(THIS_ DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,LPLOGPALETTE*) PURE;
|
|
|
|
STDMETHOD(Freeze)(THIS_ DWORD,LONG,PVOID,PDWORD) PURE;
|
|
|
|
STDMETHOD(Unfreeze)(THIS_ DWORD) PURE;
|
|
|
|
STDMETHOD(SetAdvise)(THIS_ DWORD,DWORD,IAdviseSink*) PURE;
|
|
|
|
STDMETHOD(GetAdvise)(THIS_ PDWORD,PDWORD,IAdviseSink**) PURE;
|
2003-03-04 08:36:06 +08:00
|
|
|
STDMETHOD(GetExtent)(THIS_ DWORD,LONG,DVTARGETDEVICE*,LPSIZEL) PURE;
|
2000-02-18 03:38:33 +08:00
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2004-01-02 06:34:20 +08:00
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IViewObject2_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IViewObject2_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IViewObject2_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IViewObject2_Draw(T,a,b,c,d,e,f,g,h,i,j) (T)->lpVtbl->Draw(T,a,b,c,d,e,f,g,h,i,j)
|
|
|
|
#define IViewObject2_GetColorSet(T,a,b,c,d,e,f) (T)->lpVtbl->GetColorSet(T,a,b,c,d,e,f)
|
|
|
|
#define IViewObject2_Freeze(T,a,b,c,d) (T)->lpVtbl->Freeze(T,a,b,c,d)
|
|
|
|
#define IViewObject2_Unfreeze(T,a) (T)->lpVtbl->Unfreeze(T,a)
|
|
|
|
#define IViewObject2_SetAdvise(T,a,b,c) (T)->lpVtbl->SetAdvise(T,a,b,c)
|
|
|
|
#define IViewObject2_GetAdvise(T,a,b,c) (T)->lpVtbl->GetAdvise(T,a,b,c)
|
|
|
|
#define IViewObject2_GetExtent(T,a,b,c,d) (T)->lpVtbl->GetExtent(T,a,b,c,d)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
EXTERN_C const IID IID_IOleCache;
|
|
|
|
#define INTERFACE IOleCache
|
|
|
|
DECLARE_INTERFACE_(IOleCache,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(Cache)(THIS_ FORMATETC*,DWORD,DWORD*) PURE;
|
|
|
|
STDMETHOD(Uncache)(THIS_ DWORD) PURE;
|
|
|
|
STDMETHOD(EnumCache)(THIS_ IEnumSTATDATA**);
|
|
|
|
STDMETHOD(InitCache)(THIS_ LPDATAOBJECT);
|
|
|
|
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL);
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2004-01-02 06:34:20 +08:00
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleCache_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleCache_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleCache_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleCache_Cache(T,a,b,c) (T)->lpVtbl->Cache(T,a,b,c)
|
|
|
|
#define IOleCache_Uncache(T,a) (T)->lpVtbl->Uncache(T,a)
|
|
|
|
#define IOleCache_EnumCache(T,a) (T)->lpVtbl->EnumCache(T,a)
|
|
|
|
#define IOleCache_InitCache(T,a) (T)->lpVtbl->InitCache(T,a)
|
|
|
|
#define IOleCache_SetData(T,a,b,c) (T)->lpVtbl->SetData(T,a,b,c)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
EXTERN_C const IID IID_IOleCache2;
|
|
|
|
#define INTERFACE IOleCache2
|
|
|
|
DECLARE_INTERFACE_(IOleCache2,IOleCache)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(Cache)(THIS_ FORMATETC*,DWORD,DWORD*) PURE;
|
|
|
|
STDMETHOD(Uncache)(THIS_ DWORD) PURE;
|
|
|
|
STDMETHOD(EnumCache)(THIS_ IEnumSTATDATA**) PURE;
|
|
|
|
STDMETHOD(InitCache)(THIS_ LPDATAOBJECT) PURE;
|
|
|
|
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
|
|
|
|
STDMETHOD(UpdateCache)(THIS_ LPDATAOBJECT,DWORD,LPVOID) PURE;
|
|
|
|
STDMETHOD(DiscardCache)(THIS_ DWORD) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2004-01-02 06:34:20 +08:00
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
#define IOleCache2_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
|
|
|
|
#define IOleCache2_AddRef(T) (T)->lpVtbl->AddRef(T)
|
|
|
|
#define IOleCache2_Release(T) (T)->lpVtbl->Release(T)
|
|
|
|
#define IOleCache2_Cache(T,a,b,c) (T)->lpVtbl->Cache(T,a,b,c)
|
|
|
|
#define IOleCache2_Uncache(T,a) (T)->lpVtbl->Uncache(T,a)
|
|
|
|
#define IOleCache2_EnumCache(T,a) (T)->lpVtbl->EnumCache(T,a)
|
|
|
|
#define IOleCache2_InitCache(T,a) (T)->lpVtbl->InitCache(T,a)
|
|
|
|
#define IOleCache2_SetData(T,a,b,c) (T)->lpVtbl->SetData(T,a,b,c)
|
|
|
|
#define IOleCache2_UpdateCache(T,a,b,c) (T)->lpVtbl->UpdateCache(T,a,b,c)
|
|
|
|
#define IOleCache2_DiscardCache(T,a) (T)->lpVtbl->DiscardCache(T,a)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
EXTERN_C const IID IID_IOleCacheControl;
|
|
|
|
#define INTERFACE IOleCacheControl
|
|
|
|
DECLARE_INTERFACE_(IOleCacheControl,IUnknown)
|
|
|
|
{
|
|
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
STDMETHOD(OnRun)(THIS_ LPDATAOBJECT) PURE;
|
|
|
|
STDMETHOD(OnStop)(THIS) PURE;
|
|
|
|
};
|
2006-04-12 06:56:08 +08:00
|
|
|
#undef INTERFACE
|
2000-02-18 03:38:33 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|