ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

richole.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2002 Andriy Palamarchuk
00003  * Copyright (C) 2004 Mike McCormack
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00018  */
00019 
00020 cpp_quote("#if 0")  /* not included on Windows */
00021 import "oleidl.idl";
00022 cpp_quote("#endif")
00023 
00024 /* REOBJECT structure flags */
00025 cpp_quote("#define REO_GETOBJ_NO_INTERFACES        0x00000000")
00026 cpp_quote("#define REO_GETOBJ_POLEOBJ              0x00000001")
00027 cpp_quote("#define REO_GETOBJ_PSTG                 0x00000002")
00028 cpp_quote("#define REO_GETOBJ_POLESITE             0x00000004")
00029 cpp_quote("#define REO_GETOBJ_ALL_INTERFACES       0x00000007")
00030 cpp_quote("#define REO_CP_SELECTION                0xFFFFFFFF")
00031 cpp_quote("#define REO_IOB_SELECTION               0xFFFFFFFF")
00032 cpp_quote("#define REO_IOB_USE_CP                  0xFFFFFFFE")
00033 cpp_quote("#define REO_NULL                        0x00000000")
00034 cpp_quote("#define REO_READWRITEMASK               0x0000003F")
00035 cpp_quote("#define REO_DONTNEEDPALETTE             0x00000020")
00036 cpp_quote("#define REO_BLANK                       0x00000010")
00037 cpp_quote("#define REO_DYNAMICSIZE                 0x00000008")
00038 cpp_quote("#define REO_INVERTEDSELECT              0x00000004")
00039 cpp_quote("#define REO_BELOWBASELINE               0x00000002")
00040 cpp_quote("#define REO_RESIZABLE                   0x00000001")
00041 cpp_quote("#define REO_LINK                        0x80000000")
00042 cpp_quote("#define REO_STATIC                      0x40000000")
00043 cpp_quote("#define REO_SELECTED                    0x08000000")
00044 cpp_quote("#define REO_OPEN                        0x04000000")
00045 cpp_quote("#define REO_INPLACEACTIVE               0x02000000")
00046 cpp_quote("#define REO_HILITED                     0x01000000")
00047 cpp_quote("#define REO_LINKAVAILABLE               0x00800000")
00048 cpp_quote("#define REO_GETMETAFILE                 0x00400000")
00049 
00050 /* clipboard operation flags */
00051 cpp_quote("#define RECO_PASTE            0x00000000")
00052 cpp_quote("#define RECO_DROP             0x00000001")
00053 cpp_quote("#define RECO_COPY             0x00000002")
00054 cpp_quote("#define RECO_CUT              0x00000003")
00055 cpp_quote("#define RECO_DRAG             0x00000004")
00056 
00057 typedef struct _reobject {
00058     DWORD cbStruct;
00059     LONG cp;
00060     CLSID clsid;
00061     LPOLEOBJECT poleobj;
00062     LPSTORAGE pstg;
00063     LPOLECLIENTSITE polesite;
00064     SIZEL sizel;
00065     DWORD dvaspect;
00066     DWORD dwFlags;
00067     DWORD dwUser;
00068 } REOBJECT;
00069 
00070 cpp_quote("#ifndef __RICHEDIT_CHARRANGE_DEFINED")
00071 cpp_quote("#define __RICHEDIT_CHARRANGE_DEFINED")
00072 
00073 typedef struct _charrange
00074 {
00075     LONG cpMin;
00076     LONG cpMax;
00077 } CHARRANGE;
00078 
00079 cpp_quote("#endif /* __RICHEDIT_CHARRANGE_DEFINED */")
00080 
00081 /*****************************************************************************
00082  * IRichEditOle
00083  */
00084 [
00085   object,
00086   uuid(00020d00-0000-0000-c000-000000000046),
00087   pointer_default(unique)
00088 ]
00089 interface IRichEditOle : IUnknown
00090 {
00091     typedef [unique] IRichEditOle *LPRICHEDITOLE;
00092 
00093     HRESULT GetClientSite(LPOLECLIENTSITE *lplpolesite);
00094     HRESULT GetObjectCount();
00095     HRESULT GetLinkCount();
00096     HRESULT GetObject(LONG iob, REOBJECT *lpreobject, DWORD dwFlags);
00097     HRESULT InsertObject(REOBJECT *lpreobject);
00098     HRESULT ConvertObject(LONG iob, REFCLSID rclsidNew, LPCSTR lpstrUserTypeNew);
00099     HRESULT ActivateAs(REFCLSID rclsid, REFCLSID rclsidAs);
00100     HRESULT SetHostNames(LPCSTR lpstrContainerApp, LPCSTR lpstrContainerObj);
00101     HRESULT SetLinkAvailable(LONG iob, BOOL fAvailable);
00102     HRESULT SetDvaspect(LONG iob, DWORD dvaspect);
00103     HRESULT HandsOffStorage(LONG iob);
00104     HRESULT SaveCompleted(LONG iob, LPSTORAGE lpstg);
00105     HRESULT InPlaceDeactivate();
00106     HRESULT ContextSensitiveHelp(BOOL fEnterMode);
00107     HRESULT GetClipboardData(CHARRANGE* lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj);
00108     HRESULT ImportDataObject(LPDATAOBJECT lpdataobj, CLIPFORMAT cf, HGLOBAL hMetaPict);
00109 }
00110 
00111 /*****************************************************************************
00112  * IRichEditOleCallback
00113  */
00114 [
00115   object,
00116   uuid(00020d03-0000-0000-c000-000000000046),
00117   pointer_default(unique)
00118 ]
00119 interface IRichEditOleCallback : IUnknown
00120 {
00121     typedef [unique] IRichEditOleCallback *LPRICHEDITOLECALLBACK;
00122 
00123     HRESULT GetNewStorage(LPSTORAGE *lplpstg);
00124     HRESULT GetInPlaceContext(LPOLEINPLACEFRAME *lplpFrame, LPOLEINPLACEUIWINDOW *lplpDoc, LPOLEINPLACEFRAMEINFO lpFrameInfo);
00125     HRESULT ShowContainerUI(BOOL fShow);
00126     HRESULT QueryInsertObject(LPCLSID lpclsid, LPSTORAGE lpstg, LONG cp);
00127     HRESULT DeleteObject(LPOLEOBJECT lpoleobj);
00128     HRESULT QueryAcceptData(LPDATAOBJECT lpdataobj, CLIPFORMAT *lpcfFormat, DWORD reco, BOOL fReally, HGLOBAL hMetaPict);
00129     HRESULT ContextSensitiveHelp(BOOL fEnterMode);
00130     HRESULT GetClipboardData(CHARRANGE *lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj);
00131     HRESULT GetDragDropEffect(BOOL fDrag, DWORD grfKeyState, LPDWORD pdwEffect);
00132     HRESULT GetContextMenu(WORD seltype, LPOLEOBJECT lpoleobj, CHARRANGE *lpchrg, HMENU *lphmenu);
00133 }
00134 
00135 #ifndef __WIDL__
00136 cpp_quote("DEFINE_GUID(IID_IRichEditOle,         0x00020D00, 0, 0, 0xC0,0,0,0,0,0,0,0x46);")
00137 cpp_quote("DEFINE_GUID(IID_IRichEditOleCallback, 0x00020D03, 0, 0, 0xC0,0,0,0,0,0,0,0x46);")
00138 #endif

Generated on Sun May 27 2012 04:32:16 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.