* include/olectl.h (IOleControl,IOleControlSite,ISimpleFrameSite,

IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
	IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
	IProvideClassInfo2,IConnectionPointContainer,
	IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
	IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
	IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
	IPicture,IPictureDisp): Move from here to...
	* include/ocidl.h (IOleControl,IOleControlSite,ISimpleFrameSite,
	IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
	IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
	IProvideClassInfo2,IConnectionPointContainer,
	IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
	IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
	IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
	IPicture,IPictureDisp): Here, as per documentation.
This commit is contained in:
Danny Smith 2003-05-12 10:43:08 +00:00
parent e9a398893f
commit 214d1b21cb
3 changed files with 404 additions and 361 deletions

View File

@ -1,3 +1,22 @@
2003-05-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/olectl.h (IOleControl,IOleControlSite,ISimpleFrameSite,
IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
IProvideClassInfo2,IConnectionPointContainer,
IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
IPicture,IPictureDisp): Move from here to...
* include/ocidl.h (IOleControl,IOleControlSite,ISimpleFrameSite,
IErrorLog,IPropertyBag,IPersistPropertyBag,IPersistStreamInit,
IPersistMemory,IPropertyNotifySink,IProvideClassInfo,
IProvideClassInfo2,IConnectionPointContainer,
IEnumConnectionPoints,IConnectionPoint,IEnumConnections,
IClassFactory2,ISpecifyPropertyPages,IPerPropertyBrowsing,
IPropertyPageSite,IPropertyPage,IPropertyPage2,IFont,IFontDisp,
IPicture,IPictureDisp): Here, as per documentation.
2003-05-12 Mattia Barbon <mbarbon@dsi.unive.it>
* include/oleauto.h (VarR8FromDec, VarDecFromR8): Add prototypes.

View File

@ -15,6 +15,391 @@ typedef enum tagREADYSTATE {
READYSTATE_COMPLETE = 4
} READYSTATE;
EXTERN_C const IID IID_IOleControl;
#undef INTERFACE
#define INTERFACE IOleControl
DECLARE_INTERFACE_(IOleControl,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetControlInfo)(THIS_ LPCONTROLINFO) PURE;
STDMETHOD(OnMnemonic)(THIS_ LPMSG) PURE;
STDMETHOD(OnAmbientPropertyChange)(THIS_ DISPID) PURE;
STDMETHOD(FreezeEvents)(THIS_ BOOL) PURE;
};
EXTERN_C const IID IID_IOleControlSite;
#undef INTERFACE
#define INTERFACE IOleControlSite
DECLARE_INTERFACE_(IOleControlSite,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(OnControlInfoChanged)(THIS) PURE;
STDMETHOD(LockInPlaceActive)(THIS_ BOOL) PURE;
STDMETHOD(GetExtendedControl)(THIS_ LPDISPATCH*) PURE;
STDMETHOD(TransformCoords)(THIS_ POINTL*,POINTF*,DWORD) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG,DWORD) PURE;
STDMETHOD(OnFocus)(THIS_ BOOL) PURE;
STDMETHOD(ShowPropertyFrame)(THIS) PURE;
};
EXTERN_C const IID IID_ISimpleFrameSite;
#undef INTERFACE
#define INTERFACE ISimpleFrameSite
DECLARE_INTERFACE_(ISimpleFrameSite,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(PreMessageFilter)(THIS_ HWND,UINT,WPARAM,LPARAM,LRESULT*,PDWORD) PURE;
STDMETHOD(PostMessageFilter)(THIS_ HWND,UINT,WPARAM,LPARAM,LRESULT*,DWORD) PURE;
};
EXTERN_C const IID IID_IErrorLog;
#undef INTERFACE
#define INTERFACE IErrorLog
DECLARE_INTERFACE_(IErrorLog,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(AddError)(THIS_ LPCOLESTR,LPEXCEPINFO) PURE;
};
EXTERN_C const IID IID_IPropertyBag;
#undef INTERFACE
#define INTERFACE IPropertyBag
DECLARE_INTERFACE_(IPropertyBag,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(Read)(THIS_ LPCOLESTR,LPVARIANT,LPERRORLOG) PURE;
STDMETHOD(Write)(THIS_ LPCOLESTR,LPVARIANT) PURE;
};
EXTERN_C const IID IID_IPersistPropertyBag;
#undef INTERFACE
#define INTERFACE IPersistPropertyBag
DECLARE_INTERFACE_(IPersistPropertyBag,IPersist)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassID)(THIS_ LPCLSID) PURE;
STDMETHOD(InitNew)(THIS) PURE;
STDMETHOD(Load)(THIS_ LPPROPERTYBAG,LPERRORLOG) PURE;
STDMETHOD(Save)(THIS_ LPPROPERTYBAG,BOOL,BOOL) PURE;
};
EXTERN_C const IID IID_IPersistStreamInit;
#undef INTERFACE
#define INTERFACE IPersistStreamInit
DECLARE_INTERFACE_(IPersistStreamInit,IPersist)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassID)(THIS_ LPCLSID) PURE;
STDMETHOD(IsDirty)(THIS) PURE;
STDMETHOD(Load)(THIS_ LPSTREAM) PURE;
STDMETHOD(Save)(THIS_ LPSTREAM,BOOL) PURE;
STDMETHOD(GetSizeMax)(THIS_ PULARGE_INTEGER) PURE;
STDMETHOD(InitNew)(THIS) PURE;
};
EXTERN_C const IID IID_IPersistMemory;
#undef INTERFACE
#define INTERFACE IPersistMemory
DECLARE_INTERFACE_(IPersistMemory,IPersist)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassID)(THIS_ LPCLSID) PURE;
STDMETHOD(IsDirty)(THIS) PURE;
STDMETHOD(Load)(THIS_ PVOID,ULONG) PURE;
STDMETHOD(Save)(THIS_ PVOID,BOOL,ULONG) PURE;
STDMETHOD(GetSizeMax)(THIS_ PULONG) PURE;
STDMETHOD(InitNew)(THIS) PURE;
};
EXTERN_C const IID IID_IPropertyNotifySink;
#undef INTERFACE
#define INTERFACE IPropertyNotifySink
DECLARE_INTERFACE_(IPropertyNotifySink,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(OnChanged)(THIS_ DISPID) PURE;
STDMETHOD(OnRequestEdit)(THIS_ DISPID) PURE;
};
EXTERN_C const IID IID_IProvideClassInfo;
#undef INTERFACE
#define INTERFACE IProvideClassInfo
DECLARE_INTERFACE_(IProvideClassInfo,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassInfo)(THIS_ LPTYPEINFO*) PURE;
};
EXTERN_C const IID IID_IProvideClassInfo2;
#undef INTERFACE
#define INTERFACE IProvideClassInfo2
DECLARE_INTERFACE_(IProvideClassInfo2,IProvideClassInfo)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassInfo)(THIS_ LPTYPEINFO*) PURE;
STDMETHOD(GetGUID)(THIS_ DWORD,GUID*) PURE;
};
EXTERN_C const IID IID_IConnectionPointContainer;
#undef INTERFACE
#define INTERFACE IConnectionPointContainer
DECLARE_INTERFACE_(IConnectionPointContainer,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(EnumConnectionPoints)(THIS_ LPENUMCONNECTIONPOINTS*) PURE;
STDMETHOD(FindConnectionPoint)(THIS_ REFIID,LPCONNECTIONPOINT*) PURE;
};
EXTERN_C const IID IID_IEnumConnectionPoints;
#undef INTERFACE
#define INTERFACE IEnumConnectionPoints
DECLARE_INTERFACE_(IEnumConnectionPoints,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(Next)(THIS_ ULONG,LPCONNECTIONPOINT*,ULONG*) PURE;
STDMETHOD(Skip)(THIS_ ULONG) PURE;
STDMETHOD(Reset)(THIS) PURE;
STDMETHOD(Clone)(THIS_ LPENUMCONNECTIONPOINTS*) PURE;
};
EXTERN_C const IID IID_IConnectionPoint;
#undef INTERFACE
#define INTERFACE IConnectionPoint
DECLARE_INTERFACE_(IConnectionPoint,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetConnectionInterface)(THIS_ IID*) PURE;
STDMETHOD(GetConnectionPointContainer)(THIS_ IConnectionPointContainer**) PURE;
STDMETHOD(Advise)(THIS_ LPUNKNOWN,PDWORD) PURE;
STDMETHOD(Unadvise)(THIS_ DWORD) PURE;
STDMETHOD(EnumConnections)(THIS_ LPENUMCONNECTIONS*) PURE;
};
EXTERN_C const IID IID_IEnumConnections;
#undef INTERFACE
#define INTERFACE IEnumConnections
DECLARE_INTERFACE_(IEnumConnections,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(Next)(THIS_ ULONG,LPCONNECTDATA,PULONG) PURE;
STDMETHOD(Skip)(THIS_ ULONG) PURE;
STDMETHOD(Reset)(THIS) PURE;
STDMETHOD(Clone)(THIS_ LPENUMCONNECTIONS*) PURE;
};
EXTERN_C const IID IID_IClassFactory2;
#undef INTERFACE
#define INTERFACE IClassFactory2
DECLARE_INTERFACE_(IClassFactory2,IClassFactory)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(CreateInstance)(THIS_ LPUNKNOWN,REFIID,PVOID*) PURE;
STDMETHOD(LockServer)(THIS_ BOOL) PURE;
STDMETHOD(GetLicInfo)(THIS_ LPLICINFO) PURE;
STDMETHOD(RequestLicKey)(THIS_ DWORD,BSTR*) PURE;
STDMETHOD(CreateInstanceLic)(THIS_ LPUNKNOWN,LPUNKNOWN,REFIID,BSTR,PVOID*) PURE;
};
EXTERN_C const IID IID_ISpecifyPropertyPages;
#undef INTERFACE
#define INTERFACE ISpecifyPropertyPages
DECLARE_INTERFACE_(ISpecifyPropertyPages,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetPages)(THIS_ CAUUID*) PURE;
};
EXTERN_C const IID IID_IPerPropertyBrowsing;
#undef INTERFACE
#define INTERFACE IPerPropertyBrowsing
DECLARE_INTERFACE_(IPerPropertyBrowsing,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetDisplayString)(THIS_ DISPID,BSTR*) PURE;
STDMETHOD(MapPropertyToPage)(THIS_ DISPID,LPCLSID) PURE;
STDMETHOD(GetPredefinedStrings)(THIS_ DISPID,CALPOLESTR*,CADWORD*) PURE;
STDMETHOD(GetPredefinedValue)(THIS_ DISPID,DWORD,VARIANT*) PURE;
};
EXTERN_C const IID IID_IPropertyPageSite;
#undef INTERFACE
#define INTERFACE IPropertyPageSite
DECLARE_INTERFACE_(IPropertyPageSite,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(OnStatusChange)(THIS_ DWORD) PURE;
STDMETHOD(GetLocaleID)(THIS_ LCID*) PURE;
STDMETHOD(GetPageContainer)(THIS_ LPUNKNOWN*) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG) PURE;
};
EXTERN_C const IID IID_IPropertyPage;
#undef INTERFACE
#define INTERFACE IPropertyPage
DECLARE_INTERFACE_(IPropertyPage,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(SetPageSite)(THIS_ LPPROPERTYPAGESITE) PURE;
STDMETHOD(Activate)(THIS_ HWND,LPCRECT,BOOL) PURE;
STDMETHOD(Deactivate)(THIS) PURE;
STDMETHOD(GetPageInfo)(THIS_ LPPROPPAGEINFO) PURE;
STDMETHOD(SetObjects)(THIS_ ULONG,LPUNKNOWN*) PURE;
STDMETHOD(Show)(THIS_ UINT) PURE;
STDMETHOD(Move)(THIS_ LPCRECT) PURE;
STDMETHOD(IsPageDirty)(THIS) PURE;
STDMETHOD(Apply)(THIS) PURE;
STDMETHOD(Help)(THIS_ LPCOLESTR) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG) PURE;
};
EXTERN_C const IID IID_IPropertyPage2;
#undef INTERFACE
#define INTERFACE IPropertyPage2
DECLARE_INTERFACE_(IPropertyPage2,IPropertyPage)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(SetPageSite)(THIS_ LPPROPERTYPAGESITE) PURE;
STDMETHOD(Activate)(THIS_ HWND,LPCRECT,BOOL) PURE;
STDMETHOD(Deactivate)(THIS) PURE;
STDMETHOD(GetPageInfo)(THIS_ LPPROPPAGEINFO) PURE;
STDMETHOD(SetObjects)(THIS_ ULONG,LPUNKNOWN*) PURE;
STDMETHOD(Show)(THIS_ UINT) PURE;
STDMETHOD(Move)(THIS_ LPCRECT) PURE;
STDMETHOD(IsPageDirty)(THIS) PURE;
STDMETHOD(Apply)(THIS) PURE;
STDMETHOD(Help)(THIS_ LPCOLESTR) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG) PURE;
STDMETHOD(EditProperty)(THIS_ DISPID) PURE;
};
EXTERN_C const IID IID_IFont;
#undef INTERFACE
#define INTERFACE IFont
DECLARE_INTERFACE_(IFont,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(get_Name)(THIS_ BSTR*) PURE;
STDMETHOD(put_Name)(THIS_ BSTR) PURE;
STDMETHOD(get_Size)(THIS_ CY*) PURE;
STDMETHOD(put_Size)(THIS_ CY) PURE;
STDMETHOD(get_Bold)(THIS_ BOOL*) PURE;
STDMETHOD(put_Bold)(THIS_ BOOL) PURE;
STDMETHOD(get_Italic)(THIS_ BOOL*) PURE;
STDMETHOD(put_Italic)(THIS_ BOOL) PURE;
STDMETHOD(get_Underline)(THIS_ BOOL*) PURE;
STDMETHOD(put_Underline)(THIS_ BOOL) PURE;
STDMETHOD(get_Strikethrough)(THIS_ BOOL*) PURE;
STDMETHOD(put_Strikethrough)(THIS_ BOOL) PURE;
STDMETHOD(get_Weight)(THIS_ short*) PURE;
STDMETHOD(put_Weight)(THIS_ short) PURE;
STDMETHOD(get_Charset)(THIS_ short*) PURE;
STDMETHOD(put_Charset)(THIS_ short) PURE;
STDMETHOD(get_hFont)(THIS_ HFONT*) PURE;
STDMETHOD(Clone)(THIS_ IFont**) PURE;
STDMETHOD(IsEqual)(THIS_ IFont*) PURE;
STDMETHOD(SetRatio)(THIS_ long,long) PURE;
STDMETHOD(QueryTextMetrics)(THIS_ LPTEXTMETRICOLE) PURE;
STDMETHOD(AddRefHfont)(THIS_ HFONT) PURE;
STDMETHOD(ReleaseHfont)(THIS_ HFONT) PURE;
STDMETHOD(SetHdc)(THIS_ HDC) PURE;
};
EXTERN_C const IID IID_IFontDisp;
#undef INTERFACE
#define INTERFACE IFontDisp
DECLARE_INTERFACE_(IFontDisp,IDispatch)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
};
EXTERN_C const IID IID_IPicture;
#undef INTERFACE
#define INTERFACE IPicture
DECLARE_INTERFACE_(IPicture,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(get_Handle)(THIS_ OLE_HANDLE*) PURE;
STDMETHOD(get_hPal)(THIS_ OLE_HANDLE*) PURE;
STDMETHOD(get_Type)(THIS_ short*) PURE;
STDMETHOD(get_Width)(THIS_ OLE_XSIZE_HIMETRIC*) PURE;
STDMETHOD(get_Height)(THIS_ OLE_YSIZE_HIMETRIC*) PURE;
STDMETHOD(Render)(THIS_ HDC,long,long,long,long,OLE_XPOS_HIMETRIC,OLE_YPOS_HIMETRIC,OLE_XSIZE_HIMETRIC,OLE_YSIZE_HIMETRIC,LPCRECT) PURE;
STDMETHOD(set_hPal)(THIS_ OLE_HANDLE) PURE;
STDMETHOD(get_CurDC)(THIS_ HDC*) PURE;
STDMETHOD(SelectPicture)(THIS_ HDC,HDC*,OLE_HANDLE*) PURE;
STDMETHOD(get_KeepOriginalFormat)(THIS_ BOOL*) PURE;
STDMETHOD(put_KeepOriginalFormat)(THIS_ BOOL) PURE;
STDMETHOD(PictureChanged)(THIS) PURE;
STDMETHOD(SaveAsFile)(THIS_ LPSTREAM,BOOL,LONG*) PURE;
STDMETHOD(get_Attributes)(THIS_ PDWORD) PURE;
};
EXTERN_C const IID IID_IPictureDisp;
#undef INTERFACE
#define INTERFACE IPictureDisp
DECLARE_INTERFACE_(IPictureDisp,IDispatch)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
};
EXTERN_C const IID IID_IOleInPlaceSiteEx;
#undef INTERFACE
#define INTERFACE IOleInPlaceSiteEx

View File

@ -357,367 +357,6 @@ typedef struct tagPICTDESC {
} emf;
} DUMMYUNIONNAME;
} PICTDESC,*LPPICTDESC;
EXTERN_C const IID IID_IOleControl;
#undef INTERFACE
#define INTERFACE IOleControl
DECLARE_INTERFACE_(IOleControl,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetControlInfo)(THIS_ LPCONTROLINFO) PURE;
STDMETHOD(OnMnemonic)(THIS_ LPMSG) PURE;
STDMETHOD(OnAmbientPropertyChange)(THIS_ DISPID) PURE;
STDMETHOD(FreezeEvents)(THIS_ BOOL) PURE;
};
EXTERN_C const IID IID_IOleControlSite;
#undef INTERFACE
#define INTERFACE IOleControlSite
DECLARE_INTERFACE_(IOleControlSite,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(OnControlInfoChanged)(THIS) PURE;
STDMETHOD(LockInPlaceActive)(THIS_ BOOL) PURE;
STDMETHOD(GetExtendedControl)(THIS_ LPDISPATCH*) PURE;
STDMETHOD(TransformCoords)(THIS_ POINTL*,POINTF*,DWORD) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG,DWORD) PURE;
STDMETHOD(OnFocus)(THIS_ BOOL) PURE;
STDMETHOD(ShowPropertyFrame)(THIS) PURE;
};
EXTERN_C const IID IID_ISimpleFrameSite;
#undef INTERFACE
#define INTERFACE ISimpleFrameSite
DECLARE_INTERFACE_(ISimpleFrameSite,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(PreMessageFilter)(THIS_ HWND,UINT,WPARAM,LPARAM,LRESULT*,PDWORD) PURE;
STDMETHOD(PostMessageFilter)(THIS_ HWND,UINT,WPARAM,LPARAM,LRESULT*,DWORD) PURE;
};
EXTERN_C const IID IID_IErrorLog;
#undef INTERFACE
#define INTERFACE IErrorLog
DECLARE_INTERFACE_(IErrorLog,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(AddError)(THIS_ LPCOLESTR,LPEXCEPINFO) PURE;
};
EXTERN_C const IID IID_IPropertyBag;
#undef INTERFACE
#define INTERFACE IPropertyBag
DECLARE_INTERFACE_(IPropertyBag,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(Read)(THIS_ LPCOLESTR,LPVARIANT,LPERRORLOG) PURE;
STDMETHOD(Write)(THIS_ LPCOLESTR,LPVARIANT) PURE;
};
EXTERN_C const IID IID_IPersistPropertyBag;
#undef INTERFACE
#define INTERFACE IPersistPropertyBag
DECLARE_INTERFACE_(IPersistPropertyBag,IPersist)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassID)(THIS_ LPCLSID) PURE;
STDMETHOD(InitNew)(THIS) PURE;
STDMETHOD(Load)(THIS_ LPPROPERTYBAG,LPERRORLOG) PURE;
STDMETHOD(Save)(THIS_ LPPROPERTYBAG,BOOL,BOOL) PURE;
};
EXTERN_C const IID IID_IPersistStreamInit;
#undef INTERFACE
#define INTERFACE IPersistStreamInit
DECLARE_INTERFACE_(IPersistStreamInit,IPersist)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassID)(THIS_ LPCLSID) PURE;
STDMETHOD(IsDirty)(THIS) PURE;
STDMETHOD(Load)(THIS_ LPSTREAM) PURE;
STDMETHOD(Save)(THIS_ LPSTREAM,BOOL) PURE;
STDMETHOD(GetSizeMax)(THIS_ PULARGE_INTEGER) PURE;
STDMETHOD(InitNew)(THIS) PURE;
};
EXTERN_C const IID IID_IPersistMemory;
#undef INTERFACE
#define INTERFACE IPersistMemory
DECLARE_INTERFACE_(IPersistMemory,IPersist)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassID)(THIS_ LPCLSID) PURE;
STDMETHOD(IsDirty)(THIS) PURE;
STDMETHOD(Load)(THIS_ PVOID,ULONG) PURE;
STDMETHOD(Save)(THIS_ PVOID,BOOL,ULONG) PURE;
STDMETHOD(GetSizeMax)(THIS_ PULONG) PURE;
STDMETHOD(InitNew)(THIS) PURE;
};
EXTERN_C const IID IID_IPropertyNotifySink;
#undef INTERFACE
#define INTERFACE IPropertyNotifySink
DECLARE_INTERFACE_(IPropertyNotifySink,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(OnChanged)(THIS_ DISPID) PURE;
STDMETHOD(OnRequestEdit)(THIS_ DISPID) PURE;
};
EXTERN_C const IID IID_IProvideClassInfo;
#undef INTERFACE
#define INTERFACE IProvideClassInfo
DECLARE_INTERFACE_(IProvideClassInfo,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassInfo)(THIS_ LPTYPEINFO*) PURE;
};
EXTERN_C const IID IID_IProvideClassInfo2;
#undef INTERFACE
#define INTERFACE IProvideClassInfo2
DECLARE_INTERFACE_(IProvideClassInfo2,IProvideClassInfo)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetClassInfo)(THIS_ LPTYPEINFO*) PURE;
STDMETHOD(GetGUID)(THIS_ DWORD,GUID*) PURE;
};
EXTERN_C const IID IID_IConnectionPointContainer;
#undef INTERFACE
#define INTERFACE IConnectionPointContainer
DECLARE_INTERFACE_(IConnectionPointContainer,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(EnumConnectionPoints)(THIS_ LPENUMCONNECTIONPOINTS*) PURE;
STDMETHOD(FindConnectionPoint)(THIS_ REFIID,LPCONNECTIONPOINT*) PURE;
};
EXTERN_C const IID IID_IEnumConnectionPoints;
#undef INTERFACE
#define INTERFACE IEnumConnectionPoints
DECLARE_INTERFACE_(IEnumConnectionPoints,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(Next)(THIS_ ULONG,LPCONNECTIONPOINT*,ULONG*) PURE;
STDMETHOD(Skip)(THIS_ ULONG) PURE;
STDMETHOD(Reset)(THIS) PURE;
STDMETHOD(Clone)(THIS_ LPENUMCONNECTIONPOINTS*) PURE;
};
EXTERN_C const IID IID_IConnectionPoint;
#undef INTERFACE
#define INTERFACE IConnectionPoint
DECLARE_INTERFACE_(IConnectionPoint,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetConnectionInterface)(THIS_ IID*) PURE;
STDMETHOD(GetConnectionPointContainer)(THIS_ IConnectionPointContainer**) PURE;
STDMETHOD(Advise)(THIS_ LPUNKNOWN,PDWORD) PURE;
STDMETHOD(Unadvise)(THIS_ DWORD) PURE;
STDMETHOD(EnumConnections)(THIS_ LPENUMCONNECTIONS*) PURE;
};
EXTERN_C const IID IID_IEnumConnections;
#undef INTERFACE
#define INTERFACE IEnumConnections
DECLARE_INTERFACE_(IEnumConnections,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(Next)(THIS_ ULONG,LPCONNECTDATA,PULONG) PURE;
STDMETHOD(Skip)(THIS_ ULONG) PURE;
STDMETHOD(Reset)(THIS) PURE;
STDMETHOD(Clone)(THIS_ LPENUMCONNECTIONS*) PURE;
};
EXTERN_C const IID IID_IClassFactory2;
#undef INTERFACE
#define INTERFACE IClassFactory2
DECLARE_INTERFACE_(IClassFactory2,IClassFactory)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(CreateInstance)(THIS_ LPUNKNOWN,REFIID,PVOID*) PURE;
STDMETHOD(LockServer)(THIS_ BOOL) PURE;
STDMETHOD(GetLicInfo)(THIS_ LPLICINFO) PURE;
STDMETHOD(RequestLicKey)(THIS_ DWORD,BSTR*) PURE;
STDMETHOD(CreateInstanceLic)(THIS_ LPUNKNOWN,LPUNKNOWN,REFIID,BSTR,PVOID*) PURE;
};
EXTERN_C const IID IID_ISpecifyPropertyPages;
#undef INTERFACE
#define INTERFACE ISpecifyPropertyPages
DECLARE_INTERFACE_(ISpecifyPropertyPages,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetPages)(THIS_ CAUUID*) PURE;
};
EXTERN_C const IID IID_IPerPropertyBrowsing;
#undef INTERFACE
#define INTERFACE IPerPropertyBrowsing
DECLARE_INTERFACE_(IPerPropertyBrowsing,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetDisplayString)(THIS_ DISPID,BSTR*) PURE;
STDMETHOD(MapPropertyToPage)(THIS_ DISPID,LPCLSID) PURE;
STDMETHOD(GetPredefinedStrings)(THIS_ DISPID,CALPOLESTR*,CADWORD*) PURE;
STDMETHOD(GetPredefinedValue)(THIS_ DISPID,DWORD,VARIANT*) PURE;
};
EXTERN_C const IID IID_IPropertyPageSite;
#undef INTERFACE
#define INTERFACE IPropertyPageSite
DECLARE_INTERFACE_(IPropertyPageSite,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(OnStatusChange)(THIS_ DWORD) PURE;
STDMETHOD(GetLocaleID)(THIS_ LCID*) PURE;
STDMETHOD(GetPageContainer)(THIS_ LPUNKNOWN*) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG) PURE;
};
EXTERN_C const IID IID_IPropertyPage;
#undef INTERFACE
#define INTERFACE IPropertyPage
DECLARE_INTERFACE_(IPropertyPage,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(SetPageSite)(THIS_ LPPROPERTYPAGESITE) PURE;
STDMETHOD(Activate)(THIS_ HWND,LPCRECT,BOOL) PURE;
STDMETHOD(Deactivate)(THIS) PURE;
STDMETHOD(GetPageInfo)(THIS_ LPPROPPAGEINFO) PURE;
STDMETHOD(SetObjects)(THIS_ ULONG,LPUNKNOWN*) PURE;
STDMETHOD(Show)(THIS_ UINT) PURE;
STDMETHOD(Move)(THIS_ LPCRECT) PURE;
STDMETHOD(IsPageDirty)(THIS) PURE;
STDMETHOD(Apply)(THIS) PURE;
STDMETHOD(Help)(THIS_ LPCOLESTR) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG) PURE;
};
EXTERN_C const IID IID_IPropertyPage2;
#undef INTERFACE
#define INTERFACE IPropertyPage2
DECLARE_INTERFACE_(IPropertyPage2,IPropertyPage)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(SetPageSite)(THIS_ LPPROPERTYPAGESITE) PURE;
STDMETHOD(Activate)(THIS_ HWND,LPCRECT,BOOL) PURE;
STDMETHOD(Deactivate)(THIS) PURE;
STDMETHOD(GetPageInfo)(THIS_ LPPROPPAGEINFO) PURE;
STDMETHOD(SetObjects)(THIS_ ULONG,LPUNKNOWN*) PURE;
STDMETHOD(Show)(THIS_ UINT) PURE;
STDMETHOD(Move)(THIS_ LPCRECT) PURE;
STDMETHOD(IsPageDirty)(THIS) PURE;
STDMETHOD(Apply)(THIS) PURE;
STDMETHOD(Help)(THIS_ LPCOLESTR) PURE;
STDMETHOD(TranslateAccelerator)(THIS_ LPMSG) PURE;
STDMETHOD(EditProperty)(THIS_ DISPID) PURE;
};
EXTERN_C const IID IID_IFont;
#undef INTERFACE
#define INTERFACE IFont
DECLARE_INTERFACE_(IFont,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(get_Name)(THIS_ BSTR*) PURE;
STDMETHOD(put_Name)(THIS_ BSTR) PURE;
STDMETHOD(get_Size)(THIS_ CY*) PURE;
STDMETHOD(put_Size)(THIS_ CY) PURE;
STDMETHOD(get_Bold)(THIS_ BOOL*) PURE;
STDMETHOD(put_Bold)(THIS_ BOOL) PURE;
STDMETHOD(get_Italic)(THIS_ BOOL*) PURE;
STDMETHOD(put_Italic)(THIS_ BOOL) PURE;
STDMETHOD(get_Underline)(THIS_ BOOL*) PURE;
STDMETHOD(put_Underline)(THIS_ BOOL) PURE;
STDMETHOD(get_Strikethrough)(THIS_ BOOL*) PURE;
STDMETHOD(put_Strikethrough)(THIS_ BOOL) PURE;
STDMETHOD(get_Weight)(THIS_ short*) PURE;
STDMETHOD(put_Weight)(THIS_ short) PURE;
STDMETHOD(get_Charset)(THIS_ short*) PURE;
STDMETHOD(put_Charset)(THIS_ short) PURE;
STDMETHOD(get_hFont)(THIS_ HFONT*) PURE;
STDMETHOD(Clone)(THIS_ IFont**) PURE;
STDMETHOD(IsEqual)(THIS_ IFont*) PURE;
STDMETHOD(SetRatio)(THIS_ long,long) PURE;
STDMETHOD(QueryTextMetrics)(THIS_ LPTEXTMETRICOLE) PURE;
STDMETHOD(AddRefHfont)(THIS_ HFONT) PURE;
STDMETHOD(ReleaseHfont)(THIS_ HFONT) PURE;
STDMETHOD(SetHdc)(THIS_ HDC) PURE;
};
EXTERN_C const IID IID_IFontDisp;
#undef INTERFACE
#define INTERFACE IFontDisp
DECLARE_INTERFACE_(IFontDisp,IDispatch)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
};
EXTERN_C const IID IID_IPicture;
#undef INTERFACE
#define INTERFACE IPicture
DECLARE_INTERFACE_(IPicture,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(get_Handle)(THIS_ OLE_HANDLE*) PURE;
STDMETHOD(get_hPal)(THIS_ OLE_HANDLE*) PURE;
STDMETHOD(get_Type)(THIS_ short*) PURE;
STDMETHOD(get_Width)(THIS_ OLE_XSIZE_HIMETRIC*) PURE;
STDMETHOD(get_Height)(THIS_ OLE_YSIZE_HIMETRIC*) PURE;
STDMETHOD(Render)(THIS_ HDC,long,long,long,long,OLE_XPOS_HIMETRIC,OLE_YPOS_HIMETRIC,OLE_XSIZE_HIMETRIC,OLE_YSIZE_HIMETRIC,LPCRECT) PURE;
STDMETHOD(set_hPal)(THIS_ OLE_HANDLE) PURE;
STDMETHOD(get_CurDC)(THIS_ HDC*) PURE;
STDMETHOD(SelectPicture)(THIS_ HDC,HDC*,OLE_HANDLE*) PURE;
STDMETHOD(get_KeepOriginalFormat)(THIS_ BOOL*) PURE;
STDMETHOD(put_KeepOriginalFormat)(THIS_ BOOL) PURE;
STDMETHOD(PictureChanged)(THIS) PURE;
STDMETHOD(SaveAsFile)(THIS_ LPSTREAM,BOOL,LONG*) PURE;
STDMETHOD(get_Attributes)(THIS_ PDWORD) PURE;
};
EXTERN_C const IID IID_IPictureDisp;
#undef INTERFACE
#define INTERFACE IPictureDisp
DECLARE_INTERFACE_(IPictureDisp,IDispatch)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*) PURE;
STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
};
#pragma pack(pop)
STDAPI DllRegisterServer(void);