24/* REOBJECT structure flags */
25cpp_quote("#define REO_GETOBJ_NO_INTERFACES 0x00000000")
26cpp_quote("#define REO_GETOBJ_POLEOBJ 0x00000001")
27cpp_quote("#define REO_GETOBJ_PSTG 0x00000002")
28cpp_quote("#define REO_GETOBJ_POLESITE 0x00000004")
29cpp_quote("#define REO_GETOBJ_ALL_INTERFACES 0x00000007")
30cpp_quote("#define REO_CP_SELECTION 0xFFFFFFFF")
31cpp_quote("#define REO_IOB_SELECTION 0xFFFFFFFF")
32cpp_quote("#define REO_IOB_USE_CP 0xFFFFFFFE")
33cpp_quote("#define REO_NULL 0x00000000")
34cpp_quote("#define REO_READWRITEMASK 0x0000003F")
35cpp_quote("#define REO_DONTNEEDPALETTE 0x00000020")
36cpp_quote("#define REO_BLANK 0x00000010")
37cpp_quote("#define REO_DYNAMICSIZE 0x00000008")
38cpp_quote("#define REO_INVERTEDSELECT 0x00000004")
39cpp_quote("#define REO_BELOWBASELINE 0x00000002")
40cpp_quote("#define REO_RESIZABLE 0x00000001")
41cpp_quote("#define REO_LINK 0x80000000")
42cpp_quote("#define REO_STATIC 0x40000000")
43cpp_quote("#define REO_SELECTED 0x08000000")
44cpp_quote("#define REO_OPEN 0x04000000")
45cpp_quote("#define REO_INPLACEACTIVE 0x02000000")
46cpp_quote("#define REO_HILITED 0x01000000")
47cpp_quote("#define REO_LINKAVAILABLE 0x00800000")
48cpp_quote("#define REO_GETMETAFILE 0x00400000")
50/* clipboard operation flags */
51cpp_quote("#define RECO_PASTE 0x00000000")
52cpp_quote("#define RECO_DROP 0x00000001")
53cpp_quote("#define RECO_COPY 0x00000002")
54cpp_quote("#define RECO_CUT 0x00000003")
55cpp_quote("#define RECO_DRAG 0x00000004")
57typedef struct _reobject {
63 LPOLECLIENTSITE polesite;
70cpp_quote("#ifndef __RICHEDIT_CHARRANGE_DEFINED")
71cpp_quote("#define __RICHEDIT_CHARRANGE_DEFINED")
73typedef struct _charrange
86 uuid(00020d00-0000-0000-c000-000000000046),
87 pointer_default(unique)
89interface IRichEditOle : IUnknown
91 typedef [unique] IRichEditOle *LPRICHEDITOLE;
93 HRESULT GetClientSite(LPOLECLIENTSITE *lplpolesite);
94 HRESULT GetObjectCount();
95 HRESULT GetLinkCount();
96 HRESULT GetObject(LONG iob, REOBJECT *lpreobject, DWORD dwFlags);
97 HRESULT InsertObject(REOBJECT *lpreobject);
98 HRESULT ConvertObject(LONG iob, REFCLSID rclsidNew, LPCSTR lpstrUserTypeNew);
99 HRESULT ActivateAs(REFCLSID rclsid, REFCLSID rclsidAs);
100 HRESULT SetHostNames(LPCSTR lpstrContainerApp, LPCSTR lpstrContainerObj);
101 HRESULT SetLinkAvailable(LONG iob, BOOL fAvailable);
102 HRESULT SetDvaspect(LONG iob, DWORD dvaspect);
103 HRESULT HandsOffStorage(LONG iob);
104 HRESULT SaveCompleted(LONG iob, LPSTORAGE lpstg);
105 HRESULT InPlaceDeactivate();
106 HRESULT ContextSensitiveHelp(BOOL fEnterMode);
107 HRESULT GetClipboardData(CHARRANGE* lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj);
108 HRESULT ImportDataObject(LPDATAOBJECT lpdataobj, CLIPFORMAT cf, HGLOBAL hMetaPict);
116 uuid(00020d03-0000-0000-c000-000000000046),
117 pointer_default(unique)
119interface IRichEditOleCallback : IUnknown
121 typedef [unique] IRichEditOleCallback *LPRICHEDITOLECALLBACK;
123 HRESULT GetNewStorage(LPSTORAGE *lplpstg);
124 HRESULT GetInPlaceContext(LPOLEINPLACEFRAME *lplpFrame, LPOLEINPLACEUIWINDOW *lplpDoc, LPOLEINPLACEFRAMEINFO lpFrameInfo);
125 HRESULT ShowContainerUI(BOOL fShow);
126 HRESULT QueryInsertObject(LPCLSID lpclsid, LPSTORAGE lpstg, LONG cp);
127 HRESULT DeleteObject(LPOLEOBJECT lpoleobj);
128 HRESULT QueryAcceptData(LPDATAOBJECT lpdataobj, CLIPFORMAT *lpcfFormat, DWORD reco, BOOL fReally, HGLOBAL hMetaPict);
129 HRESULT ContextSensitiveHelp(BOOL fEnterMode);
130 HRESULT GetClipboardData(CHARRANGE *lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj);
131 HRESULT GetDragDropEffect(BOOL fDrag, DWORD grfKeyState, LPDWORD pdwEffect);
132 HRESULT GetContextMenu(WORD seltype, LPOLEOBJECT lpoleobj, CHARRANGE *lpchrg, HMENU *lphmenu);
136cpp_quote("DEFINE_GUID(IID_IRichEditOle, 0x00020D00, 0, 0, 0xC0,0,0,0,0,0,0,0x46);")
137cpp_quote("DEFINE_GUID(IID_IRichEditOleCallback, 0x00020D03, 0, 0, 0xC0,0,0,0,0,0,0,0x46);")
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const