Hex Artifact Content

Not logged in

Artifact b40faba978847e1ca164d8c06188a23a2ecfd1e6:


0000: 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  /***************
0010: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0020: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0030: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0040: 2a 2a 2a 2a 2a 2a 2a 2a 5c 0a 2a 20 20 20 20 20  ********\.*     
0050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0060: 20 20 20 20 20 20 20 20 20 20 72 69 63 68 6f 6c            richol
0070: 65 2e 64 20 20 20 20 20 20 20 20 20 20 20 20 20  e.d             
0080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0090: 20 20 2a 0a 2a 20 20 20 20 20 20 20 20 20 20 20    *.*           
00a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00d0: 20 20 20 20 20 20 20 20 20 20 20 20 2a 0a 2a 20              *.* 
00e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00f0: 20 20 20 20 20 20 57 69 6e 64 6f 77 73 20 41 50        Windows AP
0100: 49 20 68 65 61 64 65 72 20 6d 6f 64 75 6c 65 20  I header module 
0110: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0120: 20 20 20 20 20 20 2a 0a 2a 20 20 20 20 20 20 20        *.*       
0130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0170: 2a 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20  *.*             
0180: 20 20 20 20 54 72 61 6e 73 6c 61 74 65 64 20 66      Translated f
0190: 72 6f 6d 20 4d 69 6e 47 57 20 57 69 6e 64 6f 77  rom MinGW Window
01a0: 73 20 68 65 61 64 65 72 73 20 20 20 20 20 20 20  s headers       
01b0: 20 20 20 20 20 20 20 20 20 20 2a 0a 2a 20 20 20            *.*   
01c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
01d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
01e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
01f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0200: 20 20 20 20 2a 0a 2a 20 20 20 20 20 20 20 20 20      *.*         
0210: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c                Pl
0220: 61 63 65 64 20 69 6e 74 6f 20 70 75 62 6c 69 63  aced into public
0230: 20 64 6f 6d 61 69 6e 20 20 20 20 20 20 20 20 20   domain         
0240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 0a                *.
0250: 5c 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  \***************
0260: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0270: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0280: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0290: 2a 2a 2a 2a 2a 2a 2a 2a 2f 0a 6d 6f 64 75 6c 65  ********/.module
02a0: 20 77 69 6e 33 32 2e 72 69 63 68 6f 6c 65 3b 0a   win32.richole;.
02b0: 0a 70 72 69 76 61 74 65 20 69 6d 70 6f 72 74 20  .private import 
02c0: 77 69 6e 33 32 2e 6f 62 6a 66 77 64 2c 20 77 69  win32.objfwd, wi
02d0: 6e 33 32 2e 6f 62 6a 69 64 6c 2c 20 77 69 6e 33  n32.objidl, win3
02e0: 32 2e 6f 6c 65 32 2c 20 77 69 6e 33 32 2e 75 6e  2.ole2, win32.un
02f0: 6b 6e 77 6e 2c 0a 20 20 77 69 6e 33 32 2e 77 69  knwn,.  win32.wi
0300: 6e 64 65 66 3b 0a 70 72 69 76 61 74 65 20 69 6d  ndef;.private im
0310: 70 6f 72 74 20 77 69 6e 33 32 2e 72 69 63 68 65  port win32.riche
0320: 64 69 74 3b 20 2f 2f 20 66 6f 72 20 43 48 41 52  dit; // for CHAR
0330: 52 41 4e 47 45 0a 0a 61 6c 69 67 6e 28 34 29 3a  RANGE..align(4):
0340: 0a 0a 63 6f 6e 73 74 20 55 4c 4f 4e 47 0a 09 52  ..const ULONG..R
0350: 45 4f 5f 47 45 54 4f 42 4a 5f 4e 4f 5f 49 4e 54  EO_GETOBJ_NO_INT
0360: 45 52 46 41 43 45 53 20 3d 20 30 2c 0a 09 52 45  ERFACES = 0,..RE
0370: 4f 5f 47 45 54 4f 42 4a 5f 50 4f 4c 45 4f 42 4a  O_GETOBJ_POLEOBJ
0380: 20 3d 20 31 2c 0a 09 52 45 4f 5f 47 45 54 4f 42   = 1,..REO_GETOB
0390: 4a 5f 50 53 54 47 20 3d 20 32 2c 0a 09 52 45 4f  J_PSTG = 2,..REO
03a0: 5f 47 45 54 4f 42 4a 5f 50 4f 4c 45 53 49 54 45  _GETOBJ_POLESITE
03b0: 20 3d 20 34 2c 0a 09 52 45 4f 5f 47 45 54 4f 42   = 4,..REO_GETOB
03c0: 4a 5f 41 4c 4c 5f 49 4e 54 45 52 46 41 43 45 53  J_ALL_INTERFACES
03d0: 20 3d 20 37 2c 0a 09 52 45 4f 5f 43 50 5f 53 45   = 7,..REO_CP_SE
03e0: 4c 45 43 54 49 4f 4e 20 3d 20 2d 31 2c 0a 09 52  LECTION = -1,..R
03f0: 45 4f 5f 49 4f 42 5f 53 45 4c 45 43 54 49 4f 4e  EO_IOB_SELECTION
0400: 20 3d 20 2d 31 2c 0a 09 52 45 4f 5f 49 4f 42 5f   = -1,..REO_IOB_
0410: 55 53 45 5f 43 50 20 3d 20 2d 32 2c 0a 09 52 45  USE_CP = -2,..RE
0420: 4f 5f 4e 55 4c 4c 20 3d 20 30 2c 0a 09 52 45 4f  O_NULL = 0,..REO
0430: 5f 52 45 41 44 57 52 49 54 45 4d 41 53 4b 20 3d  _READWRITEMASK =
0440: 20 30 78 33 46 2c 0a 09 52 45 4f 5f 44 4f 4e 54   0x3F,..REO_DONT
0450: 4e 45 45 44 50 41 4c 45 54 54 45 20 3d 20 33 32  NEEDPALETTE = 32
0460: 2c 0a 09 52 45 4f 5f 42 4c 41 4e 4b 20 3d 20 31  ,..REO_BLANK = 1
0470: 36 2c 0a 09 52 45 4f 5f 44 59 4e 41 4d 49 43 53  6,..REO_DYNAMICS
0480: 49 5a 45 20 3d 20 38 2c 0a 09 52 45 4f 5f 49 4e  IZE = 8,..REO_IN
0490: 56 45 52 54 45 44 53 45 4c 45 43 54 20 3d 20 34  VERTEDSELECT = 4
04a0: 2c 0a 09 52 45 4f 5f 42 45 4c 4f 57 42 41 53 45  ,..REO_BELOWBASE
04b0: 4c 49 4e 45 20 3d 20 32 2c 0a 09 52 45 4f 5f 52  LINE = 2,..REO_R
04c0: 45 53 49 5a 41 42 4c 45 20 3d 20 31 2c 0a 09 52  ESIZABLE = 1,..R
04d0: 45 4f 5f 4c 49 4e 4b 20 3d 20 30 78 38 30 30 30  EO_LINK = 0x8000
04e0: 30 30 30 30 2c 0a 09 52 45 4f 5f 53 54 41 54 49  0000,..REO_STATI
04f0: 43 20 3d 20 30 78 34 30 30 30 30 30 30 30 2c 0a  C = 0x40000000,.
0500: 09 52 45 4f 5f 53 45 4c 45 43 54 45 44 20 3d 20  .REO_SELECTED = 
0510: 30 78 30 38 30 30 30 30 30 30 2c 0a 09 52 45 4f  0x08000000,..REO
0520: 5f 4f 50 45 4e 20 3d 20 30 78 34 30 30 30 30 30  _OPEN = 0x400000
0530: 30 2c 0a 09 52 45 4f 5f 49 4e 50 4c 41 43 45 41  0,..REO_INPLACEA
0540: 43 54 49 56 45 20 3d 20 30 78 32 30 30 30 30 30  CTIVE = 0x200000
0550: 30 2c 0a 09 52 45 4f 5f 48 49 4c 49 54 45 44 20  0,..REO_HILITED 
0560: 3d 20 30 78 31 30 30 30 30 30 30 2c 0a 09 52 45  = 0x1000000,..RE
0570: 4f 5f 4c 49 4e 4b 41 56 41 49 4c 41 42 4c 45 20  O_LINKAVAILABLE 
0580: 3d 20 30 78 38 30 30 30 30 30 2c 0a 09 52 45 4f  = 0x800000,..REO
0590: 5f 47 45 54 4d 45 54 41 46 49 4c 45 20 3d 20 30  _GETMETAFILE = 0
05a0: 78 34 30 30 30 30 30 3b 0a 0a 65 6e 75 6d 20 7b  x400000;..enum {
05b0: 0a 09 52 45 43 4f 5f 50 41 53 54 45 20 3d 20 30  ..RECO_PASTE = 0
05c0: 2c 0a 09 52 45 43 4f 5f 44 52 4f 50 2c 0a 09 52  ,..RECO_DROP,..R
05d0: 45 43 4f 5f 43 4f 50 59 2c 0a 09 52 45 43 4f 5f  ECO_COPY,..RECO_
05e0: 43 55 54 2c 0a 09 52 45 43 4f 5f 44 52 41 47 20  CUT,..RECO_DRAG 
05f0: 2f 2f 20 3d 20 34 0a 7d 0a 0a 65 78 74 65 72 6e  // = 4.}..extern
0600: 20 28 43 29 20 65 78 74 65 72 6e 20 63 6f 6e 73   (C) extern cons
0610: 74 20 47 55 49 44 0a 09 49 49 44 5f 49 52 69 63  t GUID..IID_IRic
0620: 68 45 64 69 74 4f 6c 65 2c 0a 09 49 49 44 5f 49  hEditOle,..IID_I
0630: 52 69 63 68 45 64 69 74 4f 6c 65 43 61 6c 6c 62  RichEditOleCallb
0640: 61 63 6b 3b 0a 0a 73 74 72 75 63 74 20 52 45 4f  ack;..struct REO
0650: 42 4a 45 43 54 20 7b 0a 09 44 57 4f 52 44 20 20  BJECT {..DWORD  
0660: 20 20 20 20 20 20 20 20 20 63 62 53 74 72 75 63           cbStruc
0670: 74 20 3d 20 52 45 4f 42 4a 45 43 54 2e 73 69 7a  t = REOBJECT.siz
0680: 65 6f 66 3b 0a 09 4c 4f 4e 47 20 20 20 20 20 20  eof;..LONG      
0690: 20 20 20 20 20 20 63 70 3b 0a 09 43 4c 53 49 44        cp;..CLSID
06a0: 20 20 20 20 20 20 20 20 20 20 20 63 6c 73 69 64             clsid
06b0: 3b 0a 09 4c 50 4f 4c 45 4f 42 4a 45 43 54 20 20  ;..LPOLEOBJECT  
06c0: 20 20 20 70 6f 6c 65 6f 62 6a 3b 0a 09 4c 50 53     poleobj;..LPS
06d0: 54 4f 52 41 47 45 20 20 20 20 20 20 20 70 73 74  TORAGE       pst
06e0: 67 3b 0a 09 4c 50 4f 4c 45 43 4c 49 45 4e 54 53  g;..LPOLECLIENTS
06f0: 49 54 45 20 70 6f 6c 65 73 69 74 65 3b 0a 09 53  ITE polesite;..S
0700: 49 5a 45 4c 20 20 20 20 20 20 20 20 20 20 20 73  IZEL           s
0710: 69 7a 65 6c 3b 0a 09 44 57 4f 52 44 20 20 20 20  izel;..DWORD    
0720: 20 20 20 20 20 20 20 64 76 61 73 70 65 63 74 3b         dvaspect;
0730: 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 20  ..DWORD         
0740: 20 20 64 77 46 6c 61 67 73 3b 0a 09 44 57 4f 52    dwFlags;..DWOR
0750: 44 20 20 20 20 20 20 20 20 20 20 20 64 77 55 73  D           dwUs
0760: 65 72 3b 0a 7d 0a 0a 69 6e 74 65 72 66 61 63 65  er;.}..interface
0770: 20 49 52 69 63 68 45 64 69 74 4f 6c 65 20 3a 20   IRichEditOle : 
0780: 49 55 6e 6b 6e 6f 77 6e 20 7b 0a 09 48 52 45 53  IUnknown {..HRES
0790: 55 4c 54 20 47 65 74 43 6c 69 65 6e 74 53 69 74  ULT GetClientSit
07a0: 65 28 4c 50 4f 4c 45 43 4c 49 45 4e 54 53 49 54  e(LPOLECLIENTSIT
07b0: 45 2a 29 3b 0a 09 4c 4f 4e 47 20 47 65 74 4f 62  E*);..LONG GetOb
07c0: 6a 65 63 74 43 6f 75 6e 74 28 29 3b 0a 09 4c 4f  jectCount();..LO
07d0: 4e 47 20 47 65 74 4c 69 6e 6b 43 6f 75 6e 74 28  NG GetLinkCount(
07e0: 29 3b 0a 09 48 52 45 53 55 4c 54 20 47 65 74 4f  );..HRESULT GetO
07f0: 62 6a 65 63 74 28 4c 4f 4e 47 2c 20 52 45 4f 42  bject(LONG, REOB
0800: 4a 45 43 54 2a 2c 20 44 57 4f 52 44 29 3b 0a 09  JECT*, DWORD);..
0810: 48 52 45 53 55 4c 54 20 49 6e 73 65 72 74 4f 62  HRESULT InsertOb
0820: 6a 65 63 74 28 52 45 4f 42 4a 45 43 54 2a 29 3b  ject(REOBJECT*);
0830: 0a 09 48 52 45 53 55 4c 54 20 43 6f 6e 76 65 72  ..HRESULT Conver
0840: 74 4f 62 6a 65 63 74 28 4c 4f 4e 47 2c 20 52 45  tObject(LONG, RE
0850: 46 43 4c 53 49 44 2c 20 4c 50 43 53 54 52 29 3b  FCLSID, LPCSTR);
0860: 0a 09 48 52 45 53 55 4c 54 20 41 63 74 69 76 61  ..HRESULT Activa
0870: 74 65 41 73 28 52 45 46 43 4c 53 49 44 2c 20 52  teAs(REFCLSID, R
0880: 45 46 43 4c 53 49 44 29 3b 0a 09 48 52 45 53 55  EFCLSID);..HRESU
0890: 4c 54 20 53 65 74 48 6f 73 74 4e 61 6d 65 73 28  LT SetHostNames(
08a0: 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 29 3b  LPCSTR, LPCSTR);
08b0: 0a 09 48 52 45 53 55 4c 54 20 53 65 74 4c 69 6e  ..HRESULT SetLin
08c0: 6b 41 76 61 69 6c 61 62 6c 65 28 4c 4f 4e 47 2c  kAvailable(LONG,
08d0: 20 42 4f 4f 4c 29 3b 0a 09 48 52 45 53 55 4c 54   BOOL);..HRESULT
08e0: 20 53 65 74 44 76 61 73 70 65 63 74 28 4c 4f 4e   SetDvaspect(LON
08f0: 47 2c 20 44 57 4f 52 44 29 3b 0a 09 48 52 45 53  G, DWORD);..HRES
0900: 55 4c 54 20 48 61 6e 64 73 4f 66 66 53 74 6f 72  ULT HandsOffStor
0910: 61 67 65 28 4c 4f 4e 47 29 3b 0a 09 48 52 45 53  age(LONG);..HRES
0920: 55 4c 54 20 53 61 76 65 43 6f 6d 70 6c 65 74 65  ULT SaveComplete
0930: 64 28 4c 4f 4e 47 2c 20 4c 50 53 54 4f 52 41 47  d(LONG, LPSTORAG
0940: 45 29 3b 0a 09 48 52 45 53 55 4c 54 20 49 6e 50  E);..HRESULT InP
0950: 6c 61 63 65 44 65 61 63 74 69 76 61 74 65 28 29  laceDeactivate()
0960: 3b 0a 09 48 52 45 53 55 4c 54 20 43 6f 6e 74 65  ;..HRESULT Conte
0970: 78 74 53 65 6e 73 69 74 69 76 65 48 65 6c 70 28  xtSensitiveHelp(
0980: 42 4f 4f 4c 29 3b 0a 09 48 52 45 53 55 4c 54 20  BOOL);..HRESULT 
0990: 47 65 74 43 6c 69 70 62 6f 61 72 64 44 61 74 61  GetClipboardData
09a0: 28 43 48 41 52 52 41 4e 47 45 2a 2c 20 44 57 4f  (CHARRANGE*, DWO
09b0: 52 44 2c 20 4c 50 44 41 54 41 4f 42 4a 45 43 54  RD, LPDATAOBJECT
09c0: 2a 29 3b 0a 09 48 52 45 53 55 4c 54 20 49 6d 70  *);..HRESULT Imp
09d0: 6f 72 74 44 61 74 61 4f 62 6a 65 63 74 28 4c 50  ortDataObject(LP
09e0: 44 41 54 41 4f 42 4a 45 43 54 2c 20 43 4c 49 50  DATAOBJECT, CLIP
09f0: 46 4f 52 4d 41 54 2c 20 48 47 4c 4f 42 41 4c 29  FORMAT, HGLOBAL)
0a00: 3b 0a 7d 3b 0a 61 6c 69 61 73 20 49 52 69 63 68  ;.};.alias IRich
0a10: 45 64 69 74 4f 6c 65 2a 20 4c 50 52 49 43 48 45  EditOle* LPRICHE
0a20: 44 49 54 4f 4c 45 3b 0a 0a 69 6e 74 65 72 66 61  DITOLE;..interfa
0a30: 63 65 20 49 52 69 63 68 45 64 69 74 4f 6c 65 43  ce IRichEditOleC
0a40: 61 6c 6c 62 61 63 6b 20 3a 20 49 55 6e 6b 6e 6f  allback : IUnkno
0a50: 77 6e 20 7b 0a 09 48 52 45 53 55 4c 54 20 47 65  wn {..HRESULT Ge
0a60: 74 4e 65 77 53 74 6f 72 61 67 65 28 4c 50 53 54  tNewStorage(LPST
0a70: 4f 52 41 47 45 2a 29 3b 0a 09 48 52 45 53 55 4c  ORAGE*);..HRESUL
0a80: 54 20 47 65 74 49 6e 50 6c 61 63 65 43 6f 6e 74  T GetInPlaceCont
0a90: 65 78 74 28 4c 50 4f 4c 45 49 4e 50 4c 41 43 45  ext(LPOLEINPLACE
0aa0: 46 52 41 4d 45 2a 2c 20 4c 50 4f 4c 45 49 4e 50  FRAME*, LPOLEINP
0ab0: 4c 41 43 45 55 49 57 49 4e 44 4f 57 2a 2c 20 4c  LACEUIWINDOW*, L
0ac0: 50 4f 4c 45 49 4e 50 4c 41 43 45 46 52 41 4d 45  POLEINPLACEFRAME
0ad0: 49 4e 46 4f 29 3b 0a 09 48 52 45 53 55 4c 54 20  INFO);..HRESULT 
0ae0: 53 68 6f 77 43 6f 6e 74 61 69 6e 65 72 55 49 28  ShowContainerUI(
0af0: 42 4f 4f 4c 29 3b 0a 09 48 52 45 53 55 4c 54 20  BOOL);..HRESULT 
0b00: 51 75 65 72 79 49 6e 73 65 72 74 4f 62 6a 65 63  QueryInsertObjec
0b10: 74 28 4c 50 43 4c 53 49 44 2c 20 4c 50 53 54 4f  t(LPCLSID, LPSTO
0b20: 52 41 47 45 2c 20 4c 4f 4e 47 29 3b 0a 09 48 52  RAGE, LONG);..HR
0b30: 45 53 55 4c 54 20 44 65 6c 65 74 65 4f 62 6a 65  ESULT DeleteObje
0b40: 63 74 28 4c 50 4f 4c 45 4f 42 4a 45 43 54 29 3b  ct(LPOLEOBJECT);
0b50: 0a 09 48 52 45 53 55 4c 54 20 51 75 65 72 79 41  ..HRESULT QueryA
0b60: 63 63 65 70 74 44 61 74 61 28 4c 50 44 41 54 41  cceptData(LPDATA
0b70: 4f 42 4a 45 43 54 2c 20 43 4c 49 50 46 4f 52 4d  OBJECT, CLIPFORM
0b80: 41 54 2a 2c 20 44 57 4f 52 44 2c 20 42 4f 4f 4c  AT*, DWORD, BOOL
0b90: 2c 20 48 47 4c 4f 42 41 4c 29 3b 0a 09 48 52 45  , HGLOBAL);..HRE
0ba0: 53 55 4c 54 20 43 6f 6e 74 65 78 74 53 65 6e 73  SULT ContextSens
0bb0: 69 74 69 76 65 48 65 6c 70 28 42 4f 4f 4c 29 3b  itiveHelp(BOOL);
0bc0: 0a 09 48 52 45 53 55 4c 54 20 47 65 74 43 6c 69  ..HRESULT GetCli
0bd0: 70 62 6f 61 72 64 44 61 74 61 28 43 48 41 52 52  pboardData(CHARR
0be0: 41 4e 47 45 2a 2c 20 44 57 4f 52 44 2c 20 4c 50  ANGE*, DWORD, LP
0bf0: 44 41 54 41 4f 42 4a 45 43 54 2a 29 3b 0a 09 48  DATAOBJECT*);..H
0c00: 52 45 53 55 4c 54 20 47 65 74 44 72 61 67 44 72  RESULT GetDragDr
0c10: 6f 70 45 66 66 65 63 74 28 42 4f 4f 4c 2c 20 44  opEffect(BOOL, D
0c20: 57 4f 52 44 2c 20 50 44 57 4f 52 44 29 3b 0a 09  WORD, PDWORD);..
0c30: 48 52 45 53 55 4c 54 20 47 65 74 43 6f 6e 74 65  HRESULT GetConte
0c40: 78 74 4d 65 6e 75 28 57 4f 52 44 2c 20 4c 50 4f  xtMenu(WORD, LPO
0c50: 4c 45 4f 42 4a 45 43 54 2c 20 43 48 41 52 52 41  LEOBJECT, CHARRA
0c60: 4e 47 45 2a 2c 20 48 4d 45 4e 55 2a 29 3b 0a 7d  NGE*, HMENU*);.}
0c70: 3b 0a 61 6c 69 61 73 20 49 52 69 63 68 45 64 69  ;.alias IRichEdi
0c80: 74 4f 6c 65 43 61 6c 6c 62 61 63 6b 2a 20 4c 50  tOleCallback* LP
0c90: 52 49 43 48 45 44 49 54 4f 4c 45 43 41 4c 4c 42  RICHEDITOLECALLB
0ca0: 41 43 4b 3b 0a                                   ACK;.