1999-02-25 18:10:15 +01:00
|
|
|
/*
|
|
|
|
* Defines the COM interfaces and APIs related to structured data storage.
|
|
|
|
*
|
|
|
|
* Depends on 'obj_base.h'.
|
2002-03-10 00:29:33 +01:00
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Paul Quinn
|
|
|
|
*
|
|
|
|
* 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
|
1999-02-25 18:10:15 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_WINE_OBJ_CONTROL_H
|
|
|
|
#define __WINE_WINE_OBJ_CONTROL_H
|
|
|
|
|
1999-08-18 20:35:57 +02:00
|
|
|
struct tagMSG;
|
1999-02-25 18:10:15 +01:00
|
|
|
|
1999-06-12 12:53:06 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
1999-02-25 18:10:15 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* Declare the structures
|
|
|
|
*/
|
1999-03-10 19:03:53 +01:00
|
|
|
typedef enum tagGUIDKIND
|
|
|
|
{
|
|
|
|
GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1
|
|
|
|
} GUIDKIND;
|
|
|
|
|
|
|
|
typedef enum tagREADYSTATE
|
|
|
|
{
|
|
|
|
READYSTATE_UNINITIALIZED = 0,
|
|
|
|
READYSTATE_LOADING = 1,
|
|
|
|
READYSTATE_LOADED = 2,
|
|
|
|
READYSTATE_INTERACTIVE = 3,
|
|
|
|
READYSTATE_COMPLETE = 4
|
|
|
|
} READYSTATE;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-03-10 19:03:53 +01:00
|
|
|
typedef struct tagExtentInfo
|
|
|
|
{
|
|
|
|
ULONG cb;
|
|
|
|
DWORD dwExtentMode;
|
|
|
|
SIZEL sizelProposed;
|
|
|
|
} DVEXTENTINFO;
|
1999-02-25 18:10:15 +01:00
|
|
|
|
|
|
|
typedef struct tagVARIANT_BLOB
|
|
|
|
{
|
|
|
|
DWORD clSize;
|
|
|
|
DWORD rpcReserved;
|
|
|
|
ULONGLONG ahData[1];
|
|
|
|
} wireVARIANT_BLOB;
|
|
|
|
|
|
|
|
typedef struct tagUserVARIANT
|
|
|
|
{
|
|
|
|
wireVARIANT_BLOB pVarBlob;
|
|
|
|
} UserVARIANT;
|
|
|
|
|
|
|
|
typedef struct tagLICINFO
|
|
|
|
{
|
|
|
|
LONG cbLicInfo;
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL fRuntimeKeyAvail;
|
|
|
|
BOOL fLicVerified;
|
1999-02-25 18:10:15 +01:00
|
|
|
} LICINFO, *LPLICINFO;
|
|
|
|
|
|
|
|
typedef struct tagCONTROLINFO
|
|
|
|
{
|
|
|
|
ULONG cb;
|
1999-02-26 12:11:13 +01:00
|
|
|
HACCEL hAccel;
|
1999-02-25 18:10:15 +01:00
|
|
|
USHORT cAccel;
|
|
|
|
DWORD dwFlags;
|
|
|
|
} CONTROLINFO, *LPCONTROLINFO;
|
|
|
|
|
|
|
|
typedef enum tagCTRLINFO
|
|
|
|
{
|
|
|
|
CTRLINFO_EATS_RETURN = 1,
|
|
|
|
CTRLINFO_EATS_ESCAPE = 2
|
|
|
|
} CTRLINFO;
|
|
|
|
|
|
|
|
typedef struct tagPOINTF
|
|
|
|
{
|
|
|
|
FLOAT x;
|
|
|
|
FLOAT y;
|
|
|
|
} POINTF, *LPPOINTF;
|
|
|
|
|
|
|
|
typedef enum tagXFORMCOORDS
|
|
|
|
{
|
|
|
|
XFORMCOORDS_POSITION = 0x1,
|
|
|
|
XFORMCOORDS_SIZE = 0x2,
|
|
|
|
XFORMCOORDS_HIMETRICTOCONTAINER = 0x4,
|
|
|
|
XFORMCOORDS_CONTAINERTOHIMETRIC = 0x8
|
|
|
|
} XFORMCOORDS;
|
|
|
|
|
|
|
|
typedef enum tagACTIVATEFLAGS
|
|
|
|
{
|
|
|
|
ACTIVATE_WINDOWLESS = 1
|
|
|
|
} ACTIVATE_FLAGS;
|
|
|
|
|
|
|
|
typedef enum tagOLEDCFLAGS
|
|
|
|
{
|
|
|
|
OLEDC_NODRAW = 0x1,
|
|
|
|
OLEDC_PAINTBKGND = 0x2,
|
|
|
|
OLEDC_OFFSCREEN = 0x4
|
|
|
|
} OLEDCFLAGS;
|
|
|
|
|
1999-03-14 14:47:00 +01:00
|
|
|
typedef enum tagDVASPECT2
|
|
|
|
{
|
|
|
|
DVASPECT_OPAQUE = 16,
|
1999-04-25 21:01:52 +02:00
|
|
|
DVASPECT_TRANSPARENT = 32
|
1999-03-14 14:47:00 +01:00
|
|
|
} DVASPECT2;
|
|
|
|
|
2002-06-01 01:06:46 +02:00
|
|
|
typedef enum tagHITRESULT
|
1999-03-14 14:47:00 +01:00
|
|
|
{
|
|
|
|
HITRESULT_OUTSIDE = 0,
|
|
|
|
HITRESULT_TRANSPARENT = 1,
|
|
|
|
HITRESULT_CLOSE = 2,
|
|
|
|
HITRESULT_HIT = 3
|
|
|
|
} HITRESULT;
|
|
|
|
|
|
|
|
typedef enum tagAspectInfoFlag
|
|
|
|
{
|
|
|
|
DVASPECTINFOFLAG_CANOPTIMIZE = 1
|
|
|
|
} DVASPECTINFOFLAG;
|
|
|
|
|
|
|
|
typedef struct tagAspectInfo
|
|
|
|
{
|
|
|
|
ULONG cb;
|
|
|
|
DWORD dwFlags;
|
|
|
|
} DVASPECTINFO;
|
|
|
|
|
|
|
|
typedef enum tagVIEWSTATUS
|
|
|
|
{
|
|
|
|
VIEWSTATUS_OPAQUE = 1,
|
|
|
|
VIEWSTATUS_SOLIDBKGND = 2,
|
|
|
|
VIEWSTATUS_DVASPECTOPAQUE = 4,
|
|
|
|
VIEWSTATUS_DVASPECTTRANSPARENT = 8
|
|
|
|
} VIEWSTATUS;
|
|
|
|
|
1999-02-25 18:10:15 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* Predeclare the interfaces
|
|
|
|
*/
|
|
|
|
DEFINE_GUID(IID_IOleControl, 0xb196b288, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
|
|
|
typedef struct IOleControl IOleControl, *LPOLECONTROL;
|
|
|
|
|
|
|
|
DEFINE_GUID(IID_IOleControlSite, 0xb196b289, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
|
|
|
typedef struct IOleControlSite IOleControlSite, *LPOLECONTROLSITE;
|
|
|
|
|
|
|
|
DEFINE_GUID(IID_IOleInPlaceSiteEx, 0x9c2cad80L, 0x3424, 0x11cf, 0xb6, 0x70, 0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8);
|
|
|
|
typedef struct IOleInPlaceSiteEx IOleInPlaceSiteEx, *LPOLEINPLACESITEEX;
|
|
|
|
|
|
|
|
DEFINE_OLEGUID(IID_IOleInPlaceSiteWindowless, 0x00000000L, 0, 0); /* FIXME - NEED GUID */
|
|
|
|
typedef struct IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless, *LPOLEINPLACESITEWINDOWLESS;
|
|
|
|
|
|
|
|
DEFINE_OLEGUID(IID_IOleInPlaceObjectWindowless, 0x00000000L, 0, 0); /* FIXME - NEED GUID */
|
|
|
|
typedef struct IOleInPlaceObjectWindowless IOleInPlaceObjectWindowless, *LPOLEINPLACEOBJECTWINDOWLESS;
|
|
|
|
|
|
|
|
DEFINE_GUID(IID_IClassFactory2, 0xb196b28f, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
|
|
|
typedef struct IClassFactory2 IClassFactory2, *LPCLASSFACTORY2;
|
|
|
|
|
1999-03-10 19:03:53 +01:00
|
|
|
DEFINE_GUID(IID_IViewObjectEx, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); /* FIXME need GUID */
|
|
|
|
typedef struct IViewObjectEx IViewObjectEx, *LPVIEWOBJECTEX;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-03-10 19:03:53 +01:00
|
|
|
DEFINE_GUID(IID_IProvideClassInfo, 0xb196b283, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
|
|
|
typedef struct IProvideClassInfo IProvideClassInfo, *LPPROVIDECLASSINFO;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-03-10 19:03:53 +01:00
|
|
|
DEFINE_GUID(IID_IProvideClassInfo2, 0xa6bc3ac0, 0xdbaa, 0x11ce, 0x9d, 0xe3, 0x00, 0xaa, 0x00, 0x4b, 0xb8, 0x51);
|
|
|
|
typedef struct IProvideClassInfo2 IProvideClassInfo2, *LPPROVIDECLASSINFO2;
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-02-25 18:10:15 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* IOleControl interface
|
|
|
|
*/
|
|
|
|
#define ICOM_INTERFACE IOleControl
|
|
|
|
#define IOleControl_METHODS \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD1(HRESULT,GetControlInfo, CONTROLINFO*,pCI) \
|
1999-08-18 20:35:57 +02:00
|
|
|
ICOM_METHOD1(HRESULT,OnMnemonic, struct tagMSG*,pMsg) \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD1(HRESULT,OnAmbientPropertyChange, DISPID,dispID) \
|
|
|
|
ICOM_METHOD1(HRESULT,FreezeEvents, BOOL,bFreeze)
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleControl_IMETHODS \
|
|
|
|
IUnknown_IMETHODS \
|
|
|
|
IOleControl_METHODS
|
|
|
|
ICOM_DEFINE(IOleControl,IUnknown)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IUnknown methods ***/
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleControl_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IOleControl_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IOleControl_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IOleControl methods ***/
|
|
|
|
#define IOleControl_GetControlInfo(p,a) ICOM_CALL1(GetControlInfo,p,a)
|
|
|
|
#define IOleControl_OnMnemonic(p,a) ICOM_CALL1(OnMnemonic,p,a)
|
|
|
|
#define IOleControl_OnAmbientPropertyChange(p,a) ICOM_CALL1(OnAmbientPropertyChange,p,a)
|
|
|
|
#define IOleControl_FreezeEvents(p,a) ICOM_CALL1(FreezeEvents,p,a)
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-02-25 18:10:15 +01:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IOleControlSite interface
|
|
|
|
*/
|
2002-06-01 01:06:46 +02:00
|
|
|
#define ICOM_INTERFACE IOleControlSite
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleControlSite_METHODS \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD (HRESULT,OnControlInfoChanged) \
|
|
|
|
ICOM_METHOD1(HRESULT,LockInPlaceActive, BOOL,fLock) \
|
1999-03-10 19:03:53 +01:00
|
|
|
ICOM_METHOD1(HRESULT,GetExtendedControl, IDispatch**,ppDisp) \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD3(HRESULT,TransformCoords, POINTL*,pPtlHimetric, POINTF*,pPtfContainer, DWORD,dwFlags) \
|
1999-08-18 20:35:57 +02:00
|
|
|
ICOM_METHOD2(HRESULT,TranslateAccelerator, struct tagMSG*,pMsg, DWORD,grfModifiers) \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD1(HRESULT,OnFocus, BOOL,fGotFocus) \
|
|
|
|
ICOM_METHOD (HRESULT,ShowPropertyFrame)
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleControlSite_IMETHODS \
|
|
|
|
IUnknown_IMETHODS \
|
|
|
|
IOleControlSite_METHODS
|
|
|
|
ICOM_DEFINE(IOleControlSite,IUnknown)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IUnknown methods ***/
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleControlSite_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IOleControlSite_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IOleControlSite_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IOleControlSite methods ***/
|
|
|
|
#define IOleControlSite_OnControlInfoChanged(p) ICOM_CALL1(OnControlInfoChanged,p)
|
|
|
|
#define IOleControlSite_LockInPlaceActive(p,a) ICOM_CALL1(LockInPlaceActive,p,a)
|
1999-03-10 19:03:53 +01:00
|
|
|
#define IOleControlSite_GetExtendedControl(p,a) ICOM_CALL1(GetExtendedControl,p,a)
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleControlSite_TransformCoords(p,a,b,c) ICOM_CALL1(TransformCoords,p,a,b,c)
|
|
|
|
#define IOleControlSite_TranslateAccelerator(p,a,b) ICOM_CALL1(TranslateAccelerator,p,a,b)
|
|
|
|
#define IOleControlSite_OnFocus(p,a) ICOM_CALL1(OnFocus,p,a)
|
|
|
|
#define IOleControlSite_ShowPropertyFrame(p) ICOM_CALL1(ShowPropertyFrame,p)
|
2002-06-01 01:06:46 +02:00
|
|
|
|
|
|
|
|
1999-02-25 18:10:15 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* IOleInPlaceSiteEx interface
|
|
|
|
*/
|
|
|
|
#define ICOM_INTERFACE IOleInPlaceSiteEx
|
|
|
|
#define IOleInPlaceSiteEx_METHODS \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD2(HRESULT,OnInPlaceActivateEx, BOOL*,pfNoRedraw, DWORD,dwFlags) \
|
|
|
|
ICOM_METHOD1(HRESULT,OnInPlaceDeactivateEx, BOOL,fNoRedraw) \
|
|
|
|
ICOM_METHOD (HRESULT,RequestUIActivate)
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleInPlaceSiteEx_IMETHODS \
|
|
|
|
IOleInPlaceSite_IMETHODS \
|
|
|
|
IOleInPlaceSiteEx_METHODS
|
|
|
|
ICOM_DEFINE(IOleInPlaceSiteEx,IOleInPlaceSite)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
|
|
|
#define IOleInPlaceSiteEx_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IOleInPlaceSiteEx_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IOleInPlaceSiteEx_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IOleWindow methods ***/
|
|
|
|
#define IOleInPlaceSiteEx_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
|
|
|
|
#define IOleInPlaceSiteEx_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
|
|
|
|
/*** IOleInPlaceSite methods ***/
|
|
|
|
#define IOleInPlaceSiteEx_CanInPlaceActivate(p) ICOM_CALL (CanInPlaceActivate,p)
|
|
|
|
#define IOleInPlaceSiteEx_OnInPlaceActivate(p) ICOM_CALL (OnInPlaceActivate,p)
|
|
|
|
#define IOleInPlaceSiteEx_OnUIActivate(p) ICOM_CALL (OnUIActivate,p)
|
|
|
|
#define IOleInPlaceSiteEx_GetWindowContext(p,a,b,c,d,e) ICOM_CALL5(GetWindowContext,p,a,b,c,d,e)
|
|
|
|
#define IOleInPlaceSiteEx_Scroll(p,a) ICOM_CALL1(Scroll,p,a)
|
|
|
|
#define IOleInPlaceSiteEx_OnUIDeactivate(p,a) ICOM_CALL1(OnUIDeactivate,p,a)
|
|
|
|
#define IOleInPlaceSiteEx_OnInPlaceDeactivate(p) ICOM_CALL (OnInPlaceDeactivate,p)
|
|
|
|
#define IOleInPlaceSiteEx_DiscardUndoState(p) ICOM_CALL (DiscardUndoState,p)
|
|
|
|
#define IOleInPlaceSiteEx_DeactivateAndUndo(p) ICOM_CALL (DeactivateAndUndo,p)
|
|
|
|
#define IOleInPlaceSiteEx_OnPosRectChange(p,a) ICOM_CALL1(OnPosRectChange,p,a)
|
|
|
|
/*** IOleInPlaceSiteEx methods ***/
|
|
|
|
#define IOleInPlaceSiteEx_OnInPlaceActivateEx(p,a,b) ICOM_CALL2(OnInPlaceActivateEx,p,a,b)
|
|
|
|
#define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(p,a) ICOM_CALL1(OnInPlaceDeactivateEx,p,a)
|
|
|
|
#define IOleInPlaceSiteEx_RequestUIActivate(p) ICOM_CALL (RequestUIActivate,p)
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-02-25 18:10:15 +01:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IOleInPlaceSiteWindowless interface
|
|
|
|
*/
|
|
|
|
#define ICOM_INTERFACE IOleInPlaceSiteWindowless
|
|
|
|
#define IOleInPlaceSiteWindowless_METHODS \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD (HRESULT,CanWindowlessActivate) \
|
|
|
|
ICOM_METHOD (HRESULT,GetCapture) \
|
|
|
|
ICOM_METHOD1(HRESULT,SetCapture, BOOL,fCapture) \
|
|
|
|
ICOM_METHOD (HRESULT,GetFocus) \
|
|
|
|
ICOM_METHOD1(HRESULT,SetFocus, BOOL,fFocus) \
|
|
|
|
ICOM_METHOD3(HRESULT,GetDC, LPCRECT,pRect, DWORD,grfFlags, HDC*,phDC) \
|
|
|
|
ICOM_METHOD1(HRESULT,ReleaseDC, HDC,hDC) \
|
|
|
|
ICOM_METHOD2(HRESULT,InvalidateRect, LPCRECT,pRect, BOOL,fErase) \
|
|
|
|
ICOM_METHOD2(HRESULT,InvalidateRgn, HRGN,hRgn, BOOL,fErase) \
|
|
|
|
ICOM_METHOD4(HRESULT,ScrollRect, INT,dx, INT,dy, LPCRECT,pRectScroll, LPCRECT,pRectClip) \
|
|
|
|
ICOM_METHOD1(HRESULT,AdjustRect, LPRECT,prc) \
|
|
|
|
ICOM_METHOD4(HRESULT,OnDefWindowMessage, UINT,msg, WPARAM,wParam, LPARAM,lParam, LRESULT*,plResult)
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleInPlaceSiteWindowless_IMETHODS \
|
|
|
|
IOleInPlaceSite_IMETHODS \
|
|
|
|
IOleInPlaceSiteWindowless_METHODS
|
|
|
|
ICOM_DEFINE(IOleInPlaceSiteWindowless,IOleInPlaceSite)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
|
|
|
#define IOleInPlaceSiteWindowless_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IOleInPlaceSiteWindowless_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IOleWindow methods ***/
|
|
|
|
#define IOleInPlaceSiteWindowless_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
|
|
|
|
#define IOleInPlaceSiteWindowless_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
|
|
|
|
/*** IOleInPlaceSitemethods ***/
|
|
|
|
#define IOleInPlaceSiteWindowless_CanInPlaceActivate(p) ICOM_CALL (CanInPlaceActivate,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_OnInPlaceActivate(p) ICOM_CALL (OnInPlaceActivate,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_OnUIActivate(p) ICOM_CALL (OnUIActivate,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_GetWindowContext(p,a,b,c,d,e) ICOM_CALL5(GetWindowContext,p,a,b,c,d,e)
|
|
|
|
#define IOleInPlaceSiteWindowless_Scroll(p,a) ICOM_CALL1(Scroll,p,a)
|
|
|
|
#define IOleInPlaceSiteWindowless_OnUIDeactivate(p,a) ICOM_CALL1(OnUIDeactivate,p,a)
|
|
|
|
#define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(p) ICOM_CALL (OnInPlaceDeactivate,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_DiscardUndoState(p) ICOM_CALL (DiscardUndoState,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_DeactivateAndUndo(p) ICOM_CALL (DeactivateAndUndo,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_OnPosRectChange(p,a) ICOM_CALL1(OnPosRectChange,p,a)
|
|
|
|
/*** IOleInPlaceSitemethods ***/
|
|
|
|
#define IOleInPlaceSiteWindowless_CanWindowlessActivate(p) ICOM_CALL (CanInPlaceActivate,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_GetCapture(p) ICOM_CALL (OnInPlaceActivate,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_SetCapture(p,a) ICOM_CALL1(OnUIActivate,p,a)
|
|
|
|
#define IOleInPlaceSiteWindowless_GetFocus(p) ICOM_CALL (GetWindowContext,p)
|
|
|
|
#define IOleInPlaceSiteWindowless_SetFocus(p,a) ICOM_CALL1(Scroll,p,a)
|
|
|
|
#define IOleInPlaceSiteWindowless_GetDC(p,a,b,c) ICOM_CALL3(OnUIDeactivate,p,a,b,c)
|
|
|
|
#define IOleInPlaceSiteWindowless_ReleaseDC(p,a) ICOM_CALL1(OnInPlaceDeactivate,p,a)
|
|
|
|
#define IOleInPlaceSiteWindowless_InvalidateRect(p,a,b) ICOM_CALL2(DiscardUndoState,p,a,b)
|
|
|
|
#define IOleInPlaceSiteWindowless_InvalidateRgn(p,a,b) ICOM_CALL2(DeactivateAndUndo,p,a,b)
|
|
|
|
#define IOleInPlaceSiteWindowless_ScrollRect(p,a,b,c,d) ICOM_CALL4(OnPosRectChange,p,a,b,c,d)
|
|
|
|
#define IOleInPlaceSiteWindowless_AdjustRect(p,a) ICOM_CALL1(OnPosRectChange,p,a)
|
|
|
|
#define IOleInPlaceSiteWindowless_OnDefWindowMessage(p,a,b,c,d) ICOM_CALL4(OnPosRectChange,p,a,b,c,d)
|
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IOleInPlaceObjectWindowless interface
|
|
|
|
*/
|
|
|
|
#define ICOM_INTERFACE IOleInPlaceObjectWindowless
|
|
|
|
#define IOleInPlaceObjectWindowless_METHODS \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD4(HRESULT,OnWindowMessage, UINT,msg, WPARAM,wParam, LPARAM,lParam, LRESULT*,plResult) \
|
|
|
|
ICOM_METHOD1(HRESULT,GetDropTarget, IDropTarget**,ppDropTarget)
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IOleInPlaceObjectWindowless_IMETHODS \
|
|
|
|
IOleInPlaceObject_IMETHODS \
|
|
|
|
IOleInPlaceObjectWindowless_METHODS
|
|
|
|
ICOM_DEFINE(IOleInPlaceObjectWindowless,IOleInPlaceObject)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
|
|
|
#define IOleInPlaceObjectWindowless_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IOleInPlaceObjectWindowless_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IOleInPlaceObjectWindowless_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IOleWindow methods ***/
|
|
|
|
#define IOleInPlaceObjectWindowless_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a)
|
|
|
|
#define IOleInPlaceObjectWindowless_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a)
|
|
|
|
/*** IOleInPlaceObject methods ***/
|
|
|
|
#define IOleInPlaceObjectWindowless_InPlaceDeactivate(p) ICOM_CALL (InPlaceDeactivate,p)
|
|
|
|
#define IOleInPlaceObjectWindowless_UIDeactivate(p) ICOM_CALL (UIDeactivate,p)
|
|
|
|
#define IOleInPlaceObjectWindowless_SetObjectRects(p,a,b) ICOM_CALL2(SetObjectRects,p,a,b)
|
|
|
|
#define IOleInPlaceObjectWindowless_ReactivateAndUndo(p) ICOM_CALL (ReactivateAndUndo,p)
|
|
|
|
/*** IOleInPlaceObjectWindowless methods ***/
|
|
|
|
#define IOleInPlaceObjectWindowless_OnWindowMessage(p,a,b,c,d) ICOM_CALL4(OnWindowMessage,p,a,b,c,d)
|
|
|
|
#define IOleInPlaceObjectWindowless_GetDropTarget(p,a) ICOM_CALL1(GetDropTarget,p,a)
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-02-25 18:10:15 +01:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IClassFactory2 interface
|
|
|
|
*/
|
|
|
|
#define ICOM_INTERFACE IClassFactory2
|
|
|
|
#define IClassFactory2_METHODS \
|
1999-04-25 21:01:52 +02:00
|
|
|
ICOM_METHOD1(HRESULT,GetLicInfo, LICINFO*,pLicInfo) \
|
|
|
|
ICOM_METHOD2(HRESULT,RequestLicKey, DWORD,dwReserved, BSTR*,pBstrKey) \
|
|
|
|
ICOM_METHOD5(HRESULT,CreateInstanceLic, IUnknown*,pUnkOuter, IUnknown*,pUnkReserved, REFIID,riid, BSTR,bstrKey, PVOID*,ppvObj)
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IClassFactory2_IMETHODS \
|
|
|
|
IClassFactory_IMETHODS \
|
|
|
|
IClassFactory2_METHODS
|
|
|
|
ICOM_DEFINE(IClassFactory2,IClassFactory)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IUnknown methods ***/
|
1999-02-25 18:10:15 +01:00
|
|
|
#define IClassFactory2_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IClassFactory2_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IClassFactory2_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IClassFactory methods ***/
|
|
|
|
#define IClassFactory2_CreateInstance(p,a,b,c) ICOM_CALL3(CreateInstance,p,a,b,c)
|
|
|
|
#define IClassFactory2_LockServer(p,a) ICOM_CALL1(LockServer,p,a)
|
|
|
|
/*** IClassFactory2 methods ***/
|
|
|
|
#define IClassFactory2_GetLicInfo(p,a) ICOM_CALL1(GetLicInfo,p,a)
|
|
|
|
#define IClassFactory2_RequestLicKey(p,a,b) ICOM_CALL2(RequestLicKey,p,a,b)
|
|
|
|
#define IClassFactory2_CreateInstanceLic(p,a,b,c,d,e) ICOM_CALL5(CreateInstanceLic,p,a,b,c,d,e)
|
|
|
|
|
|
|
|
|
1999-03-10 19:03:53 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* IViewObject interface
|
|
|
|
*/
|
|
|
|
#define ICOM_INTERFACE IViewObjectEx
|
|
|
|
#define IViewObjectEx_METHODS \
|
|
|
|
ICOM_METHOD2(HRESULT,GetRect, DWORD,dwAspect, LPRECTL,pRect) \
|
|
|
|
ICOM_METHOD1(HRESULT,GetViewStatus, DWORD*,pdwStatus) \
|
|
|
|
ICOM_METHOD5(HRESULT,QueryHitPoint, DWORD,dwAspect, LPCRECT,pRectBounds, POINT,ptlLoc, LONG,lCloseHint, DWORD*,pHitResult) \
|
|
|
|
ICOM_METHOD5(HRESULT,QueryHitRect, DWORD,dwAspect, LPCRECT,pRectBounds, LPCRECT,pRectLoc, LONG,lCloseHint, DWORD*,pHitResult) \
|
|
|
|
ICOM_METHOD6(HRESULT,GetNaturalExtent, DWORD,dwAspect, LONG,lindex, DVTARGETDEVICE*,ptd, HDC,hicTargetDev, DVEXTENTINFO*,pExtentInfo, LPSIZEL,pSizel)
|
|
|
|
#define IViewObjectEx_IMETHODS \
|
|
|
|
IViewObject2_IMETHODS \
|
|
|
|
IViewObjectEx_METHODS
|
|
|
|
ICOM_DEFINE(IViewObjectEx,IViewObject2)
|
|
|
|
#undef ICOM_INTERFACE
|
1999-02-25 18:10:15 +01:00
|
|
|
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IUnknown methods ***/
|
1999-03-10 19:03:53 +01:00
|
|
|
#define IViewObjectEx_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IViewObjectEx_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IViewObjectEx_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IViewObject methods ***/
|
|
|
|
#define IViewObjectEx_Draw(p,a,b,c,d,e,f,g,h,i,j) ICOM_CALL10(Draw,p,a,b,c,d,e,f,g,h,i,j)
|
|
|
|
#define IViewObjectEx_GetColorSet(p,a,b,c,d,e,f) ICOM_CALL6(GetColorSet,p,a,b,c,d,e,f)
|
|
|
|
#define IViewObjectEx_Freeze(p,a,b,c,d) ICOM_CALL4(Freeze,p,a,b,c,d)
|
|
|
|
#define IViewObjectEx_Unfreeze(p,a) ICOM_CALL1(Unfreeze,p,a)
|
|
|
|
#define IViewObjectEx_SetAdvise(p,a,b,c) ICOM_CALL3(SetAdvise,p,a,b,c)
|
|
|
|
#define IViewObjectEx_GetAdvise(p,a,b,c) ICOM_CALL3(GetAdvise,p,a,b,c)
|
|
|
|
/*** IViewObject2 methods ***/
|
|
|
|
#define IViewObjectEx_GetExtent(p,a,b,c,d) ICOM_CALL4(GetExtent,p,a,b,c,d)
|
|
|
|
/*** IViewObjectEx methods ***/
|
|
|
|
#define IViewObjectEx_GetRect(p,a,b) ICOM_CALL2(GetRect,p,a,b)
|
|
|
|
#define IViewObjectEx_GetViewStatus(p,a) ICOM_CALL1(GetViewStatus,p,a)
|
|
|
|
#define IViewObjectEx_QueryHitPoint(p,a,b,c,d,e) ICOM_CALL5(QueryHitPoint,p,a,b,c,d,e)
|
|
|
|
#define IViewObjectEx_QueryHitRect(p,a,b,c,d,e) ICOM_CALL5(QueryHitRect,p,a,b,c,d,e)
|
|
|
|
#define IViewObjectEx_GetNaturalExtent(p,a,b,c,d,e,f) ICOM_CALL6(GetNaturalExtent,p,a,b,c,d,e,f)
|
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IProvideClassInfo interface
|
|
|
|
*/
|
2001-01-04 23:59:48 +01:00
|
|
|
#ifdef __WINE__
|
|
|
|
#undef GetClassInfo
|
|
|
|
#endif
|
|
|
|
|
1999-03-10 19:03:53 +01:00
|
|
|
#define ICOM_INTERFACE IProvideClassInfo
|
|
|
|
#define IProvideClassInfo_METHODS \
|
2002-06-01 01:06:46 +02:00
|
|
|
ICOM_METHOD1(HRESULT,GetClassInfo, ITypeInfo**,ppTI)
|
1999-03-10 19:03:53 +01:00
|
|
|
#define IProvideClassInfo_IMETHODS \
|
|
|
|
IUnknown_IMETHODS \
|
|
|
|
IProvideClassInfo_METHODS
|
|
|
|
ICOM_DEFINE(IProvideClassInfo,IUnknown)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IUnknown methods ***/
|
1999-03-10 19:03:53 +01:00
|
|
|
#define IProvideClassInfo_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IProvideClassInfo_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IProvideClassInfo_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IProvideClassInfo methods ***/
|
|
|
|
#define IProvideClassInfo_GetClassInfo(p,a) ICOM_CALL1(GetClassInfo,p,a)
|
|
|
|
|
|
|
|
|
2002-06-01 01:06:46 +02:00
|
|
|
|
1999-03-10 19:03:53 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* IProvideClassInfo2 interface
|
|
|
|
*/
|
|
|
|
#define ICOM_INTERFACE IProvideClassInfo2
|
|
|
|
#define IProvideClassInfo2_METHODS \
|
|
|
|
ICOM_METHOD2(HRESULT,GetGUID, DWORD,dwGuidKind, GUID*,pGUID)
|
|
|
|
#define IProvideClassInfo2_IMETHODS \
|
|
|
|
IProvideClassInfo_IMETHODS \
|
|
|
|
IProvideClassInfo2_METHODS
|
|
|
|
ICOM_DEFINE(IProvideClassInfo2,IProvideClassInfo)
|
|
|
|
#undef ICOM_INTERFACE
|
|
|
|
|
1999-10-23 22:09:05 +02:00
|
|
|
/*** IUnknown methods ***/
|
1999-03-10 19:03:53 +01:00
|
|
|
#define IProvideClassInfo2_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
|
|
|
|
#define IProvideClassInfo2_AddRef(p) ICOM_CALL (AddRef,p)
|
|
|
|
#define IProvideClassInfo2_Release(p) ICOM_CALL (Release,p)
|
|
|
|
/*** IProvideClassInfo methods ***/
|
2002-06-01 01:06:46 +02:00
|
|
|
#define IProvideClassInfo2_GetClassInfo(p,a) ICOM_CALL1(GetClassInfo,p,a)
|
1999-03-10 19:03:53 +01:00
|
|
|
/*** IProvideClassInfo2 methods ***/
|
|
|
|
#define IProvideClassInfo2_GetGUID(p,a,b) ICOM_CALL2(GetGUID,p,a,b)
|
|
|
|
|
1999-06-12 12:53:06 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* defined(__cplusplus) */
|
1999-03-10 19:03:53 +01:00
|
|
|
|
|
|
|
#endif /* __WINE_WINE_OBJ_CONTROL_H */
|