Converted ocidl.h to IDL.
This commit is contained in:
parent
b7c6280e95
commit
8da94c9830
|
@ -8,6 +8,7 @@ IDL_SRCS = \
|
|||
comcat.idl \
|
||||
oaidl.idl \
|
||||
objidl.idl \
|
||||
ocidl.idl \
|
||||
oleidl.idl \
|
||||
servprov.idl \
|
||||
strmif.idl \
|
||||
|
@ -123,7 +124,6 @@ WINDOWS_INCLUDES = \
|
|||
ntsecapi.h \
|
||||
ntstatus.h \
|
||||
objbase.h \
|
||||
ocidl.h \
|
||||
ole2.h \
|
||||
ole2ver.h \
|
||||
oleauto.h \
|
||||
|
@ -242,17 +242,11 @@ WINE_INCLUDES = \
|
|||
exception.h \
|
||||
library.h \
|
||||
obj_commdlgbrowser.h \
|
||||
obj_connection.h \
|
||||
obj_contextmenu.h \
|
||||
obj_control.h \
|
||||
obj_dockingwindowframe.h \
|
||||
obj_dragdrophelper.h \
|
||||
obj_enumidlist.h \
|
||||
obj_extracticon.h \
|
||||
obj_olefont.h \
|
||||
obj_oleundo.h \
|
||||
obj_picture.h \
|
||||
obj_property.h \
|
||||
obj_shellbrowser.h \
|
||||
obj_shellextinit.h \
|
||||
obj_shellfolder.h \
|
||||
|
|
197
include/oaidl.h
197
include/oaidl.h
|
@ -5343,6 +5343,203 @@ void __RPC_STUB ICreateTypeLib2_SetHelpStringDll_Stub(
|
|||
|
||||
#endif /* __ICreateTypeLib2_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IErrorLog_FWD_DEFINED__
|
||||
#define __IErrorLog_FWD_DEFINED__
|
||||
typedef struct IErrorLog IErrorLog;
|
||||
#endif
|
||||
|
||||
typedef IErrorLog *LPERRORLOG;
|
||||
|
||||
/*****************************************************************************
|
||||
* IErrorLog interface
|
||||
*/
|
||||
#ifndef __IErrorLog_INTERFACE_DEFINED__
|
||||
#define __IErrorLog_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IErrorLog, 0x3127ca40, 0x446e, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IErrorLog : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE AddError(
|
||||
LPCOLESTR pszPropName,
|
||||
EXCEPINFO* pExcepInfo) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IErrorLogVtbl IErrorLogVtbl;
|
||||
struct IErrorLog {
|
||||
const IErrorLogVtbl* lpVtbl;
|
||||
};
|
||||
struct IErrorLogVtbl {
|
||||
ICOM_MSVTABLE_COMPAT_FIELDS
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IErrorLog* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IErrorLog* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IErrorLog* This);
|
||||
|
||||
/*** IErrorLog methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *AddError)(
|
||||
IErrorLog* This,
|
||||
LPCOLESTR pszPropName,
|
||||
EXCEPINFO* pExcepInfo);
|
||||
|
||||
};
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IErrorLog_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IErrorLog_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IErrorLog_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IErrorLog methods ***/
|
||||
#define IErrorLog_AddError(p,a,b) (p)->lpVtbl->AddError(p,a,b)
|
||||
|
||||
#endif
|
||||
|
||||
#define IErrorLog_METHODS \
|
||||
ICOM_MSVTABLE_COMPAT_FIELDS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IErrorLog methods ***/ \
|
||||
STDMETHOD_(HRESULT,AddError)(THIS_ LPCOLESTR pszPropName, EXCEPINFO* pExcepInfo) PURE;
|
||||
|
||||
HRESULT CALLBACK IErrorLog_AddError_Proxy(
|
||||
IErrorLog* This,
|
||||
LPCOLESTR pszPropName,
|
||||
EXCEPINFO* pExcepInfo);
|
||||
void __RPC_STUB IErrorLog_AddError_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IErrorLog_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IPropertyBag_FWD_DEFINED__
|
||||
#define __IPropertyBag_FWD_DEFINED__
|
||||
typedef struct IPropertyBag IPropertyBag;
|
||||
#endif
|
||||
|
||||
typedef IPropertyBag *LPPROPERTYBAG;
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertyBag interface
|
||||
*/
|
||||
#ifndef __IPropertyBag_INTERFACE_DEFINED__
|
||||
#define __IPropertyBag_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IPropertyBag, 0x55272a00, 0x42cb, 0x11ce, 0x81,0x35, 0x00,0xaa,0x00,0x4b,0xb8,0x51);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IPropertyBag : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Read(
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar,
|
||||
IErrorLog* pErrorLog) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Write(
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IPropertyBagVtbl IPropertyBagVtbl;
|
||||
struct IPropertyBag {
|
||||
const IPropertyBagVtbl* lpVtbl;
|
||||
};
|
||||
struct IPropertyBagVtbl {
|
||||
ICOM_MSVTABLE_COMPAT_FIELDS
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IPropertyBag* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IPropertyBag* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IPropertyBag* This);
|
||||
|
||||
/*** IPropertyBag methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Read)(
|
||||
IPropertyBag* This,
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar,
|
||||
IErrorLog* pErrorLog);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Write)(
|
||||
IPropertyBag* This,
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar);
|
||||
|
||||
};
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyBag_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyBag_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyBag_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyBag methods ***/
|
||||
#define IPropertyBag_Read(p,a,b,c) (p)->lpVtbl->Read(p,a,b,c)
|
||||
#define IPropertyBag_Write(p,a,b) (p)->lpVtbl->Write(p,a,b)
|
||||
|
||||
#endif
|
||||
|
||||
#define IPropertyBag_METHODS \
|
||||
ICOM_MSVTABLE_COMPAT_FIELDS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IPropertyBag methods ***/ \
|
||||
STDMETHOD_(HRESULT,Read)(THIS_ LPCOLESTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog) PURE; \
|
||||
STDMETHOD_(HRESULT,Write)(THIS_ LPCOLESTR pszPropName, VARIANT* pVar) PURE;
|
||||
|
||||
HRESULT CALLBACK IPropertyBag_RemoteRead_Proxy(
|
||||
IPropertyBag* This,
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar,
|
||||
IErrorLog* pErrorLog,
|
||||
DWORD varType,
|
||||
IUnknown* pUnkObj);
|
||||
void __RPC_STUB IPropertyBag_RemoteRead_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyBag_Read_Proxy(
|
||||
IPropertyBag* This,
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar,
|
||||
IErrorLog* pErrorLog);
|
||||
HRESULT __RPC_STUB IPropertyBag_Read_Stub(
|
||||
IPropertyBag* This,
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar,
|
||||
IErrorLog* pErrorLog,
|
||||
DWORD varType,
|
||||
IUnknown* pUnkObj);
|
||||
HRESULT CALLBACK IPropertyBag_Write_Proxy(
|
||||
IPropertyBag* This,
|
||||
LPCOLESTR pszPropName,
|
||||
VARIANT* pVar);
|
||||
void __RPC_STUB IPropertyBag_Write_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IPropertyBag_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -1576,3 +1576,53 @@ interface ICreateTypeLib2 : ICreateTypeLib
|
|||
HRESULT SetHelpStringDll(
|
||||
[in] LPOLESTR szFileName);
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IErrorLog interface
|
||||
*/
|
||||
[
|
||||
object,
|
||||
uuid(3127ca40-446e-11ce-8135-00aa004bb851),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IErrorLog : IUnknown
|
||||
{
|
||||
typedef IErrorLog *LPERRORLOG;
|
||||
|
||||
HRESULT AddError(
|
||||
[in] LPCOLESTR pszPropName,
|
||||
[in] EXCEPINFO *pExcepInfo);
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertyBag interface
|
||||
*/
|
||||
[
|
||||
object,
|
||||
uuid(55272a00-42cb-11ce-8135-00aa004bb851),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IPropertyBag : IUnknown
|
||||
{
|
||||
typedef IPropertyBag *LPPROPERTYBAG;
|
||||
|
||||
[local]
|
||||
HRESULT Read(
|
||||
[in] LPCOLESTR pszPropName,
|
||||
[in, out] VARIANT *pVar,
|
||||
[in] IErrorLog *pErrorLog);
|
||||
|
||||
[call_as(Read)]
|
||||
HRESULT RemoteRead(
|
||||
[in] LPCOLESTR pszPropName,
|
||||
[out] VARIANT *pVar,
|
||||
[in] IErrorLog *pErrorLog,
|
||||
[in] DWORD varType,
|
||||
[in] IUnknown *pUnkObj);
|
||||
|
||||
HRESULT Write(
|
||||
[in] LPCOLESTR pszPropName,
|
||||
[in] VARIANT *pVar);
|
||||
}
|
||||
|
|
6227
include/ocidl.h
6227
include/ocidl.h
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2500,7 +2500,6 @@ typedef enum tagOLECLOSE {
|
|||
OLECLOSE_PROMPTSAVE = 2
|
||||
} OLECLOSE;
|
||||
|
||||
struct tagLOGPALETTE;
|
||||
/*****************************************************************************
|
||||
* IOleObject interface
|
||||
*/
|
||||
|
@ -2589,11 +2588,7 @@ struct IOleObject : public IUnknown
|
|||
DWORD* pdwStatus) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetColorScheme(
|
||||
struct tagLOGPALETTE {
|
||||
WORD palVersion;
|
||||
WORD palNumEntries;
|
||||
PALETTEENTRY palPalEntry[1];
|
||||
}* pLogpal) = 0;
|
||||
LOGPALETTE* pLogpal) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
|
@ -2714,7 +2709,7 @@ struct IOleObjectVtbl {
|
|||
|
||||
HRESULT (STDMETHODCALLTYPE *SetColorScheme)(
|
||||
IOleObject* This,
|
||||
struct tagLOGPALETTE* pLogpal);
|
||||
LOGPALETTE* pLogpal);
|
||||
|
||||
};
|
||||
|
||||
|
@ -2774,7 +2769,7 @@ struct IOleObjectVtbl {
|
|||
STDMETHOD_(HRESULT,Unadvise)(THIS_ DWORD dwConnection) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumAdvise)(THIS_ IEnumSTATDATA** ppenumAdvise) PURE; \
|
||||
STDMETHOD_(HRESULT,GetMiscStatus)(THIS_ DWORD dwAspect, DWORD* pdwStatus) PURE; \
|
||||
STDMETHOD_(HRESULT,SetColorScheme)(THIS_ struct tagLOGPALETTE* pLogpal) PURE;
|
||||
STDMETHOD_(HRESULT,SetColorScheme)(THIS_ LOGPALETTE* pLogpal) PURE;
|
||||
|
||||
HRESULT CALLBACK IOleObject_SetClientSite_Proxy(
|
||||
IOleObject* This,
|
||||
|
@ -2953,7 +2948,7 @@ void __RPC_STUB IOleObject_GetMiscStatus_Stub(
|
|||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IOleObject_SetColorScheme_Proxy(
|
||||
IOleObject* This,
|
||||
struct tagLOGPALETTE* pLogpal);
|
||||
LOGPALETTE* pLogpal);
|
||||
void __RPC_STUB IOleObject_SetColorScheme_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
|
@ -3231,7 +3226,7 @@ struct IViewObject : public IUnknown
|
|||
void* pvAspect,
|
||||
DVTARGETDEVICE* ptd,
|
||||
HDC hicTargetDev,
|
||||
struct tagLOGPALETTE** ppColorSet) = 0;
|
||||
LOGPALETTE** ppColorSet) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Freeze(
|
||||
DWORD dwDrawAspect,
|
||||
|
@ -3294,7 +3289,7 @@ struct IViewObjectVtbl {
|
|||
void* pvAspect,
|
||||
DVTARGETDEVICE* ptd,
|
||||
HDC hicTargetDev,
|
||||
struct tagLOGPALETTE** ppColorSet);
|
||||
LOGPALETTE** ppColorSet);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Freeze)(
|
||||
IViewObject* This,
|
||||
|
@ -3343,7 +3338,7 @@ struct IViewObjectVtbl {
|
|||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IViewObject methods ***/ \
|
||||
STDMETHOD_(HRESULT,Draw)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hdcTargetDev, HDC hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), ULONG_PTR dwContinue) PURE; \
|
||||
STDMETHOD_(HRESULT,GetColorSet)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hicTargetDev, struct tagLOGPALETTE** ppColorSet) PURE; \
|
||||
STDMETHOD_(HRESULT,GetColorSet)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hicTargetDev, LOGPALETTE** ppColorSet) PURE; \
|
||||
STDMETHOD_(HRESULT,Freeze)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DWORD* pdwFreeze) PURE; \
|
||||
STDMETHOD_(HRESULT,Unfreeze)(THIS_ DWORD dwFreeze) PURE; \
|
||||
STDMETHOD_(HRESULT,SetAdvise)(THIS_ DWORD aspects, DWORD advf, IAdviseSink* pAdvSink) PURE; \
|
||||
|
@ -3395,7 +3390,7 @@ HRESULT CALLBACK IViewObject_RemoteGetColorSet_Proxy(
|
|||
ULONG_PTR pvAspect,
|
||||
DVTARGETDEVICE* ptd,
|
||||
ULONG_PTR hicTargetDev,
|
||||
struct tagLOGPALETTE** ppColorSet);
|
||||
LOGPALETTE** ppColorSet);
|
||||
void __RPC_STUB IViewObject_RemoteGetColorSet_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
|
@ -3408,7 +3403,7 @@ HRESULT CALLBACK IViewObject_GetColorSet_Proxy(
|
|||
void* pvAspect,
|
||||
DVTARGETDEVICE* ptd,
|
||||
HDC hicTargetDev,
|
||||
struct tagLOGPALETTE** ppColorSet);
|
||||
LOGPALETTE** ppColorSet);
|
||||
HRESULT __RPC_STUB IViewObject_GetColorSet_Stub(
|
||||
IViewObject* This,
|
||||
DWORD dwDrawAspect,
|
||||
|
@ -3416,7 +3411,7 @@ HRESULT __RPC_STUB IViewObject_GetColorSet_Stub(
|
|||
ULONG_PTR pvAspect,
|
||||
DVTARGETDEVICE* ptd,
|
||||
ULONG_PTR hicTargetDev,
|
||||
struct tagLOGPALETTE** ppColorSet);
|
||||
LOGPALETTE** ppColorSet);
|
||||
HRESULT CALLBACK IViewObject_RemoteFreeze_Proxy(
|
||||
IViewObject* This,
|
||||
DWORD dwDrawAspect,
|
||||
|
@ -3546,7 +3541,7 @@ struct IViewObject2Vtbl {
|
|||
void* pvAspect,
|
||||
DVTARGETDEVICE* ptd,
|
||||
HDC hicTargetDev,
|
||||
struct tagLOGPALETTE** ppColorSet);
|
||||
LOGPALETTE** ppColorSet);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Freeze)(
|
||||
IViewObject2* This,
|
||||
|
@ -3605,7 +3600,7 @@ struct IViewObject2Vtbl {
|
|||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IViewObject methods ***/ \
|
||||
STDMETHOD_(HRESULT,Draw)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hdcTargetDev, HDC hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, BOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), ULONG_PTR dwContinue) PURE; \
|
||||
STDMETHOD_(HRESULT,GetColorSet)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hicTargetDev, struct tagLOGPALETTE** ppColorSet) PURE; \
|
||||
STDMETHOD_(HRESULT,GetColorSet)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hicTargetDev, LOGPALETTE** ppColorSet) PURE; \
|
||||
STDMETHOD_(HRESULT,Freeze)(THIS_ DWORD dwDrawAspect, LONG lindex, void* pvAspect, DWORD* pdwFreeze) PURE; \
|
||||
STDMETHOD_(HRESULT,Unfreeze)(THIS_ DWORD dwFreeze) PURE; \
|
||||
STDMETHOD_(HRESULT,SetAdvise)(THIS_ DWORD aspects, DWORD advf, IAdviseSink* pAdvSink) PURE; \
|
||||
|
|
|
@ -728,10 +728,8 @@ interface IOleObject : IUnknown
|
|||
[in] DWORD dwAspect,
|
||||
[out] DWORD *pdwStatus);
|
||||
|
||||
cpp_quote("struct tagLOGPALETTE;") /* FIXME */
|
||||
|
||||
HRESULT SetColorScheme(
|
||||
[in] struct tagLOGPALETTE *pLogpal);
|
||||
[in] LOGPALETTE *pLogpal);
|
||||
}
|
||||
|
||||
|
||||
|
@ -821,7 +819,7 @@ interface IViewObject : IUnknown
|
|||
[in, unique] void *pvAspect,
|
||||
[in, unique] DVTARGETDEVICE *ptd,
|
||||
[in] HDC hicTargetDev,
|
||||
[out] struct tagLOGPALETTE **ppColorSet);
|
||||
[out] LOGPALETTE **ppColorSet);
|
||||
|
||||
[call_as(GetColorSet)]
|
||||
HRESULT RemoteGetColorSet(
|
||||
|
@ -830,7 +828,7 @@ interface IViewObject : IUnknown
|
|||
[in] ULONG_PTR pvAspect,
|
||||
[in, unique] DVTARGETDEVICE *ptd,
|
||||
[in] ULONG_PTR hicTargetDev,
|
||||
[out] struct tagLOGPALETTE **ppColorSet);
|
||||
[out] LOGPALETTE **ppColorSet);
|
||||
|
||||
[local]
|
||||
HRESULT Freeze(
|
||||
|
|
|
@ -1,159 +0,0 @@
|
|||
/*
|
||||
* Defines the COM interfaces and APIs related to structured data storage.
|
||||
*
|
||||
* Depends on 'obj_base.h'.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef __WINE_WINE_OBJ_CONNECTION_H
|
||||
#define __WINE_WINE_OBJ_CONNECTION_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
/*****************************************************************************
|
||||
* Declare the structures
|
||||
*/
|
||||
|
||||
typedef struct tagCONNECTDATA
|
||||
{
|
||||
IUnknown *pUnk;
|
||||
DWORD dwCookie;
|
||||
} CONNECTDATA, *LPCONNECTDATA;
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interfaces
|
||||
*/
|
||||
DEFINE_GUID(IID_IConnectionPoint, 0xb196b286, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IConnectionPoint IConnectionPoint, *LPCONNECTIONPOINT;
|
||||
|
||||
DEFINE_GUID(IID_IConnectionPointContainer, 0xb196b284, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IConnectionPointContainer IConnectionPointContainer, *LPCONNECTIONPOINTCONTAINER;
|
||||
|
||||
DEFINE_GUID(IID_IEnumConnections, 0xb196b287, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IEnumConnections IEnumConnections, *LPENUMCONNECTIONS;
|
||||
|
||||
DEFINE_GUID(IID_IEnumConnectionPoints, 0xb196b285, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IEnumConnectionPoints IEnumConnectionPoints, *LPENUMCONNECTIONPOINTS;
|
||||
|
||||
/*****************************************************************************
|
||||
* IConnectionPoint interface
|
||||
*/
|
||||
#define INTERFACE IConnectionPoint
|
||||
#define IConnectionPoint_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(GetConnectionInterface)(THIS_ IID *pIID) PURE; \
|
||||
STDMETHOD(GetConnectionPointContainer)(THIS_ IConnectionPointContainer **ppCPC) PURE; \
|
||||
STDMETHOD(Advise)(THIS_ IUnknown *pUnkSink, DWORD *pdwCookie) PURE; \
|
||||
STDMETHOD(Unadvise)(THIS_ DWORD dwCookie) PURE; \
|
||||
STDMETHOD(EnumConnections)(THIS_ IEnumConnections **ppEnum) PURE;
|
||||
ICOM_DEFINE(IConnectionPoint,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IConnectionPoint_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IConnectionPoint_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IConnectionPoint_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IConnectionPointContainer methods ***/
|
||||
#define IConnectionPoint_GetConnectionInterface(p,a) (p)->lpVtbl->GetConnectionInterface(p,a)
|
||||
#define IConnectionPoint_GetConnectionPointContainer(p,a) (p)->lpVtbl->GetConnectionPointContainer(p,a)
|
||||
#define IConnectionPoint_Advise(p,a,b) (p)->lpVtbl->Advise(p,a,b)
|
||||
#define IConnectionPoint_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a)
|
||||
#define IConnectionPoint_EnumConnections(p,a) (p)->lpVtbl->EnumConnections(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IConnectionPointContainer interface
|
||||
*/
|
||||
#define INTERFACE IConnectionPointContainer
|
||||
#define IConnectionPointContainer_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(EnumConnectionPoints)(THIS_ IEnumConnectionPoints **ppEnum) PURE; \
|
||||
STDMETHOD(FindConnectionPoint)(THIS_ REFIID riid, IConnectionPoint **ppCP) PURE;
|
||||
ICOM_DEFINE(IConnectionPointContainer,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IConnectionPointContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IConnectionPointContainer_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IConnectionPointContainer_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IConnectionPointContainer methods ***/
|
||||
#define IConnectionPointContainer_EnumConnectionPoints(p,a) (p)->lpVtbl->EnumConnectionPoints(p,a)
|
||||
#define IConnectionPointContainer_FindConnectionPoint(p,a,b) (p)->lpVtbl->FindConnectionPoint(p,a,b)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumConnections interface
|
||||
*/
|
||||
#define INTERFACE IEnumConnections
|
||||
#define IEnumConnections_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Next)(THIS_ ULONG cConnections, LPCONNECTDATA rgcd, ULONG *pcFectched) PURE; \
|
||||
STDMETHOD(Skip)(THIS_ ULONG cConnections) PURE; \
|
||||
STDMETHOD(Reset)(THIS) PURE; \
|
||||
STDMETHOD(Clone)(THIS_ IEnumConnections **ppEnum) PURE;
|
||||
ICOM_DEFINE(IEnumConnections,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumConnections_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumConnections_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumConnections_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IConnectionPointContainer methods ***/
|
||||
#define IEnumConnections_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumConnections_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#define IEnumConnections_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumConnections_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumConnectionPoints interface
|
||||
*/
|
||||
#define INTERFACE IEnumConnectionPoints
|
||||
#define IEnumConnectionPoints_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Next)(THIS_ ULONG cConnections, LPCONNECTIONPOINT *ppCP, ULONG *pcFectched) PURE; \
|
||||
STDMETHOD(Skip)(THIS_ ULONG cConnections) PURE; \
|
||||
STDMETHOD(Reset)(THIS) PURE; \
|
||||
STDMETHOD(Clone)(THIS_ IEnumConnections **ppEnum) PURE;
|
||||
ICOM_DEFINE(IEnumConnectionPoints,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumConnectionPoints_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumConnectionPoints_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumConnectionPoints_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IConnectionPointContainer methods ***/
|
||||
#define IEnumConnectionPoints_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumConnectionPoints_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#define IEnumConnectionPoints_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumConnectionPoints_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* __WINE_WINE_OBJ_CONTROL_H */
|
|
@ -1,474 +0,0 @@
|
|||
/*
|
||||
* Defines the COM interfaces and APIs related to structured data storage.
|
||||
*
|
||||
* Depends on 'obj_base.h'.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef __WINE_WINE_OBJ_CONTROL_H
|
||||
#define __WINE_WINE_OBJ_CONTROL_H
|
||||
|
||||
struct tagMSG;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
/*****************************************************************************
|
||||
* Declare the structures
|
||||
*/
|
||||
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;
|
||||
|
||||
typedef struct tagExtentInfo
|
||||
{
|
||||
ULONG cb;
|
||||
DWORD dwExtentMode;
|
||||
SIZEL sizelProposed;
|
||||
} DVEXTENTINFO;
|
||||
|
||||
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;
|
||||
BOOL fRuntimeKeyAvail;
|
||||
BOOL fLicVerified;
|
||||
} LICINFO, *LPLICINFO;
|
||||
|
||||
typedef struct tagCONTROLINFO
|
||||
{
|
||||
ULONG cb;
|
||||
HACCEL hAccel;
|
||||
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;
|
||||
|
||||
typedef enum tagDVASPECT2
|
||||
{
|
||||
DVASPECT_OPAQUE = 16,
|
||||
DVASPECT_TRANSPARENT = 32
|
||||
} DVASPECT2;
|
||||
|
||||
typedef enum tagHITRESULT
|
||||
{
|
||||
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;
|
||||
|
||||
/*****************************************************************************
|
||||
* 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;
|
||||
|
||||
DEFINE_GUID(IID_IViewObjectEx, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); /* FIXME need GUID */
|
||||
typedef struct IViewObjectEx IViewObjectEx, *LPVIEWOBJECTEX;
|
||||
|
||||
DEFINE_GUID(IID_IProvideClassInfo, 0xb196b283, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IProvideClassInfo IProvideClassInfo, *LPPROVIDECLASSINFO;
|
||||
|
||||
DEFINE_GUID(IID_IProvideClassInfo2, 0xa6bc3ac0, 0xdbaa, 0x11ce, 0x9d, 0xe3, 0x00, 0xaa, 0x00, 0x4b, 0xb8, 0x51);
|
||||
typedef struct IProvideClassInfo2 IProvideClassInfo2, *LPPROVIDECLASSINFO2;
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleControl interface
|
||||
*/
|
||||
#define INTERFACE IOleControl
|
||||
#define IOleControl_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(GetControlInfo)(THIS_ CONTROLINFO *pCI) PURE; \
|
||||
STDMETHOD(OnMnemonic)(THIS_ struct tagMSG *pMsg) PURE; \
|
||||
STDMETHOD(OnAmbientPropertyChange)(THIS_ DISPID dispID) PURE; \
|
||||
STDMETHOD(FreezeEvents)(THIS_ BOOL bFreeze) PURE;
|
||||
ICOM_DEFINE(IOleControl,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleControl_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleControl_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleControl_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleControl methods ***/
|
||||
#define IOleControl_GetControlInfo(p,a) (p)->lpVtbl->GetControlInfo(p,a)
|
||||
#define IOleControl_OnMnemonic(p,a) (p)->lpVtbl->OnMnemonic(p,a)
|
||||
#define IOleControl_OnAmbientPropertyChange(p,a) (p)->lpVtbl->OnAmbientPropertyChange(p,a)
|
||||
#define IOleControl_FreezeEvents(p,a) (p)->lpVtbl->FreezeEvents(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleControlSite interface
|
||||
*/
|
||||
#define INTERFACE IOleControlSite
|
||||
#define IOleControlSite_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(OnControlInfoChanged)(THIS) PURE; \
|
||||
STDMETHOD(LockInPlaceActive)(THIS_ BOOL fLock) PURE; \
|
||||
STDMETHOD(GetExtendedControl)(THIS_ IDispatch **ppDisp) PURE; \
|
||||
STDMETHOD(TransformCoords)(THIS_ POINTL *pPtlHimetric, POINTF *pPtfContainer, DWORD dwFlags) PURE; \
|
||||
STDMETHOD(TranslateAccelerator)(THIS_ struct tagMSG *pMsg, DWORD grfModifiers) PURE; \
|
||||
STDMETHOD(OnFocus)(THIS_ BOOL fGotFocus) PURE; \
|
||||
STDMETHOD(ShowPropertyFrame)(THIS) PURE;
|
||||
ICOM_DEFINE(IOleControlSite,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleControlSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleControlSite_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleControlSite_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleControlSite methods ***/
|
||||
#define IOleControlSite_OnControlInfoChanged(p) (p)->lpVtbl->OnControlInfoChanged(p)
|
||||
#define IOleControlSite_LockInPlaceActive(p,a) (p)->lpVtbl->LockInPlaceActive(p,a)
|
||||
#define IOleControlSite_GetExtendedControl(p,a) (p)->lpVtbl->GetExtendedControl(p,a)
|
||||
#define IOleControlSite_TransformCoords(p,a,b,c) (p)->lpVtbl->TransformCoords(p,a,b,c)
|
||||
#define IOleControlSite_TranslateAccelerator(p,a,b) (p)->lpVtbl->TranslateAccelerator(p,a,b)
|
||||
#define IOleControlSite_OnFocus(p,a) (p)->lpVtbl->OnFocus(p,a)
|
||||
#define IOleControlSite_ShowPropertyFrame(p) (p)->lpVtbl->ShowPropertyFrame(p)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleInPlaceSiteEx interface
|
||||
*/
|
||||
#define INTERFACE IOleInPlaceSiteEx
|
||||
#define IOleInPlaceSiteEx_METHODS \
|
||||
IOleInPlaceSite_METHODS \
|
||||
STDMETHOD(OnInPlaceActivateEx)(THIS_ BOOL *pfNoRedraw, DWORD dwFlags) PURE; \
|
||||
STDMETHOD(OnInPlaceDeactivateEx)(THIS_ BOOL fNoRedraw) PURE; \
|
||||
STDMETHOD(RequestUIActivate)(THIS) PURE;
|
||||
ICOM_DEFINE(IOleInPlaceSiteEx,IOleInPlaceSite)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleInPlaceSiteEx_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleInPlaceSiteEx_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleInPlaceSiteEx_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleWindow methods ***/
|
||||
#define IOleInPlaceSiteEx_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
|
||||
#define IOleInPlaceSiteEx_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
|
||||
/*** IOleInPlaceSite methods ***/
|
||||
#define IOleInPlaceSiteEx_CanInPlaceActivate(p) (p)->lpVtbl->CanInPlaceActivate(p)
|
||||
#define IOleInPlaceSiteEx_OnInPlaceActivate(p) (p)->lpVtbl->OnInPlaceActivate(p)
|
||||
#define IOleInPlaceSiteEx_OnUIActivate(p) (p)->lpVtbl->OnUIActivate(p)
|
||||
#define IOleInPlaceSiteEx_GetWindowContext(p,a,b,c,d,e) (p)->lpVtbl->GetWindowContext(p,a,b,c,d,e)
|
||||
#define IOleInPlaceSiteEx_Scroll(p,a) (p)->lpVtbl->Scroll(p,a)
|
||||
#define IOleInPlaceSiteEx_OnUIDeactivate(p,a) (p)->lpVtbl->OnUIDeactivate(p,a)
|
||||
#define IOleInPlaceSiteEx_OnInPlaceDeactivate(p) (p)->lpVtbl->OnInPlaceDeactivate(p)
|
||||
#define IOleInPlaceSiteEx_DiscardUndoState(p) (p)->lpVtbl->DiscardUndoState(p)
|
||||
#define IOleInPlaceSiteEx_DeactivateAndUndo(p) (p)->lpVtbl->DeactivateAndUndo(p)
|
||||
#define IOleInPlaceSiteEx_OnPosRectChange(p,a) (p)->lpVtbl->OnPosRectChange(p,a)
|
||||
/*** IOleInPlaceSiteEx methods ***/
|
||||
#define IOleInPlaceSiteEx_OnInPlaceActivateEx(p,a,b) (p)->lpVtbl->OnInPlaceActivateEx(p,a,b)
|
||||
#define IOleInPlaceSiteEx_OnInPlaceDeactivateEx(p,a) (p)->lpVtbl->OnInPlaceDeactivateEx(p,a)
|
||||
#define IOleInPlaceSiteEx_RequestUIActivate(p) (p)->lpVtbl->RequestUIActivate(p)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleInPlaceSiteWindowless interface
|
||||
*/
|
||||
#define INTERFACE IOleInPlaceSiteWindowless
|
||||
#define IOleInPlaceSiteWindowless_METHODS \
|
||||
IOleInPlaceSite_METHODS \
|
||||
STDMETHOD(CanWindowlessActivate)(THIS) PURE; \
|
||||
STDMETHOD(GetCapture)(THIS) PURE; \
|
||||
STDMETHOD(SetCapture)(THIS_ BOOL fCapture) PURE; \
|
||||
STDMETHOD(GetFocus)(THIS) PURE; \
|
||||
STDMETHOD(SetFocus)(THIS_ BOOL fFocus) PURE; \
|
||||
STDMETHOD(GetDC)(THIS_ LPCRECT pRect, DWORD grfFlags, HDC *phDC) PURE; \
|
||||
STDMETHOD(ReleaseDC)(THIS_ HDC hDC) PURE; \
|
||||
STDMETHOD(InvalidateRect)(THIS_ LPCRECT pRect, BOOL fErase) PURE; \
|
||||
STDMETHOD(InvalidateRgn)(THIS_ HRGN hRgn, BOOL fErase) PURE; \
|
||||
STDMETHOD(ScrollRect)(THIS_ INT dx, INT dy, LPCRECT pRectScroll, LPCRECT pRectClip) PURE; \
|
||||
STDMETHOD(AdjustRect)(THIS_ LPRECT prc) PURE; \
|
||||
STDMETHOD(OnDefWindowMessage)(THIS_ UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult) PURE;
|
||||
ICOM_DEFINE(IOleInPlaceSiteWindowless,IOleInPlaceSite)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleInPlaceSiteWindowless_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleInPlaceSiteWindowless_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleInPlaceSiteWindowless_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleWindow methods ***/
|
||||
#define IOleInPlaceSiteWindowless_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
|
||||
#define IOleInPlaceSiteWindowless_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
|
||||
/*** IOleInPlaceSitemethods ***/
|
||||
#define IOleInPlaceSiteWindowless_CanInPlaceActivate(p) (p)->lpVtbl->CanInPlaceActivate(p)
|
||||
#define IOleInPlaceSiteWindowless_OnInPlaceActivate(p) (p)->lpVtbl->OnInPlaceActivate(p)
|
||||
#define IOleInPlaceSiteWindowless_OnUIActivate(p) (p)->lpVtbl->OnUIActivate(p)
|
||||
#define IOleInPlaceSiteWindowless_GetWindowContext(p,a,b,c,d,e) (p)->lpVtbl->GetWindowContext(p,a,b,c,d,e)
|
||||
#define IOleInPlaceSiteWindowless_Scroll(p,a) (p)->lpVtbl->Scroll(p,a)
|
||||
#define IOleInPlaceSiteWindowless_OnUIDeactivate(p,a) (p)->lpVtbl->OnUIDeactivate(p,a)
|
||||
#define IOleInPlaceSiteWindowless_OnInPlaceDeactivate(p) (p)->lpVtbl->OnInPlaceDeactivate(p)
|
||||
#define IOleInPlaceSiteWindowless_DiscardUndoState(p) (p)->lpVtbl->DiscardUndoState(p)
|
||||
#define IOleInPlaceSiteWindowless_DeactivateAndUndo(p) (p)->lpVtbl->DeactivateAndUndo(p)
|
||||
#define IOleInPlaceSiteWindowless_OnPosRectChange(p,a) (p)->lpVtbl->OnPosRectChange(p,a)
|
||||
/*** IOleInPlaceSitemethods ***/
|
||||
#define IOleInPlaceSiteWindowless_CanWindowlessActivate(p) (p)->lpVtbl->CanInPlaceActivate(p)
|
||||
#define IOleInPlaceSiteWindowless_GetCapture(p) (p)->lpVtbl->OnInPlaceActivate(p)
|
||||
#define IOleInPlaceSiteWindowless_SetCapture(p,a) (p)->lpVtbl->OnUIActivate(p,a)
|
||||
#define IOleInPlaceSiteWindowless_GetFocus(p) (p)->lpVtbl->GetWindowContext(p)
|
||||
#define IOleInPlaceSiteWindowless_SetFocus(p,a) (p)->lpVtbl->Scroll(p,a)
|
||||
#define IOleInPlaceSiteWindowless_GetDC(p,a,b,c) (p)->lpVtbl->OnUIDeactivate(p,a,b,c)
|
||||
#define IOleInPlaceSiteWindowless_ReleaseDC(p,a) (p)->lpVtbl->OnInPlaceDeactivate(p,a)
|
||||
#define IOleInPlaceSiteWindowless_InvalidateRect(p,a,b) (p)->lpVtbl->DiscardUndoState(p,a,b)
|
||||
#define IOleInPlaceSiteWindowless_InvalidateRgn(p,a,b) (p)->lpVtbl->DeactivateAndUndo(p,a,b)
|
||||
#define IOleInPlaceSiteWindowless_ScrollRect(p,a,b,c,d) (p)->lpVtbl->OnPosRectChange(p,a,b,c,d)
|
||||
#define IOleInPlaceSiteWindowless_AdjustRect(p,a) (p)->lpVtbl->OnPosRectChange(p,a)
|
||||
#define IOleInPlaceSiteWindowless_OnDefWindowMessage(p,a,b,c,d) (p)->lpVtbl->OnPosRectChange(p,a,b,c,d)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleInPlaceObjectWindowless interface
|
||||
*/
|
||||
#define INTERFACE IOleInPlaceObjectWindowless
|
||||
#define IOleInPlaceObjectWindowless_METHODS \
|
||||
IOleInPlaceObject_METHODS \
|
||||
STDMETHOD(OnWindowMessage)(THIS_ UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult) PURE; \
|
||||
STDMETHOD(GetDropTarget)(THIS_ IDropTarget **ppDropTarget) PURE;
|
||||
ICOM_DEFINE(IOleInPlaceObjectWindowless,IOleInPlaceObject)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleInPlaceObjectWindowless_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleInPlaceObjectWindowless_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleInPlaceObjectWindowless_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleWindow methods ***/
|
||||
#define IOleInPlaceObjectWindowless_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
|
||||
#define IOleInPlaceObjectWindowless_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
|
||||
/*** IOleInPlaceObject methods ***/
|
||||
#define IOleInPlaceObjectWindowless_InPlaceDeactivate(p) (p)->lpVtbl->InPlaceDeactivate(p)
|
||||
#define IOleInPlaceObjectWindowless_UIDeactivate(p) (p)->lpVtbl->UIDeactivate(p)
|
||||
#define IOleInPlaceObjectWindowless_SetObjectRects(p,a,b) (p)->lpVtbl->SetObjectRects(p,a,b)
|
||||
#define IOleInPlaceObjectWindowless_ReactivateAndUndo(p) (p)->lpVtbl->ReactivateAndUndo(p)
|
||||
/*** IOleInPlaceObjectWindowless methods ***/
|
||||
#define IOleInPlaceObjectWindowless_OnWindowMessage(p,a,b,c,d) (p)->lpVtbl->OnWindowMessage(p,a,b,c,d)
|
||||
#define IOleInPlaceObjectWindowless_GetDropTarget(p,a) (p)->lpVtbl->GetDropTarget(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IClassFactory2 interface
|
||||
*/
|
||||
#define INTERFACE IClassFactory2
|
||||
#define IClassFactory2_METHODS \
|
||||
IClassFactory_METHODS \
|
||||
STDMETHOD(GetLicInfo)(THIS_ LICINFO *pLicInfo) PURE; \
|
||||
STDMETHOD(RequestLicKey)(THIS_ DWORD dwReserved, BSTR *pBstrKey) PURE; \
|
||||
STDMETHOD(CreateInstanceLic)(THIS_ IUnknown *pUnkOuter, IUnknown *pUnkReserved, REFIID riid, BSTR bstrKey, PVOID *ppvObj) PURE;
|
||||
ICOM_DEFINE(IClassFactory2,IClassFactory)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IClassFactory2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IClassFactory2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IClassFactory2_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IClassFactory methods ***/
|
||||
#define IClassFactory2_CreateInstance(p,a,b,c) (p)->lpVtbl->CreateInstance(p,a,b,c)
|
||||
#define IClassFactory2_LockServer(p,a) (p)->lpVtbl->LockServer(p,a)
|
||||
/*** IClassFactory2 methods ***/
|
||||
#define IClassFactory2_GetLicInfo(p,a) (p)->lpVtbl->GetLicInfo(p,a)
|
||||
#define IClassFactory2_RequestLicKey(p,a,b) (p)->lpVtbl->RequestLicKey(p,a,b)
|
||||
#define IClassFactory2_CreateInstanceLic(p,a,b,c,d,e) (p)->lpVtbl->CreateInstanceLic(p,a,b,c,d,e)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IViewObject interface
|
||||
*/
|
||||
#define INTERFACE IViewObjectEx
|
||||
#define IViewObjectEx_METHODS \
|
||||
IViewObject2_METHODS \
|
||||
STDMETHOD(GetRect)(THIS_ DWORD dwAspect, LPRECTL pRect) PURE; \
|
||||
STDMETHOD(GetViewStatus)(THIS_ DWORD *pdwStatus) PURE; \
|
||||
STDMETHOD(QueryHitPoint)(THIS_ DWORD dwAspect, LPCRECT pRectBounds, POINT ptlLoc, LONG lCloseHint, DWORD *pHitResult) PURE; \
|
||||
STDMETHOD(QueryHitRect)(THIS_ DWORD dwAspect, LPCRECT pRectBounds, LPCRECT pRectLoc, LONG lCloseHint, DWORD *pHitResult) PURE; \
|
||||
STDMETHOD(GetNaturalExtent)(THIS_ DWORD dwAspect, LONG lindex, DVTARGETDEVICE *ptd, HDC hicTargetDev, DVEXTENTINFO *pExtentInfo, LPSIZEL pSizel) PURE;
|
||||
ICOM_DEFINE(IViewObjectEx,IViewObject2)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IViewObjectEx_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IViewObjectEx_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IViewObjectEx_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IViewObject methods ***/
|
||||
#define IViewObjectEx_Draw(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Draw(p,a,b,c,d,e,f,g,h,i,j)
|
||||
#define IViewObjectEx_GetColorSet(p,a,b,c,d,e,f) (p)->lpVtbl->GetColorSet(p,a,b,c,d,e,f)
|
||||
#define IViewObjectEx_Freeze(p,a,b,c,d) (p)->lpVtbl->Freeze(p,a,b,c,d)
|
||||
#define IViewObjectEx_Unfreeze(p,a) (p)->lpVtbl->Unfreeze(p,a)
|
||||
#define IViewObjectEx_SetAdvise(p,a,b,c) (p)->lpVtbl->SetAdvise(p,a,b,c)
|
||||
#define IViewObjectEx_GetAdvise(p,a,b,c) (p)->lpVtbl->GetAdvise(p,a,b,c)
|
||||
/*** IViewObject2 methods ***/
|
||||
#define IViewObjectEx_GetExtent(p,a,b,c,d) (p)->lpVtbl->GetExtent(p,a,b,c,d)
|
||||
/*** IViewObjectEx methods ***/
|
||||
#define IViewObjectEx_GetRect(p,a,b) (p)->lpVtbl->GetRect(p,a,b)
|
||||
#define IViewObjectEx_GetViewStatus(p,a) (p)->lpVtbl->GetViewStatus(p,a)
|
||||
#define IViewObjectEx_QueryHitPoint(p,a,b,c,d,e) (p)->lpVtbl->QueryHitPoint(p,a,b,c,d,e)
|
||||
#define IViewObjectEx_QueryHitRect(p,a,b,c,d,e) (p)->lpVtbl->QueryHitRect(p,a,b,c,d,e)
|
||||
#define IViewObjectEx_GetNaturalExtent(p,a,b,c,d,e,f) (p)->lpVtbl->GetNaturalExtent(p,a,b,c,d,e,f)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IProvideClassInfo interface
|
||||
*/
|
||||
#ifdef __WINESRC__
|
||||
#undef GetClassInfo
|
||||
#endif
|
||||
|
||||
#define INTERFACE IProvideClassInfo
|
||||
#define IProvideClassInfo_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(GetClassInfo)(THIS_ ITypeInfo **ppTI) PURE;
|
||||
ICOM_DEFINE(IProvideClassInfo,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IProvideClassInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IProvideClassInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IProvideClassInfo_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IProvideClassInfo methods ***/
|
||||
#define IProvideClassInfo_GetClassInfo(p,a) (p)->lpVtbl->GetClassInfo(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IProvideClassInfo2 interface
|
||||
*/
|
||||
#define INTERFACE IProvideClassInfo2
|
||||
#define IProvideClassInfo2_METHODS \
|
||||
IProvideClassInfo_METHODS \
|
||||
STDMETHOD(GetGUID)(THIS_ DWORD dwGuidKind, GUID *pGUID) PURE;
|
||||
ICOM_DEFINE(IProvideClassInfo2,IProvideClassInfo)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IProvideClassInfo2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IProvideClassInfo2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IProvideClassInfo2_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IProvideClassInfo methods ***/
|
||||
#define IProvideClassInfo2_GetClassInfo(p,a) (p)->lpVtbl->GetClassInfo(p,a)
|
||||
/*** IProvideClassInfo2 methods ***/
|
||||
#define IProvideClassInfo2_GetGUID(p,a,b) (p)->lpVtbl->GetGUID(p,a,b)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* __WINE_WINE_OBJ_CONTROL_H */
|
|
@ -1,133 +0,0 @@
|
|||
/*
|
||||
* Defines the COM interfaces and APIs related to OLE font support.
|
||||
*
|
||||
* Depends on 'obj_base.h'.
|
||||
*
|
||||
* Copyright (C) 1999 Francis Beaudet
|
||||
*
|
||||
* 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_WINE_OBJ_OLEFONT_H
|
||||
#define __WINE_WINE_OBJ_OLEFONT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interfaces
|
||||
*/
|
||||
DEFINE_GUID(IID_IFont, 0xBEF6E002, 0xA874, 0x101A, 0x8B, 0xBA, 0x00, 0xAA, 0x00, 0x30, 0x0C, 0xAB);
|
||||
typedef struct IFont IFont,*LPFONT;
|
||||
|
||||
DEFINE_GUID(IID_IFontDisp, 0xBEF6E003, 0xA874, 0x101A, 0x8B, 0xBA, 0x00, 0xAA, 0x00, 0x30, 0x0C, 0xAB);
|
||||
typedef struct IFontDisp IFontDisp,*LPFONTDISP;
|
||||
|
||||
typedef TEXTMETRICW TEXTMETRICOLE;
|
||||
|
||||
/*****************************************************************************
|
||||
* IFont interface
|
||||
*/
|
||||
#define INTERFACE IFont
|
||||
#define IFont_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(get_Name)(THIS_ BSTR * pname) PURE; \
|
||||
STDMETHOD(put_Name)(THIS_ BSTR name) PURE; \
|
||||
STDMETHOD(get_Size)(THIS_ CY * psize) PURE; \
|
||||
STDMETHOD(put_Size)(THIS_ CY size) PURE; \
|
||||
STDMETHOD(get_Bold)(THIS_ BOOL * pbold) PURE; \
|
||||
STDMETHOD(put_Bold)(THIS_ BOOL bold) PURE; \
|
||||
STDMETHOD(get_Italic)(THIS_ BOOL * pitalic) PURE; \
|
||||
STDMETHOD(put_Italic)(THIS_ BOOL italic) PURE; \
|
||||
STDMETHOD(get_Underline)(THIS_ BOOL * punderline) PURE; \
|
||||
STDMETHOD(put_Underline)(THIS_ BOOL underline) PURE; \
|
||||
STDMETHOD(get_Strikethrough)(THIS_ BOOL * pstrikethrough) PURE; \
|
||||
STDMETHOD(put_Strikethrough)(THIS_ BOOL strikethrough) PURE; \
|
||||
STDMETHOD(get_Weight)(THIS_ short * pweight) PURE; \
|
||||
STDMETHOD(put_Weight)(THIS_ short weight) PURE; \
|
||||
STDMETHOD(get_Charset)(THIS_ short * pcharset) PURE; \
|
||||
STDMETHOD(put_Charset)(THIS_ short charset) PURE; \
|
||||
STDMETHOD(get_hFont)(THIS_ HFONT * phfont) PURE; \
|
||||
STDMETHOD(Clone)(THIS_ IFont ** ppfont) PURE; \
|
||||
STDMETHOD(IsEqual)(THIS_ IFont * pFontOther) PURE; \
|
||||
STDMETHOD(SetRatio)(THIS_ long cyLogical, long cyHimetric) PURE; \
|
||||
STDMETHOD(QueryTextMetrics)(THIS_ TEXTMETRICOLE * ptm) PURE; \
|
||||
STDMETHOD(AddRefHfont)(THIS_ HFONT hfont) PURE; \
|
||||
STDMETHOD(ReleaseHfont)(THIS_ HFONT hfont) PURE; \
|
||||
STDMETHOD(SetHdc)(THIS_ HDC hdc) PURE;
|
||||
ICOM_DEFINE(IFont,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IFont_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IFont_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IFont_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IFont methods ***/
|
||||
#define IFont_getName(p,a) (p)->lpVtbl->get_Name(p,a)
|
||||
#define IFont_putName(p,a) (p)->lpVtbl->put_Name(p,a)
|
||||
#define IFont_get_Size(p,a) (p)->lpVtbl->get_Size(p,a)
|
||||
#define IFont_put_Size(p,a) (p)->lpVtbl->put_Size(p,a)
|
||||
#define IFont_get_Bold(p,a) (p)->lpVtbl->get_Bold(p,a)
|
||||
#define IFont_put_Bold(p,a) (p)->lpVtbl->put_Bold(p,a)
|
||||
#define IFont_get_Italic(p,a) (p)->lpVtbl->get_Italic(p,a)
|
||||
#define IFont_put_Italic(p,a) (p)->lpVtbl->put_Italic(p,a)
|
||||
#define IFont_get_Underline(p,a) (p)->lpVtbl->get_Underline(p,a)
|
||||
#define IFont_put_Underline(p,a) (p)->lpVtbl->put_Underline(p,a)
|
||||
#define IFont_get_Strikethrough(p,a) (p)->lpVtbl->get_Strikethrough(p,a)
|
||||
#define IFont_put_Strikethrough(p,a) (p)->lpVtbl->put_Strikethrough(p,a)
|
||||
#define IFont_get_Weight(p,a) (p)->lpVtbl->get_Weight(p,a)
|
||||
#define IFont_put_Weight(p,a) (p)->lpVtbl->put_Weight(p,a)
|
||||
#define IFont_get_Charset(p,a) (p)->lpVtbl->get_Charset(p,a)
|
||||
#define IFont_put_Charset(p,a) (p)->lpVtbl->put_Charset(p,a)
|
||||
#define IFont_get_hFont(p,a) (p)->lpVtbl->get_hFont(p,a)
|
||||
#define IFont_put_hFont(p,a) (p)->lpVtbl->put_hFont(p,a)
|
||||
#define IFont_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#define IFont_IsEqual(p,a) (p)->lpVtbl->IsEqual(p,a)
|
||||
#define IFont_SetRatio(p,a,b) (p)->lpVtbl->SetRatio(p,a,b)
|
||||
#define IFont_QueryTextMetrics(p,a) (p)->lpVtbl->QueryTextMetrics(p,a)
|
||||
#define IFont_AddRefHfont(p,a) (p)->lpVtbl->AddRefHfont(p,a)
|
||||
#define IFont_ReleaseHfont(p,a) (p)->lpVtbl->ReleaseHfont(p,a)
|
||||
#define IFont_SetHdc(p,a) (p)->lpVtbl->SetHdc(p,a)
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IFont interface
|
||||
*/
|
||||
#define INTERFACE IFontDisp
|
||||
#define IFontDisp_METHODS \
|
||||
IDispatch_METHODS
|
||||
ICOM_DEFINE(IFontDisp,IDispatch)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IFontDisp_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IFontDisp_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IFontDisp_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IDispatch methods ***/
|
||||
#define IFontDisp_GetTypeInfoCount(p,a) (p)->lpVtbl->GetTypeInfoCount(p,a)
|
||||
#define IFontDisp_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,a,b,c)
|
||||
#define IFontDisp_GetIDsOfNames(p,a,b,c,d,e) (p)->lpVtbl->GetIDsOfNames(p,a,b,c,d,e)
|
||||
#define IFontDisp_Invoke(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Invoke(p,a,b,c,d,e,f,g,h)
|
||||
/*** IFontDisp methods ***/
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* __WINE_WINE_OBJ_OLEFONT_H */
|
|
@ -1,304 +0,0 @@
|
|||
/*
|
||||
* Defines the COM interfaces and APIs from ocidl.h which pertain to Undo/Redo
|
||||
*
|
||||
* Depends on 'obj_base.h'.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef __WINE_WINE_OBJ_OLEUNDO_H
|
||||
#define __WINE_WINE_OBJ_OLEUNDO_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interfaces
|
||||
*/
|
||||
DEFINE_GUID(IID_IQuickActivate, 0xcf51ed10, 0x62fe, 0x11cf, 0xbf, 0x86, 0x00, 0xa0, 0xc9, 0x03, 0x48, 0x36);
|
||||
typedef struct IQuickActivate IQuickActivate,*LPQUICKACTIVATE;
|
||||
|
||||
DEFINE_GUID(IID_IPointerInactive, 0x55980ba0, 0x35aa, 0x11cf, 0xb6, 0x71, 0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8);
|
||||
typedef struct IPointerInactive IPointerInactive,*LPPOINTERINACTIVE;
|
||||
|
||||
DEFINE_GUID(IID_IAdviseSinkEx, 0x3af24290, 0x0c96, 0x11ce, 0xa0, 0xcf, 0x00, 0xaa, 0x00, 0x60, 0x0a, 0xb8);
|
||||
typedef struct IAdviseSinkEx IAdviseSinkEx,*LPADVISESINKEX;
|
||||
|
||||
DEFINE_GUID(IID_IOleUndoManager, 0xd001f200, 0xef97, 0x11ce, 0x9b, 0xc9, 0x00, 0xaa, 0x00, 0x60, 0x8e, 0x01);
|
||||
typedef struct IOleUndoManager IOleUndoManager,*LPOLEUNDOMANAGER;
|
||||
|
||||
DEFINE_GUID(IID_IOleUndoUnit, 0x894ad3b0, 0xef97, 0x11ce, 0x9b, 0xc9, 0x00, 0xaa, 0x00, 0x60, 0x8e, 0x01);
|
||||
typedef struct IOleUndoUnit IOleUndoUnit,*LPOLEUNDOUNIT;
|
||||
|
||||
DEFINE_GUID(IID_IOleParentUndoUnit, 0xa1faf330, 0xef97, 0x11ce, 0x9b, 0xc9, 0x00, 0xaa, 0x00, 0x60, 0x8e, 0x01);
|
||||
typedef struct IOleParentUndoUnit IOleParentUndoUnit,*LPOLEPARENTUNDOUNIT;
|
||||
|
||||
DEFINE_GUID(IID_IEnumOleUndoUnits, 0xb3e7c340, 0xef97, 0x11ce, 0x9b, 0xc9, 0x00, 0xaa, 0x00, 0x60, 0x8e, 0x01);
|
||||
typedef struct IEnumOleUndoUnits IEnumOleUndoUnits,*LPENUMOLEUNDOUNITS;
|
||||
|
||||
/*****************************************************************************
|
||||
* Declare the structures
|
||||
*/
|
||||
typedef enum tagQACONTAINERFLAGS
|
||||
{
|
||||
QACONTAINER_SHOWHATCHING = 0x1,
|
||||
QACONTAINER_SHOWGRABHANDLES = 0x2,
|
||||
QACONTAINER_USERMODE = 0x4,
|
||||
QACONTAINER_DISPLAYASDEFAULT = 0x8,
|
||||
QACONTAINER_UIDEAD = 0x10,
|
||||
QACONTAINER_AUTOCLIP = 0x20,
|
||||
QACONTAINER_MESSAGEREFLECT = 0x40,
|
||||
QACONTAINER_SUPPORTSMNEMONICS = 0x80
|
||||
} QACONTAINERFLAGS;
|
||||
|
||||
typedef DWORD OLE_COLOR;
|
||||
|
||||
typedef struct tagQACONTROL
|
||||
{
|
||||
ULONG cbSize;
|
||||
DWORD dwMiscStatus;
|
||||
DWORD dwViewStatus;
|
||||
DWORD dwEventCookie;
|
||||
DWORD dwPropNotifyCookie;
|
||||
DWORD dwPointerActivationPolicy;
|
||||
} QACONTROL;
|
||||
|
||||
typedef struct tagQACONTAINER
|
||||
{
|
||||
ULONG cbSize;
|
||||
IOleClientSite *pClientSite;
|
||||
IAdviseSinkEx *pAdviseSink;
|
||||
IPropertyNotifySink *pPropertyNotifySink;
|
||||
IUnknown *pUnkEventSink;
|
||||
DWORD dwAmbientFlags;
|
||||
OLE_COLOR colorFore;
|
||||
OLE_COLOR colorBack;
|
||||
IFont *pFont;
|
||||
IOleUndoManager *pUndoMgr;
|
||||
DWORD dwAppearance;
|
||||
LONG lcid;
|
||||
HPALETTE hpal;
|
||||
struct IBindHost *pBindHost;
|
||||
} QACONTAINER;
|
||||
|
||||
/*****************************************************************************
|
||||
* IQuickActivate interface
|
||||
*/
|
||||
#define INTERFACE IQuickActivate
|
||||
#define IQuickActivate_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(QuickActivate)(THIS_ QACONTAINER *pQaContainer, QACONTROL *pQaControl) PURE; \
|
||||
STDMETHOD(SetContentExtent)(THIS_ LPSIZEL pSizel) PURE; \
|
||||
STDMETHOD(GetContentExtent)(THIS_ LPSIZEL pSizel) PURE;
|
||||
ICOM_DEFINE(IQuickActivate,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IQuickActivate_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IQuickActivate_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IQuickActivate_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IQuickActivate methods ***/
|
||||
#define IQuickActivate_QuickActivate(p,a,b) (p)->lpVtbl->QuickActivate(p,a,b)
|
||||
#define IQuickActivate_SetContentExtent(p,a) (p)->lpVtbl->SetContentExtent(p,a)
|
||||
#define IQuickActivate_GetContentExtent(p,a) (p)->lpVtbl->GetContentExtent(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPointerInactive interface
|
||||
*/
|
||||
#define INTERFACE IPointerInactive
|
||||
#define IPointerInactive_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(GetActivationPolicy)(THIS_ DWORD *pdwPolicy) PURE; \
|
||||
STDMETHOD(OnInactiveMouseMove)(THIS_ LPCRECT pRectBounds, LONG x, LONG y, DWORD grfKeyState) PURE; \
|
||||
STDMETHOD(OnInactiveSetCursor)(THIS_ LPCRECT pRectBounds, LONG x, LONG y, DWORD dwMouseMsg, BOOL fSetAlways) PURE;
|
||||
ICOM_DEFINE(IPointerInactive,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPointerInactive_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPointerInactive_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPointerInactive_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPointerInactive methods ***/
|
||||
#define IPointerInactive_GetActivationPolicy(p,a) (p)->lpVtbl->GetActivationPolicy(p,a)
|
||||
#define IPointerInactive_OnInactiveMoveMouse(p,a,b,c,d) (p)->lpVtbl->OnInactiveMoveMouse(p,a,b,c,d)
|
||||
#define IPointerInactive_OnInactiveSetCursor(p,a,b,c,d,e) (p)->lpVtbl->OnInactiveSetCursor(p,a,b,d,e)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IAdviseSinkEx interface
|
||||
*/
|
||||
#define INTERFACE IAdviseSinkEx
|
||||
#define IAdviseSinkEx_METHODS \
|
||||
IAdviseSink_METHODS \
|
||||
STDMETHOD(OnViewStatusChange)(THIS_ DWORD dwViewStatus) PURE;
|
||||
ICOM_DEFINE(IAdviseSinkEx,IAdviseSink)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAdviseSinkEx_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IAdviseSinkEx_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IAdviseSinkEx_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IAdviseSink methods ***/
|
||||
#define IAdviseSinkEx_OnDataChange(p,a,b) (p)->lpVtbl->OnDataChange(p,a,b)
|
||||
#define IAdviseSinkEx_OnViewChange(p,a,b) (p)->lpVtbl->OnViewChange(p,a,b)
|
||||
#define IAdviseSinkEx_OnRename(p,a) (p)->lpVtbl->OnRename(p,a)
|
||||
#define IAdviseSinkEx_OnSave(p) (p)->lpVtbl->OnSave(p)
|
||||
#define IAdviseSinkEx_OnClose(p) (p)->lpVtbl->OnClose(p)
|
||||
/*** IAdviseSinkEx methods ***/
|
||||
#define IAdviseSinkEx_OnViewStatusChange(p,a) (p)->lpVtbl->OnViewStatusChange(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleUndoManager interface
|
||||
*/
|
||||
#define INTERFACE IOleUndoManager
|
||||
#define IOleUndoManager_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Open)(THIS_ IOleParentUndoUnit *pPUU) PURE; \
|
||||
STDMETHOD(Close)(THIS_ IOleParentUndoUnit *pPUU, BOOL fCommit) PURE; \
|
||||
STDMETHOD(Add)(THIS_ IOleUndoUnit *pUU) PURE; \
|
||||
STDMETHOD(GetOpenParentState)(THIS_ DWORD *pdwState) PURE; \
|
||||
STDMETHOD(DiscardFrom)(THIS_ IOleUndoUnit *pUU) PURE; \
|
||||
STDMETHOD(UndoTo)(THIS_ IOleUndoUnit *pUU) PURE; \
|
||||
STDMETHOD(RedoTo)(THIS_ IOleUndoUnit *pUU) PURE; \
|
||||
STDMETHOD(EnumUndoable)(THIS_ IEnumOleUndoUnits **ppEnum) PURE; \
|
||||
STDMETHOD(EnumRedoable)(THIS_ IEnumOleUndoUnits **ppEnum) PURE; \
|
||||
STDMETHOD(GetLastUndoDescription)(THIS_ BSTR *pBstr) PURE; \
|
||||
STDMETHOD(GetLastRedoDescription)(THIS_ BSTR *pBstr) PURE; \
|
||||
STDMETHOD(Enable)(THIS_ BOOL fEnable) PURE;
|
||||
ICOM_DEFINE(IOleUndoManager,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleUndoManager_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleUndoManager_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleUndoManager_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleUndoManager methods ***/
|
||||
#define IOleUndoManager_Open(p,a) (p)->lpVtbl->Open(p,a)
|
||||
#define IOleUndoManager_Close(p,a,b) (p)->lpVtbl->Close(p,a,b)
|
||||
#define IOleUndoManager_Add(p,a) (p)->lpVtbl->Add(p,a)
|
||||
#define IOleUndoManager_GetOpenParentState(p,a) (p)->lpVtbl->GetOpenParentState(p,a)
|
||||
#define IOleUndoManager_DiscardFrom(p,a) (p)->lpVtbl->DiscardFrom(p,a)
|
||||
#define IOleUndoManager_UndoTo(p,a) (p)->lpVtbl->UndoTo(p,a)
|
||||
#define IOleUndoManager_RedoTo(p,a) (p)->lpVtbl->RedoTo(p,a)
|
||||
#define IOleUndoManager_EnumUndoable(p,a) (p)->lpVtbl->EnumUndoable(p,a)
|
||||
#define IOleUndoManager_EnumRedoable(p,a) (p)->lpVtbl->EnumRedoable(p,a)
|
||||
#define IOleUndoManager_GetLastUndoDescription(p,a) (p)->lpVtbl->GetLastUndoDescription(p,a)
|
||||
#define IOleUndoManager_GetLastRedoDescription(p,a) (p)->lpVtbl->GetLastRedoDescription(p,a)
|
||||
#define IOleUndoManager_Enable(p,a) (p)->lpVtbl->Enable(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleUndoUnit interface
|
||||
*/
|
||||
#define INTERFACE IOleUndoUnit
|
||||
#define IOleUndoUnit_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Do)(THIS_ IOleUndoManager *pUndoManager) PURE; \
|
||||
STDMETHOD(GetDescription)(THIS_ BSTR *pBstr) PURE; \
|
||||
STDMETHOD(GetUnitType)(THIS_ CLSID *pClsid, LONG *plID) PURE; \
|
||||
STDMETHOD(OnNextAdd)(THIS) PURE;
|
||||
ICOM_DEFINE(IOleUndoUnit,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleUndoUnit_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleUndoUnit_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleUndoUnit_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleUndoUnit methods ***/
|
||||
#define IOleUndoUnit_Do(p,a) (p)->lpVtbl->Do(p,a)
|
||||
#define IOleUndoUnit_GetDescription(p,a) (p)->lpVtbl->GetDescription(p,a)
|
||||
#define IOleUndoUnit_GetUnitType(p,a,b) (p)->lpVtbl->GetUnitType(p,a,b)
|
||||
#define IOleUndoUnit_OnNextAdd(p) (p)->lpVtbl->OnNextAdd(p)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IOleUndoUnit interface
|
||||
*/
|
||||
#define INTERFACE IOleParentUndoUnit
|
||||
#define IOleParentUndoUnit_METHODS \
|
||||
IOleUndoUnit_METHODS \
|
||||
STDMETHOD(Open)(THIS_ IOleParentUndoUnit *pPUU) PURE; \
|
||||
STDMETHOD(Close)(THIS_ IOleParentUndoUnit *pPUU, BOOL fCommit) PURE; \
|
||||
STDMETHOD(Add)(THIS_ IOleUndoUnit *pUU) PURE; \
|
||||
STDMETHOD(FindUnit)(THIS_ IOleUndoUnit *pUU) PURE; \
|
||||
STDMETHOD(GetParentState)(THIS_ DWORD *pdwState) PURE;
|
||||
ICOM_DEFINE(IOleParentUndoUnit,IOleUndoUnit)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IOleParentUndoUnit_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IOleParentUndoUnit_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IOleParentUndoUnit_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IOleUndoUnit methods ***/
|
||||
#define IOleParentUndoUnit_Do(p,a) (p)->lpVtbl->Do(p,a)
|
||||
#define IOleParentUndoUnit_GetDescription(p,a) (p)->lpVtbl->GetDescription(p,a)
|
||||
#define IOleParentUndoUnit_GetUnitType(p,a,b) (p)->lpVtbl->GetUnitType(p,a,b)
|
||||
#define IOleParentUndoUnit_OnNextAdd(p) (p)->lpVtbl->OnNextAdd(p)
|
||||
/*** IOleParentUndoUnit methods ***/
|
||||
#define IOleParentUndoUnit_Open(p,a) (p)->lpVtbl->Open(p,a)
|
||||
#define IOleParentUndoUnit_Close(p,a,b) (p)->lpVtbl->Close(p,a,b)
|
||||
#define IOleParentUndoUnit_Add(p,a) (p)->lpVtbl->Add(p,a)
|
||||
#define IOleParentUndoUnit_FindUnit(p,a) (p)->lpVtbl->FindUnit(p,a)
|
||||
#define IOleParentUndoUnit_GetParentState(p,a,b) (p)->lpVtbl->GetParentState(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumOleUndoUnits interface
|
||||
*/
|
||||
#define INTERFACE IEnumOleUndoUnits
|
||||
#define IEnumOleUndoUnits_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Next)(THIS_ ULONG cElt, IOleUndoUnit **rgElt, ULONG *pcEltFetched) PURE; \
|
||||
STDMETHOD(Skip)(THIS_ ULONG cElt) PURE; \
|
||||
STDMETHOD(Reset)(THIS) PURE; \
|
||||
STDMETHOD(Clone)(THIS_ IEnumOleUndoUnits **ppEnum) PURE;
|
||||
ICOM_DEFINE(IEnumOleUndoUnits,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumOleUndoUnits_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumOleUndoUnits_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumOleUndoUnits_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IEnumOleUndoUnits methods ***/
|
||||
#define IEnumOleUndoUnits_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumOleUndoUnits_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#define IEnumOleUndoUnits_Reset(p,a) (p)->lpVtbl->Reset(p,a)
|
||||
#define IEnumOleUndoUnits_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* __WINE_WINE_OBJ_OLEUNDO_H */
|
|
@ -1,125 +0,0 @@
|
|||
/*
|
||||
* Defines the COM interfaces and APIs related to OLE picture support.
|
||||
*
|
||||
* Depends on 'obj_base.h'.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef __WINE_WINE_OBJ_PICTURE_H
|
||||
#define __WINE_WINE_OBJ_PICTURE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the structures
|
||||
*/
|
||||
typedef UINT OLE_HANDLE;
|
||||
typedef LONG OLE_XPOS_HIMETRIC;
|
||||
typedef LONG OLE_YPOS_HIMETRIC;
|
||||
typedef LONG OLE_XSIZE_HIMETRIC;
|
||||
typedef LONG OLE_YSIZE_HIMETRIC;
|
||||
|
||||
typedef enum tagPicture { /* bitmasks */
|
||||
PICTURE_SCALABLE = 0x1,
|
||||
PICTURE_TRANSPARENT = 0x2
|
||||
} PICTUREATTRIBUTES;
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interfaces
|
||||
*/
|
||||
DEFINE_GUID(IID_IPicture, 0x7bf80980, 0xbf32, 0x101a, 0x8b, 0xbb, 0x00, 0xAA, 0x00, 0x30, 0x0C, 0xAB);
|
||||
typedef struct IPicture IPicture, *LPPICTURE;
|
||||
|
||||
DEFINE_GUID(IID_IPictureDisp, 0x7bf80981, 0xbf32, 0x101a, 0x8b, 0xbb, 0x00, 0xAA, 0x00, 0x30, 0x0C, 0xAB);
|
||||
typedef struct IPictureDisp IPictureDisp, *LPPICTUREDISP;
|
||||
|
||||
/*****************************************************************************
|
||||
* IPicture interface
|
||||
*/
|
||||
#define INTERFACE IPicture
|
||||
#define IPicture_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(get_Handle)(THIS_ OLE_HANDLE *pHandle) PURE; \
|
||||
STDMETHOD(get_hPal)(THIS_ OLE_HANDLE *phPal) PURE; \
|
||||
STDMETHOD(get_Type)(THIS_ SHORT *pType) PURE; \
|
||||
STDMETHOD(get_Width)(THIS_ OLE_XSIZE_HIMETRIC *pWidth) PURE; \
|
||||
STDMETHOD(get_Height)(THIS_ OLE_YSIZE_HIMETRIC *pHeight) PURE; \
|
||||
STDMETHOD(Render)(THIS_ HDC hdc, LONG x, LONG y, LONG cx, LONG cy, OLE_XPOS_HIMETRIC xSrc, OLE_YPOS_HIMETRIC ySrc, OLE_XSIZE_HIMETRIC cxSrc, OLE_YSIZE_HIMETRIC cySrc, LPCRECT pRcWBounds) PURE; \
|
||||
STDMETHOD(set_hPal)(THIS_ OLE_HANDLE hPal) PURE; \
|
||||
STDMETHOD(get_CurDC)(THIS_ HDC *phDC) PURE; \
|
||||
STDMETHOD(SelectPicture)(THIS_ HDC hDCIn, HDC *phDCOut, OLE_HANDLE *phBmpOut) PURE; \
|
||||
STDMETHOD(get_KeepOriginalFormat)(THIS_ BOOL *pKeep) PURE; \
|
||||
STDMETHOD(put_KeepOriginalFormat)(THIS_ BOOL Keep) PURE; \
|
||||
STDMETHOD(PictureChanged)(THIS) PURE; \
|
||||
STDMETHOD(SaveAsFile)(THIS_ LPSTREAM pStream, BOOL fSaveMemCopy, LONG *pCbSize) PURE; \
|
||||
STDMETHOD(get_Attributes)(THIS_ DWORD *pDwAttr) PURE;
|
||||
ICOM_DEFINE(IPicture,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPicture_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPicture_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPicture_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPicture methods ***/
|
||||
#define IPicture_get_Handle(p,a) (p)->lpVtbl->get_Handle(p,a)
|
||||
#define IPicture_get_hPal(p,a) (p)->lpVtbl->get_hPal(p,a)
|
||||
#define IPicture_get_Type(p,a) (p)->lpVtbl->get_Type(p,a)
|
||||
#define IPicture_get_Width(p,a) (p)->lpVtbl->get_Width(p,a)
|
||||
#define IPicture_get_Height(p,a) (p)->lpVtbl->get_Height(p,a)
|
||||
#define IPicture_Render(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Render(p,a,b,c,d,e,f,g,h,i,j)
|
||||
#define IPicture_set_hPal(p,a) (p)->lpVtbl->set_hPal(p,a)
|
||||
#define IPicture_get_CurDC(p,a) (p)->lpVtbl->get_CurDC(p,a)
|
||||
#define IPicture_SelectPicture(p,a,b,c) (p)->lpVtbl->SelectPicture(p,a,b,c)
|
||||
#define IPicture_get_KeepOriginalFormat(p,a) (p)->lpVtbl->get_KeepOriginalFormat(p,a)
|
||||
#define IPicture_put_KeepOriginalFormat(p,a) (p)->lpVtbl->put_KeepOriginalFormat(p,a)
|
||||
#define IPicture_PictureChanged(p) (p)->lpVtbl->PictureChanged(p)
|
||||
#define IPicture_SaveAsFile(p,a,b,c) (p)->lpVtbl->SaveAsFile(p,a,b,c)
|
||||
#define IPicture_get_Attributes(p,a) (p)->lpVtbl->get_Attributes(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPictureDisp interface
|
||||
*/
|
||||
#define INTERFACE IPictureDisp
|
||||
#define IPictureDisp_METHODS \
|
||||
IDispatch_METHODS
|
||||
ICOM_DEFINE(IPictureDisp,IDispatch)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPictureDisp_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPictureDisp_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPictureDisp_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IDispatch methods ***/
|
||||
#define IPictureDisp_GetTypeInfoCount(p,a) (p)->lpVtbl->GetTypeInfoCount(p,a)
|
||||
#define IPictureDisp_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,b,c)
|
||||
#define IPictureDisp_GetIDsOfNames(p,a,b,c,d,e) (p)->lpVtbl->GetIDsOfNames(p,a,b,c,d,e)
|
||||
#define IPictureDisp_Invoke(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Invoke(p,a,b,c,d,e,f,g,h)
|
||||
/*** IPictureDisp methods ***/
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* __WINE_WINE_OBJ_PICTURE_H */
|
|
@ -1,511 +0,0 @@
|
|||
/*
|
||||
* Defines the COM interfaces and APIs from ocidl.h related to property
|
||||
*
|
||||
* Depends on 'obj_base.h'.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef __WINE_WINE_OBJ_PROPERTY_H
|
||||
#define __WINE_WINE_OBJ_PROPERTY_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
/*****************************************************************************
|
||||
* Declare the structures
|
||||
*/
|
||||
typedef struct tagPROPPAGEINFO
|
||||
{
|
||||
ULONG cb;
|
||||
LPOLESTR pszTitle;
|
||||
SIZE size;
|
||||
LPOLESTR pszDocString;
|
||||
LPOLESTR pszHelpFile;
|
||||
DWORD dwHelpContext;
|
||||
} PROPPAGEINFO, *LPPROPPAGEINFO;
|
||||
|
||||
typedef enum tagPROPPAGESTATUS
|
||||
{
|
||||
PROPPAGESTATUS_DIRTY = 0x1,
|
||||
PROPPAGESTATUS_VALIDATE = 0x2,
|
||||
PROPPAGESTATUS_CLEAN = 0x4
|
||||
} PROPPAGESTATUS;
|
||||
|
||||
typedef struct tagCAUUID
|
||||
{
|
||||
ULONG cElems;
|
||||
GUID* pElems;
|
||||
} CAUUID, *LPCAUUID;
|
||||
|
||||
typedef struct tagCALPOLESTR
|
||||
{
|
||||
ULONG cElems;
|
||||
LPOLESTR *pElems;
|
||||
} CALPOLESTR, *LPCALPOLESTR;
|
||||
|
||||
typedef struct tagCADWORD
|
||||
{
|
||||
ULONG cElems;
|
||||
DWORD *pElems;
|
||||
} CADWORD, *LPCADWORD;
|
||||
|
||||
|
||||
typedef enum tagPROPBAG2_TYPE
|
||||
{
|
||||
PROPBAG2_TYPE_UNDEFINED = 0,
|
||||
PROPBAG2_TYPE_DATA = 1,
|
||||
PROPBAG2_TYPE_URL = 2,
|
||||
PROPBAG2_TYPE_OBJECT = 3,
|
||||
PROPBAG2_TYPE_STREAM = 4,
|
||||
PROPBAG2_TYPE_STORAGE = 5,
|
||||
PROPBAG2_TYPE_MONIKER = 6
|
||||
} PROPBAG2_TYPE;
|
||||
|
||||
typedef struct tagPROPBAG2
|
||||
{
|
||||
DWORD dwType;
|
||||
VARTYPE vt;
|
||||
CLIPFORMAT cfType;
|
||||
DWORD dwHint;
|
||||
LPOLESTR pstrName;
|
||||
CLSID clsid;
|
||||
} PROPBAG2;
|
||||
|
||||
/*****************************************************************************
|
||||
* Predeclare the interfaces
|
||||
*/
|
||||
DEFINE_GUID(IID_IPropertyPage, 0xb196b28dL, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IPropertyPage IPropertyPage, *LPPROPERTYPAGE;
|
||||
|
||||
DEFINE_GUID(IID_IPropertyPage2, 0x01e44665L, 0x24ac, 0x101b, 0x84, 0xed, 0x08, 0x00, 0x2b, 0x2e, 0xc7, 0x13);
|
||||
typedef struct IPropertyPage2 IPropertyPage2, *LPPROPERTYPAGE2;
|
||||
|
||||
DEFINE_GUID(IID_IPropertyPageSite, 0xb196b28cL, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IPropertyPageSite IPropertyPageSite, *LPPROPERTYPAGESITE;
|
||||
|
||||
DEFINE_GUID(IID_IPropertyNotifySink, 0x9bfbbc02L, 0xeff1, 0x101a, 0x84, 0xed, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IPropertyNotifySink IPropertyNotifySink, *LPPROPERTYNOTIFYSINK;
|
||||
|
||||
DEFINE_GUID(IID_ISimpleFrameSite, 0x742b0e01L, 0x14e6, 0x101b, 0x91, 0x4e, 0x00, 0xaa, 0x00, 0x30, 0x0c, 0xab);
|
||||
typedef struct ISimpleFrameSite ISimpleFrameSite, *LPSIMPLEFRAMESITE;
|
||||
|
||||
DEFINE_GUID(IID_IPersistStreamInit, 0x7fd52380L, 0x4e07, 0x101b, 0xae, 0x2d, 0x08, 0x00, 0x2b, 0x2e, 0xc7, 0x13);
|
||||
typedef struct IPersistStreamInit IPersistStreamInit,*LPPERSISTSTREAMINIT;
|
||||
|
||||
DEFINE_GUID(IID_IPersistMemory, 0xbd1ae5e0L, 0xa6ae, 0x11ce, 0xbd, 0x37, 0x50, 0x42, 0x00, 0xc1, 0x00, 0x00);
|
||||
typedef struct IPersistMemory IPersistMemory,*LPPERSISTMEMORY;
|
||||
|
||||
DEFINE_GUID(IID_IPersistPropertyBag, 0x37d84f60, 0x42cb, 0x11ce, 0x81, 0x35, 0x00, 0xaa, 0x00, 0x4b, 0xb8, 0x51);
|
||||
typedef struct IPersistPropertyBag IPersistPropertyBag,*LPPERSISTPROPERTYBAG;
|
||||
|
||||
DEFINE_GUID(IID_IPersistPropertyBag2, 0x22f55881, 0x280b, 0x11d0, 0xa8, 0xa9, 0x00, 0xa0, 0xc9, 0x0c, 0x20, 0x04);
|
||||
typedef struct IPersistPropertyBag2 IPersistPropertyBag2,*LPPERSISTPROPERTYBAG2;
|
||||
|
||||
DEFINE_GUID(IID_IErrorLog, 0x3127ca40L, 0x446e, 0x11ce, 0x81, 0x35, 0x00, 0xaa, 0x00, 0x4b, 0xb8, 0x51);
|
||||
typedef struct IErrorLog IErrorLog,*LPERRORLOG;
|
||||
|
||||
DEFINE_GUID(IID_IPropertyBag, 0x55272a00L, 0x42cb, 0x11ce, 0x81, 0x35, 0x00, 0xaa, 0x00, 0x4b, 0xb8, 0x51);
|
||||
typedef struct IPropertyBag IPropertyBag,*LPPROPERTYBAG;
|
||||
|
||||
DEFINE_GUID(IID_IPropertyBag2, 0x22f55882, 0x280b, 0x11d0, 0xa8, 0xa9, 0x00, 0xa0, 0xc9, 0x0c, 0x20, 0x04);
|
||||
typedef struct IPropertyBag2 IPropertyBag2,*LPPROPERTYBAG2;
|
||||
|
||||
DEFINE_GUID(IID_ISpecifyPropertyPages, 0xb196b28b, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct ISpecifyPropertyPages ISpecifyPropertyPages,*LPSPECIFYPROPERTYPAGES;
|
||||
|
||||
DEFINE_GUID(IID_IPerPropertyBrowsing, 0xb196b28b, 0xbab4, 0x101a, 0xb6, 0x9c, 0x00, 0xaa, 0x00, 0x34, 0x1d, 0x07);
|
||||
typedef struct IPerPropertyBrowsing IPerPropertyBrowsing,*LPPERPROPERTYBROWSING;
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertPage interface
|
||||
*/
|
||||
#define INTERFACE IPropertyPage
|
||||
#define IPropertyPage_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(SetPageSite)(THIS_ IPropertyPageSite *pPageSite) PURE; \
|
||||
STDMETHOD(Activate)(THIS_ HWND hWndParent, LPCRECT pRect, BOOL bModal) PURE; \
|
||||
STDMETHOD(Deactivate)(THIS) PURE; \
|
||||
STDMETHOD(GetPageInfo)(THIS_ PROPPAGEINFO *pPageInfo) PURE; \
|
||||
STDMETHOD(SetObjects)(THIS_ ULONG cObjects, IUnknown **ppUnk) PURE; \
|
||||
STDMETHOD(Show)(THIS_ UINT nCmdShow) PURE; \
|
||||
STDMETHOD(Move)(THIS_ LPCRECT pRect) PURE; \
|
||||
STDMETHOD(IsPageDirty)(THIS) PURE; \
|
||||
STDMETHOD(Apply)(THIS) PURE; \
|
||||
STDMETHOD(Help)(THIS_ LPCOLESTR pszHelpDir) PURE; \
|
||||
STDMETHOD(TranslateAccelerator)(THIS_ MSG *pMsg) PURE;
|
||||
ICOM_DEFINE(IPropertyPage,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyPage_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyPage_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyPage_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyPage methods ***/
|
||||
#define IPropertyPage_SetPageSite(p,a) (p)->lpVtbl->SetPageSite(p,a)
|
||||
#define IPropertyPage_Activate(p,a,b,c) (p)->lpVtbl->Activate(p,a,b,c)
|
||||
#define IPropertyPage_Deactivate(p) (p)->lpVtbl->Deactivate(p)
|
||||
#define IPropertyPage_GetPageInfo(p,a) (p)->lpVtbl->GetPageInfo(p,a)
|
||||
#define IPropertyPage_SetObjects(p,a,b) (p)->lpVtbl->SetObjects(p,a,b)
|
||||
#define IPropertyPage_Show(p,a) (p)->lpVtbl->Show(p,a)
|
||||
#define IPropertyPage_Move(p,a) (p)->lpVtbl->Move(p,a)
|
||||
#define IPropertyPage_IsPageDirty(p) (p)->lpVtbl->IsPageDirty(p)
|
||||
#define IPropertyPage_Apply(p) (p)->lpVtbl->Apply(p)
|
||||
#define IPropertyPage_Help(p,a) (p)->lpVtbl->Help(p,a)
|
||||
#define IPropertyPage_TranslateAccelerator(p,a) (p)->lpVtbl->TranslateAccelerator(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertPage2 interface
|
||||
*/
|
||||
#define INTERFACE IPropertyPage2
|
||||
#define IPropertyPage2_METHODS \
|
||||
IPropertyPage_METHODS \
|
||||
STDMETHOD(EditProperty)(THIS_ DISPID dispID) PURE;
|
||||
ICOM_DEFINE(IPropertyPage2,IPropertyPage)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyPage2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyPage2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyPage2_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyPage methods ***/
|
||||
#define IPropertyPage2_SetPageSite(p,a) (p)->lpVtbl->SetPageSite(p,a)
|
||||
#define IPropertyPage2_Activate(p,a,b,c) (p)->lpVtbl->Activate(p,a,b,c)
|
||||
#define IPropertyPage2_Deactivate(p) (p)->lpVtbl->Deactivate(p)
|
||||
#define IPropertyPage2_GetPageInfo(p,a) (p)->lpVtbl->GetPageInfo(p,a)
|
||||
#define IPropertyPage2_SetObjects(p,a,b) (p)->lpVtbl->SetObjects(p,a,b)
|
||||
#define IPropertyPage2_Show(p,a) (p)->lpVtbl->Show(p,a)
|
||||
#define IPropertyPage2_Move(p,a) (p)->lpVtbl->Move(p,a)
|
||||
#define IPropertyPage2_IsPageDirty(p) (p)->lpVtbl->IsPageDirty(p)
|
||||
#define IPropertyPage2_Apply(p) (p)->lpVtbl->Apply(p)
|
||||
#define IPropertyPage2_Help(p,a) (p)->lpVtbl->Help(p,a)
|
||||
#define IPropertyPage2_TranslateAccelerator(p,a) (p)->lpVtbl->TranslateAccelerator(p,a)
|
||||
/*** IPropertyPage2 methods ***/
|
||||
#define IPropertyPage2_EditProperty(p,a) (p)->lpVtbl->EditProperty(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertPageSite interface
|
||||
*/
|
||||
#define INTERFACE IPropertyPageSite
|
||||
#define IPropertyPageSite_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(OnStatusChange)(THIS_ DWORD dwFlags) PURE; \
|
||||
STDMETHOD(GetLocaleID)(THIS_ LCID *pLocaleID) PURE; \
|
||||
STDMETHOD(GetPageContainer)(THIS_ IUnknown **ppUnk) PURE; \
|
||||
STDMETHOD(TranslateAccelerator)(THIS_ MSG *pMsg) PURE;
|
||||
ICOM_DEFINE(IPropertyPageSite,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyPageSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyPageSite_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyPageSite_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyPageSite methods ***/
|
||||
#define IPropertyPageSite_OnStatusChange(p,a) (p)->lpVtbl->OnStatusChange(p,a)
|
||||
#define IPropertyPageSite_GetLocaleID(p,a) (p)->lpVtbl->GetLocaleID(p,a)
|
||||
#define IPropertyPageSite_GetPageContainer(p,a) (p)->lpVtbl->GetPageContainer(p,a)
|
||||
#define IPropertyPageSite_TranslateAccelerator(p,a) (p)->lpVtbl->TranslateAccelerator(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertyNotifySink interface
|
||||
*/
|
||||
#define INTERFACE IPropertyNotifySink
|
||||
#define IPropertyNotifySink_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(OnChanged)(THIS_ DISPID dispID) PURE; \
|
||||
STDMETHOD(OnRequestEdit)(THIS_ DISPID dispID) PURE;
|
||||
ICOM_DEFINE(IPropertyNotifySink,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyNotifySink_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyNotifySink_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyNotifySink_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyNotifySink methods ***/
|
||||
#define IPropertyNotifySink_OnChanged(p,a) (p)->lpVtbl->OnChanged(p,a)
|
||||
#define IPropertyNotifySink_OnRequestEdit(p,a) (p)->lpVtbl->OnRequestEdit(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertyNotifySink interface
|
||||
*/
|
||||
#define INTERFACE ISimpleFrameSite
|
||||
#define ISimpleFrameSite_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(PreMessageFilter)(THIS_ HWND hWnd, UINT msg, WPARAM wp, LPARAM lp, LRESULT *plResult, DWORD *pwdCookie) PURE; \
|
||||
STDMETHOD(PostMessageFilter)(THIS_ HWND hWnd, UINT msg, WPARAM wp, LPARAM lp, LRESULT *plResult, DWORD pwdCookie) PURE;
|
||||
ICOM_DEFINE(ISimpleFrameSite,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define ISimpleFrameSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define ISimpleFrameSite_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define ISimpleFrameSite_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyNotifySink methods ***/
|
||||
#define ISimpleFrameSite_PreMessageFilter(p,a,b,c,d,e,f) (p)->lpVtbl->PreMessageFilter(p,a,b,c,d,e,f)
|
||||
#define ISimpleFrameSite_PostMessageFilter(p,a,b,c,d,e,f) (p)->lpVtbl->PostMessageFilter(p,a,b,c,d,e,f)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPersistStreamInit interface
|
||||
*/
|
||||
#define INTERFACE IPersistStreamInit
|
||||
#define IPersistStreamInit_METHODS \
|
||||
IPersist_METHODS \
|
||||
STDMETHOD(IsDirty)(THIS) PURE; \
|
||||
STDMETHOD(Load)(THIS_ LPSTREAM pStm) PURE; \
|
||||
STDMETHOD(Save)(THIS_ LPSTREAM pStm, BOOL fClearDirty) PURE; \
|
||||
STDMETHOD(GetSizeMax)(THIS_ ULARGE_INTEGER *pcbSize) PURE; \
|
||||
STDMETHOD(InitNew)(THIS) PURE;
|
||||
ICOM_DEFINE(IPersistStreamInit,IPersist)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPersistStreamInit_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPersistStreamInit_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPersistStreamInit_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPersist methods ***/
|
||||
#define IPersistStreamInit_GetClassID(p,a) (p)->lpVtbl->GetClassID(p,a)
|
||||
/*** IPersistStreamInit methods ***/
|
||||
#define IPersistStreamInit_IsDirty(p) (p)->lpVtbl->IsDirty(p)
|
||||
#define IPersistStreamInit_Load(p,a) (p)->lpVtbl->Load(p,a)
|
||||
#define IPersistStreamInit_Save(p,a,b) (p)->lpVtbl->Save(p,a,b)
|
||||
#define IPersistStreamInit_GetSizeMax(p,a) (p)->lpVtbl->GetSizeMax(p,a)
|
||||
#define IPersistStreamInit_InitNew(p) (p)->lpVtbl->InitNew(p)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPersistMemory interface
|
||||
*/
|
||||
#define INTERFACE IPersistMemory
|
||||
#define IPersistMemory_METHODS \
|
||||
IPersist_METHODS \
|
||||
STDMETHOD(IsDirty)(THIS) PURE; \
|
||||
STDMETHOD(Load)(THIS_ LPVOID pMem, ULONG cbSize) PURE; \
|
||||
STDMETHOD(Save)(THIS_ LPVOID pMem, BOOL fClearDirty, ULONG cbSize) PURE; \
|
||||
STDMETHOD(GetSizeMax)(THIS_ ULONG *pCbSize) PURE; \
|
||||
STDMETHOD(InitNew)(THIS) PURE;
|
||||
ICOM_DEFINE(IPersistMemory,IPersist)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPersistMemory_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPersistMemory_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPersistMemory_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPersist methods ***/
|
||||
#define IPersistMemory_GetClassID(p,a) (p)->lpVtbl->GetClassID(p,a)
|
||||
/*** IPersistMemory methods ***/
|
||||
#define IPersistMemory_IsDirty(p) (p)->lpVtbl->IsDirty(p)
|
||||
#define IPersistMemory_Load(p,a,b) (p)->lpVtbl->Load(p,a,b)
|
||||
#define IPersistMemory_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c)
|
||||
#define IPersistMemory_GetSizeMax(p,a) (p)->lpVtbl->GetSizeMax(p,a)
|
||||
#define IPersistMemory_InitNew(p) (p)->lpVtbl->InitNew(p)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPersistPropertyBag interface
|
||||
*/
|
||||
#define INTERFACE IPersistPropertyBag
|
||||
#define IPersistPropertyBag_METHODS \
|
||||
IPersist_METHODS \
|
||||
STDMETHOD(InitNew)(THIS) PURE; \
|
||||
STDMETHOD(Load)(THIS_ IPropertyBag *pPropBag, IErrorLog *pErrorLog) PURE; \
|
||||
STDMETHOD(Save)(THIS_ IPropertyBag *pPropBag, BOOL fClearDirty, BOOL fSaveAllProperties) PURE;
|
||||
ICOM_DEFINE(IPersistPropertyBag,IPersist)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPersistPropertyBag_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPersistPropertyBag_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPersistPropertyBag_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPersist methods ***/
|
||||
#define IPersistPropertyBag_GetClassID(p,a) (p)->lpVtbl->GetClassID(p,a)
|
||||
/*** IPersistPropertyBag methods ***/
|
||||
#define IPersistPropertyBag_InitNew(p) (p)->lpVtbl->InitNew(p)
|
||||
#define IPersistPropertyBag_Load(p,a,b) (p)->lpVtbl->Load(p,a,b)
|
||||
#define IPersistPropertyBag_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPersistPropertyBag2 interface
|
||||
*/
|
||||
#define INTERFACE IPersistPropertyBag2
|
||||
#define IPersistPropertyBag2_METHODS \
|
||||
IPersist_METHODS \
|
||||
STDMETHOD(InitNew)(THIS) PURE; \
|
||||
STDMETHOD(Load)(THIS_ IPropertyBag2 *pPropBag, IErrorLog *pErrorLog) PURE; \
|
||||
STDMETHOD(Save)(THIS_ IPropertyBag2 *pPropBag, BOOL fClearDirty, BOOL fSaveAllProperties) PURE; \
|
||||
STDMETHOD(IsDirty)(THIS) PURE;
|
||||
ICOM_DEFINE(IPersistPropertyBag2,IPersist)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPersistPropertyBag2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPersistPropertyBag2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPersistPropertyBag2_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPersist methods ***/
|
||||
#define IPersistPropertyBag2_GetClassID(p,a) (p)->lpVtbl->GetClassID(p,a)
|
||||
/*** IPersistPropertyBag methods ***/
|
||||
#define IPersistPropertyBag2_InitNew(p) (p)->lpVtbl->InitNew(p)
|
||||
#define IPersistPropertyBag2_Load(p,a,b) (p)->lpVtbl->Load(p,a,b)
|
||||
#define IPersistPropertyBag2_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c)
|
||||
#define IPersistPropertyBag2_IsDirty(p) (p)->lpVtbl->IsDirty(p)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IErrorLog interface
|
||||
*/
|
||||
#define INTERFACE IErrorLog
|
||||
#define IErrorLog_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(AddError)(THIS_ LPCOLESTR pszPropName, EXCEPINFO *pExcepInfo) PURE;
|
||||
ICOM_DEFINE(IErrorLog,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IErrorLog_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IErrorLog_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IErrorLog_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IErrorLog methods ***/
|
||||
#define IErrorLog_AddError(p,a,b) (p)->lpVtbl->GetClassID(p,a,b)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertyBag interface
|
||||
*/
|
||||
#define INTERFACE IPropertyBag
|
||||
#define IPropertyBag_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Read)(THIS_ LPCOLESTR pszPropName, VARIANT *pVar, IErrorLog *pErrorLog) PURE; \
|
||||
STDMETHOD(Write)(THIS_ LPCOLESTR pszPropName, VARIANT *pVar) PURE;
|
||||
ICOM_DEFINE(IPropertyBag,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyBag_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyBag_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyBag_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyBag methods ***/
|
||||
#define IPropertyBag_Read(p,a,b,c) (p)->lpVtbl->Read(p,a,b,c)
|
||||
#define IPropertyBag_Write(p,a,b) (p)->lpVtbl->Write(p,a,b)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertyBag2 interface
|
||||
*/
|
||||
#define INTERFACE IPropertyBag2
|
||||
#define IPropertyBag2_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(Read)(THIS_ ULONG cProperties, PROPBAG2 *pPropBag, IErrorLog *pErrLog, VARIANT *pvarValue, HRESULT *phrError) PURE; \
|
||||
STDMETHOD(Write)(THIS_ ULONG cProperties, PROPBAG2 *pPropBag, VARIANT *pvarValue) PURE; \
|
||||
STDMETHOD(CountProperties)(THIS_ ULONG *pcProperties) PURE; \
|
||||
STDMETHOD(GetPropertyInfo)(THIS_ ULONG iProperty, ULONG cProperties, PROPBAG2 *pPropBag, ULONG *pcProperties) PURE; \
|
||||
STDMETHOD(LoadObject)(THIS_ LPCOLESTR pstrName, DWORD dwHint, IUnknown *pUnkObject, IErrorLog *pErrLog) PURE;
|
||||
ICOM_DEFINE(IPropertyBag2,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyBag2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyBag2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyBag2_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyBag methods ***/
|
||||
#define IPropertyBag2_Read(p,a,b,c,d,e) (p)->lpVtbl->Read(p,a,b,c,d,e)
|
||||
#define IPropertyBag2_Write(p,a,b,c) (p)->lpVtbl->Write(p,a,b,c)
|
||||
#define IPropertyBag2_CountProperties(p,a) (p)->lpVtbl->CountProperties(p,a)
|
||||
#define IPropertyBag2_GetPropertyInfo(p,a,b,c,d) (p)->lpVtbl->GetPropertyInfo(p,a,b,c,d)
|
||||
#define IPropertyBag2_LoadObject(p,a,b,c,d) (p)->lpVtbl->LoadObject(p,a,b,c,d)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* ISpecifyPropertyPages interface
|
||||
*/
|
||||
#define INTERFACE ISpecifyPropertyPages
|
||||
#define ISpecifyPropertyPages_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(GetPages)(THIS_ CAUUID *pPages) PURE;
|
||||
ICOM_DEFINE(ISpecifyPropertyPages,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define ISpecifyPropertyPages_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define ISpecifyPropertyPages_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define ISpecifyPropertyPages_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** ISpecifyPropertyPages methods ***/
|
||||
#define ISpecifyPropertyPages_GetPages(p,a) (p)->lpVtbl->GetPages(p,a)
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IPerPropertyBrowsing interface
|
||||
*/
|
||||
#define INTERFACE IPerPropertyBrowsing
|
||||
#define IPerPropertyBrowsing_METHODS \
|
||||
IUnknown_METHODS \
|
||||
STDMETHOD(GetDisplayString)(THIS_ DISPID dispID, BSTR *pBstr) PURE; \
|
||||
STDMETHOD(MapPropertyToPage)(THIS_ DISPID dispID, CLSID *pClsid) PURE; \
|
||||
STDMETHOD(GetPredefinedStrings)(THIS_ DISPID dispID, CALPOLESTR *pCaStringsOut, CADWORD *pCaCookiesOut) PURE; \
|
||||
STDMETHOD(GetPredefinedValue)(THIS_ DISPID dispID, DWORD dwCookie, VARIANT *pVarOut) PURE;
|
||||
ICOM_DEFINE(IPerPropertyBrowsing,IUnknown)
|
||||
#undef INTERFACE
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPerPropertyBrowsing_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPerPropertyBrowsing_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPerPropertyBrowsing_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPerPropertyBrowsing methods ***/
|
||||
#define IPerPropertyBrowsing_GetDisplayString(p,a,b) (p)->lpVtbl->GetDisplayString(p,a,b)
|
||||
#define IPerPropertyBrowsing_MapPropertyToPage(p,a,b) (p)->lpVtbl->MapPropertyToPage(p,a,b)
|
||||
#define IPerPropertyBrowsing_GetPredefinedStrings(p,a,b,c) (p)->lpVtbl->GetPredefinedStrings(p,a,b,c)
|
||||
#define IPerPropertyBrowsing_GetPredefinedValue(p,a,b,c) (p)->lpVtbl->GetPredefinedValue(p,a,b,c)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* __WINE_WINE_OBJ_PROPERTY_H */
|
Loading…
Reference in New Issue