home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / A / Arrange Developer Kit 1.0.sit / Examples / Generic Plugin / GenericPlugin.cp < prev    next >
MacBinary  |  1994-07-15  |  11.9 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: GenericPlugin.cp

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert MS-DOS Code Page Info (other/dosCodePage) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Fri Jul 15 15:32:23 1994, modified Fri Jul 15 15:32:23 1994, creator 'MPS ', type ASCII, 11261 bytes "GenericPlugin.cp" , at 0x2c7d 768 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 47 65 6e 65 72 69 | 63 50 6c 75 67 69 6e 2e |..Generi|cPlugin.|
|00000010| 63 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |cp......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 2b fd 00 | 00 03 00 aa 4c 94 c7 aa |.....+..|....L...|
|00000060| 4c 94 c7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |L.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 0d 68 00 00 |........|.....h..|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 41 72 72 61 6e 67 |#include| "Arrang|
|00000090| 65 43 61 6c 6c 62 61 63 | 6b 73 2e 68 22 0d 23 69 |eCallbac|ks.h".#i|
|000000a0| 6e 63 6c 75 64 65 20 22 | 50 6c 75 67 69 6e 4c 69 |nclude "|PluginLi|
|000000b0| 62 72 61 72 79 2e 68 22 | 0d 0d 23 69 6e 63 6c 75 |brary.h"|..#inclu|
|000000c0| 64 65 20 3c 44 69 61 6c | 6f 67 73 2e 68 3e 0d 0d |de <Dial|ogs.h>..|
|000000d0| 0d 2f 2a 20 54 68 69 73 | 20 66 69 6c 65 20 64 65 |./* This| file de|
|000000e0| 66 69 6e 65 73 20 61 20 | 22 67 65 6e 65 72 69 63 |fines a |"generic|
|000000f0| 22 20 70 6c 75 67 69 6e | 20 6d 6f 64 75 6c 65 20 |" plugin| module |
|00000100| 66 6f 72 20 41 72 72 61 | 6e 67 65 20 32 2e 30 2e |for Arra|nge 2.0.|
|00000110| 20 20 54 6f 0d 20 2a 20 | 75 73 65 20 69 74 2c 20 | To. * |use it, |
|00000120| 79 6f 75 20 73 68 6f 75 | 6c 64 20 6d 6f 64 69 66 |you shou|ld modif|
|00000130| 79 20 74 68 65 20 50 6c | 75 67 69 6e 20 63 6c 61 |y the Pl|ugin cla|
|00000140| 73 73 20 64 65 66 69 6e | 69 74 69 6f 6e 20 62 79 |ss defin|ition by|
|00000150| 20 61 64 64 69 6e 67 0d | 20 2a 20 6e 65 77 20 66 | adding.| * new f|
|00000160| 69 65 6c 64 73 20 61 6e | 64 20 70 72 69 76 61 74 |ields an|d privat|
|00000170| 65 20 66 75 6e 63 74 69 | 6f 6e 73 2c 20 61 6e 64 |e functi|ons, and|
|00000180| 20 6d 61 6b 65 20 63 6f | 72 72 65 73 70 6f 6e 64 | make co|rrespond|
|00000190| 69 6e 67 20 63 68 61 6e | 67 65 73 20 69 6e 20 74 |ing chan|ges in t|
|000001a0| 68 65 0d 20 2a 20 22 50 | 6c 75 67 69 6e 22 20 73 |he. * "P|lugin" s|
|000001b0| 65 63 74 69 6f 6e 20 61 | 74 20 74 68 65 20 62 6f |ection a|t the bo|
|000001c0| 74 74 6f 6d 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |ttom of |the file|
|000001d0| 2e 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 6e 6f |. You s|hould no|
|000001e0| 74 20 68 61 76 65 20 74 | 6f 0d 20 2a 20 6c 6f 6f |t have t|o. * loo|
|000001f0| 6b 20 61 74 20 6f 72 20 | 6d 61 6b 65 20 61 6e 79 |k at or |make any|
|00000200| 20 63 68 61 6e 67 65 73 | 20 74 6f 20 74 68 65 20 | changes| to the |
|00000210| 22 4d 61 69 6e 20 65 6e | 74 72 79 20 70 6f 69 6e |"Main en|try poin|
|00000220| 74 22 20 73 65 63 74 69 | 6f 6e 20 69 6e 20 74 68 |t" secti|on in th|
|00000230| 65 20 6d 69 64 64 6c 65 | 0d 20 2a 20 6f 66 20 74 |e middle|. * of t|
|00000240| 68 65 20 66 69 6c 65 2e | 20 20 54 68 69 73 20 73 |he file.| This s|
|00000250| 65 63 74 69 6f 6e 20 63 | 6f 6e 74 61 69 6e 73 20 |ection c|ontains |
|00000260| 63 6f 64 65 20 74 6f 20 | 63 72 65 61 74 65 20 61 |code to |create a|
|00000270| 6e 20 69 6e 73 74 61 6e | 63 65 20 6f 66 0d 20 2a |n instan|ce of. *|
|00000280| 20 50 6c 75 67 69 6e 20 | 77 68 65 6e 20 74 68 65 | Plugin |when the|
|00000290| 20 6d 6f 64 75 6c 65 20 | 69 73 20 6c 6f 61 64 65 | module |is loade|
|000002a0| 64 2c 20 61 6e 64 20 66 | 6f 72 77 61 72 64 20 68 |d, and f|orward h|
|000002b0| 6f 6f 6b 20 63 61 6c 6c | 73 20 66 72 6f 6d 20 41 |ook call|s from A|
|000002c0| 72 72 61 6e 67 65 20 74 | 6f 0d 20 2a 20 74 68 65 |rrange t|o. * the|
|000002d0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 50 6c 75 | appropr|iate Plu|
|000002e0| 67 69 6e 20 66 75 6e 63 | 74 69 6f 6e 73 2e 0d 20 |gin func|tions.. |
|000002f0| 2a 20 0d 20 2a 20 54 68 | 65 72 65 20 69 73 20 61 |* . * Th|ere is a|
|00000300| 6e 20 61 73 73 6f 63 69 | 61 74 65 64 20 52 65 7a |n associ|ated Rez|
|00000310| 20 66 69 6c 65 2c 20 47 | 65 6e 65 72 69 63 50 6c | file, G|enericPl|
|00000320| 75 67 69 6e 2e 72 2c 20 | 77 68 69 63 68 20 64 65 |ugin.r, |which de|
|00000330| 66 69 6e 65 73 20 74 68 | 65 0d 20 2a 20 27 4d 44 |fines th|e. * 'MD|
|00000340| 64 66 27 20 72 65 73 6f | 75 72 63 65 20 6e 65 65 |df' reso|urce nee|
|00000350| 64 65 64 20 66 6f 72 20 | 65 61 63 68 20 41 72 72 |ded for |each Arr|
|00000360| 61 6e 67 65 20 70 6c 75 | 67 69 6e 20 6d 6f 64 75 |ange plu|gin modu|
|00000370| 6c 65 2e 20 20 54 6f 20 | 63 72 65 61 74 65 20 61 |le. To |create a|
|00000380| 20 70 6c 75 67 69 6e 0d | 20 2a 20 6d 6f 64 75 6c | plugin.| * modul|
|00000390| 65 2c 20 63 6f 6d 70 69 | 6c 65 20 47 65 6e 65 72 |e, compi|le Gener|
|000003a0| 69 63 50 6c 75 67 69 6e | 2e 72 20 74 6f 20 70 72 |icPlugin|.r to pr|
|000003b0| 6f 64 75 63 65 20 61 6e | 20 27 4d 44 64 66 27 20 |oduce an| 'MDdf' |
|000003c0| 72 65 73 6f 75 72 63 65 | 2c 20 61 6e 64 0d 20 2a |resource|, and. *|
|000003d0| 20 63 6f 6d 70 69 6c 65 | 20 61 6e 64 20 6c 69 6e | compile| and lin|
|000003e0| 6b 20 74 68 69 73 20 66 | 69 6c 65 20 74 6f 20 70 |k this f|ile to p|
|000003f0| 72 6f 64 75 63 65 20 61 | 6e 20 27 4d 44 63 64 27 |roduce a|n 'MDcd'|
|00000400| 20 72 65 73 6f 75 72 63 | 65 20 77 69 74 68 20 74 | resourc|e with t|
|00000410| 68 65 20 73 61 6d 65 20 | 49 44 2e 0d 20 2a 20 0d |he same |ID.. * .|
|00000420| 20 2a 20 54 68 69 73 20 | 76 65 72 73 69 6f 6e 20 | * This |version |
|00000430| 6f 66 20 47 65 6e 65 72 | 69 63 50 6c 75 67 69 6e |of Gener|icPlugin|
|00000440| 2e 63 70 20 77 61 73 20 | 77 72 69 74 74 65 6e 20 |.cp was |written |
|00000450| 62 79 20 53 74 65 76 65 | 20 4e 65 77 6d 61 6e 20 |by Steve| Newman |
|00000460| 6f 6e 20 31 32 2f 32 34 | 2f 39 33 2e 0d 20 2a 20 |on 12/24|/93.. * |
|00000470| 4c 61 73 74 20 75 70 64 | 61 74 65 64 20 37 2f 31 |Last upd|ated 7/1|
|00000480| 35 2f 39 34 2e 0d 20 2a | 2f 0d 0d 0d 23 64 65 66 |5/94.. *|/...#def|
|00000490| 69 6e 65 20 4d 6f 64 75 | 6c 65 52 73 72 63 49 44 |ine Modu|leRsrcID|
|000004a0| 20 2d 30 78 38 30 30 30 | 0d 0d 23 64 65 66 69 6e | -0x8000|..#defin|
|000004b0| 65 20 4f 75 72 4d 6f 64 | 75 6c 65 49 44 20 20 30 |e OurMod|uleID 0|
|000004c0| 78 37 30 30 30 30 30 30 | 30 20 20 2f 2f 20 55 6e |x7000000|0 // Un|
|000004d0| 69 71 75 65 20 6d 6f 64 | 75 6c 65 20 49 44 3b 20 |ique mod|ule ID; |
|000004e0| 72 65 70 6c 61 63 65 20 | 77 69 74 68 20 61 20 76 |replace |with a v|
|000004f0| 61 6c 75 65 0d 09 09 09 | 09 09 09 09 09 09 09 20 |alue....|....... |
|00000500| 20 20 2f 2f 20 6f 62 74 | 61 69 6e 65 64 20 66 72 | // obt|ained fr|
|00000510| 6f 6d 20 43 6f 6d 6d 6f | 6e 20 4b 6e 6f 77 6c 65 |om Commo|n Knowle|
|00000520| 64 67 65 2e 0d 23 64 65 | 66 69 6e 65 20 62 61 73 |dge..#de|fine bas|
|00000530| 65 43 6d 64 43 6f 64 65 | 20 20 4f 75 72 4d 6f 64 |eCmdCode| OurMod|
|00000540| 75 6c 65 49 44 0d 0d 23 | 64 65 66 69 6e 65 20 61 |uleID..#|define a|
|00000550| 62 6f 75 74 43 6d 64 43 | 6f 64 65 20 28 62 61 73 |boutCmdC|ode (bas|
|00000560| 65 43 6d 64 43 6f 64 65 | 20 2b 20 30 29 0d 0d 0d |eCmdCode| + 0)...|
|00000570| 63 6c 61 73 73 20 50 6c | 75 67 69 6e 0d 09 7b 0d |class Pl|ugin..{.|
|00000580| 70 75 62 6c 69 63 3a 0d | 09 50 6c 75 67 69 6e 28 |public:.|.Plugin(|
|00000590| 63 6f 6e 73 74 20 41 72 | 72 61 6e 67 65 43 61 6c |const Ar|rangeCal|
|000005a0| 6c 62 61 63 6b 54 62 6c | 2a 20 74 68 65 43 61 6c |lbackTbl|* theCal|
|000005b0| 6c 73 29 3b 0d 09 7e 50 | 6c 75 67 69 6e 28 29 3b |ls);..~P|lugin();|
|000005c0| 0d 09 0d 09 61 72 48 6f | 6f 6b 52 65 73 75 6c 74 |....arHo|okResult|
|000005d0| 20 43 6c 69 63 6b 4e 6f | 74 69 66 79 28 20 61 72 | ClickNo|tify( ar|
|000005e0| 43 6c 69 63 6b 4c 6f 63 | 61 74 69 6f 6e 20 6c 6f |ClickLoc|ation lo|
|000005f0| 63 2c 20 50 6f 69 6e 74 | 20 77 68 65 72 65 2c 20 |c, Point| where, |
|00000600| 53 68 6f 72 74 20 6d 6f | 64 69 66 69 65 72 73 2c |Short mo|difiers,|
|00000610| 0d 09 09 09 09 09 09 09 | 09 09 20 20 53 68 6f 72 |........|.. Shor|
|00000620| 74 20 63 6c 69 63 6b 43 | 6f 75 6e 74 2c 20 61 72 |t clickC|ount, ar|
|00000630| 4e 6f 74 65 49 44 20 6e | 6f 74 65 2c 20 61 72 46 |NoteID n|ote, arF|
|00000640| 69 65 6c 64 49 44 20 66 | 69 65 6c 64 2c 0d 09 09 |ieldID f|ield,...|
|00000650| 09 09 09 09 09 09 09 20 | 20 61 72 50 61 74 68 49 |....... | arPathI|
|00000660| 44 20 70 61 74 68 20 29 | 3b 0d 09 61 72 48 6f 6f |D path )|;..arHoo|
|00000670| 6b 52 65 73 75 6c 74 20 | 4b 65 79 4e 6f 74 69 66 |kResult |KeyNotif|
|00000680| 79 20 20 28 20 53 68 6f | 72 74 20 74 68 65 43 68 |y ( Sho|rt theCh|
|00000690| 61 72 2c 20 53 68 6f 72 | 74 20 6b 65 79 2c 20 53 |ar, Shor|t key, S|
|000006a0| 68 6f 72 74 20 6d 6f 64 | 69 66 69 65 72 73 20 29 |hort mod|ifiers )|
|000006b0| 3b 0d 09 61 72 48 6f 6f | 6b 52 65 73 75 6c 74 20 |;..arHoo|kResult |
|000006c0| 4d 65 6e 75 4e 6f 74 69 | 66 79 20 28 20 49 6e 74 |MenuNoti|fy ( Int|
|000006d0| 65 67 65 72 20 63 6f 6d | 6d 61 6e 64 43 6f 64 65 |eger com|mandCode|
|000006e0| 2c 20 49 6e 74 65 67 65 | 72 20 63 6f 6d 6d 61 6e |, Intege|r comman|
|000006f0| 64 50 61 72 61 6d 2c 0d | 09 09 09 09 09 09 09 09 |dParam,.|........|
|00000700| 09 20 20 53 68 6f 72 74 | 20 6d 6f 64 69 66 69 65 |. Short| modifie|
|00000710| 72 73 20 29 3b 0d 09 61 | 72 48 6f 6f 6b 52 65 73 |rs );..a|rHookRes|
|00000720| 75 6c 74 20 46 69 65 6c | 64 4e 6f 74 69 66 79 28 |ult Fiel|dNotify(|
|00000730| 20 61 72 4e 6f 74 65 49 | 44 20 6e 6f 74 65 2c 20 | arNoteI|D note, |
|00000740| 61 72 46 69 65 6c 64 49 | 44 20 66 69 65 6c 64 2c |arFieldI|D field,|
|00000750| 20 61 72 46 69 65 6c 64 | 41 63 74 69 6f 6e 20 61 | arField|Action a|
|00000760| 63 74 69 6f 6e 2c 0d 09 | 09 09 09 09 09 09 09 09 |ction,..|........|
|00000770| 20 20 63 6f 6e 73 74 20 | 63 68 61 72 2a 20 63 68 | const |char* ch|
|00000780| 6f 69 63 65 54 65 78 74 | 20 29 3b 0d 09 76 6f 69 |oiceText| );..voi|
|00000790| 64 20 20 20 20 20 20 20 | 20 20 54 6f 70 69 63 4e |d | TopicN|
|000007a0| 6f 74 69 66 79 28 20 61 | 72 54 6f 70 69 63 49 44 |otify( a|rTopicID|
|000007b0| 20 6e 65 77 54 6f 70 69 | 63 2c 20 61 72 57 69 6e | newTopi|c, arWin|
|000007c0| 64 6f 77 49 44 20 6e 65 | 77 57 69 6e 64 6f 77 2c |dowID ne|wWindow,|
|000007d0| 0d 09 09 09 09 09 09 09 | 09 09 20 20 61 72 54 6f |........|.. arTo|
|000007e0| 70 69 63 41 63 74 69 6f | 6e 20 61 63 74 69 6f 6e |picActio|n action|
|000007f0| 20 29 3b 0d 09 76 6f 69 | 64 09 09 09 20 54 69 63 | );..voi|d... Tic|
|00000800| 6b 4e 6f 74 69 66 79 20 | 28 20 20 29 3b 0d 09 61 |kNotify |( );..a|
|00000810| 72 48 6f 6f 6b 52 65 73 | 75 6c 74 20 46 69 6c 65 |rHookRes|ult File|
|00000820| 4e 6f 74 69 66 79 20 28 | 20 61 72 46 69 6c 65 41 |Notify (| arFileA|
|00000830| 63 74 69 6f 6e 20 61 63 | 74 69 6f 6e 20 29 3b 0d |ction ac|tion );.|
|00000840| 09 61 72 48 6f 6f 6b 52 | 65 73 75 6c 74 20 51 75 |.arHookR|esult Qu|
|00000850| 69 74 4e 6f 74 69 66 79 | 20 28 20 20 29 3b 0d 09 |itNotify| ( );..|
|00000860| 76 6f 69 64 20 20 20 20 | 20 20 20 20 20 41 54 4d |void | ATM|
|00000870| 4e 6f 74 69 66 79 20 20 | 28 20 20 29 3b 0d 09 0d |Notify |( );...|
|00000880| 70 72 69 76 61 74 65 3a | 0d 09 63 6f 6e 73 74 20 |private:|..const |
|00000890| 41 72 72 61 6e 67 65 43 | 61 6c 6c 62 61 63 6b 54 |ArrangeC|allbackT|
|000008a0| 62 6c 2a 20 63 61 6c 6c | 73 3b 20 2f 2f 20 63 61 |bl* call|s; // ca|
|000008b0| 6c 6c 62 61 63 6b 20 74 | 61 62 6c 65 0d 09 7d 3b |llback t|able..};|
|000008c0| 20 2f 2f 20 50 6c 75 67 | 69 6e 0d 0d 0d 2f 2a 2a | // Plug|in.../**|
|000008d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000008e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000008f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000900| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000910| 2a 2a 2a 2a 2a 2a 2a 2f | 0d 2f 2a 2a 2a 2a 2a 2a |*******/|./******|
|00000920| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000930| 2a 2a 2a 2a 2a 2a 20 4d | 61 69 6e 20 65 6e 74 72 |****** M|ain entr|
|00000940| 79 20 70 6f 69 6e 74 20 | 2a 2a 2a 2a 2a 2a 2a 2a |y point |********|
|00000950| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000960| 2a 2a 2a 2f 0d 2f 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |***/./**|********|
|00000970| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000980| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000990| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000009a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2f |********|*******/|
|000009b0| 0d 0d 2f 2a 20 52 6f 6f | 74 20 65 6e 74 72 79 20 |../* Roo|t entry |
|000009c0| 70 6f 69 6e 74 20 66 6f | 72 20 74 68 65 20 6d 6f |point fo|r the mo|
|000009d0| 64 75 6c 65 20 2d 20 6d | 75 73 74 20 62 65 20 74 |dule - m|ust be t|
|000009e0| 68 65 20 66 69 72 73 74 | 20 66 75 6e 63 74 69 6f |he first| functio|
|000009f0| 6e 20 69 6e 20 74 68 65 | 0d 20 2a 20 66 69 6c 65 |n in the|. * file|
|00000a00| 2c 20 73 6f 20 74 68 61 | 74 20 74 68 65 20 6c 69 |, so tha|t the li|
|00000a10| 6e 6b 65 72 20 77 69 6c | 6c 20 70 6c 61 63 65 20 |nker wil|l place |
|00000a20| 69 74 20 66 69 72 73 74 | 20 69 6e 20 74 68 65 20 |it first| in the |
|00000a30| 63 6f 64 65 20 73 65 67 | 6d 65 6e 74 2e 0d 20 2a |code seg|ment.. *|
|00000a40| 20 54 68 69 73 20 69 73 | 20 74 68 65 20 72 6f 75 | This is| the rou|
|00000a50| 74 69 6e 65 20 77 68 69 | 63 68 20 41 72 72 61 6e |tine whi|ch Arran|
|00000a60| 67 65 20 63 61 6c 6c 73 | 20 61 74 20 61 70 70 6c |ge calls| at appl|
|00000a70| 69 63 61 74 69 6f 6e 20 | 73 74 61 72 74 75 70 20 |ication |startup |
|00000a80| 74 69 6d 65 0d 20 2a 20 | 28 61 6e 64 20 61 67 61 |time. * |(and aga|
|00000a90| 69 6e 20 61 74 20 71 75 | 69 74 20 74 69 6d 65 29 |in at qu|it time)|
|00000aa0| 2e 0d 20 2a 20 0d 20 2a | 20 4d 6f 73 74 20 70 6c |.. * . *| Most pl|
|00000ab0| 75 67 2d 69 6e 73 20 77 | 69 6c 6c 20 6e 6f 74 20 |ug-ins w|ill not |
|00000ac0| 6e 65 65 64 20 74 6f 20 | 6d 6f 64 69 66 79 20 74 |need to |modify t|
|00000ad0| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 6f 72 20 74 |his rout|ine or t|
|00000ae0| 68 65 20 48 6f 6f 6b 20 | 66 75 6e 63 74 69 6f 6e |he Hook |function|
|00000af0| 73 0d 20 2a 20 69 6d 6d | 65 64 69 61 74 65 6c 79 |s. * imm|ediately|
|00000b00| 20 66 6f 6c 6c 6f 77 69 | 6e 67 2e 20 20 41 6c 6c | followi|ng. All|
|00000b10| 20 63 75 73 74 6f 6d 69 | 7a 61 74 69 6f 6e 20 63 | customi|zation c|
|00000b20| 61 6e 20 62 65 20 64 6f | 6e 65 20 69 6e 20 74 68 |an be do|ne in th|
|00000b30| 65 20 22 50 6c 75 67 69 | 6e 22 0d 20 2a 20 73 65 |e "Plugi|n". * se|
|00000b40| 63 74 69 6f 6e 20 28 62 | 65 6c 6f 77 29 2e 0d 20 |ction (b|elow).. |
|00000b50| 2a 2f 0d 65 78 74 65 72 | 6e 20 22 43 22 20 49 6e |*/.exter|n "C" In|
|00000b60| 74 65 67 65 72 20 4f 75 | 72 4d 6f 64 75 6c 65 52 |teger Ou|rModuleR|
|00000b70| 6f 6f 74 28 20 4d 6f 64 | 75 6c 65 50 61 72 61 6d |oot( Mod|uleParam|
|00000b80| 42 6c 6f 63 6b 20 2a 70 | 62 2c 20 4d 6f 64 75 6c |Block *p|b, Modul|
|00000b90| 65 52 6f 6f 74 41 63 74 | 69 6f 6e 20 61 63 74 69 |eRootAct|ion acti|
|00000ba0| 6f 6e 2c 0d 09 09 09 09 | 09 09 09 09 09 09 20 20 |on,.....|...... |
|00000bb0| 20 20 49 6e 74 65 67 65 | 72 20 2f 2a 70 31 2a 2f | Intege|r /*p1*/|
|00000bc0| 20 29 0d 09 7b 0d 09 2f | 2a 20 45 78 74 72 61 63 | )..{../|* Extrac|
|00000bd0| 74 20 74 68 65 20 63 61 | 6c 6c 62 61 63 6b 20 74 |t the ca|llback t|
|00000be0| 61 62 6c 65 20 66 72 6f | 6d 20 6f 75 72 20 70 61 |able fro|m our pa|
|00000bf0| 72 61 6d 65 74 65 72 20 | 62 6c 6f 63 6b 2c 20 61 |rameter |block, a|
|00000c00| 6e 64 20 63 6f 65 72 63 | 65 20 69 74 0d 09 20 2a |nd coerc|e it.. *|
|00000c10| 20 74 6f 20 74 68 65 20 | 65 78 74 65 6e 64 65 64 | to the |extended|
|00000c20| 20 41 72 72 61 6e 67 65 | 20 74 61 62 6c 65 2e 0d | Arrange| table..|
|00000c30| 09 20 2a 2f 0d 09 41 72 | 72 61 6e 67 65 43 61 6c |. */..Ar|rangeCal|
|00000c40| 6c 62 61 63 6b 54 62 6c | 2a 20 63 61 6c 6c 73 20 |lbackTbl|* calls |
|00000c50| 3d 20 28 41 72 72 61 6e | 67 65 43 61 6c 6c 62 61 |= (Arran|geCallba|
|00000c60| 63 6b 54 62 6c 2a 29 28 | 70 62 2d 3e 63 61 6c 6c |ckTbl*)(|pb->call|
|00000c70| 73 29 3b 0d 09 0d 09 73 | 77 69 74 63 68 20 28 61 |s);....s|witch (a|
|00000c80| 63 74 69 6f 6e 29 0d 09 | 09 7b 0d 09 09 63 61 73 |ction)..|.{...cas|
|00000c90| 65 20 6d 72 4c 6f 61 64 | 3a 0d 09 09 09 7b 0d 09 |e mrLoad|:....{..|
|00000ca0| 09 09 2f 2f 20 41 6c 6c | 6f 63 61 74 65 20 6d 65 |..// All|ocate me|
|00000cb0| 6d 6f 72 79 20 61 6e 64 | 20 63 72 65 61 74 65 20 |mory and| create |
|00000cc0| 61 20 6e 65 77 20 50 6c | 75 67 69 6e 20 6f 62 6a |a new Pl|ugin obj|
|00000cd0| 65 63 74 2e 0d 09 09 09 | 76 6f 69 64 2a 20 73 74 |ect.....|void* st|
|00000ce0| 6f 72 61 67 65 20 3d 20 | 63 61 6c 6c 73 2d 3e 6d |orage = |calls->m|
|00000cf0| 65 6d 2d 3e 41 6c 6c 6f | 63 4d 65 6d 28 20 73 69 |em->Allo|cMem( si|
|00000d00| 7a 65 6f 66 28 50 6c 75 | 67 69 6e 29 2c 0d 09 09 |zeof(Plu|gin),...|
|00000d10| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 20 20 61 |........|..... a|
|00000d20| 6d 46 72 65 65 53 74 6f | 72 65 20 7c 20 61 6d 45 |mFreeSto|re | amE|
|00000d30| 72 72 49 66 4e 6f 4d 65 | 6d 20 29 3b 0d 09 09 09 |rrIfNoMe|m );....|
|00000d40| 70 62 2d 3e 6d 6f 64 75 | 6c 65 52 65 66 63 6f 6e |pb->modu|leRefcon|
|00000d50| 20 3d 20 75 49 6e 74 65 | 67 65 72 28 6e 65 77 28 | = uInte|ger(new(|
|00000d60| 73 74 6f 72 61 67 65 29 | 20 50 6c 75 67 69 6e 28 |storage)| Plugin(|
|00000d70| 63 61 6c 6c 73 29 29 3b | 0d 09 09 09 72 65 74 75 |calls));|....retu|
|00000d80| 72 6e 20 31 3b 0d 09 09 | 09 7d 0d 09 09 0d 09 09 |rn 1;...|.}......|
|00000d90| 63 61 73 65 20 6d 72 55 | 6e 6c 6f 61 64 3a 0d 09 |case mrU|nload:..|
|00000da0| 09 09 7b 0d 09 09 09 2f | 2a 20 44 69 73 70 6f 73 |..{..../|* Dispos|
|00000db0| 65 20 6f 66 20 74 68 65 | 20 50 6c 75 67 69 6e 20 |e of the| Plugin |
|00000dc0| 6f 62 6a 65 63 74 20 61 | 6e 64 20 72 65 6c 65 61 |object a|nd relea|
|00000dd0| 73 65 20 74 68 65 20 6d | 65 6d 6f 72 79 0d 09 09 |se the m|emory...|
|00000de0| 09 20 2a 20 69 74 20 6f | 63 63 75 70 69 65 73 2e |. * it o|ccupies.|
|00000df0| 0d 09 09 09 20 2a 2f 0d | 09 09 09 64 65 6c 65 74 |.... */.|...delet|
|00000e00| 65 20 28 50 6c 75 67 69 | 6e 2a 29 28 70 62 2d 3e |e (Plugi|n*)(pb->|
|00000e10| 6d 6f 64 75 6c 65 52 65 | 66 63 6f 6e 29 3b 0d 09 |moduleRe|fcon);..|
|00000e20| 09 09 63 61 6c 6c 73 2d | 3e 6d 65 6d 2d 3e 44 65 |..calls-|>mem->De|
|00000e30| 61 6c 6c 6f 63 4d 65 6d | 28 28 76 6f 69 64 2a 29 |allocMem|((void*)|
|00000e40| 28 70 62 2d 3e 6d 6f 64 | 75 6c 65 52 65 66 63 6f |(pb->mod|uleRefco|
|00000e50| 6e 29 2c 20 61 6d 46 72 | 65 65 53 74 6f 72 65 29 |n), amFr|eeStore)|
|00000e60| 3b 0d 09 09 09 72 65 74 | 75 72 6e 20 30 3b 0d 09 |;....ret|urn 0;..|
|00000e70| 09 09 7d 0d 09 09 0d 09 | 09 63 61 73 65 20 6d 72 |..}.....|.case mr|
|00000e80| 46 69 6e 64 45 6e 74 72 | 79 3a 0d 09 09 64 65 66 |FindEntr|y:...def|
|00000e90| 61 75 6c 74 3a 0d 09 09 | 09 7b 0d 09 09 09 2f 2a |ault:...|.{..../*|
|00000ea0| 20 54 68 69 73 20 6d 6f | 64 75 6c 65 20 63 6f 6e | This mo|dule con|
|00000eb0| 74 61 69 6e 73 20 6e 6f | 20 65 78 74 65 6e 64 65 |tains no| extende|
|00000ec0| 64 20 65 6e 74 72 79 20 | 70 6f 69 6e 74 73 2c 20 |d entry |points, |
|00000ed0| 73 6f 20 77 65 20 61 6c | 77 61 79 73 0d 09 09 09 |so we al|ways....|
|00000ee0| 20 2a 20 72 65 74 75 72 | 6e 20 30 20 66 6f 72 20 | * retur|n 0 for |
|00000ef0| 74 68 65 20 6d 72 46 69 | 6e 64 45 6e 74 72 79 20 |the mrFi|ndEntry |
|00000f00| 6d 65 73 73 61 67 65 2e | 20 20 4d 6f 73 74 20 70 |message.| Most p|
|00000f10| 6c 75 67 2d 69 6e 73 20 | 77 69 6c 6c 20 6e 6f 74 |lug-ins |will not|
|00000f20| 0d 09 09 09 20 2a 20 75 | 73 65 20 65 78 74 65 6e |.... * u|se exten|
|00000f30| 64 65 64 20 65 6e 74 72 | 79 20 70 6f 69 6e 74 73 |ded entr|y points|
|00000f40| 2e 0d 09 09 09 20 2a 2f | 0d 09 09 09 72 65 74 75 |..... */|....retu|
|00000f50| 72 6e 20 30 3b 0d 09 09 | 09 7d 0d 09 09 0d 09 09 |rn 0;...|.}......|
|00000f60| 7d 20 2f 2f 20 73 77 69 | 74 63 68 20 28 61 63 74 |} // swi|tch (act|
|00000f70| 69 6f 6e 29 0d 09 0d 09 | 7d 20 2f 2f 20 4f 75 72 |ion)....|} // Our|
|00000f80| 4d 6f 64 75 6c 65 52 6f | 6f 74 0d 0d 0d 2f 2a 20 |ModuleRo|ot.../* |
|00000f90| 54 68 65 73 65 20 68 6f | 6f 6b 20 66 75 6e 63 74 |These ho|ok funct|
|00000fa0| 69 6f 6e 73 20 73 69 6d | 70 6c 79 20 70 61 73 73 |ions sim|ply pass|
|00000fb0| 20 63 6f 6e 74 72 6f 6c | 20 74 6f 20 74 68 65 20 | control| to the |
|00000fc0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 66 75 6e 63 |appropri|ate func|
|00000fd0| 74 69 6f 6e 0d 20 2a 20 | 69 6e 20 74 68 65 20 50 |tion. * |in the P|
|00000fe0| 6c 75 67 69 6e 20 6f 62 | 6a 65 63 74 2e 0d 20 2a |lugin ob|ject.. *|
|00000ff0| 2f 0d 73 74 61 74 69 63 | 20 61 72 48 6f 6f 6b 52 |/.static| arHookR|
|00001000| 65 73 75 6c 74 20 4f 75 | 72 43 6c 69 63 6b 48 6f |esult Ou|rClickHo|
|00001010| 6f 6b 28 20 4d 6f 64 75 | 6c 65 50 61 72 61 6d 42 |ok( Modu|leParamB|
|00001020| 6c 6f 63 6b 2a 20 70 62 | 2c 20 61 72 43 6c 69 63 |lock* pb|, arClic|
|00001030| 6b 4c 6f 63 61 74 69 6f | 6e 20 6c 6f 63 2c 0d 09 |kLocatio|n loc,..|
|00001040| 09 09 09 09 09 09 09 09 | 09 09 20 50 6f 69 6e 74 |........|.. Point|
|00001050| 20 77 68 65 72 65 2c 20 | 70 53 68 6f 72 74 20 6d | where, |pShort m|
|00001060| 6f 64 69 66 69 65 72 73 | 2c 20 70 53 68 6f 72 74 |odifiers|, pShort|
|00001070| 20 63 6c 69 63 6b 43 6f | 75 6e 74 2c 0d 09 09 09 | clickCo|unt,....|
|00001080| 09 09 09 09 09 09 09 09 | 20 61 72 4e 6f 74 65 49 |........| arNoteI|
|00001090| 44 20 6e 6f 74 65 2c 20 | 61 72 46 69 65 6c 64 49 |D note, |arFieldI|
|000010a0| 44 20 66 69 65 6c 64 2c | 0d 09 09 09 09 09 09 09 |D field,|........|
|000010b0| 09 09 09 09 20 61 72 50 | 61 74 68 49 44 20 70 61 |.... arP|athID pa|
|000010c0| 74 68 20 45 4e 44 50 20 | 29 0d 09 7b 0d 09 72 65 |th ENDP |)..{..re|
|000010d0| 74 75 72 6e 20 28 28 50 | 6c 75 67 69 6e 2a 29 28 |turn ((P|lugin*)(|
|000010e0| 70 62 2d 3e 6d 6f 64 75 | 6c 65 52 65 66 63 6f 6e |pb->modu|leRefcon|
|000010f0| 29 29 2d 3e 43 6c 69 63 | 6b 4e 6f 74 69 66 79 28 |))->Clic|kNotify(|
|00001100| 20 6c 6f 63 2c 20 77 68 | 65 72 65 2c 20 6d 6f 64 | loc, wh|ere, mod|
|00001110| 69 66 69 65 72 73 2c 0d | 09 09 09 09 09 09 09 09 |ifiers,.|........|
|00001120| 09 09 09 09 09 09 09 09 | 09 09 63 6c 69 63 6b 43 |........|..clickC|
|00001130| 6f 75 6e 74 2c 20 6e 6f | 74 65 2c 20 66 69 65 6c |ount, no|te, fiel|
|00001140| 64 2c 0d 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |d,......|........|
|00001150| 09 09 09 09 09 70 61 74 | 68 20 29 3b 0d 09 7d 0d |.....pat|h );..}.|
|00001160| 0d 0d 73 74 61 74 69 63 | 20 61 72 48 6f 6f 6b 52 |..static| arHookR|
|00001170| 65 73 75 6c 74 20 4f 75 | 72 4b 65 79 48 6f 6f 6b |esult Ou|rKeyHook|
|00001180| 28 20 4d 6f 64 75 6c 65 | 50 61 72 61 6d 42 6c 6f |( Module|ParamBlo|
|00001190| 63 6b 2a 20 70 62 2c 20 | 70 53 68 6f 72 74 20 74 |ck* pb, |pShort t|
|000011a0| 68 65 43 68 61 72 2c 20 | 70 53 68 6f 72 74 20 6b |heChar, |pShort k|
|000011b0| 65 79 2c 0d 09 09 09 09 | 09 09 09 09 09 09 20 20 |ey,.....|...... |
|000011c0| 70 53 68 6f 72 74 20 6d | 6f 64 69 66 69 65 72 73 |pShort m|odifiers|
|000011d0| 20 45 4e 44 50 20 29 0d | 09 7b 0d 09 72 65 74 75 | ENDP ).|.{..retu|
|000011e0| 72 6e 20 28 28 50 6c 75 | 67 69 6e 2a 29 28 70 62 |rn ((Plu|gin*)(pb|
|000011f0| 2d 3e 6d 6f 64 75 6c 65 | 52 65 66 63 6f 6e 29 29 |->module|Refcon))|
|00001200| 2d 3e 4b 65 79 4e 6f 74 | 69 66 79 28 74 68 65 43 |->KeyNot|ify(theC|
|00001210| 68 61 72 2c 20 6b 65 79 | 2c 20 6d 6f 64 69 66 69 |har, key|, modifi|
|00001220| 65 72 73 29 3b 0d 09 7d | 0d 0d 0d 73 74 61 74 69 |ers);..}|...stati|
|00001230| 63 20 61 72 48 6f 6f 6b | 52 65 73 75 6c 74 20 4f |c arHook|Result O|
|00001240| 75 72 4d 65 6e 75 48 6f | 6f 6b 28 20 4d 6f 64 75 |urMenuHo|ok( Modu|
|00001250| 6c 65 50 61 72 61 6d 42 | 6c 6f 63 6b 2a 20 70 62 |leParamB|lock* pb|
|00001260| 2c 20 49 6e 74 65 67 65 | 72 20 63 6f 6d 6d 61 6e |, Intege|r comman|
|00001270| 64 43 6f 64 65 2c 0d 09 | 09 09 09 09 09 09 09 09 |dCode,..|........|
|00001280| 09 09 49 6e 74 65 67 65 | 72 20 63 6f 6d 6d 61 6e |..Intege|r comman|
|00001290| 64 50 61 72 61 6d 2c 20 | 70 53 68 6f 72 74 20 6d |dParam, |pShort m|
|000012a0| 6f 64 69 66 69 65 72 73 | 20 45 4e 44 50 20 29 0d |odifiers| ENDP ).|
|000012b0| 09 7b 0d 09 72 65 74 75 | 72 6e 20 28 28 50 6c 75 |.{..retu|rn ((Plu|
|000012c0| 67 69 6e 2a 29 28 70 62 | 2d 3e 6d 6f 64 75 6c 65 |gin*)(pb|->module|
|000012d0| 52 65 66 63 6f 6e 29 29 | 2d 3e 4d 65 6e 75 4e 6f |Refcon))|->MenuNo|
|000012e0| 74 69 66 79 28 20 63 6f | 6d 6d 61 6e 64 43 6f 64 |tify( co|mmandCod|
|000012f0| 65 2c 20 63 6f 6d 6d 61 | 6e 64 50 61 72 61 6d 2c |e, comma|ndParam,|
|00001300| 0d 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |........|........|
|00001310| 09 20 20 20 20 20 6d 6f | 64 69 66 69 65 72 73 20 |. mo|difiers |
|00001320| 29 3b 0d 09 7d 0d 0d 0d | 73 74 61 74 69 63 20 61 |);..}...|static a|
|00001330| 72 48 6f 6f 6b 52 65 73 | 75 6c 74 20 4f 75 72 46 |rHookRes|ult OurF|
|00001340| 69 65 6c 64 48 6f 6f 6b | 28 20 4d 6f 64 75 6c 65 |ieldHook|( Module|
|00001350| 50 61 72 61 6d 42 6c 6f | 63 6b 2a 20 70 62 2c 20 |ParamBlo|ck* pb, |
|00001360| 61 72 4e 6f 74 65 49 44 | 20 6e 6f 74 65 2c 0d 09 |arNoteID| note,..|
|00001370| 09 09 09 09 09 09 09 09 | 09 09 20 61 72 46 69 65 |........|.. arFie|
|00001380| 6c 64 49 44 20 66 69 65 | 6c 64 2c 20 61 72 46 69 |ldID fie|ld, arFi|
|00001390| 65 6c 64 41 63 74 69 6f | 6e 20 61 63 74 69 6f 6e |eldActio|n action|
|000013a0| 2c 0d 09 09 09 09 09 09 | 09 09 09 09 09 20 63 6f |,.......|..... co|
|000013b0| 6e 73 74 20 63 68 61 72 | 2a 20 63 68 6f 69 63 65 |nst char|* choice|
|000013c0| 54 65 78 74 20 45 4e 44 | 50 20 29 0d 09 7b 0d 09 |Text END|P )..{..|
|000013d0| 72 65 74 75 72 6e 20 28 | 28 50 6c 75 67 69 6e 2a |return (|(Plugin*|
|000013e0| 29 28 70 62 2d 3e 6d 6f | 64 75 6c 65 52 65 66 63 |)(pb->mo|duleRefc|
|000013f0| 6f 6e 29 29 2d 3e 46 69 | 65 6c 64 4e 6f 74 69 66 |on))->Fi|eldNotif|
|00001400| 79 28 20 6e 6f 74 65 2c | 20 66 69 65 6c 64 2c 20 |y( note,| field, |
|00001410| 61 63 74 69 6f 6e 2c 0d | 09 09 09 09 09 09 09 09 |action,.|........|
|00001420| 09 09 09 09 09 09 09 09 | 09 09 63 68 6f 69 63 65 |........|..choice|
|00001430| 54 65 78 74 20 29 3b 0d | 09 7d 0d 0d 0d 73 74 61 |Text );.|.}...sta|
|00001440| 74 69 63 20 76 6f 69 64 | 20 4f 75 72 54 6f 70 69 |tic void| OurTopi|
|00001450| 63 48 6f 6f 6b 28 20 4d | 6f 64 75 6c 65 50 61 72 |cHook( M|odulePar|
|00001460| 61 6d 42 6c 6f 63 6b 2a | 20 70 62 2c 20 61 72 54 |amBlock*| pb, arT|
|00001470| 6f 70 69 63 49 44 20 6e | 65 77 54 6f 70 69 63 2c |opicID n|ewTopic,|
|00001480| 0d 09 09 09 09 09 09 09 | 09 20 20 61 72 57 69 6e |........|. arWin|
|00001490| 64 6f 77 49 44 20 6e 65 | 77 57 69 6e 64 6f 77 2c |dowID ne|wWindow,|
|000014a0| 20 61 72 54 6f 70 69 63 | 41 63 74 69 6f 6e 20 61 | arTopic|Action a|
|000014b0| 63 74 69 6f 6e 20 45 4e | 44 50 20 29 0d 09 7b 0d |ction EN|DP )..{.|
|000014c0| 09 28 28 50 6c 75 67 69 | 6e 2a 29 28 70 62 2d 3e |.((Plugi|n*)(pb->|
|000014d0| 6d 6f 64 75 6c 65 52 65 | 66 63 6f 6e 29 29 2d 3e |moduleRe|fcon))->|
|000014e0| 54 6f 70 69 63 4e 6f 74 | 69 66 79 28 6e 65 77 54 |TopicNot|ify(newT|
|000014f0| 6f 70 69 63 2c 20 6e 65 | 77 57 69 6e 64 6f 77 2c |opic, ne|wWindow,|
|00001500| 20 61 63 74 69 6f 6e 29 | 3b 0d 09 7d 0d 0d 0d 73 | action)|;..}...s|
|00001510| 74 61 74 69 63 20 76 6f | 69 64 20 4f 75 72 54 69 |tatic vo|id OurTi|
|00001520| 63 6b 48 6f 6f 6b 28 4d | 6f 64 75 6c 65 50 61 72 |ckHook(M|odulePar|
|00001530| 61 6d 42 6c 6f 63 6b 2a | 20 70 62 20 45 4e 44 50 |amBlock*| pb ENDP|
|00001540| 29 0d 09 7b 0d 09 28 28 | 50 6c 75 67 69 6e 2a 29 |)..{..((|Plugin*)|
|00001550| 28 70 62 2d 3e 6d 6f 64 | 75 6c 65 52 65 66 63 6f |(pb->mod|uleRefco|
|00001560| 6e 29 29 2d 3e 54 69 63 | 6b 4e 6f 74 69 66 79 28 |n))->Tic|kNotify(|
|00001570| 29 3b 0d 09 7d 0d 0d 0d | 73 74 61 74 69 63 20 61 |);..}...|static a|
|00001580| 72 48 6f 6f 6b 52 65 73 | 75 6c 74 20 4f 75 72 46 |rHookRes|ult OurF|
|00001590| 69 6c 65 48 6f 6f 6b 28 | 4d 6f 64 75 6c 65 50 61 |ileHook(|ModulePa|
|000015a0| 72 61 6d 42 6c 6f 63 6b | 2a 20 70 62 2c 20 61 72 |ramBlock|* pb, ar|
|000015b0| 46 69 6c 65 41 63 74 69 | 6f 6e 20 61 63 74 69 6f |FileActi|on actio|
|000015c0| 6e 20 45 4e 44 50 29 0d | 09 7b 0d 09 72 65 74 75 |n ENDP).|.{..retu|
|000015d0| 72 6e 20 28 28 50 6c 75 | 67 69 6e 2a 29 28 70 62 |rn ((Plu|gin*)(pb|
|000015e0| 2d 3e 6d 6f 64 75 6c 65 | 52 65 66 63 6f 6e 29 29 |->module|Refcon))|
|000015f0| 2d 3e 46 69 6c 65 4e 6f | 74 69 66 79 28 61 63 74 |->FileNo|tify(act|
|00001600| 69 6f 6e 29 3b 0d 09 7d | 0d 0d 0d 73 74 61 74 69 |ion);..}|...stati|
|00001610| 63 20 61 72 48 6f 6f 6b | 52 65 73 75 6c 74 20 4f |c arHook|Result O|
|00001620| 75 72 51 75 69 74 48 6f | 6f 6b 28 4d 6f 64 75 6c |urQuitHo|ok(Modul|
|00001630| 65 50 61 72 61 6d 42 6c | 6f 63 6b 2a 20 70 62 20 |eParamBl|ock* pb |
|00001640| 45 4e 44 50 29 0d 09 7b | 0d 09 72 65 74 75 72 6e |ENDP)..{|..return|
|00001650| 20 28 28 50 6c 75 67 69 | 6e 2a 29 28 70 62 2d 3e | ((Plugi|n*)(pb->|
|00001660| 6d 6f 64 75 6c 65 52 65 | 66 63 6f 6e 29 29 2d 3e |moduleRe|fcon))->|
|00001670| 51 75 69 74 4e 6f 74 69 | 66 79 28 29 3b 0d 09 7d |QuitNoti|fy();..}|
|00001680| 0d 0d 0d 73 74 61 74 69 | 63 20 76 6f 69 64 20 4f |...stati|c void O|
|00001690| 75 72 41 54 4d 48 6f 6f | 6b 28 4d 6f 64 75 6c 65 |urATMHoo|k(Module|
|000016a0| 50 61 72 61 6d 42 6c 6f | 63 6b 2a 20 70 62 20 45 |ParamBlo|ck* pb E|
|000016b0| 4e 44 50 29 0d 09 7b 0d | 09 28 28 50 6c 75 67 69 |NDP)..{.|.((Plugi|
|000016c0| 6e 2a 29 28 70 62 2d 3e | 6d 6f 64 75 6c 65 52 65 |n*)(pb->|moduleRe|
|000016d0| 66 63 6f 6e 29 29 2d 3e | 41 54 4d 4e 6f 74 69 66 |fcon))->|ATMNotif|
|000016e0| 79 28 29 3b 0d 09 7d 0d | 0d 0d 2f 2a 2a 2a 2a 2a |y();..}.|../*****|
|000016f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001700| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001710| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001720| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001730| 2a 2a 2a 2a 2f 0d 2f 2a | 2a 2a 2a 2a 2a 2a 2a 2a |****/./*|********|
|00001740| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001750| 2a 2a 2a 2a 2a 2a 2a 2a | 20 50 6c 75 67 69 6e 20 |********| Plugin |
|00001760| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001770| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001780| 2f 0d 2f 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/./*****|********|
|00001790| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2f 0d 0d 2f |********|****/../|
|000017d0| 2a 20 43 6f 6e 73 74 72 | 75 63 74 20 61 20 50 6c |* Constr|uct a Pl|
|000017e0| 75 67 69 6e 20 6f 62 6a | 65 63 74 2e 20 20 54 68 |ugin obj|ect. Th|
|000017f0| 69 73 20 69 73 20 63 61 | 6c 6c 65 64 20 6f 6e 63 |is is ca|lled onc|
|00001800| 65 2c 20 66 72 6f 6d 20 | 74 68 65 20 4f 75 72 4d |e, from |the OurM|
|00001810| 6f 64 75 6c 65 52 6f 6f | 74 0d 20 2a 20 66 75 6e |oduleRoo|t. * fun|
|00001820| 63 74 69 6f 6e 2c 20 77 | 68 65 6e 20 74 68 65 20 |ction, w|hen the |
|00001830| 6d 6f 64 75 6c 65 20 69 | 73 20 69 6e 69 74 69 61 |module i|s initia|
|00001840| 6c 69 7a 65 64 20 28 69 | 2e 65 2e 20 61 74 20 61 |lized (i|.e. at a|
|00001850| 70 70 6c 69 63 61 74 69 | 6f 6e 20 73 74 61 72 74 |pplicati|on start|
|00001860| 75 70 20 74 69 6d 65 29 | 2e 0d 20 2a 2f 0d 50 6c |up time)|.. */.Pl|
|00001870| 75 67 69 6e 3a 3a 50 6c | 75 67 69 6e 28 63 6f 6e |ugin::Pl|ugin(con|
|00001880| 73 74 20 41 72 72 61 6e | 67 65 43 61 6c 6c 62 61 |st Arran|geCallba|
|00001890| 63 6b 54 62 6c 2a 20 74 | 68 65 43 61 6c 6c 73 29 |ckTbl* t|heCalls)|
|000018a0| 0d 09 7b 0d 09 2f 2f 20 | 52 65 63 6f 72 64 20 74 |..{..// |Record t|
|000018b0| 68 65 20 63 61 6c 6c 62 | 61 63 6b 20 74 61 62 6c |he callb|ack tabl|
|000018c0| 65 20 66 6f 72 20 66 75 | 74 75 72 65 20 75 73 65 |e for fu|ture use|
|000018d0| 2e 0d 09 63 61 6c 6c 73 | 20 3d 20 74 68 65 43 61 |...calls| = theCa|
|000018e0| 6c 6c 73 3b 0d 09 0d 09 | 2f 2a 20 54 68 65 73 65 |lls;....|/* These|
|000018f0| 20 63 6f 6d 6d 61 6e 64 | 73 2c 20 69 66 20 75 6e | command|s, if un|
|00001900| 2d 63 6f 6d 6d 65 6e 74 | 65 64 2d 6f 75 74 2c 20 |-comment|ed-out, |
|00001910| 72 65 67 69 73 74 65 72 | 20 74 68 69 73 20 70 6c |register| this pl|
|00001920| 75 67 69 6e 20 74 6f 20 | 62 65 20 63 61 6c 6c 65 |ugin to |be calle|
|00001930| 64 0d 09 20 2a 20 62 79 | 20 41 72 72 61 6e 67 65 |d.. * by| Arrange|
|00001940| 20 77 68 65 6e 20 76 61 | 72 69 6f 75 73 20 65 76 | when va|rious ev|
|00001950| 65 6e 74 73 20 6f 63 63 | 75 72 2e 20 20 46 6f 72 |ents occ|ur. For|
|00001960| 20 65 78 61 6d 70 6c 65 | 2c 20 69 66 20 79 6f 75 | example|, if you|
|00001970| 20 75 6e 2d 63 6f 6d 6d | 65 6e 74 2d 6f 75 74 0d | un-comm|ent-out.|
|00001980| 09 20 2a 20 74 68 65 20 | 63 61 6c 6c 20 74 6f 20 |. * the |call to |
|00001990| 53 65 74 43 6c 69 63 6b | 48 6f 6f 6b 2c 20 74 68 |SetClick|Hook, th|
|000019a0| 65 6e 20 50 6c 75 67 69 | 6e 3a 3a 43 6c 69 63 6b |en Plugi|n::Click|
|000019b0| 4e 6f 74 69 66 79 20 77 | 69 6c 6c 20 62 65 20 63 |Notify w|ill be c|
|000019c0| 61 6c 6c 65 64 0d 09 20 | 2a 20 77 68 65 6e 65 76 |alled.. |* whenev|
|000019d0| 65 72 20 74 68 65 20 75 | 73 65 72 20 63 6c 69 63 |er the u|ser clic|
|000019e0| 6b 73 20 69 6e 20 61 6e | 79 20 6f 66 20 74 68 65 |ks in an|y of the|
|000019f0| 20 6c 6f 63 61 74 69 6f | 6e 73 20 64 65 73 63 72 | locatio|ns descr|
|00001a00| 69 62 65 64 20 69 6e 20 | 74 68 65 0d 09 20 2a 20 |ibed in |the.. * |
|00001a10| 61 72 43 6c 69 63 6b 4c | 6f 63 61 74 69 6f 6e 20 |arClickL|ocation |
|00001a20| 65 6e 75 6d 2e 0d 09 20 | 2a 2f 0d 09 2f 2f 20 63 |enum... |*/..// c|
|00001a30| 61 6c 6c 73 2d 3e 75 69 | 2d 3e 53 65 74 43 6c 69 |alls->ui|->SetCli|
|00001a40| 63 6b 48 6f 6f 6b 28 4f | 75 72 43 6c 69 63 6b 48 |ckHook(O|urClickH|
|00001a50| 6f 6f 6b 2c 20 30 2c 20 | 74 72 75 65 29 3b 0d 09 |ook, 0, |true);..|
|00001a60| 2f 2f 20 63 61 6c 6c 73 | 2d 3e 75 69 2d 3e 53 65 |// calls|->ui->Se|
|00001a70| 74 4b 65 79 48 6f 6f 6b | 20 20 28 4f 75 72 4b 65 |tKeyHook| (OurKe|
|00001a80| 79 48 6f 6f 6b 2c 20 20 | 20 30 2c 20 74 72 75 65 |yHook, | 0, true|
|00001a90| 2c 20 63 68 61 72 46 69 | 6c 74 65 72 2c 20 6b 65 |, charFi|lter, ke|
|00001aa0| 79 46 69 6c 74 65 72 2c | 20 6d 6f 64 46 69 6c 74 |yFilter,| modFilt|
|00001ab0| 65 72 29 3b 0d 09 2f 2f | 20 63 61 6c 6c 73 2d 3e |er);..//| calls->|
|00001ac0| 75 69 2d 3e 53 65 74 4d | 65 6e 75 48 6f 6f 6b 20 |ui->SetM|enuHook |
|00001ad0| 28 4f 75 72 4d 65 6e 75 | 48 6f 6f 6b 2c 20 20 30 |(OurMenu|Hook, 0|
|00001ae0| 2c 20 74 72 75 65 2c 20 | 77 68 69 63 68 43 6f 6d |, true, |whichCom|
|00001af0| 6d 61 6e 64 29 3b 0d 09 | 2f 2f 20 63 61 6c 6c 73 |mand);..|// calls|
|00001b00| 2d 3e 75 69 2d 3e 53 65 | 74 46 69 65 6c 64 48 6f |->ui->Se|tFieldHo|
|00001b10| 6f 6b 28 4f 75 72 46 69 | 65 6c 64 48 6f 6f 6b 2c |ok(OurFi|eldHook,|
|00001b20| 20 30 2c 20 74 72 75 65 | 2c 20 77 68 69 63 68 46 | 0, true|, whichF|
|00001b30| 69 65 6c 64 29 3b 0d 09 | 2f 2f 20 63 61 6c 6c 73 |ield);..|// calls|
|00001b40| 2d 3e 75 69 2d 3e 53 65 | 74 54 6f 70 69 63 48 6f |->ui->Se|tTopicHo|
|00001b50| 6f 6b 28 4f 75 72 54 6f | 70 69 63 48 6f 6f 6b 2c |ok(OurTo|picHook,|
|00001b60| 20 30 2c 20 74 72 75 65 | 29 3b 0d 09 2f 2f 20 63 | 0, true|);..// c|
|00001b70| 61 6c 6c 73 2d 3e 75 69 | 2d 3e 53 65 74 54 69 63 |alls->ui|->SetTic|
|00001b80| 6b 48 6f 6f 6b 20 28 4f | 75 72 54 69 63 6b 48 6f |kHook (O|urTickHo|
|00001b90| 6f 6b 2c 20 20 30 2c 20 | 74 72 75 65 29 3b 0d 09 |ok, 0, |true);..|
|00001ba0| 2f 2f 20 63 61 6c 6c 73 | 2d 3e 75 69 2d 3e 53 65 |// calls|->ui->Se|
|00001bb0| 74 46 69 6c 65 48 6f 6f | 6b 20 28 4f 75 72 46 69 |tFileHoo|k (OurFi|
|00001bc0| 6c 65 48 6f 6f 6b 2c 20 | 20 30 2c 20 74 72 75 65 |leHook, | 0, true|
|00001bd0| 29 3b 0d 09 2f 2f 20 63 | 61 6c 6c 73 2d 3e 75 69 |);..// c|alls->ui|
|00001be0| 2d 3e 53 65 74 51 75 69 | 74 48 6f 6f 6b 20 28 4f |->SetQui|tHook (O|
|00001bf0| 75 72 51 75 69 74 48 6f | 6f 6b 2c 20 20 30 2c 20 |urQuitHo|ok, 0, |
|00001c00| 74 72 75 65 29 3b 0d 09 | 2f 2f 20 63 61 6c 6c 73 |true);..|// calls|
|00001c10| 2d 3e 75 69 2d 3e 53 65 | 74 41 54 4d 48 6f 6f 6b |->ui->Se|tATMHook|
|00001c20| 20 20 28 4f 75 72 41 54 | 4d 48 6f 6f 6b 2c 20 20 | (OurAT|MHook, |
|00001c30| 20 30 2c 20 74 72 75 65 | 29 3b 0d 09 0d 09 2f 2f | 0, true|);....//|
|00001c40| 20 41 64 64 20 61 6e 20 | 69 74 65 6d 20 74 6f 20 | Add an |item to |
|00001c50| 74 68 65 20 41 62 6f 75 | 74 20 50 6c 75 67 69 6e |the Abou|t Plugin|
|00001c60| 73 20 6d 65 6e 75 20 66 | 6f 72 20 74 68 69 73 20 |s menu f|or this |
|00001c70| 70 6c 75 67 69 6e 2e 0d | 09 63 61 6c 6c 73 2d 3e |plugin..|.calls->|
|00001c80| 75 69 2d 3e 41 64 64 4d | 65 6e 75 49 74 65 6d 28 |ui->AddM|enuItem(|
|00001c90| 6d 50 6c 75 67 69 6e 41 | 62 6f 75 74 2c 20 22 41 |mPluginA|bout, "A|
|00001ca0| 62 6f 75 74 20 47 65 6e | 65 72 69 63 20 50 6c 75 |bout Gen|eric Plu|
|00001cb0| 67 69 6e 22 2c 20 30 2c | 20 61 62 6f 75 74 43 6d |gin", 0,| aboutCm|
|00001cc0| 64 43 6f 64 65 2c 20 30 | 29 3b 0d 09 0d 09 2f 2f |dCode, 0|);....//|
|00001cd0| 20 52 65 67 69 73 74 65 | 72 20 6f 75 72 73 65 6c | Registe|r oursel|
|00001ce0| 76 65 73 20 74 6f 20 62 | 65 20 63 61 6c 6c 65 64 |ves to b|e called|
|00001cf0| 20 77 68 65 6e 20 6f 75 | 72 20 41 62 6f 75 74 20 | when ou|r About |
|00001d00| 63 6f 6d 6d 61 6e 64 20 | 69 73 20 63 68 6f 73 65 |command |is chose|
|00001d10| 6e 2e 0d 09 63 61 6c 6c | 73 2d 3e 75 69 2d 3e 53 |n...call|s->ui->S|
|00001d20| 65 74 4d 65 6e 75 48 6f | 6f 6b 28 4f 75 72 4d 65 |etMenuHo|ok(OurMe|
|00001d30| 6e 75 48 6f 6f 6b 2c 20 | 30 2c 20 74 72 75 65 2c |nuHook, |0, true,|
|00001d40| 20 61 62 6f 75 74 43 6d | 64 43 6f 64 65 29 3b 0d | aboutCm|dCode);.|
|00001d50| 09 7d 20 2f 2f 20 50 6c | 75 67 69 6e 20 63 6f 6e |.} // Pl|ugin con|
|00001d60| 73 74 72 75 63 74 6f 72 | 0d 0d 0d 2f 2a 20 44 69 |structor|.../* Di|
|00001d70| 73 70 6f 73 65 20 6f 66 | 20 61 20 50 6c 75 67 69 |spose of| a Plugi|
|00001d80| 6e 20 6f 62 6a 65 63 74 | 2e 20 20 54 68 69 73 20 |n object|. This |
|00001d90| 69 73 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 20 41 |is calle|d when A|
|00001da0| 72 72 61 6e 67 65 20 74 | 65 72 6d 69 6e 61 74 65 |rrange t|erminate|
|00001db0| 73 2e 20 20 59 6f 75 0d | 20 2a 20 73 68 6f 75 6c |s. You.| * shoul|
|00001dc0| 64 20 66 72 65 65 20 75 | 70 20 61 6e 79 20 64 61 |d free u|p any da|
|00001dd0| 74 61 20 73 74 72 75 63 | 74 75 72 65 73 20 77 68 |ta struc|tures wh|
|00001de0| 69 63 68 20 79 6f 75 20 | 61 6c 6c 6f 63 61 74 69 |ich you |allocati|
|00001df0| 6f 6e 20 69 6e 20 74 68 | 65 20 50 6c 75 67 69 6e |on in th|e Plugin|
|00001e00| 0d 20 2a 20 63 6f 6e 73 | 74 72 75 63 74 6f 72 20 |. * cons|tructor |
|00001e10| 28 61 62 6f 76 65 29 2e | 0d 20 2a 2f 0d 50 6c 75 |(above).|. */.Plu|
|00001e20| 67 69 6e 3a 3a 7e 50 6c | 75 67 69 6e 28 29 0d 09 |gin::~Pl|ugin()..|
|00001e30| 7b 0d 09 7d 20 2f 2f 20 | 7e 50 6c 75 67 69 6e 0d |{..} // |~Plugin.|
|00001e40| 0d 0d 2f 2a 20 54 68 69 | 73 20 66 75 6e 63 74 69 |../* Thi|s functi|
|00001e50| 6f 6e 20 69 73 20 63 61 | 6c 6c 65 64 20 77 68 65 |on is ca|lled whe|
|00001e60| 6e 65 76 65 72 20 74 68 | 65 20 75 73 65 72 20 63 |never th|e user c|
|00001e70| 6c 69 63 6b 73 20 69 6e | 20 61 6e 20 22 69 6e 74 |licks in| an "int|
|00001e80| 65 72 65 73 74 69 6e 67 | 20 70 6c 61 63 65 22 0d |eresting| place".|
|00001e90| 20 2a 20 69 6e 20 61 20 | 64 6f 63 75 6d 65 6e 74 | * in a |document|
|00001ea0| 20 77 69 6e 64 6f 77 2e | 20 20 49 74 20 73 68 6f | window.| It sho|
|00001eb0| 75 6c 64 20 72 65 74 75 | 72 6e 20 74 72 75 65 20 |uld retu|rn true |
|00001ec0| 69 66 20 77 65 20 68 61 | 6e 64 6c 65 20 74 68 65 |if we ha|ndle the|
|00001ed0| 20 63 6c 69 63 6b 2c 20 | 66 61 6c 73 65 0d 20 2a | click, |false. *|
|00001ee0| 20 28 74 68 65 20 6e 6f | 72 6d 61 6c 20 63 61 73 | (the no|rmal cas|
|00001ef0| 65 29 20 77 68 65 6e 20 | 74 68 65 20 63 6c 69 63 |e) when |the clic|
|00001f00| 6b 20 73 68 6f 75 6c 64 | 20 62 65 20 70 61 73 73 |k should| be pass|
|00001f10| 65 64 20 61 6c 6f 6e 67 | 20 74 6f 20 6f 74 68 65 |ed along| to othe|
|00001f20| 72 20 70 6c 75 67 2d 69 | 6e 73 0d 20 2a 20 6f 72 |r plug-i|ns. * or|
|00001f30| 20 74 6f 20 41 72 72 61 | 6e 67 65 27 73 20 6e 6f | to Arra|nge's no|
|00001f40| 72 6d 61 6c 20 65 76 65 | 6e 74 20 70 72 6f 63 65 |rmal eve|nt proce|
|00001f50| 73 73 69 6e 67 2e 20 20 | 53 65 65 20 74 68 65 20 |ssing. |See the |
|00001f60| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 6f |document|ation fo|
|00001f70| 72 0d 20 2a 20 53 65 74 | 43 6c 69 63 6b 48 6f 6f |r. * Set|ClickHoo|
|00001f80| 6b 20 66 6f 72 20 6d 6f | 72 65 20 64 65 74 61 69 |k for mo|re detai|
|00001f90| 6c 73 2e 0d 20 2a 2f 0d | 61 72 48 6f 6f 6b 52 65 |ls.. */.|arHookRe|
|00001fa0| 73 75 6c 74 20 50 6c 75 | 67 69 6e 3a 3a 43 6c 69 |sult Plu|gin::Cli|
|00001fb0| 63 6b 4e 6f 74 69 66 79 | 28 20 61 72 43 6c 69 63 |ckNotify|( arClic|
|00001fc0| 6b 4c 6f 63 61 74 69 6f | 6e 20 6c 6f 63 2c 20 50 |kLocatio|n loc, P|
|00001fd0| 6f 69 6e 74 20 77 68 65 | 72 65 2c 0d 09 09 09 09 |oint whe|re,.....|
|00001fe0| 09 09 09 09 09 09 09 20 | 53 68 6f 72 74 20 6d 6f |....... |Short mo|
|00001ff0| 64 69 66 69 65 72 73 2c | 20 53 68 6f 72 74 20 63 |difiers,| Short c|
|00002000| 6c 69 63 6b 43 6f 75 6e | 74 2c 0d 09 09 09 09 09 |lickCoun|t,......|
|00002010| 09 09 09 09 09 09 20 61 | 72 4e 6f 74 65 49 44 20 |...... a|rNoteID |
|00002020| 6e 6f 74 65 2c 20 61 72 | 46 69 65 6c 64 49 44 20 |note, ar|FieldID |
|00002030| 66 69 65 6c 64 2c 0d 09 | 09 09 09 09 09 09 09 09 |field,..|........|
|00002040| 09 09 20 61 72 50 61 74 | 68 49 44 20 70 61 74 68 |.. arPat|hID path|
|00002050| 20 29 0d 09 7b 0d 09 72 | 65 74 75 72 6e 20 66 61 | )..{..r|eturn fa|
|00002060| 6c 73 65 3b 20 2f 2f 20 | 4c 65 74 20 41 72 72 61 |lse; // |Let Arra|
|00002070| 6e 67 65 20 68 61 6e 64 | 6c 65 20 74 68 65 20 65 |nge hand|le the e|
|00002080| 76 65 6e 74 0d 09 7d 20 | 2f 2f 20 43 6c 69 63 6b |vent..} |// Click|
|00002090| 4e 6f 74 69 66 79 0d 0d | 0d 2f 2a 20 54 68 69 73 |Notify..|./* This|
|000020a0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 63 61 6c | functio|n is cal|
|000020b0| 6c 65 64 20 77 68 65 6e | 65 76 65 72 20 74 68 65 |led when|ever the|
|000020c0| 20 75 73 65 72 20 74 79 | 70 65 73 20 61 20 6b 65 | user ty|pes a ke|
|000020d0| 79 20 77 68 69 63 68 20 | 6d 61 74 63 68 65 73 20 |y which |matches |
|000020e0| 74 68 65 0d 20 2a 20 66 | 69 6c 74 65 72 73 20 77 |the. * f|ilters w|
|000020f0| 65 20 70 61 73 73 20 74 | 6f 20 53 65 74 4b 65 79 |e pass t|o SetKey|
|00002100| 48 6f 6f 6b 20 69 6e 20 | 50 6c 75 67 69 6e 27 73 |Hook in |Plugin's|
|00002110| 20 63 6f 6e 73 74 72 75 | 63 74 6f 72 2e 20 20 49 | constru|ctor. I|
|00002120| 74 20 73 68 6f 75 6c 64 | 20 72 65 74 75 72 6e 0d |t should| return.|
|00002130| 20 2a 20 74 72 75 65 20 | 69 66 20 77 65 20 68 61 | * true |if we ha|
|00002140| 6e 64 6c 65 20 74 68 65 | 20 65 76 65 6e 74 2c 20 |ndle the| event, |
|00002150| 66 61 6c 73 65 20 28 74 | 68 65 20 6e 6f 72 6d 61 |false (t|he norma|
|00002160| 6c 20 63 61 73 65 29 20 | 77 68 65 6e 20 74 68 65 |l case) |when the|
|00002170| 20 65 76 65 6e 74 0d 20 | 2a 20 73 68 6f 75 6c 64 | event. |* should|
|00002180| 20 62 65 20 70 61 73 73 | 65 64 20 61 6c 6f 6e 67 | be pass|ed along|
|00002190| 20 74 6f 20 6f 74 68 65 | 72 20 70 6c 75 67 2d 69 | to othe|r plug-i|
|000021a0| 6e 73 20 6f 72 20 74 6f | 20 41 72 72 61 6e 67 65 |ns or to| Arrange|
|000021b0| 27 73 20 6e 6f 72 6d 61 | 6c 20 65 76 65 6e 74 0d |'s norma|l event.|
|000021c0| 20 2a 20 70 72 6f 63 65 | 73 73 69 6e 67 2e 20 20 | * proce|ssing. |
|000021d0| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|000021e0| 61 74 69 6f 6e 20 66 6f | 72 20 53 65 74 4b 65 79 |ation fo|r SetKey|
|000021f0| 48 6f 6f 6b 20 66 6f 72 | 20 6d 6f 72 65 20 64 65 |Hook for| more de|
|00002200| 74 61 69 6c 73 2e 0d 20 | 2a 2f 0d 61 72 48 6f 6f |tails.. |*/.arHoo|
|00002210| 6b 52 65 73 75 6c 74 20 | 50 6c 75 67 69 6e 3a 3a |kResult |Plugin::|
|00002220| 4b 65 79 4e 6f 74 69 66 | 79 28 53 68 6f 72 74 20 |KeyNotif|y(Short |
|00002230| 74 68 65 43 68 61 72 2c | 20 53 68 6f 72 74 20 6b |theChar,| Short k|
|00002240| 65 79 2c 20 53 68 6f 72 | 74 20 6d 6f 64 69 66 69 |ey, Shor|t modifi|
|00002250| 65 72 73 29 0d 09 7b 0d | 09 72 65 74 75 72 6e 20 |ers)..{.|.return |
|00002260| 66 61 6c 73 65 3b 20 2f | 2f 20 4c 65 74 20 41 72 |false; /|/ Let Ar|
|00002270| 72 61 6e 67 65 20 68 61 | 6e 64 6c 65 20 74 68 65 |range ha|ndle the|
|00002280| 20 65 76 65 6e 74 0d 09 | 7d 20 2f 2f 20 4b 65 79 | event..|} // Key|
|00002290| 4e 6f 74 69 66 79 0d 0d | 0d 2f 2a 20 54 68 69 73 |Notify..|./* This|
|000022a0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 63 61 6c | functio|n is cal|
|000022b0| 6c 65 64 20 77 68 65 6e | 65 76 65 72 20 74 68 65 |led when|ever the|
|000022c0| 20 75 73 65 72 20 63 68 | 6f 6f 73 65 73 20 61 20 | user ch|ooses a |
|000022d0| 6d 65 6e 75 20 69 74 65 | 6d 20 66 6f 72 20 77 68 |menu ite|m for wh|
|000022e0| 69 63 68 0d 20 2a 20 77 | 65 20 68 61 76 65 20 72 |ich. * w|e have r|
|000022f0| 65 67 69 73 74 65 72 65 | 64 20 28 76 69 61 20 74 |egistere|d (via t|
|00002300| 68 65 20 53 65 74 4d 65 | 6e 75 48 6f 6f 6b 20 66 |he SetMe|nuHook f|
|00002310| 75 6e 63 74 69 6f 6e 29 | 2e 20 20 49 74 20 73 68 |unction)|. It sh|
|00002320| 6f 75 6c 64 20 72 65 74 | 75 72 6e 20 74 72 75 65 |ould ret|urn true|
|00002330| 0d 20 2a 20 69 66 20 77 | 65 20 68 61 6e 64 6c 65 |. * if w|e handle|
|00002340| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 2c 20 66 61 | the com|mand, fa|
|00002350| 6c 73 65 20 28 74 68 65 | 20 6e 6f 72 6d 61 6c 20 |lse (the| normal |
|00002360| 63 61 73 65 29 20 77 68 | 65 6e 20 74 68 65 20 63 |case) wh|en the c|
|00002370| 6f 6d 6d 61 6e 64 20 73 | 68 6f 75 6c 64 0d 20 2a |ommand s|hould. *|
|00002380| 20 62 65 20 70 61 73 73 | 65 64 20 61 6c 6f 6e 67 | be pass|ed along|
|00002390| 20 74 6f 20 6f 74 68 65 | 72 20 70 6c 75 67 2d 69 | to othe|r plug-i|
|000023a0| 6e 73 20 6f 72 20 74 6f | 20 41 72 72 61 6e 67 65 |ns or to| Arrange|
|000023b0| 27 73 20 6e 6f 72 6d 61 | 6c 20 65 76 65 6e 74 20 |'s norma|l event |
|000023c0| 70 72 6f 63 65 73 73 69 | 6e 67 2e 0d 20 2a 20 53 |processi|ng.. * S|
|000023d0| 65 65 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 61 |ee the d|ocumenta|
|000023e0| 74 69 6f 6e 20 66 6f 72 | 20 53 65 74 4d 65 6e 75 |tion for| SetMenu|
|000023f0| 48 6f 6f 6b 20 66 6f 72 | 20 6d 6f 72 65 20 64 65 |Hook for| more de|
|00002400| 74 61 69 6c 73 2e 0d 20 | 2a 2f 0d 61 72 48 6f 6f |tails.. |*/.arHoo|
|00002410| 6b 52 65 73 75 6c 74 20 | 50 6c 75 67 69 6e 3a 3a |kResult |Plugin::|
|00002420| 4d 65 6e 75 4e 6f 74 69 | 66 79 28 20 49 6e 74 65 |MenuNoti|fy( Inte|
|00002430| 67 65 72 20 63 6f 6d 6d | 61 6e 64 43 6f 64 65 2c |ger comm|andCode,|
|00002440| 20 49 6e 74 65 67 65 72 | 20 63 6f 6d 6d 61 6e 64 | Integer| command|
|00002450| 50 61 72 61 6d 2c 0d 09 | 09 09 09 09 09 09 09 09 |Param,..|........|
|00002460| 09 09 53 68 6f 72 74 20 | 6d 6f 64 69 66 69 65 72 |..Short |modifier|
|00002470| 73 20 29 0d 09 7b 0d 09 | 2f 2a 20 49 66 20 74 68 |s )..{..|/* If th|
|00002480| 69 73 20 69 73 20 6f 75 | 72 20 41 62 6f 75 74 20 |is is ou|r About |
|00002490| 6d 65 6e 75 20 69 74 65 | 6d 2c 20 64 69 73 70 6c |menu ite|m, displ|
|000024a0| 61 79 20 6f 75 72 20 61 | 62 6f 75 74 2d 62 6f 78 |ay our a|bout-box|
|000024b0| 20 64 69 61 6c 6f 67 20 | 61 6e 64 20 72 65 74 75 | dialog |and retu|
|000024c0| 72 6e 0d 09 20 2a 20 74 | 72 75 65 20 74 6f 20 69 |rn.. * t|rue to i|
|000024d0| 6e 64 69 63 61 74 65 20 | 77 65 20 68 61 6e 64 6c |ndicate |we handl|
|000024e0| 65 64 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 2e 0d |ed the c|ommand..|
|000024f0| 09 20 2a 2f 0d 09 69 66 | 20 28 63 6f 6d 6d 61 6e |. */..if| (comman|
|00002500| 64 43 6f 64 65 20 3d 3d | 20 61 62 6f 75 74 43 6d |dCode ==| aboutCm|
|00002510| 64 43 6f 64 65 29 0d 09 | 09 7b 0d 09 09 41 6c 65 |dCode)..|.{...Ale|
|00002520| 72 74 28 4d 6f 64 75 6c | 65 52 73 72 63 49 44 2c |rt(Modul|eRsrcID,|
|00002530| 20 6e 69 6c 29 3b 0d 09 | 09 72 65 74 75 72 6e 20 | nil);..|.return |
|00002540| 74 72 75 65 3b 0d 09 09 | 7d 0d 09 65 6c 73 65 0d |true;...|}..else.|
|00002550| 09 09 72 65 74 75 72 6e | 20 66 61 6c 73 65 3b 20 |..return| false; |
|00002560| 2f 2f 20 4c 65 74 20 41 | 72 72 61 6e 67 65 20 68 |// Let A|rrange h|
|00002570| 61 6e 64 6c 65 20 74 68 | 65 20 65 76 65 6e 74 0d |andle th|e event.|
|00002580| 09 0d 09 7d 20 2f 2f 20 | 4d 65 6e 75 4e 6f 74 69 |...} // |MenuNoti|
|00002590| 66 79 0d 0d 0d 2f 2a 20 | 49 66 20 77 65 20 72 65 |fy.../* |If we re|
|000025a0| 67 69 73 74 65 72 20 74 | 6f 20 72 65 63 69 65 76 |gister t|o reciev|
|000025b0| 65 20 65 76 65 6e 74 73 | 20 66 6f 72 20 61 20 66 |e events| for a f|
|000025c0| 69 65 6c 64 20 62 79 20 | 63 61 6c 6c 69 6e 67 20 |ield by |calling |
|000025d0| 53 65 74 46 69 65 6c 64 | 48 6f 6f 6b 2c 20 74 68 |SetField|Hook, th|
|000025e0| 69 73 0d 20 2a 20 66 75 | 6e 63 74 69 6f 6e 20 77 |is. * fu|nction w|
|000025f0| 69 6c 6c 20 62 65 20 63 | 61 6c 6c 65 64 20 66 6f |ill be c|alled fo|
|00002600| 72 20 61 6e 79 20 65 76 | 65 6e 74 73 20 69 6e 20 |r any ev|ents in |
|00002610| 74 68 61 74 20 66 69 65 | 6c 64 2e 20 20 49 74 20 |that fie|ld. It |
|00002620| 73 68 6f 75 6c 64 20 72 | 65 74 75 72 6e 0d 20 2a |should r|eturn. *|
|00002630| 20 66 61 6c 73 65 20 69 | 6e 20 61 6c 6d 6f 73 74 | false i|n almost|
|00002640| 20 61 6c 6c 20 63 61 73 | 65 73 2e 20 20 53 65 65 | all cas|es. See|
|00002650| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00002660| 6f 6e 20 66 6f 72 20 53 | 65 74 46 69 65 6c 64 48 |on for S|etFieldH|
|00002670| 6f 6f 6b 20 66 6f 72 0d | 20 2a 20 6d 6f 72 65 20 |ook for.| * more |
|00002680| 64 65 74 61 69 6c 73 2e | 0d 20 2a 2f 0d 61 72 48 |details.|. */.arH|
|00002690| 6f 6f 6b 52 65 73 75 6c | 74 20 50 6c 75 67 69 6e |ookResul|t Plugin|
|000026a0| 3a 3a 46 69 65 6c 64 4e | 6f 74 69 66 79 28 20 61 |::FieldN|otify( a|
|000026b0| 72 4e 6f 74 65 49 44 20 | 6e 6f 74 65 2c 20 61 72 |rNoteID |note, ar|
|000026c0| 46 69 65 6c 64 49 44 20 | 66 69 65 6c 64 2c 0d 09 |FieldID |field,..|
|000026d0| 09 09 09 09 09 09 09 09 | 09 09 20 61 72 46 69 65 |........|.. arFie|
|000026e0| 6c 64 41 63 74 69 6f 6e | 20 61 63 74 69 6f 6e 2c |ldAction| action,|
|000026f0| 20 63 6f 6e 73 74 20 63 | 68 61 72 2a 20 63 68 6f | const c|har* cho|
|00002700| 69 63 65 54 65 78 74 20 | 29 0d 09 7b 0d 09 72 65 |iceText |)..{..re|
|00002710| 74 75 72 6e 20 66 61 6c | 73 65 3b 0d 09 7d 20 2f |turn fal|se;..} /|
|00002720| 2f 20 46 69 65 6c 64 4e | 6f 74 69 66 79 0d 0d 0d |/ FieldN|otify...|
|00002730| 2f 2a 20 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |/* This |function|
|00002740| 20 69 73 20 63 61 6c 6c | 65 64 20 77 68 65 6e 65 | is call|ed whene|
|00002750| 76 65 72 20 74 68 65 20 | 75 73 65 72 20 73 77 69 |ver the |user swi|
|00002760| 74 63 68 65 73 20 77 69 | 6e 64 6f 77 73 20 6f 72 |tches wi|ndows or|
|00002770| 20 63 68 61 6e 67 65 73 | 0d 20 2a 20 74 68 65 20 | changes|. * the |
|00002780| 63 75 72 72 65 6e 74 20 | 66 6f 6c 64 65 72 2f 74 |current |folder/t|
|00002790| 6f 70 69 63 2f 76 69 65 | 77 20 69 6e 20 74 68 65 |opic/vie|w in the|
|000027a0| 20 66 72 6f 6e 74 20 77 | 69 6e 64 6f 77 2e 20 20 | front w|indow. |
|000027b0| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|000027c0| 61 74 69 6f 6e 0d 20 2a | 20 66 6f 72 20 53 65 74 |ation. *| for Set|
|000027d0| 54 6f 70 69 63 48 6f 6f | 6b 20 66 6f 72 20 6d 6f |TopicHoo|k for mo|
|000027e0| 72 65 20 64 65 74 61 69 | 6c 73 2e 0d 20 2a 2f 0d |re detai|ls.. */.|
|000027f0| 76 6f 69 64 20 50 6c 75 | 67 69 6e 3a 3a 54 6f 70 |void Plu|gin::Top|
|00002800| 69 63 4e 6f 74 69 66 79 | 28 20 61 72 54 6f 70 69 |icNotify|( arTopi|
|00002810| 63 49 44 20 6e 65 77 54 | 6f 70 69 63 2c 20 61 72 |cID newT|opic, ar|
|00002820| 57 69 6e 64 6f 77 49 44 | 20 6e 65 77 57 69 6e 64 |WindowID| newWind|
|00002830| 6f 77 2c 0d 09 09 09 09 | 09 09 09 09 20 20 61 72 |ow,.....|.... ar|
|00002840| 54 6f 70 69 63 41 63 74 | 69 6f 6e 20 61 63 74 69 |TopicAct|ion acti|
|00002850| 6f 6e 20 29 0d 09 7b 0d | 09 7d 20 2f 2f 20 54 6f |on )..{.|.} // To|
|00002860| 70 69 63 4e 6f 74 69 66 | 79 0d 0d 0d 2f 2a 20 54 |picNotif|y.../* T|
|00002870| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|00002880| 63 61 6c 6c 65 64 20 70 | 65 72 69 6f 64 69 63 61 |called p|eriodica|
|00002890| 6c 6c 79 2c 20 77 68 65 | 6e 65 76 65 72 20 41 72 |lly, whe|never Ar|
|000028a0| 72 61 6e 67 65 20 72 65 | 63 69 65 76 65 73 20 61 |range re|cieves a|
|000028b0| 20 6e 75 6c 6c 0d 20 2a | 20 65 76 65 6e 74 20 66 | null. *| event f|
|000028c0| 72 6f 6d 20 74 68 65 20 | 45 76 65 6e 74 20 4d 61 |rom the |Event Ma|
|000028d0| 6e 61 67 65 72 2e 0d 20 | 2a 2f 0d 76 6f 69 64 20 |nager.. |*/.void |
|000028e0| 50 6c 75 67 69 6e 3a 3a | 54 69 63 6b 4e 6f 74 69 |Plugin::|TickNoti|
|000028f0| 66 79 28 29 0d 09 7b 0d | 09 7d 20 2f 2f 20 54 69 |fy()..{.|.} // Ti|
|00002900| 63 6b 4e 6f 74 69 66 79 | 0d 0d 0d 2f 2a 20 54 68 |ckNotify|.../* Th|
|00002910| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 63 |is funct|ion is c|
|00002920| 61 6c 6c 65 64 20 77 68 | 65 6e 65 76 65 72 20 76 |alled wh|enever v|
|00002930| 61 72 69 6f 75 73 20 66 | 69 6c 65 2d 6c 65 76 65 |arious f|ile-leve|
|00002940| 6c 20 65 76 65 6e 74 73 | 20 6f 63 63 75 72 2e 20 |l events| occur. |
|00002950| 20 49 74 0d 20 2a 20 73 | 68 6f 75 6c 64 20 72 65 | It. * s|hould re|
|00002960| 74 75 72 6e 20 74 72 75 | 65 20 69 6e 20 61 6c 6d |turn tru|e in alm|
|00002970| 6f 73 74 20 61 6c 6c 20 | 63 61 73 65 73 2e 20 20 |ost all |cases. |
|00002980| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00002990| 61 74 69 6f 6e 20 66 6f | 72 0d 20 2a 20 53 65 74 |ation fo|r. * Set|
|000029a0| 46 69 6c 65 48 6f 6f 6b | 20 66 6f 72 20 6d 6f 72 |FileHook| for mor|
|000029b0| 65 20 64 65 74 61 69 6c | 73 2e 0d 20 2a 2f 0d 61 |e detail|s.. */.a|
|000029c0| 72 48 6f 6f 6b 52 65 73 | 75 6c 74 20 50 6c 75 67 |rHookRes|ult Plug|
|000029d0| 69 6e 3a 3a 46 69 6c 65 | 4e 6f 74 69 66 79 28 61 |in::File|Notify(a|
|000029e0| 72 46 69 6c 65 41 63 74 | 69 6f 6e 20 61 63 74 69 |rFileAct|ion acti|
|000029f0| 6f 6e 29 0d 09 7b 0d 09 | 72 65 74 75 72 6e 20 74 |on)..{..|return t|
|00002a00| 72 75 65 3b 0d 09 7d 20 | 2f 2f 20 46 69 6c 65 4e |rue;..} |// FileN|
|00002a10| 6f 74 69 66 79 0d 0d 0d | 2f 2a 20 54 68 69 73 20 |otify...|/* This |
|00002a20| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 63 61 6c 6c |function| is call|
|00002a30| 65 64 20 69 66 20 74 68 | 65 20 75 73 65 72 20 76 |ed if th|e user v|
|00002a40| 6f 6c 75 6e 74 61 72 69 | 6c 79 20 71 75 69 74 73 |oluntari|ly quits|
|00002a50| 20 41 72 72 61 6e 67 65 | 2e 20 20 49 74 20 73 68 | Arrange|. It sh|
|00002a60| 6f 75 6c 64 0d 20 2a 20 | 72 65 74 75 72 6e 20 74 |ould. * |return t|
|00002a70| 72 75 65 20 74 6f 20 61 | 6c 6c 6f 77 20 74 68 65 |rue to a|llow the|
|00002a80| 20 75 73 65 72 20 74 6f | 20 71 75 69 74 2c 20 66 | user to| quit, f|
|00002a90| 61 6c 73 65 20 74 6f 20 | 70 72 65 76 65 6e 74 20 |alse to |prevent |
|00002aa0| 69 74 2e 20 20 53 65 65 | 20 74 68 65 0d 20 2a 20 |it. See| the. * |
|00002ab0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 6f |document|ation fo|
|00002ac0| 72 20 53 65 74 51 75 69 | 74 48 6f 6f 6b 20 66 6f |r SetQui|tHook fo|
|00002ad0| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 2e 0d |r more d|etails..|
|00002ae0| 20 2a 2f 0d 61 72 48 6f | 6f 6b 52 65 73 75 6c 74 | */.arHo|okResult|
|00002af0| 20 50 6c 75 67 69 6e 3a | 3a 51 75 69 74 4e 6f 74 | Plugin:|:QuitNot|
|00002b00| 69 66 79 28 29 0d 09 7b | 0d 09 72 65 74 75 72 6e |ify()..{|..return|
|00002b10| 20 74 72 75 65 3b 0d 09 | 7d 20 2f 2f 20 51 75 69 | true;..|} // Qui|
|00002b20| 74 4e 6f 74 69 66 79 0d | 0d 0d 2f 2a 20 54 68 69 |tNotify.|../* Thi|
|00002b30| 73 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 63 61 |s functi|on is ca|
|00002b40| 6c 6c 65 64 20 77 68 65 | 6e 65 76 65 72 20 74 68 |lled whe|never th|
|00002b50| 65 20 75 73 65 72 20 63 | 6c 69 63 6b 73 20 69 6e |e user c|licks in|
|00002b60| 20 74 68 65 20 6d 65 6e | 75 20 62 61 72 20 6f 72 | the men|u bar or|
|00002b70| 20 74 79 70 65 73 0d 20 | 2a 20 61 20 63 6f 6d 6d | types. |* a comm|
|00002b80| 61 6e 64 20 6b 65 79 2c | 20 6a 75 73 74 20 62 65 |and key,| just be|
|00002b90| 66 6f 72 65 20 70 72 6f | 63 65 73 73 69 6e 67 20 |fore pro|cessing |
|00002ba0| 74 68 65 20 65 76 65 6e | 74 2e 20 20 49 74 20 73 |the even|t. It s|
|00002bb0| 68 6f 75 6c 64 20 64 6f | 20 61 6e 79 20 66 69 78 |hould do| any fix|
|00002bc0| 69 6e 67 0d 20 2a 20 75 | 70 20 6f 66 20 6d 65 6e |ing. * u|p of men|
|00002bd0| 75 73 20 77 68 69 63 68 | 20 6d 69 67 68 74 20 62 |us which| might b|
|00002be0| 65 20 6e 65 63 65 73 73 | 61 72 79 20 62 61 73 65 |e necess|ary base|
|00002bf0| 64 20 6f 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |d on the| current|
|00002c00| 20 73 74 61 74 65 20 6f | 66 20 61 66 66 61 69 72 | state o|f affair|
|00002c10| 73 2e 0d 20 2a 20 53 65 | 65 20 74 68 65 20 64 6f |s.. * Se|e the do|
|00002c20| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00002c30| 53 65 74 41 54 4d 48 6f | 6f 6b 20 66 6f 72 20 6d |SetATMHo|ok for m|
|00002c40| 6f 72 65 20 64 65 74 61 | 69 6c 73 2e 0d 20 2a 2f |ore deta|ils.. */|
|00002c50| 0d 76 6f 69 64 20 50 6c | 75 67 69 6e 3a 3a 41 54 |.void Pl|ugin::AT|
|00002c60| 4d 4e 6f 74 69 66 79 28 | 29 0d 09 7b 0d 09 7d 20 |MNotify(|)..{..} |
|00002c70| 2f 2f 20 41 54 4d 4e 6f | 74 69 66 79 0d 00 00 00 |// ATMNo|tify....|
|00002c80| 00 00 01 00 00 00 02 b6 | 00 00 01 b6 00 00 00 4a |........|.......J|
|00002c90| 00 00 00 6c 07 33 44 44 | 65 62 75 67 01 00 00 00 |...l.3DD|ebug....|
|00002ca0| 00 16 00 02 24 0a a9 2a | 88 a1 a9 30 d5 84 00 00 |....$..*|...0....|
|00002cb0| 10 47 65 6e 65 72 69 63 | 50 6c 75 67 69 6e 2e 63 |.Generic|Plugin.c|
|00002cc0| 70 6e 02 00 00 00 54 45 | 58 54 4d 50 53 20 00 00 |pn....TE|XTMPS ..|
|00002cd0| 00 00 54 45 58 54 4d 50 | 53 20 00 00 00 00 00 00 |..TEXTMP|S ......|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 a9 35 03 22 00 00 | 2b fd 00 00 03 00 4c 41 |...5."..|+.....LA|
|00002d00| 21 00 01 52 02 f7 00 00 | 00 02 02 f2 00 00 00 00 |!..R....|........|
|00002d10| e3 b5 00 00 f0 00 00 00 | 00 11 c3 e3 00 11 d0 00 |........|........|
|00002d20| a8 f4 7c 99 a9 04 3d 51 | 00 00 00 00 00 00 00 00 |..|...=Q|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 07 32 |........|.......2|
|00002d40| 00 0f 00 00 00 00 00 00 | 00 00 07 41 00 03 07 46 |........|...A...F|
|00002d50| 00 01 07 59 00 03 00 00 | 00 00 1b 00 00 00 00 6c |...Y....|.......l|
|00002d60| 15 41 72 72 61 6e 67 65 | 20 61 6e 64 20 55 6e 64 |.Arrange| and Und|
|00002d70| 65 72 57 61 72 65 02 00 | 00 00 54 45 58 54 47 45 |erWare..|..TEXTGE|
|00002d80| 00 00 00 48 00 0c 43 6f | 75 72 69 65 72 00 01 70 |...H..Co|urier..p|
|00002d90| 20 7b 52 61 6d 45 78 69 | 73 74 73 7d 3b 09 20 09 | {RamExi|sts};. .|
|00002da0| 49 46 20 22 7b 41 00 07 | 00 03 00 2a 00 03 02 fc |IF "{A..|...*....|
|00002db0| 02 71 00 2a 00 03 02 fc | 02 71 aa 4c 4e 77 00 00 |.q.*....|.q.LNw..|
|00002dc0| 1c 33 00 00 1c 33 00 00 | 19 46 01 00 00 00 01 44 |.3...3..|.F.....D|
|00002dd0| 00 0f 00 00 08 b7 00 00 | 08 c7 11 4d 61 69 6e 20 |........|...Main |
|00002de0| 65 6e 74 72 79 20 70 6f | 69 6e 74 00 00 00 0a e6 |entry po|int.....|
|00002df0| 00 00 0a f3 11 20 20 20 | 4f 75 72 4d 6f 64 75 6c |..... |OurModul|
|00002e00| 65 52 6f 6f 74 00 00 00 | 16 b6 00 00 16 b6 03 2d |eRoot...|.......-|
|00002e10| 31 00 00 00 16 d9 00 00 | 16 df 07 50 6c 75 67 69 |1.......|...Plugi|
|00002e20| 6e 00 00 00 17 f6 00 00 | 17 fc 09 20 20 20 50 6c |n.......|... Pl|
|00002e30| 75 67 69 6e 00 00 1d a5 | 00 00 1d ac 0b 20 20 20 |ugin....|..... |
|00002e40| 7e 50 6c 75 67 69 6e 00 | 00 00 1f 2d 00 00 1f 38 |~Plugin.|...-...8|
|00002e50| 0f 20 20 20 43 6c 69 63 | 6b 4e 6f 74 69 66 79 00 |. Clic|kNotify.|
|00002e60| 00 00 21 a0 00 00 21 a9 | 0d 20 20 20 4b 65 79 4e |..!...!.|. KeyN|
|00002e70| 6f 74 69 66 79 00 00 00 | 23 a0 00 00 23 aa 0d 20 |otify...|#...#.. |
|00002e80| 20 20 4d 65 6e 75 4e 6f | 74 69 66 79 00 00 26 22 | MenuNo|tify..&"|
|00002e90| 00 00 26 2d 0f 20 20 20 | 46 69 65 6c 64 4e 6f 74 |..&-. |FieldNot|
|00002ea0| 69 66 79 00 00 00 27 7d | 00 00 27 88 0f 20 20 20 |ify...'}|..'.. |
|00002eb0| 54 6f 70 69 63 4e 6f 74 | 69 66 79 00 00 00 28 68 |TopicNot|ify...(h|
|00002ec0| 00 00 28 72 0d 20 20 20 | 54 69 63 6b 4e 6f 74 69 |..(r. |TickNoti|
|00002ed0| 66 79 00 00 29 54 00 00 | 29 5e 0d 20 20 20 46 69 |fy..)T..|)^. Fi|
|00002ee0| 6c 65 4e 6f 74 69 66 79 | 00 00 2a 79 00 00 2a 83 |leNotify|..*y..*.|
|00002ef0| 0d 20 20 20 51 75 69 74 | 4e 6f 74 69 66 79 00 00 |. Quit|Notify..|
|00002f00| 2b de 00 00 2b e7 0d 20 | 20 20 41 54 4d 4e 6f 74 |+...+.. | ATMNot|
|00002f10| 69 66 79 00 00 00 00 1e | 00 2a 00 03 02 fc 02 71 |ify.....|.*.....q|
|00002f20| 00 2a 00 03 02 fc 02 71 | 00 00 19 46 00 00 00 00 |.*.....q|...F....|
|00002f30| 00 00 00 00 00 00 00 00 | 01 00 00 00 02 b6 00 00 |........|........|
|00002f40| 01 b6 00 00 00 4a 01 1b | cd 58 0c 7e 00 00 00 1c |.....J..|.X.~....|
|00002f50| 00 4a 00 00 4d 50 53 52 | 00 02 00 0a 03 ed ff ff |.J..MPSR|........|
|00002f60| 00 00 00 00 00 00 00 00 | 03 ef ff ff 00 00 00 4c |........|.......L|
|00002f70| 00 00 00 00 03 f0 ff ff | 00 00 01 94 01 1e 1f 78 |........|.......x|
+--------+-------------------------+-------------------------+--------+--------+