File Annotation

Not logged in
4e2933c620 2015-04-21        kinaba: /***********************************************************************\
4e2933c620 2015-04-21        kinaba: *                               richole.d                               *
4e2933c620 2015-04-21        kinaba: *                                                                       *
4e2933c620 2015-04-21        kinaba: *                       Windows API header module                       *
4e2933c620 2015-04-21        kinaba: *                                                                       *
4e2933c620 2015-04-21        kinaba: *                 Translated from MinGW Windows headers                 *
4e2933c620 2015-04-21        kinaba: *                                                                       *
4e2933c620 2015-04-21        kinaba: *                       Placed into public domain                       *
4e2933c620 2015-04-21        kinaba: \***********************************************************************/
4e2933c620 2015-04-21        kinaba: module win32.richole;
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: private import win32.objfwd, win32.objidl, win32.ole2, win32.unknwn,
4e2933c620 2015-04-21        kinaba:   win32.windef;
4e2933c620 2015-04-21        kinaba: private import win32.richedit; // for CHARRANGE
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: align(4):
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: const ULONG
4e2933c620 2015-04-21        kinaba: 	REO_GETOBJ_NO_INTERFACES = 0,
4e2933c620 2015-04-21        kinaba: 	REO_GETOBJ_POLEOBJ = 1,
4e2933c620 2015-04-21        kinaba: 	REO_GETOBJ_PSTG = 2,
4e2933c620 2015-04-21        kinaba: 	REO_GETOBJ_POLESITE = 4,
4e2933c620 2015-04-21        kinaba: 	REO_GETOBJ_ALL_INTERFACES = 7,
4e2933c620 2015-04-21        kinaba: 	REO_CP_SELECTION = -1,
4e2933c620 2015-04-21        kinaba: 	REO_IOB_SELECTION = -1,
4e2933c620 2015-04-21        kinaba: 	REO_IOB_USE_CP = -2,
4e2933c620 2015-04-21        kinaba: 	REO_NULL = 0,
4e2933c620 2015-04-21        kinaba: 	REO_READWRITEMASK = 0x3F,
4e2933c620 2015-04-21        kinaba: 	REO_DONTNEEDPALETTE = 32,
4e2933c620 2015-04-21        kinaba: 	REO_BLANK = 16,
4e2933c620 2015-04-21        kinaba: 	REO_DYNAMICSIZE = 8,
4e2933c620 2015-04-21        kinaba: 	REO_INVERTEDSELECT = 4,
4e2933c620 2015-04-21        kinaba: 	REO_BELOWBASELINE = 2,
4e2933c620 2015-04-21        kinaba: 	REO_RESIZABLE = 1,
4e2933c620 2015-04-21        kinaba: 	REO_LINK = 0x80000000,
4e2933c620 2015-04-21        kinaba: 	REO_STATIC = 0x40000000,
4e2933c620 2015-04-21        kinaba: 	REO_SELECTED = 0x08000000,
4e2933c620 2015-04-21        kinaba: 	REO_OPEN = 0x4000000,
4e2933c620 2015-04-21        kinaba: 	REO_INPLACEACTIVE = 0x2000000,
4e2933c620 2015-04-21        kinaba: 	REO_HILITED = 0x1000000,
4e2933c620 2015-04-21        kinaba: 	REO_LINKAVAILABLE = 0x800000,
4e2933c620 2015-04-21        kinaba: 	REO_GETMETAFILE = 0x400000;
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: enum {
4e2933c620 2015-04-21        kinaba: 	RECO_PASTE = 0,
4e2933c620 2015-04-21        kinaba: 	RECO_DROP,
4e2933c620 2015-04-21        kinaba: 	RECO_COPY,
4e2933c620 2015-04-21        kinaba: 	RECO_CUT,
4e2933c620 2015-04-21        kinaba: 	RECO_DRAG // = 4
4e2933c620 2015-04-21        kinaba: }
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: extern (C) extern const GUID
4e2933c620 2015-04-21        kinaba: 	IID_IRichEditOle,
4e2933c620 2015-04-21        kinaba: 	IID_IRichEditOleCallback;
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: struct REOBJECT {
4e2933c620 2015-04-21        kinaba: 	DWORD           cbStruct = REOBJECT.sizeof;
4e2933c620 2015-04-21        kinaba: 	LONG            cp;
4e2933c620 2015-04-21        kinaba: 	CLSID           clsid;
4e2933c620 2015-04-21        kinaba: 	LPOLEOBJECT     poleobj;
4e2933c620 2015-04-21        kinaba: 	LPSTORAGE       pstg;
4e2933c620 2015-04-21        kinaba: 	LPOLECLIENTSITE polesite;
4e2933c620 2015-04-21        kinaba: 	SIZEL           sizel;
4e2933c620 2015-04-21        kinaba: 	DWORD           dvaspect;
4e2933c620 2015-04-21        kinaba: 	DWORD           dwFlags;
4e2933c620 2015-04-21        kinaba: 	DWORD           dwUser;
4e2933c620 2015-04-21        kinaba: }
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: interface IRichEditOle : IUnknown {
4e2933c620 2015-04-21        kinaba: 	HRESULT GetClientSite(LPOLECLIENTSITE*);
4e2933c620 2015-04-21        kinaba: 	LONG GetObjectCount();
4e2933c620 2015-04-21        kinaba: 	LONG GetLinkCount();
4e2933c620 2015-04-21        kinaba: 	HRESULT GetObject(LONG, REOBJECT*, DWORD);
4e2933c620 2015-04-21        kinaba: 	HRESULT InsertObject(REOBJECT*);
4e2933c620 2015-04-21        kinaba: 	HRESULT ConvertObject(LONG, REFCLSID, LPCSTR);
4e2933c620 2015-04-21        kinaba: 	HRESULT ActivateAs(REFCLSID, REFCLSID);
4e2933c620 2015-04-21        kinaba: 	HRESULT SetHostNames(LPCSTR, LPCSTR);
4e2933c620 2015-04-21        kinaba: 	HRESULT SetLinkAvailable(LONG, BOOL);
4e2933c620 2015-04-21        kinaba: 	HRESULT SetDvaspect(LONG, DWORD);
4e2933c620 2015-04-21        kinaba: 	HRESULT HandsOffStorage(LONG);
4e2933c620 2015-04-21        kinaba: 	HRESULT SaveCompleted(LONG, LPSTORAGE);
4e2933c620 2015-04-21        kinaba: 	HRESULT InPlaceDeactivate();
4e2933c620 2015-04-21        kinaba: 	HRESULT ContextSensitiveHelp(BOOL);
4e2933c620 2015-04-21        kinaba: 	HRESULT GetClipboardData(CHARRANGE*, DWORD, LPDATAOBJECT*);
4e2933c620 2015-04-21        kinaba: 	HRESULT ImportDataObject(LPDATAOBJECT, CLIPFORMAT, HGLOBAL);
4e2933c620 2015-04-21        kinaba: };
9b639cf2d6 2015-05-05        kinaba: alias IRichEditOle LPRICHEDITOLE;
4e2933c620 2015-04-21        kinaba: 
4e2933c620 2015-04-21        kinaba: interface IRichEditOleCallback : IUnknown {
4e2933c620 2015-04-21        kinaba: 	HRESULT GetNewStorage(LPSTORAGE*);
4e2933c620 2015-04-21        kinaba: 	HRESULT GetInPlaceContext(LPOLEINPLACEFRAME*, LPOLEINPLACEUIWINDOW*, LPOLEINPLACEFRAMEINFO);
4e2933c620 2015-04-21        kinaba: 	HRESULT ShowContainerUI(BOOL);
4e2933c620 2015-04-21        kinaba: 	HRESULT QueryInsertObject(LPCLSID, LPSTORAGE, LONG);
4e2933c620 2015-04-21        kinaba: 	HRESULT DeleteObject(LPOLEOBJECT);
4e2933c620 2015-04-21        kinaba: 	HRESULT QueryAcceptData(LPDATAOBJECT, CLIPFORMAT*, DWORD, BOOL, HGLOBAL);
4e2933c620 2015-04-21        kinaba: 	HRESULT ContextSensitiveHelp(BOOL);
4e2933c620 2015-04-21        kinaba: 	HRESULT GetClipboardData(CHARRANGE*, DWORD, LPDATAOBJECT*);
4e2933c620 2015-04-21        kinaba: 	HRESULT GetDragDropEffect(BOOL, DWORD, PDWORD);
4e2933c620 2015-04-21        kinaba: 	HRESULT GetContextMenu(WORD, LPOLEOBJECT, CHARRANGE*, HMENU*);
4e2933c620 2015-04-21        kinaba: };
9b639cf2d6 2015-05-05        kinaba: alias IRichEditOleCallback LPRICHEDITOLECALLBACK;