ocidl.idl revision 4b9d6701570cb98fd36e209314239d104ec584d3
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (C) 1999 Paul Quinn
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (C) 1999 Francis Beaudet
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (C) 2003 Alexandre Julliard
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * This library is free software; you can redistribute it and/or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * modify it under the terms of the GNU Lesser General Public
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * License as published by the Free Software Foundation; either
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * version 2.1 of the License, or (at your option) any later version.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * This library is distributed in the hope that it will be useful,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * but WITHOUT ANY WARRANTY; without even the implied warranty of
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Lesser General Public License for more details.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You should have received a copy of the GNU Lesser General Public
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * License along with this library; if not, write to the Free Software
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * a choice of LGPL license versions is made available with the language indicating
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * that LGPLv2 or any later version may be used, or where a choice of which version
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * of the LGPL is applied is otherwise unspecified.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterimport "oleidl.idl";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterimport "oaidl.idl";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterimport "servprov.idl";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterimport "urlmon.idl";
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IOleControlTypes interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IFont interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster typedef TEXTMETRICW TEXTMETRICOLE, *LPTEXTMETRICOLE;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Italic( [out] BOOL *pitalic );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Underline( [out] BOOL *punderline );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propput] HRESULT Underline( [in] BOOL underline );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Strikethrough( [out] BOOL *pstrikethrough );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propput] HRESULT Strikethrough( [in] BOOL strikethrough );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Weight( [out] SHORT *pweight );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Charset( [out] SHORT *pcharset );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propput] HRESULT Charset( [in] SHORT charset );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT hFont( [out] HFONT *phfont );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT SetRatio( [in] LONG cyLogical, [in] LONG cyHimetric );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT QueryTextMetrics( [out] TEXTMETRICOLE * ptm );
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura/*****************************************************************************
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura * IFontDisp interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IFontEventsDisp interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IPicture interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Handle( [out] OLE_HANDLE *pHandle );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT hPal( [out] OLE_HANDLE *phPal );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Width( [out] OLE_XSIZE_HIMETRIC *pWidth );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Height( [out] OLE_YSIZE_HIMETRIC *pHeight );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT KeepOriginalFormat( [out] BOOL *pKeep );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propput] HRESULT KeepOriginalFormat( [in] BOOL keep );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [propget] HRESULT Attributes( [out] DWORD *pDwAttr );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IPictureDisp interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IOleControl interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT GetControlInfo( [out] CONTROLINFO *pCI );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT OnAmbientPropertyChange( [in] DISPID dispID );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IOleControlSite interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT GetExtendedControl( [out] IDispatch ** ppDisp );
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura HRESULT TranslateAccelerator( [in] MSG *pMsg, [in] DWORD grfModifiers );
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura/*****************************************************************************
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura * IOleInPlaceSiteEx interface
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper HRESULT OnInPlaceActivateEx( [out] BOOL * pfNoRedraw, [in] DWORD dwFlags );
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper HRESULT OnInPlaceDeactivateEx( [in] BOOL fNoRedraw );
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper/*****************************************************************************
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper * IOleInPlaceSiteWindowless interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinterface IOleInPlaceSiteWindowless : IOleInPlaceSiteEx
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster typedef IOleInPlaceSiteWindowless *LPOLEINPLACESITEWINDOWLESS;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IOleInPlaceObjectWindowless interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinterface IOleInPlaceObjectWindowless : IOleInPlaceObject
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster typedef IOleInPlaceObjectWindowless *LPOLEINPLACEOBJECTWINDOWLESS;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT GetDropTarget( [out] IDropTarget **ppDropTarget );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IClassFactory2 interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IViewObject interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT GetViewStatus( [out] DWORD *pdwStatus );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IProvideClassInfo interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT GetClassInfo( [out] ITypeInfo ** ppTI );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IProvideClassInfo2 interface
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamurainterface IProvideClassInfo2 : IProvideClassInfo
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura typedef IProvideClassInfo2 *LPPROVIDECLASSINFO2;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinterface IProvideMultipleClassInfo : IProvideClassInfo2
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cpp_quote("#define MULTICLASSINFO_GETTYPEINFO 0x00000001")
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cpp_quote("#define MULTICLASSINFO_GETNUMRESERVEDDISPIDS 0x00000002")
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cpp_quote("#define MULTICLASSINFO_GETIIDPRIMARY 0x00000004")
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cpp_quote("#define MULTICLASSINFO_GETIIDSOURCE 0x00000008")
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster cpp_quote("#define TIFLAGS_EXTENDDISPATCHONLY 0x00000001")
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster typedef IProvideMultipleClassInfo *LPPROVIDEMULTIPLECLASSINFO;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IConnectionPoint interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinterface IConnectionPointContainer; /* forward declarations */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster typedef IConnectionPoint *PCONNECTIONPOINT, *LPCONNECTIONPOINT;
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper HRESULT GetConnectionInterface( [out] IID *pIID );
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper HRESULT GetConnectionPointContainer( [out] IConnectionPointContainer **ppCPC );
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper HRESULT Advise( [in] IUnknown *pUnkSink, [out] DWORD *pdwCookie );
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper HRESULT EnumConnections( [out] IEnumConnections **ppEnum );
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper/*****************************************************************************
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper * IConnectionPointContainer interface
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeperinterface IEnumConnectionPoints; /* forward declaration */
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeperinterface IConnectionPointContainer : IUnknown
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper typedef IConnectionPointContainer *PCONNECTIONPOINTCONTAINER, *LPCONNECTIONPOINTCONTAINER;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT EnumConnectionPoints( [out] IEnumConnectionPoints **ppEnum );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT FindConnectionPoint( [in] REFIID riid, [out] IConnectionPoint **ppCP );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IEnumConnections interface
2a1b2eaa3abf12d3825147bd3a6c72394cbc7c77Mark de Reeper typedef IEnumConnections *PENUMCONNECTIONS, *LPENUMCONNECTIONS;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTDATA rgcd,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTDATA rgcd,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT Clone( [out] IEnumConnections **ppEnum );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IEnumConnectionPoints interface
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura typedef IEnumConnectionPoints *PENUMCONNECTIONPOINTS, *LPENUMCONNECTIONPOINTS;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTIONPOINT *ppCP,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster [out, size_is(cConnections), length_is(*pcFetched)] LPCONNECTIONPOINT *ppCP,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT Clone( [out] IEnumConnectionPoints **ppEnum );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IPropertyPage interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinterface IPropertyPageSite; /* forward declaration */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT SetPageSite( [in] IPropertyPageSite *pPageSite );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT GetPageInfo( [out] PROPPAGEINFO *pPageInfo );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT TranslateAccelerator( [in] MSG *pMsg );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IPropertyPage2 interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IPropertyPageSite interface
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT GetPageContainer( [out] IUnknown **ppUnk );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster HRESULT TranslateAccelerator( [in] MSG *pMsg );
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * IPropertyNotifySink interface
5f4d6070f856d0de82c1d16459b89233e2e81ff2Kohei Tamura typedef IPropertyNotifySink *LPPROPERTYNOTIFYSINK;
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*****************************************************************************
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * ISimpleFrameSite interface
[local]
[local]
} PROPBAG2;
[local]
[local]
} QACONTAINER;
} QACONTROL;
[local]