home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Microsoft Compound Document
(archive/msCompound).
Confidence | Program | Detection | Match Type | Support
|
---|
40%
| dexvert
| Microsoft Compound Document (archive/msCompound)
| magic
| Supported |
10%
| dexvert
| Microsoft Works Document/Spreadsheet (document/microsoftWorks)
| magic
| Supported |
100%
| file
| Composite Document File V2 Document, Cannot read section info
| default (weak)
| |
99%
| file
| OLE 2 Compound Document, v3.62, SecID 0x1, 0 Mini FAT sector : UNKNOWN with names Workspace State Browser Editor _tcl DDBG#eieBS
| default
| |
98%
| file
| data
| default
| |
100%
| TrID
| Generic OLE2 / Multistream Compound
| default
| |
1%
| dearkID
| deark: cfb
| default (weak)
| |
100%
| siegfried
| fmt/111 OLE2 Compound Document Format
| default (weak)
| |
100%
| lsar
| CFBF
| default
| |
100%
| gt2
| POIFS Dokument (Winword, Excel, Starwriter, ...)
| default (weak)
| |
100%
| detectItEasy
| Format: CFBF(3.62)
| default (weak)
| |
100%
| detectItEasy
| Format: Microsoft Office(97-2003)
| default (weak)
| |
100%
| xdgMime
| application/x-ole-storage
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| d0 cf 11 e0 a1 b1 1a e1 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 3e 00 03 00 fe ff 09 00 |........|>.......|
|00000020| 06 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000030| 01 00 00 00 00 00 00 00 | 00 10 00 00 fe ff ff ff |........|........|
|00000040| 00 00 00 00 fe ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000050| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000060| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000070| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000080| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000090| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000000a0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000000b0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000000c0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000000d0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000000e0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000000f0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000100| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000110| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000120| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000130| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000140| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000150| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000160| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000170| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000180| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000190| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000001a0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000001b0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000001c0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000001d0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000001e0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000001f0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000200| fd ff ff ff 20 00 00 00 | 03 00 00 00 04 00 00 00 |.... ...|........|
|00000210| 05 00 00 00 06 00 00 00 | 07 00 00 00 08 00 00 00 |........|........|
|00000220| 09 00 00 00 0a 00 00 00 | 0b 00 00 00 fe ff ff ff |........|........|
|00000230| 0d 00 00 00 0e 00 00 00 | 0f 00 00 00 10 00 00 00 |........|........|
|00000240| 11 00 00 00 12 00 00 00 | 13 00 00 00 14 00 00 00 |........|........|
|00000250| 15 00 00 00 fe ff ff ff | 17 00 00 00 18 00 00 00 |........|........|
|00000260| 19 00 00 00 1a 00 00 00 | 1b 00 00 00 1c 00 00 00 |........|........|
|00000270| 1d 00 00 00 1e 00 00 00 | 1f 00 00 00 fe ff ff ff |........|........|
|00000280| 4d 00 00 00 22 00 00 00 | 23 00 00 00 24 00 00 00 |M..."...|#...$...|
|00000290| 25 00 00 00 26 00 00 00 | 27 00 00 00 28 00 00 00 |%...&...|'...(...|
|000002a0| 29 00 00 00 2a 00 00 00 | fe ff ff ff 2c 00 00 00 |)...*...|....,...|
|000002b0| 2d 00 00 00 2e 00 00 00 | 2f 00 00 00 30 00 00 00 |-.......|/...0...|
|000002c0| 31 00 00 00 32 00 00 00 | 33 00 00 00 34 00 00 00 |1...2...|3...4...|
|000002d0| 35 00 00 00 36 00 00 00 | 37 00 00 00 38 00 00 00 |5...6...|7...8...|
|000002e0| fe ff ff ff 3a 00 00 00 | 3b 00 00 00 3c 00 00 00 |....:...|;...<...|
|000002f0| 3d 00 00 00 3e 00 00 00 | 3f 00 00 00 40 00 00 00 |=...>...|?...@...|
|00000300| 41 00 00 00 42 00 00 00 | fe ff ff ff 44 00 00 00 |A...B...|....D...|
|00000310| 45 00 00 00 46 00 00 00 | 47 00 00 00 48 00 00 00 |E...F...|G...H...|
|00000320| 49 00 00 00 4a 00 00 00 | 4b 00 00 00 4c 00 00 00 |I...J...|K...L...|
|00000330| fe ff ff ff fe ff ff ff | 4f 00 00 00 50 00 00 00 |........|O...P...|
|00000340| 51 00 00 00 52 00 00 00 | 53 00 00 00 54 00 00 00 |Q...R...|S...T...|
|00000350| 55 00 00 00 56 00 00 00 | 57 00 00 00 fe ff ff ff |U...V...|W.......|
|00000360| 59 00 00 00 5a 00 00 00 | 5b 00 00 00 5c 00 00 00 |Y...Z...|[...\...|
|00000370| 5d 00 00 00 5e 00 00 00 | 5f 00 00 00 60 00 00 00 |]...^...|_...`...|
|00000380| 61 00 00 00 fe ff ff ff | ff ff ff ff ff ff ff ff |a.......|........|
|00000390| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000003a0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000003b0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000003c0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000003d0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000003e0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000003f0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000400| 52 00 6f 00 6f 00 74 00 | 20 00 45 00 6e 00 74 00 |R.o.o.t.| .E.n.t.|
|00000410| 72 00 79 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.y.....|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 16 00 05 00 ff ff ff ff | ff ff ff ff 01 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 d7 94 e4 |........|........|
|00000470| 79 1f c4 01 fe ff ff ff | 00 00 00 00 00 00 00 00 |y.......|........|
|00000480| 57 00 6f 00 72 00 6b 00 | 73 00 70 00 61 00 63 00 |W.o.r.k.|s.p.a.c.|
|00000490| 65 00 20 00 53 00 74 00 | 61 00 74 00 65 00 00 00 |e. .S.t.|a.t.e...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 20 00 02 01 02 00 00 00 | 05 00 00 00 ff ff ff ff | .......|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 02 00 00 00 | 00 14 00 00 00 00 00 00 |........|........|
|00000500| 42 00 72 00 6f 00 77 00 | 73 00 65 00 72 00 00 00 |B.r.o.w.|s.e.r...|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 10 00 02 00 03 00 00 00 | 08 00 00 00 ff ff ff ff |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 0c 00 00 00 | 00 14 00 00 00 00 00 00 |........|........|
|00000580| 45 00 64 00 69 00 74 00 | 6f 00 72 00 00 00 00 00 |E.d.i.t.|o.r.....|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 0e 00 02 01 06 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 16 00 00 00 | 00 14 00 00 00 00 00 00 |........|........|
|00000600| 01 00 05 00 01 00 00 00 | 0c 61 72 72 61 79 6d 61 |........|.arrayma|
|00000610| 70 74 65 73 74 4b 44 3a | 5c 42 6f 6f 6b 20 50 72 |ptestKD:|\Book Pr|
|00000620| 6f 6a 65 63 74 73 5c 41 | 6c 6c 20 49 6e 20 4f 6e |ojects\A|ll In On|
|00000630| 65 5c 73 6f 75 72 63 65 | 73 5c 63 68 61 70 74 65 |e\source|s\chapte|
|00000640| 72 31 32 5c 41 72 72 61 | 79 4d 61 70 54 65 73 74 |r12\Arra|yMapTest|
|00000650| 5c 41 72 72 61 79 4d 61 | 70 54 65 73 74 2e 64 73 |\ArrayMa|pTest.ds|
|00000660| 70 01 00 00 00 41 46 58 | 5f 4e 4f 56 54 41 42 4c |p....AFX|_NOVTABL|
|00000670| 45 0a 23 64 65 66 69 6e | 65 20 41 46 58 41 50 49 |E.#defin|e AFXAPI|
|00000680| 20 5f 5f 73 74 64 63 61 | 6c 6c 0a 23 64 65 66 69 | __stdca|ll.#defi|
|00000690| 6e 65 20 41 46 58 49 53 | 41 50 49 20 5f 5f 73 74 |ne AFXIS|API __st|
|000006a0| 64 63 61 6c 6c 0a 23 64 | 65 66 69 6e 65 20 41 46 |dcall.#d|efine AF|
|000006b0| 58 49 53 41 50 49 5f 43 | 44 45 43 4c 20 5f 5f 63 |XISAPI_C|DECL __c|
|000006c0| 64 65 63 6c 0a 23 64 65 | 66 69 6e 65 20 41 46 58 |decl.#de|fine AFX|
|000006d0| 4f 4c 45 41 50 49 20 5f | 5f 73 74 64 63 61 6c 6c |OLEAPI _|_stdcall|
|000006e0| 0a 23 64 65 66 69 6e 65 | 20 42 41 53 45 44 5f 43 |.#define| BASED_C|
|000006f0| 4f 44 45 0a 23 64 65 66 | 69 6e 65 20 42 41 53 45 |ODE.#def|ine BASE|
|00000700| 44 5f 44 45 42 55 47 0a | 23 64 65 66 69 6e 65 20 |D_DEBUG.|#define |
|00000710| 42 41 53 45 44 5f 53 54 | 41 43 4b 0a 23 64 65 66 |BASED_ST|ACK.#def|
|00000720| 69 6e 65 20 42 45 47 49 | 4e 5f 44 55 41 4c 5f 49 |ine BEGI|N_DUAL_I|
|00000730| 4e 54 45 52 46 41 43 45 | 5f 50 41 52 54 28 6c 6f |NTERFACE|_PART(lo|
|00000740| 63 61 6c 43 6c 61 73 73 | 2c 20 62 61 73 65 43 6c |calClass|, baseCl|
|00000750| 61 73 73 29 20 63 6c 61 | 73 73 20 58 23 23 6c 6f |ass) cla|ss X##lo|
|00000760| 63 61 6c 43 6c 61 73 73 | 20 3a 20 70 75 62 6c 69 |calClass| : publi|
|00000770| 63 20 62 61 73 65 43 6c | 61 73 73 20 7b 20 70 75 |c baseCl|ass { pu|
|00000780| 62 6c 69 63 3a 20 42 45 | 47 49 4e 5f 43 4f 4d 5f |blic: BE|GIN_COM_|
|00000790| 4d 41 50 28 58 23 23 6c | 6f 63 61 6c 43 6c 61 73 |MAP(X##l|ocalClas|
|000007a0| 73 2c 20 6c 6f 63 61 6c | 43 6c 61 73 73 29 20 43 |s, local|Class) C|
|000007b0| 4f 4d 5f 49 4e 54 45 52 | 46 41 43 45 5f 45 4e 54 |OM_INTER|FACE_ENT|
|000007c0| 52 59 20 28 62 61 73 65 | 43 6c 61 73 73 29 20 45 |RY (base|Class) E|
|000007d0| 4e 44 5f 43 4f 4d 5f 4d | 41 50 28 29 0a 23 64 65 |ND_COM_M|AP().#de|
|000007e0| 66 69 6e 65 20 42 45 47 | 49 4e 5f 49 4e 54 45 52 |fine BEG|IN_INTER|
|000007f0| 46 41 43 45 5f 50 41 52 | 54 28 6c 6f 63 61 6c 43 |FACE_PAR|T(localC|
|00000800| 6c 61 73 73 2c 20 62 61 | 73 65 43 6c 61 73 73 29 |lass, ba|seClass)|
|00000810| 20 63 6c 61 73 73 20 58 | 23 23 6c 6f 63 61 6c 43 | class X|##localC|
|00000820| 6c 61 73 73 20 3a 20 70 | 75 62 6c 69 63 20 62 61 |lass : p|ublic ba|
|00000830| 73 65 43 6c 61 73 73 20 | 7b 20 70 75 62 6c 69 63 |seClass |{ public|
|00000840| 3a 20 42 45 47 49 4e 5f | 43 4f 4d 5f 4d 41 50 28 |: BEGIN_|COM_MAP(|
|00000850| 58 23 23 6c 6f 63 61 6c | 43 6c 61 73 73 2c 20 6c |X##local|Class, l|
|00000860| 6f 63 61 6c 43 6c 61 73 | 73 29 20 43 4f 4d 5f 49 |ocalClas|s) COM_I|
|00000870| 4e 54 45 52 46 41 43 45 | 5f 45 4e 54 52 59 20 28 |NTERFACE|_ENTRY (|
|00000880| 62 61 73 65 43 6c 61 73 | 73 29 20 45 4e 44 5f 43 |baseClas|s) END_C|
|00000890| 4f 4d 5f 4d 41 50 28 29 | 20 70 75 62 6c 69 63 3a |OM_MAP()| public:|
|000008a0| 20 76 69 72 74 75 61 6c | 20 55 4c 4f 4e 47 20 53 | virtual| ULONG S|
|000008b0| 54 44 4d 45 54 48 4f 44 | 43 41 4c 4c 54 59 50 45 |TDMETHOD|CALLTYPE|
|000008c0| 20 41 64 64 52 65 66 28 | 29 3b 20 76 69 72 74 75 | AddRef(|); virtu|
|000008d0| 61 6c 20 55 4c 4f 4e 47 | 20 53 54 44 4d 45 54 48 |al ULONG| STDMETH|
|000008e0| 4f 44 43 41 4c 4c 54 59 | 50 45 20 52 65 6c 65 61 |ODCALLTY|PE Relea|
|000008f0| 73 65 28 29 3b 20 76 69 | 72 74 75 61 6c 20 48 52 |se(); vi|rtual HR|
|00000900| 45 53 55 4c 54 20 53 54 | 44 4d 45 54 48 4f 44 43 |ESULT ST|DMETHODC|
|00000910| 41 4c 4c 54 59 50 45 20 | 51 75 65 72 79 49 6e 74 |ALLTYPE |QueryInt|
|00000920| 65 72 66 61 63 65 28 52 | 45 46 49 49 44 20 69 69 |erface(R|EFIID ii|
|00000930| 64 2c 20 76 6f 69 64 20 | 2a 20 2a 20 70 70 76 4f |d, void |* * ppvO|
|00000940| 62 6a 29 3b 0a 23 64 65 | 66 69 6e 65 20 42 45 47 |bj);.#de|fine BEG|
|00000950| 49 4e 5f 43 4f 4e 4e 45 | 43 54 49 4f 4e 5f 50 41 |IN_CONNE|CTION_PA|
|00000960| 52 54 28 74 68 65 43 6c | 61 73 73 2c 20 6c 6f 63 |RT(theCl|ass, loc|
|00000970| 61 6c 43 6c 61 73 73 29 | 20 63 6c 61 73 73 20 58 |alClass)| class X|
|00000980| 23 23 6c 6f 63 61 6c 43 | 6c 61 73 73 20 3a 20 70 |##localC|lass : p|
|00000990| 75 62 6c 69 63 20 43 43 | 6f 6e 6e 65 63 74 69 6f |ublic CC|onnectio|
|000009a0| 6e 50 6f 69 6e 74 20 7b | 20 70 75 62 6c 69 63 3a |nPoint {| public:|
|000009b0| 20 58 23 23 6c 6f 63 61 | 6c 43 6c 61 73 73 28 29 | X##loca|lClass()|
|000009c0| 20 7b 20 6d 5f 6e 4f 66 | 66 73 65 74 20 3d 20 6f | { m_nOf|fset = o|
|000009d0| 66 66 73 65 74 6f 66 28 | 74 68 65 43 6c 61 73 73 |ffsetof(|theClass|
|000009e0| 2c 20 6d 5f 78 23 23 6c | 6f 63 61 6c 43 6c 61 73 |, m_x##l|ocalClas|
|000009f0| 73 29 3b 20 7d 0a 23 64 | 65 66 69 6e 65 20 43 4f |s); }.#d|efine CO|
|00000a00| 4e 4e 45 43 54 49 4f 4e | 5f 49 49 44 28 69 69 64 |NNECTION|_IID(iid|
|00000a10| 29 20 52 45 46 49 49 44 | 20 47 65 74 49 49 44 28 |) REFIID| GetIID(|
|00000a20| 29 20 7b 20 72 65 74 75 | 72 6e 20 69 69 64 3b 20 |) { retu|rn iid; |
|00000a30| 7d 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |}.#defin|e DECLAR|
|00000a40| 45 5f 41 47 47 52 45 47 | 41 54 41 42 4c 45 28 78 |E_AGGREG|ATABLE(x|
|00000a50| 29 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |).#defin|e DECLAR|
|00000a60| 45 5f 43 4c 41 53 53 46 | 41 43 54 4f 52 59 5f 45 |E_CLASSF|ACTORY_E|
|00000a70| 58 28 63 66 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |X(cf).#d|efine DE|
|00000a80| 43 4c 41 52 45 5f 43 4c | 41 53 53 46 41 43 54 4f |CLARE_CL|ASSFACTO|
|00000a90| 52 59 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |RY().#de|fine DEC|
|00000aa0| 4c 41 52 45 5f 43 4c 41 | 53 53 46 41 43 54 4f 52 |LARE_CLA|SSFACTOR|
|00000ab0| 59 32 28 6c 69 63 29 0a | 23 64 65 66 69 6e 65 20 |Y2(lic).|#define |
|00000ac0| 44 45 43 4c 41 52 45 5f | 43 4c 41 53 53 46 41 43 |DECLARE_|CLASSFAC|
|00000ad0| 54 4f 52 59 5f 41 55 54 | 4f 5f 54 48 52 45 41 44 |TORY_AUT|O_THREAD|
|00000ae0| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00000af0| 52 45 5f 43 4c 41 53 53 | 46 41 43 54 4f 52 59 5f |RE_CLASS|FACTORY_|
|00000b00| 53 49 4e 47 4c 45 54 4f | 4e 28 6f 62 6a 29 0a 23 |SINGLETO|N(obj).#|
|00000b10| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 43 |define D|ECLARE_C|
|00000b20| 4f 4e 4e 45 43 54 49 4f | 4e 5f 4d 41 50 28 29 0a |ONNECTIO|N_MAP().|
|00000b30| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00000b40| 44 49 53 50 41 54 43 48 | 5f 4d 41 50 28 29 0a 23 |DISPATCH|_MAP().#|
|00000b50| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 44 |define D|ECLARE_D|
|00000b60| 55 41 4c 5f 45 52 52 4f | 52 49 4e 46 4f 28 29 0a |UAL_ERRO|RINFO().|
|00000b70| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00000b80| 44 59 4e 41 4d 49 43 28 | 63 6c 61 73 73 5f 6e 61 |DYNAMIC(|class_na|
|00000b90| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|00000ba0| 41 52 45 5f 44 59 4e 43 | 52 45 41 54 45 28 63 6c |ARE_DYNC|REATE(cl|
|00000bb0| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|00000bc0| 65 20 44 45 43 4c 41 52 | 45 5f 45 4d 50 54 59 5f |e DECLAR|E_EMPTY_|
|00000bd0| 4d 53 47 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |MSG_MAP(|).#defin|
|00000be0| 65 20 44 45 43 4c 41 52 | 45 5f 45 56 45 4e 54 5f |e DECLAR|E_EVENT_|
|00000bf0| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00000c00| 43 4c 41 52 45 5f 45 56 | 45 4e 54 53 49 4e 4b 5f |CLARE_EV|ENTSINK_|
|00000c10| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00000c20| 43 4c 41 52 45 5f 47 45 | 54 5f 43 4f 4e 54 52 4f |CLARE_GE|T_CONTRO|
|00000c30| 4c 4c 49 4e 47 5f 55 4e | 4b 4e 4f 57 4e 28 29 0a |LLING_UN|KNOWN().|
|00000c40| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00000c50| 48 41 4e 44 4c 45 28 78 | 29 0a 23 64 65 66 69 6e |HANDLE(x|).#defin|
|00000c60| 65 20 44 45 43 4c 41 52 | 45 5f 48 41 4e 44 4c 45 |e DECLAR|E_HANDLE|
|00000c70| 33 32 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |32(x).#d|efine DE|
|00000c80| 43 4c 41 52 45 5f 49 4e | 54 45 52 46 41 43 45 28 |CLARE_IN|TERFACE(|
|00000c90| 69 66 61 63 65 29 20 69 | 6e 74 65 72 66 61 63 65 |iface) i|nterface|
|00000ca0| 20 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 | iface.#|define D|
|00000cb0| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|00000cc0| 5f 28 69 66 61 63 65 2c | 20 62 61 73 65 69 66 61 |_(iface,| baseifa|
|00000cd0| 63 65 29 20 69 6e 74 65 | 72 66 61 63 65 20 69 66 |ce) inte|rface if|
|00000ce0| 61 63 65 20 3a 20 70 75 | 62 6c 69 63 20 62 61 73 |ace : pu|blic bas|
|00000cf0| 65 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 |eiface.#|define D|
|00000d00| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|00000d10| 5f 4d 41 50 28 29 0a 23 | 64 65 66 69 6e 65 20 44 |_MAP().#|define D|
|00000d20| 45 43 4c 41 52 45 5f 4d | 45 53 53 41 47 45 5f 4d |ECLARE_M|ESSAGE_M|
|00000d30| 41 50 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |AP().#de|fine DEC|
|00000d40| 4c 41 52 45 5f 4e 4f 5f | 52 45 47 49 53 54 52 59 |LARE_NO_|REGISTRY|
|00000d50| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00000d60| 52 45 5f 4e 4f 54 5f 41 | 47 47 52 45 47 41 54 41 |RE_NOT_A|GGREGATA|
|00000d70| 42 4c 45 28 78 29 0a 23 | 64 65 66 69 6e 65 20 44 |BLE(x).#|define D|
|00000d80| 45 43 4c 41 52 45 5f 4f | 42 4a 45 43 54 5f 44 45 |ECLARE_O|BJECT_DE|
|00000d90| 53 43 52 49 50 54 49 4f | 4e 28 78 29 0a 23 64 65 |SCRIPTIO|N(x).#de|
|00000da0| 66 69 6e 65 20 44 45 43 | 4c 41 52 45 5f 4f 4c 45 |fine DEC|LARE_OLE|
|00000db0| 43 4d 44 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |CMD_MAP(|).#defin|
|00000dc0| 65 20 44 45 43 4c 41 52 | 45 5f 4f 4c 45 43 52 45 |e DECLAR|E_OLECRE|
|00000dd0| 41 54 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |ATE(clas|s_name).|
|00000de0| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00000df0| 4f 4c 45 43 52 45 41 54 | 90 52 1a 02 00 00 00 00 |OLECREAT|.R......|
|00000e00| 01 01 01 01 02 01 08 00 | 45 5f 45 58 28 63 6c 61 |........|E_EX(cla|
|00000e10| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00000e20| 20 44 45 43 4c 41 52 45 | 5f 4f 4c 45 43 54 4c 54 | DECLARE|_OLECTLT|
|00000e30| 59 50 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |YPE(clas|s_name).|
|00000e40| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00000e50| 4f 4c 45 54 59 50 45 4c | 49 42 28 63 6c 61 73 73 |OLETYPEL|IB(class|
|00000e60| 5f 6e 61 6d 65 29 0a 23 | 64 65 66 69 6e 65 20 44 |_name).#|define D|
|00000e70| 45 43 4c 41 52 45 5f 4f | 4e 4c 59 5f 41 47 47 52 |ECLARE_O|NLY_AGGR|
|00000e80| 45 47 41 54 41 42 4c 45 | 28 78 29 0a 23 64 65 66 |EGATABLE|(x).#def|
|00000e90| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 4f 50 41 51 |ine DECL|ARE_OPAQ|
|00000ea0| 55 45 33 32 28 78 29 0a | 23 64 65 66 69 6e 65 20 |UE32(x).|#define |
|00000eb0| 44 45 43 4c 41 52 45 5f | 50 41 52 53 45 5f 4d 41 |DECLARE_|PARSE_MA|
|00000ec0| 50 28 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |P().#def|ine DECL|
|00000ed0| 41 52 45 5f 50 4f 4c 59 | 5f 41 47 47 52 45 47 41 |ARE_POLY|_AGGREGA|
|00000ee0| 54 41 42 4c 45 28 78 29 | 0a 23 64 65 66 69 6e 65 |TABLE(x)|.#define|
|00000ef0| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 50 45 52 54 | DECLARE|_PROPERT|
|00000f00| 59 5f 53 55 50 50 4f 52 | 54 28 63 6c 61 73 73 29 |Y_SUPPOR|T(class)|
|00000f10| 0a 23 64 65 66 69 6e 65 | 20 44 45 43 4c 41 52 45 |.#define| DECLARE|
|00000f20| 5f 50 52 4f 50 50 41 47 | 45 49 44 53 28 63 6c 61 |_PROPPAG|EIDS(cla|
|00000f30| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00000f40| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 54 45 43 54 | DECLARE|_PROTECT|
|00000f50| 5f 46 49 4e 41 4c 5f 43 | 4f 4e 53 54 52 55 43 54 |_FINAL_C|ONSTRUCT|
|00000f60| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00000f70| 52 45 5f 52 45 47 49 53 | 54 52 59 28 63 6c 61 73 |RE_REGIS|TRY(clas|
|00000f80| 73 2c 20 70 69 64 2c 20 | 76 70 69 64 2c 20 6e 69 |s, pid, |vpid, ni|
|00000f90| 64 2c 20 66 6c 61 67 73 | 29 0a 23 64 65 66 69 6e |d, flags|).#defin|
|00000fa0| 65 20 44 45 43 4c 41 52 | 45 5f 52 45 47 49 53 54 |e DECLAR|E_REGIST|
|00000fb0| 52 59 5f 52 45 53 4f 55 | 52 43 45 28 78 29 0a 23 |RY_RESOU|RCE(x).#|
|00000fc0| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 52 |define D|ECLARE_R|
|00000fd0| 45 47 49 53 54 52 59 5f | 52 45 53 4f 55 52 43 45 |EGISTRY_|RESOURCE|
|00000fe0| 49 44 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |ID(x).#d|efine DE|
|00000ff0| 43 4c 41 52 45 5f 53 45 | 52 49 41 4c 28 63 6c 61 |CLARE_SE|RIAL(cla|
|00001000| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00001010| 20 44 45 43 4c 41 52 45 | 5f 53 54 41 54 49 43 5f | DECLARE|_STATIC_|
|00001020| 52 45 47 49 53 54 52 59 | 5f 52 45 53 4f 55 52 43 |REGISTRY|_RESOURC|
|00001030| 45 28 78 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |E(x).#de|fine DEC|
|00001040| 4c 41 52 45 5f 53 54 41 | 54 49 43 5f 52 45 47 49 |LARE_STA|TIC_REGI|
|00001050| 53 54 52 59 5f 52 45 53 | 4f 55 52 43 45 49 44 28 |STRY_RES|OURCEID(|
|00001060| 78 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |x).#defi|ne DECLA|
|00001070| 52 45 5f 56 49 45 57 5f | 53 54 41 54 55 53 28 73 |RE_VIEW_|STATUS(s|
|00001080| 74 61 74 75 73 46 6c 61 | 67 73 29 0a 23 64 65 66 |tatusFla|gs).#def|
|00001090| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 57 4e 44 5f |ine DECL|ARE_WND_|
|000010a0| 43 4c 41 53 53 28 57 6e | 64 43 6c 61 73 73 4e 61 |CLASS(Wn|dClassNa|
|000010b0| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|000010c0| 41 52 45 5f 57 4e 44 5f | 53 55 50 45 52 43 4c 41 |ARE_WND_|SUPERCLA|
|000010d0| 53 53 28 57 6e 64 43 6c | 61 73 73 4e 61 6d 65 2c |SS(WndCl|assName,|
|000010e0| 20 4f 72 69 67 57 6e 64 | 43 6c 61 73 73 4e 61 6d | OrigWnd|ClassNam|
|000010f0| 65 29 0a 23 64 65 66 69 | 6e 65 20 44 45 46 49 4e |e).#defi|ne DEFIN|
|00001100| 45 5f 43 4f 4d 4d 41 4e | 44 28 78 2c 20 73 7a 43 |E_COMMAN|D(x, szC|
|00001110| 6f 6d 6d 61 6e 64 29 0a | 23 64 65 66 69 6e 65 20 |ommand).|#define |
|00001120| 44 45 4c 45 47 41 54 45 | 5f 44 55 41 4c 5f 49 4e |DELEGATE|_DUAL_IN|
|00001130| 54 45 52 46 41 43 45 28 | 6f 62 6a 65 63 74 43 6c |TERFACE(|objectCl|
|00001140| 61 73 73 2c 20 64 75 61 | 6c 43 6c 61 73 73 29 0a |ass, dua|lClass).|
|00001150| 23 64 65 66 69 6e 65 20 | 45 4e 44 5f 43 4f 4e 4e |#define |END_CONN|
|00001160| 45 43 54 49 4f 4e 5f 50 | 41 52 54 28 6c 6f 63 61 |ECTION_P|ART(loca|
|00001170| 6c 43 6c 61 73 73 29 20 | 7d 20 6d 5f 78 23 23 6c |lClass) |} m_x##l|
|00001180| 6f 63 61 6c 43 6c 61 73 | 73 3b 20 66 72 69 65 6e |ocalClas|s; frien|
|00001190| 64 20 63 6c 61 73 73 20 | 58 23 23 6c 6f 63 61 6c |d class |X##local|
|000011a0| 43 6c 61 73 73 3b 0a 23 | 64 65 66 69 6e 65 20 45 |Class;.#|define E|
|000011b0| 4e 44 5f 44 55 41 4c 5f | 49 4e 54 45 52 46 41 43 |ND_DUAL_|INTERFAC|
|000011c0| 45 5f 50 41 52 54 28 6c | 6f 63 61 6c 43 6c 61 73 |E_PART(l|ocalClas|
|000011d0| 73 29 20 7d 20 6d 5f 78 | 23 23 6c 6f 63 61 6c 43 |s) } m_x|##localC|
|000011e0| 6c 61 73 73 3b 20 66 72 | 69 65 6e 64 20 63 6c 61 |lass; fr|iend cla|
|000011f0| 73 73 20 58 23 23 6c 6f | 63 61 6c 43 6c 61 73 73 |ss X##lo|calClass|
|00001200| 3b 0a 23 64 65 66 69 6e | 65 20 45 4e 44 5f 49 4e |;.#defin|e END_IN|
|00001210| 54 45 52 46 41 43 45 5f | 50 41 52 54 28 6c 6f 63 |TERFACE_|PART(loc|
|00001220| 61 6c 43 6c 61 73 73 29 | 20 7d 20 6d 5f 78 23 23 |alClass)| } m_x##|
|00001230| 6c 6f 63 61 6c 43 6c 61 | 73 73 3b 20 66 72 69 65 |localCla|ss; frie|
|00001240| 6e 64 20 63 6c 61 73 73 | 20 58 23 23 6c 6f 63 61 |nd class| X##loca|
|00001250| 6c 43 6c 61 73 73 3b 0a | 23 64 65 66 69 6e 65 20 |lClass;.|#define |
|00001260| 45 58 54 45 52 4e 5f 50 | 52 4f 43 45 53 53 5f 4c |EXTERN_P|ROCESS_L|
|00001270| 4f 43 41 4c 28 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |OCAL(cla|ss_name,|
|00001280| 20 69 64 65 6e 74 5f 6e | 61 6d 65 29 20 65 78 74 | ident_n|ame) ext|
|00001290| 65 72 6e 20 41 46 58 5f | 44 41 54 41 20 50 52 4f |ern AFX_|DATA PRO|
|000012a0| 43 45 53 53 5f 4c 4f 43 | 41 4c 28 63 6c 61 73 73 |CESS_LOC|AL(class|
|000012b0| 5f 6e 61 6d 65 2c 20 69 | 64 65 6e 74 5f 6e 61 6d |_name, i|dent_nam|
|000012c0| 65 29 0a 23 64 65 66 69 | 6e 65 20 45 58 54 5f 53 |e).#defi|ne EXT_S|
|000012d0| 4e 41 50 49 4e 4d 45 4e | 55 49 44 28 69 64 29 0a |NAPINMEN|UID(id).|
|000012e0| 23 64 65 66 69 6e 65 20 | 49 4d 50 4c 45 4d 45 4e |#define |IMPLEMEN|
|000012f0| 54 5f 44 55 41 4c 5f 45 | 52 52 4f 52 49 4e 46 4f |T_DUAL_E|RRORINFO|
|00001300| 28 6f 62 6a 65 63 74 43 | 6c 61 73 73 2c 20 72 69 |(objectC|lass, ri|
|00001310| 69 64 53 6f 75 72 63 65 | 29 0a 23 64 65 66 69 6e |idSource|).#defin|
|00001320| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 44 59 4e 41 |e IMPLEM|ENT_DYNA|
|00001330| 4d 49 43 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |MIC(clas|s_name, |
|00001340| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 29 |base_cla|ss_name)|
|00001350| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00001360| 4e 54 5f 44 59 4e 43 52 | 45 41 54 45 28 63 6c 61 |NT_DYNCR|EATE(cla|
|00001370| 73 73 5f 6e 61 6d 65 2c | 20 62 61 73 65 5f 63 6c |ss_name,| base_cl|
|00001380| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|00001390| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 4f 4c 45 43 |e IMPLEM|ENT_OLEC|
|000013a0| 52 45 41 54 45 28 63 6c | 61 73 73 5f 6e 61 6d 65 |REATE(cl|ass_name|
|000013b0| 2c 20 65 78 74 65 72 6e | 61 6c 5f 6e 61 6d 65 2c |, extern|al_name,|
|000013c0| 20 6c 2c 20 77 31 2c 20 | 77 32 2c 20 62 31 2c 20 | l, w1, |w2, b1, |
|000013d0| 62 32 2c 20 62 33 2c 20 | 62 34 2c 20 62 35 2c 20 |b2, b3, |b4, b5, |
|000013e0| 62 36 2c 20 62 37 2c 20 | 62 38 29 0a 23 64 65 66 |b6, b7, |b8).#def|
|000013f0| 69 6e 65 20 49 4d 50 4c | 45 4d 45 4e 54 5f 4f 4c |ine IMPL|EMENT_OL|
|00001400| 45 43 52 45 41 54 45 5f | 45 58 28 63 6c 61 73 73 |ECREATE_|EX(class|
|00001410| 5f 6e 61 6d 65 2c 20 65 | 78 74 65 72 6e 61 6c 5f |_name, e|xternal_|
|00001420| 6e 61 6d 65 2c 20 6c 2c | 20 77 31 2c 20 77 32 2c |name, l,| w1, w2,|
|00001430| 20 62 31 2c 20 62 32 2c | 20 62 33 2c 20 62 34 2c | b1, b2,| b3, b4,|
|00001440| 20 62 35 2c 20 62 36 2c | 20 62 37 2c 20 62 38 29 | b5, b6,| b7, b8)|
|00001450| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00001460| 4e 54 5f 4f 4c 45 43 54 | 4c 54 59 50 45 28 63 6c |NT_OLECT|LTYPE(cl|
|00001470| 61 73 73 5f 6e 61 6d 65 | 2c 20 69 64 73 55 73 65 |ass_name|, idsUse|
|00001480| 72 54 79 70 65 4e 61 6d | 65 2c 20 64 77 4f 6c 65 |rTypeNam|e, dwOle|
|00001490| 4d 69 73 63 29 0a 23 64 | 65 66 69 6e 65 20 49 4d |Misc).#d|efine IM|
|000014a0| 50 4c 45 4d 45 4e 54 5f | 4f 4c 45 54 59 50 45 4c |PLEMENT_|OLETYPEL|
|000014b0| 49 42 28 63 6c 61 73 73 | 5f 6e 61 6d 65 2c 20 74 |IB(class|_name, t|
|000014c0| 6c 69 64 2c 20 77 56 65 | 72 4d 61 6a 6f 72 2c 20 |lid, wVe|rMajor, |
|000014d0| 77 56 65 72 4d 69 6e 6f | 72 29 0a 23 64 65 66 69 |wVerMino|r).#defi|
|000014e0| 6e 65 20 49 4d 50 4c 45 | 4d 45 4e 54 5f 53 45 52 |ne IMPLE|MENT_SER|
|000014f0| 49 41 4c 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |IAL(clas|s_name, |
|00001500| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |base_cla|ss_name,|
|00001510| 20 77 53 63 68 65 6d 61 | 29 0a 23 64 65 66 69 6e | wSchema|).#defin|
|00001520| 65 20 49 4e 49 54 5f 49 | 4e 54 45 52 46 41 43 45 |e INIT_I|NTERFACE|
|00001530| 5f 50 41 52 54 28 74 68 | 65 43 6c 61 73 73 2c 20 |_PART(th|eClass, |
|00001540| 6c 6f 63 61 6c 43 6c 61 | 73 73 29 0a 23 64 65 66 |localCla|ss).#def|
|00001550| 69 6e 65 20 50 52 4f 43 | 45 53 53 5f 4c 4f 43 41 |ine PROC|ESS_LOCA|
|00001560| 4c 28 63 6c 61 73 73 5f | 6e 61 6d 65 2c 20 69 64 |L(class_|name, id|
|00001570| 65 6e 74 5f 6e 61 6d 65 | 29 20 41 46 58 5f 44 41 |ent_name|) AFX_DA|
|00001580| 54 41 44 45 46 20 43 50 | 72 6f 63 65 73 73 4c 6f |TADEF CP|rocessLo|
|00001590| 63 61 6c 3c 63 6c 61 73 | 73 5f 6e 61 6d 65 3e 20 |cal<clas|s_name> |
|000015a0| 69 64 65 6e 74 5f 6e 61 | 6d 65 3b 0a 23 64 65 66 |ident_na|me;.#def|
|000015b0| 69 6e 65 20 50 55 52 45 | 20 3d 20 30 0a 23 64 65 |ine PURE| = 0.#de|
|000015c0| 66 69 6e 65 20 53 4e 41 | 50 49 4e 4d 45 4e 55 49 |fine SNA|PINMENUI|
|000015d0| 44 28 69 64 29 0a 23 64 | 65 66 69 6e 65 20 54 48 |D(id).#d|efine TH|
|000015e0| 49 53 20 76 6f 69 64 0a | 23 64 65 66 69 6e 65 20 |IS void.|#define |
|000015f0| 54 48 49 53 5f 0a 23 64 | 65 66 69 6e 65 20 54 52 |THIS_.#d|efine TR|
|00001600| af 00 01 02 02 10 00 00 | 08 a7 cd 00 88 6d d0 00 |........|.....m..|
|00001610| 08 a7 cd 00 88 6d d0 00 | 70 0d 0a 20 20 20 20 77 |.....m..|p.. w|
|00001620| 68 69 6c 65 20 28 21 6b | 65 79 5b 4b 45 59 5f 45 |hile (!k|ey[KEY_E|
|00001630| 53 43 5d 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |SC]).. | {.. |
|00001640| 20 20 20 20 20 2f 2f 63 | 68 65 63 6b 20 72 69 67 | //c|heck rig|
|00001650| 68 74 20 61 72 72 6f 77 | 0d 0a 20 20 20 20 20 20 |ht arrow|.. |
|00001660| 20 20 69 66 20 28 6b 65 | 79 5b 4b 45 59 5f 52 49 | if (ke|y[KEY_RI|
|00001670| 47 48 54 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |GHT]).. | {|
|00001680| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 78 20 |.. | x |
|00001690| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|000016a0| 20 20 20 20 20 20 69 66 | 20 28 78 20 3e 20 73 63 | if| (x > sc|
|000016b0| 72 6f 6c 6c 2d 3e 77 20 | 2d 20 57 49 44 54 48 29 |roll->w |- WIDTH)|
|000016c0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000016d0| 20 20 78 20 3d 20 73 63 | 72 6f 6c 6c 2d 3e 77 20 | x = sc|roll->w |
|000016e0| 2d 20 57 49 44 54 48 3b | 0d 0a 20 20 20 20 20 20 |- WIDTH;|.. |
|000016f0| 20 20 7d 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 2f | }.... | /|
|00001700| 2f 63 68 65 63 6b 20 6c | 65 66 74 20 61 72 72 6f |/check l|eft arro|
|00001710| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00001720| 65 79 5b 4b 45 59 5f 4c | 45 46 54 5d 29 0d 0a 20 |ey[KEY_L|EFT]).. |
|00001730| 20 20 20 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 | {|.. |
|00001740| 20 20 20 20 20 20 78 20 | 2d 3d 20 53 54 45 50 3b | x |-= STEP;|
|00001750| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.. | if|
|00001760| 20 28 78 20 3c 20 30 29 | 0d 0a 20 20 20 20 20 20 | (x < 0)|.. |
|00001770| 20 20 20 20 20 20 20 20 | 20 20 78 20 3d 20 30 3b | | x = 0;|
|00001780| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 0d 0a 20 |.. | }.... |
|00001790| 20 20 20 20 20 20 20 2f | 2f 63 68 65 63 6b 20 64 | /|/check d|
|000017a0| 6f 77 6e 20 61 72 72 6f | 77 0d 0a 20 20 20 20 20 |own arro|w.. |
|000017b0| 20 20 20 69 66 20 28 6b | 65 79 5b 4b 45 59 5f 44 | if (k|ey[KEY_D|
|000017c0| 4f 57 4e 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |OWN]).. | {|
|000017d0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 79 20 |.. | y |
|000017e0| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|000017f0| 20 20 20 20 20 20 69 66 | 20 28 79 20 3e 20 73 63 | if| (y > sc|
|00001800| 72 6f 6c 6c 2d 3e 68 20 | 2d 20 48 45 49 47 48 54 |roll->h |- HEIGHT|
|00001810| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |).. | |
|00001820| 20 20 20 79 20 3d 20 73 | 63 72 6f 6c 6c 2d 3e 68 | y = s|croll->h|
|00001830| 20 2d 20 48 45 49 47 48 | 54 3b 0d 0a 20 20 20 20 | - HEIGH|T;.. |
|00001840| 20 20 20 20 7d 0d 0a 0d | 0a 20 20 20 20 20 20 20 | }...|. |
|00001850| 20 2f 2f 63 68 65 63 6b | 20 75 70 20 61 72 72 6f | //check| up arro|
|00001860| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00001870| 65 79 5b 4b 45 59 5f 55 | 50 5d 29 0d 0a 20 20 20 |ey[KEY_U|P]).. |
|00001880| 20 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 | {..| |
|00001890| 20 20 20 20 79 20 2d 3d | 20 53 54 45 50 3b 0d 0a | y -=| STEP;..|
|000018a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|000018b0| 79 20 3c 20 30 29 0d 0a | 20 20 20 20 20 20 20 20 |y < 0)..| |
|000018c0| 20 20 20 20 20 20 20 20 | 79 20 3d 20 30 3b 0d 0a | |y = 0;..|
|000018d0| 20 20 20 20 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 | |}.... |
|000018e0| 20 20 20 20 20 2f 2f 64 | 72 61 77 20 74 68 65 20 | //d|raw the |
|000018f0| 73 63 72 6f 6c 6c 20 77 | 69 6e 64 6f 77 20 70 6f |scroll w|indow po|
|00001900| 72 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 76 69 72 |rtion of| the vir|
|00001910| 74 75 61 6c 20 62 75 66 | 66 65 72 0d 0a 20 20 20 |tual buf|fer.. |
|00001920| 20 20 20 20 20 62 6c 69 | 74 28 73 63 72 6f 6c 6c | bli|t(scroll|
|00001930| 2c 20 73 63 72 65 65 6e | 2c 20 78 2c 20 79 2c 20 |, screen|, x, y, |
|00001940| 30 2c 20 30 2c 20 57 49 | 44 54 48 2d 31 2c 20 48 |0, 0, WI|DTH-1, H|
|00001950| 45 49 47 48 54 2d 31 29 | 3b 0d 0a 0d 0a 20 20 20 |EIGHT-1)|;.... |
|00001960| 20 20 20 20 20 2f 2f 64 | 69 73 70 6c 61 79 20 73 | //d|isplay s|
|00001970| 74 61 74 75 73 20 69 6e | 66 6f 0d 0a 20 20 20 20 |tatus in|fo.. |
|00001980| 20 20 20 20 74 65 78 74 | 5f 6d 6f 64 65 28 2d 31 | text|_mode(-1|
|00001990| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 74 65 78 74 |);.. | text|
|000019a0| 70 72 69 6e 74 66 28 73 | 63 72 65 65 6e 2c 66 6f |printf(s|creen,fo|
|000019b0| 6e 74 2c 30 2c 30 2c 6d | 61 6b 65 63 6f 6c 28 30 |nt,0,0,m|akecol(0|
|000019c0| 2c 30 2c 30 29 2c 0d 0a | 20 20 20 20 20 20 20 20 |,0,0),..| |
|000019d0| 20 20 20 20 22 50 6f 73 | 69 74 69 6f 6e 20 3d 20 | "Pos|ition = |
|000019e0| 28 25 64 2c 25 64 29 22 | 2c 20 78 2c 20 79 29 3b |(%d,%d)"|, x, y);|
|000019f0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 2f 2f 73 6c |.... | //sl|
|00001a00| 03 00 01 00 00 00 00 00 | 00 00 00 01 00 00 00 61 |........|.......a|
|00001a10| 70 74 65 73 74 4b 44 3a | 5c 42 6f 6f 6b 20 50 72 |ptestKD:|\Book Pr|
|00001a20| 6f 6a 65 63 74 73 5c 41 | 6c 6c 20 49 6e 20 4f 6e |ojects\A|ll In On|
|00001a30| 65 5c 73 6f 75 72 63 65 | 73 5c 63 68 61 70 74 65 |e\source|s\chapte|
|00001a40| 72 31 32 5c 41 72 72 61 | 79 4d 61 70 54 65 73 74 |r12\Arra|yMapTest|
|00001a50| 5c 41 72 72 61 79 4d 61 | 70 54 65 73 74 2e 64 73 |\ArrayMa|pTest.ds|
|00001a60| 70 01 00 00 00 41 46 58 | 5f 4e 4f 56 54 41 42 4c |p....AFX|_NOVTABL|
|00001a70| 45 0a 23 64 65 66 69 6e | 65 20 41 46 58 41 50 49 |E.#defin|e AFXAPI|
|00001a80| 20 5f 5f 73 74 64 63 61 | 6c 6c 0a 23 64 65 66 69 | __stdca|ll.#defi|
|00001a90| 6e 65 20 41 46 58 49 53 | 41 50 49 20 5f 5f 73 74 |ne AFXIS|API __st|
|00001aa0| 64 63 61 6c 6c 0a 23 64 | 65 66 69 6e 65 20 41 46 |dcall.#d|efine AF|
|00001ab0| 58 49 53 41 50 49 5f 43 | 44 45 43 4c 20 5f 5f 63 |XISAPI_C|DECL __c|
|00001ac0| 64 65 63 6c 0a 23 64 65 | 66 69 6e 65 20 41 46 58 |decl.#de|fine AFX|
|00001ad0| 4f 4c 45 41 50 49 20 5f | 5f 73 74 64 63 61 6c 6c |OLEAPI _|_stdcall|
|00001ae0| 0a 23 64 65 66 69 6e 65 | 20 42 41 53 45 44 5f 43 |.#define| BASED_C|
|00001af0| 4f 44 45 0a 23 64 65 66 | 69 6e 65 20 42 41 53 45 |ODE.#def|ine BASE|
|00001b00| 44 5f 44 45 42 55 47 0a | 23 64 65 66 69 6e 65 20 |D_DEBUG.|#define |
|00001b10| 42 41 53 45 44 5f 53 54 | 41 43 4b 0a 23 64 65 66 |BASED_ST|ACK.#def|
|00001b20| 69 6e 65 20 42 45 47 49 | 4e 5f 44 55 41 4c 5f 49 |ine BEGI|N_DUAL_I|
|00001b30| 4e 54 45 52 46 41 43 45 | 5f 50 41 52 54 28 6c 6f |NTERFACE|_PART(lo|
|00001b40| 63 61 6c 43 6c 61 73 73 | 2c 20 62 61 73 65 43 6c |calClass|, baseCl|
|00001b50| 61 73 73 29 20 63 6c 61 | 73 73 20 58 23 23 6c 6f |ass) cla|ss X##lo|
|00001b60| 63 61 6c 43 6c 61 73 73 | 20 3a 20 70 75 62 6c 69 |calClass| : publi|
|00001b70| 63 20 62 61 73 65 43 6c | 61 73 73 20 7b 20 70 75 |c baseCl|ass { pu|
|00001b80| 62 6c 69 63 3a 20 42 45 | 47 49 4e 5f 43 4f 4d 5f |blic: BE|GIN_COM_|
|00001b90| 4d 41 50 28 58 23 23 6c | 6f 63 61 6c 43 6c 61 73 |MAP(X##l|ocalClas|
|00001ba0| 73 2c 20 6c 6f 63 61 6c | 43 6c 61 73 73 29 20 43 |s, local|Class) C|
|00001bb0| 4f 4d 5f 49 4e 54 45 52 | 46 41 43 45 5f 45 4e 54 |OM_INTER|FACE_ENT|
|00001bc0| 52 59 20 28 62 61 73 65 | 43 6c 61 73 73 29 20 45 |RY (base|Class) E|
|00001bd0| 4e 44 5f 43 4f 4d 5f 4d | 41 50 28 29 0a 23 64 65 |ND_COM_M|AP().#de|
|00001be0| 66 69 6e 65 20 42 45 47 | 49 4e 5f 49 4e 54 45 52 |fine BEG|IN_INTER|
|00001bf0| 46 41 43 45 5f 50 41 52 | 54 28 6c 6f 63 61 6c 43 |FACE_PAR|T(localC|
|00001c00| 6c 61 73 73 2c 20 62 61 | 73 65 43 6c 61 73 73 29 |lass, ba|seClass)|
|00001c10| 20 63 6c 61 73 73 20 58 | 23 23 6c 6f 63 61 6c 43 | class X|##localC|
|00001c20| 6c 61 73 73 20 3a 20 70 | 75 62 6c 69 63 20 62 61 |lass : p|ublic ba|
|00001c30| 73 65 43 6c 61 73 73 20 | 7b 20 70 75 62 6c 69 63 |seClass |{ public|
|00001c40| 3a 20 42 45 47 49 4e 5f | 43 4f 4d 5f 4d 41 50 28 |: BEGIN_|COM_MAP(|
|00001c50| 58 23 23 6c 6f 63 61 6c | 43 6c 61 73 73 2c 20 6c |X##local|Class, l|
|00001c60| 6f 63 61 6c 43 6c 61 73 | 73 29 20 43 4f 4d 5f 49 |ocalClas|s) COM_I|
|00001c70| 4e 54 45 52 46 41 43 45 | 5f 45 4e 54 52 59 20 28 |NTERFACE|_ENTRY (|
|00001c80| 62 61 73 65 43 6c 61 73 | 73 29 20 45 4e 44 5f 43 |baseClas|s) END_C|
|00001c90| 4f 4d 5f 4d 41 50 28 29 | 20 70 75 62 6c 69 63 3a |OM_MAP()| public:|
|00001ca0| 20 76 69 72 74 75 61 6c | 20 55 4c 4f 4e 47 20 53 | virtual| ULONG S|
|00001cb0| 54 44 4d 45 54 48 4f 44 | 43 41 4c 4c 54 59 50 45 |TDMETHOD|CALLTYPE|
|00001cc0| 20 41 64 64 52 65 66 28 | 29 3b 20 76 69 72 74 75 | AddRef(|); virtu|
|00001cd0| 61 6c 20 55 4c 4f 4e 47 | 20 53 54 44 4d 45 54 48 |al ULONG| STDMETH|
|00001ce0| 4f 44 43 41 4c 4c 54 59 | 50 45 20 52 65 6c 65 61 |ODCALLTY|PE Relea|
|00001cf0| 73 65 28 29 3b 20 76 69 | 72 74 75 61 6c 20 48 52 |se(); vi|rtual HR|
|00001d00| 45 53 55 4c 54 20 53 54 | 44 4d 45 54 48 4f 44 43 |ESULT ST|DMETHODC|
|00001d10| 41 4c 4c 54 59 50 45 20 | 51 75 65 72 79 49 6e 74 |ALLTYPE |QueryInt|
|00001d20| 65 72 66 61 63 65 28 52 | 45 46 49 49 44 20 69 69 |erface(R|EFIID ii|
|00001d30| 64 2c 20 76 6f 69 64 20 | 2a 20 2a 20 70 70 76 4f |d, void |* * ppvO|
|00001d40| 62 6a 29 3b 0a 23 64 65 | 66 69 6e 65 20 42 45 47 |bj);.#de|fine BEG|
|00001d50| 49 4e 5f 43 4f 4e 4e 45 | 43 54 49 4f 4e 5f 50 41 |IN_CONNE|CTION_PA|
|00001d60| 52 54 28 74 68 65 43 6c | 61 73 73 2c 20 6c 6f 63 |RT(theCl|ass, loc|
|00001d70| 61 6c 43 6c 61 73 73 29 | 20 63 6c 61 73 73 20 58 |alClass)| class X|
|00001d80| 23 23 6c 6f 63 61 6c 43 | 6c 61 73 73 20 3a 20 70 |##localC|lass : p|
|00001d90| 75 62 6c 69 63 20 43 43 | 6f 6e 6e 65 63 74 69 6f |ublic CC|onnectio|
|00001da0| 6e 50 6f 69 6e 74 20 7b | 20 70 75 62 6c 69 63 3a |nPoint {| public:|
|00001db0| 20 58 23 23 6c 6f 63 61 | 6c 43 6c 61 73 73 28 29 | X##loca|lClass()|
|00001dc0| 20 7b 20 6d 5f 6e 4f 66 | 66 73 65 74 20 3d 20 6f | { m_nOf|fset = o|
|00001dd0| 66 66 73 65 74 6f 66 28 | 74 68 65 43 6c 61 73 73 |ffsetof(|theClass|
|00001de0| 2c 20 6d 5f 78 23 23 6c | 6f 63 61 6c 43 6c 61 73 |, m_x##l|ocalClas|
|00001df0| 73 29 3b 20 7d 0a 23 64 | 65 66 69 6e 65 20 43 4f |s); }.#d|efine CO|
|00001e00| 4e 4e 45 43 54 49 4f 4e | 5f 49 49 44 28 69 69 64 |NNECTION|_IID(iid|
|00001e10| 29 20 52 45 46 49 49 44 | 20 47 65 74 49 49 44 28 |) REFIID| GetIID(|
|00001e20| 29 20 7b 20 72 65 74 75 | 72 6e 20 69 69 64 3b 20 |) { retu|rn iid; |
|00001e30| 7d 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |}.#defin|e DECLAR|
|00001e40| 45 5f 41 47 47 52 45 47 | 41 54 41 42 4c 45 28 78 |E_AGGREG|ATABLE(x|
|00001e50| 29 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |).#defin|e DECLAR|
|00001e60| 45 5f 43 4c 41 53 53 46 | 41 43 54 4f 52 59 5f 45 |E_CLASSF|ACTORY_E|
|00001e70| 58 28 63 66 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |X(cf).#d|efine DE|
|00001e80| 43 4c 41 52 45 5f 43 4c | 41 53 53 46 41 43 54 4f |CLARE_CL|ASSFACTO|
|00001e90| 52 59 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |RY().#de|fine DEC|
|00001ea0| 4c 41 52 45 5f 43 4c 41 | 53 53 46 41 43 54 4f 52 |LARE_CLA|SSFACTOR|
|00001eb0| 59 32 28 6c 69 63 29 0a | 23 64 65 66 69 6e 65 20 |Y2(lic).|#define |
|00001ec0| 44 45 43 4c 41 52 45 5f | 43 4c 41 53 53 46 41 43 |DECLARE_|CLASSFAC|
|00001ed0| 54 4f 52 59 5f 41 55 54 | 4f 5f 54 48 52 45 41 44 |TORY_AUT|O_THREAD|
|00001ee0| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00001ef0| 52 45 5f 43 4c 41 53 53 | 46 41 43 54 4f 52 59 5f |RE_CLASS|FACTORY_|
|00001f00| 53 49 4e 47 4c 45 54 4f | 4e 28 6f 62 6a 29 0a 23 |SINGLETO|N(obj).#|
|00001f10| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 43 |define D|ECLARE_C|
|00001f20| 4f 4e 4e 45 43 54 49 4f | 4e 5f 4d 41 50 28 29 0a |ONNECTIO|N_MAP().|
|00001f30| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00001f40| 44 49 53 50 41 54 43 48 | 5f 4d 41 50 28 29 0a 23 |DISPATCH|_MAP().#|
|00001f50| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 44 |define D|ECLARE_D|
|00001f60| 55 41 4c 5f 45 52 52 4f | 52 49 4e 46 4f 28 29 0a |UAL_ERRO|RINFO().|
|00001f70| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00001f80| 44 59 4e 41 4d 49 43 28 | 63 6c 61 73 73 5f 6e 61 |DYNAMIC(|class_na|
|00001f90| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|00001fa0| 41 52 45 5f 44 59 4e 43 | 52 45 41 54 45 28 63 6c |ARE_DYNC|REATE(cl|
|00001fb0| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|00001fc0| 65 20 44 45 43 4c 41 52 | 45 5f 45 4d 50 54 59 5f |e DECLAR|E_EMPTY_|
|00001fd0| 4d 53 47 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |MSG_MAP(|).#defin|
|00001fe0| 65 20 44 45 43 4c 41 52 | 45 5f 45 56 45 4e 54 5f |e DECLAR|E_EVENT_|
|00001ff0| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00002000| 43 4c 41 52 45 5f 45 56 | 45 4e 54 53 49 4e 4b 5f |CLARE_EV|ENTSINK_|
|00002010| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00002020| 43 4c 41 52 45 5f 47 45 | 54 5f 43 4f 4e 54 52 4f |CLARE_GE|T_CONTRO|
|00002030| 4c 4c 49 4e 47 5f 55 4e | 4b 4e 4f 57 4e 28 29 0a |LLING_UN|KNOWN().|
|00002040| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00002050| 48 41 4e 44 4c 45 28 78 | 29 0a 23 64 65 66 69 6e |HANDLE(x|).#defin|
|00002060| 65 20 44 45 43 4c 41 52 | 45 5f 48 41 4e 44 4c 45 |e DECLAR|E_HANDLE|
|00002070| 33 32 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |32(x).#d|efine DE|
|00002080| 43 4c 41 52 45 5f 49 4e | 54 45 52 46 41 43 45 28 |CLARE_IN|TERFACE(|
|00002090| 69 66 61 63 65 29 20 69 | 6e 74 65 72 66 61 63 65 |iface) i|nterface|
|000020a0| 20 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 | iface.#|define D|
|000020b0| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|000020c0| 5f 28 69 66 61 63 65 2c | 20 62 61 73 65 69 66 61 |_(iface,| baseifa|
|000020d0| 63 65 29 20 69 6e 74 65 | 72 66 61 63 65 20 69 66 |ce) inte|rface if|
|000020e0| 61 63 65 20 3a 20 70 75 | 62 6c 69 63 20 62 61 73 |ace : pu|blic bas|
|000020f0| 65 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 |eiface.#|define D|
|00002100| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|00002110| 5f 4d 41 50 28 29 0a 23 | 64 65 66 69 6e 65 20 44 |_MAP().#|define D|
|00002120| 45 43 4c 41 52 45 5f 4d | 45 53 53 41 47 45 5f 4d |ECLARE_M|ESSAGE_M|
|00002130| 41 50 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |AP().#de|fine DEC|
|00002140| 4c 41 52 45 5f 4e 4f 5f | 52 45 47 49 53 54 52 59 |LARE_NO_|REGISTRY|
|00002150| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00002160| 52 45 5f 4e 4f 54 5f 41 | 47 47 52 45 47 41 54 41 |RE_NOT_A|GGREGATA|
|00002170| 42 4c 45 28 78 29 0a 23 | 64 65 66 69 6e 65 20 44 |BLE(x).#|define D|
|00002180| 45 43 4c 41 52 45 5f 4f | 42 4a 45 43 54 5f 44 45 |ECLARE_O|BJECT_DE|
|00002190| 53 43 52 49 50 54 49 4f | 4e 28 78 29 0a 23 64 65 |SCRIPTIO|N(x).#de|
|000021a0| 66 69 6e 65 20 44 45 43 | 4c 41 52 45 5f 4f 4c 45 |fine DEC|LARE_OLE|
|000021b0| 43 4d 44 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |CMD_MAP(|).#defin|
|000021c0| 65 20 44 45 43 4c 41 52 | 45 5f 4f 4c 45 43 52 45 |e DECLAR|E_OLECRE|
|000021d0| 41 54 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |ATE(clas|s_name).|
|000021e0| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|000021f0| 4f 4c 45 43 52 45 41 54 | 90 52 1a 02 00 00 00 00 |OLECREAT|.R......|
|00002200| 01 01 01 01 02 01 08 00 | 45 5f 45 58 28 63 6c 61 |........|E_EX(cla|
|00002210| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00002220| 20 44 45 43 4c 41 52 45 | 5f 4f 4c 45 43 54 4c 54 | DECLARE|_OLECTLT|
|00002230| 59 50 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |YPE(clas|s_name).|
|00002240| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00002250| 4f 4c 45 54 59 50 45 4c | 49 42 28 63 6c 61 73 73 |OLETYPEL|IB(class|
|00002260| 5f 6e 61 6d 65 29 0a 23 | 64 65 66 69 6e 65 20 44 |_name).#|define D|
|00002270| 45 43 4c 41 52 45 5f 4f | 4e 4c 59 5f 41 47 47 52 |ECLARE_O|NLY_AGGR|
|00002280| 45 47 41 54 41 42 4c 45 | 28 78 29 0a 23 64 65 66 |EGATABLE|(x).#def|
|00002290| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 4f 50 41 51 |ine DECL|ARE_OPAQ|
|000022a0| 55 45 33 32 28 78 29 0a | 23 64 65 66 69 6e 65 20 |UE32(x).|#define |
|000022b0| 44 45 43 4c 41 52 45 5f | 50 41 52 53 45 5f 4d 41 |DECLARE_|PARSE_MA|
|000022c0| 50 28 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |P().#def|ine DECL|
|000022d0| 41 52 45 5f 50 4f 4c 59 | 5f 41 47 47 52 45 47 41 |ARE_POLY|_AGGREGA|
|000022e0| 54 41 42 4c 45 28 78 29 | 0a 23 64 65 66 69 6e 65 |TABLE(x)|.#define|
|000022f0| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 50 45 52 54 | DECLARE|_PROPERT|
|00002300| 59 5f 53 55 50 50 4f 52 | 54 28 63 6c 61 73 73 29 |Y_SUPPOR|T(class)|
|00002310| 0a 23 64 65 66 69 6e 65 | 20 44 45 43 4c 41 52 45 |.#define| DECLARE|
|00002320| 5f 50 52 4f 50 50 41 47 | 45 49 44 53 28 63 6c 61 |_PROPPAG|EIDS(cla|
|00002330| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00002340| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 54 45 43 54 | DECLARE|_PROTECT|
|00002350| 5f 46 49 4e 41 4c 5f 43 | 4f 4e 53 54 52 55 43 54 |_FINAL_C|ONSTRUCT|
|00002360| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00002370| 52 45 5f 52 45 47 49 53 | 54 52 59 28 63 6c 61 73 |RE_REGIS|TRY(clas|
|00002380| 73 2c 20 70 69 64 2c 20 | 76 70 69 64 2c 20 6e 69 |s, pid, |vpid, ni|
|00002390| 64 2c 20 66 6c 61 67 73 | 29 0a 23 64 65 66 69 6e |d, flags|).#defin|
|000023a0| 65 20 44 45 43 4c 41 52 | 45 5f 52 45 47 49 53 54 |e DECLAR|E_REGIST|
|000023b0| 52 59 5f 52 45 53 4f 55 | 52 43 45 28 78 29 0a 23 |RY_RESOU|RCE(x).#|
|000023c0| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 52 |define D|ECLARE_R|
|000023d0| 45 47 49 53 54 52 59 5f | 52 45 53 4f 55 52 43 45 |EGISTRY_|RESOURCE|
|000023e0| 49 44 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |ID(x).#d|efine DE|
|000023f0| 43 4c 41 52 45 5f 53 45 | 52 49 41 4c 28 63 6c 61 |CLARE_SE|RIAL(cla|
|00002400| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00002410| 20 44 45 43 4c 41 52 45 | 5f 53 54 41 54 49 43 5f | DECLARE|_STATIC_|
|00002420| 52 45 47 49 53 54 52 59 | 5f 52 45 53 4f 55 52 43 |REGISTRY|_RESOURC|
|00002430| 45 28 78 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |E(x).#de|fine DEC|
|00002440| 4c 41 52 45 5f 53 54 41 | 54 49 43 5f 52 45 47 49 |LARE_STA|TIC_REGI|
|00002450| 53 54 52 59 5f 52 45 53 | 4f 55 52 43 45 49 44 28 |STRY_RES|OURCEID(|
|00002460| 78 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |x).#defi|ne DECLA|
|00002470| 52 45 5f 56 49 45 57 5f | 53 54 41 54 55 53 28 73 |RE_VIEW_|STATUS(s|
|00002480| 74 61 74 75 73 46 6c 61 | 67 73 29 0a 23 64 65 66 |tatusFla|gs).#def|
|00002490| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 57 4e 44 5f |ine DECL|ARE_WND_|
|000024a0| 43 4c 41 53 53 28 57 6e | 64 43 6c 61 73 73 4e 61 |CLASS(Wn|dClassNa|
|000024b0| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|000024c0| 41 52 45 5f 57 4e 44 5f | 53 55 50 45 52 43 4c 41 |ARE_WND_|SUPERCLA|
|000024d0| 53 53 28 57 6e 64 43 6c | 61 73 73 4e 61 6d 65 2c |SS(WndCl|assName,|
|000024e0| 20 4f 72 69 67 57 6e 64 | 43 6c 61 73 73 4e 61 6d | OrigWnd|ClassNam|
|000024f0| 65 29 0a 23 64 65 66 69 | 6e 65 20 44 45 46 49 4e |e).#defi|ne DEFIN|
|00002500| 45 5f 43 4f 4d 4d 41 4e | 44 28 78 2c 20 73 7a 43 |E_COMMAN|D(x, szC|
|00002510| 6f 6d 6d 61 6e 64 29 0a | 23 64 65 66 69 6e 65 20 |ommand).|#define |
|00002520| 44 45 4c 45 47 41 54 45 | 5f 44 55 41 4c 5f 49 4e |DELEGATE|_DUAL_IN|
|00002530| 54 45 52 46 41 43 45 28 | 6f 62 6a 65 63 74 43 6c |TERFACE(|objectCl|
|00002540| 61 73 73 2c 20 64 75 61 | 6c 43 6c 61 73 73 29 0a |ass, dua|lClass).|
|00002550| 23 64 65 66 69 6e 65 20 | 45 4e 44 5f 43 4f 4e 4e |#define |END_CONN|
|00002560| 45 43 54 49 4f 4e 5f 50 | 41 52 54 28 6c 6f 63 61 |ECTION_P|ART(loca|
|00002570| 6c 43 6c 61 73 73 29 20 | 7d 20 6d 5f 78 23 23 6c |lClass) |} m_x##l|
|00002580| 6f 63 61 6c 43 6c 61 73 | 73 3b 20 66 72 69 65 6e |ocalClas|s; frien|
|00002590| 64 20 63 6c 61 73 73 20 | 58 23 23 6c 6f 63 61 6c |d class |X##local|
|000025a0| 43 6c 61 73 73 3b 0a 23 | 64 65 66 69 6e 65 20 45 |Class;.#|define E|
|000025b0| 4e 44 5f 44 55 41 4c 5f | 49 4e 54 45 52 46 41 43 |ND_DUAL_|INTERFAC|
|000025c0| 45 5f 50 41 52 54 28 6c | 6f 63 61 6c 43 6c 61 73 |E_PART(l|ocalClas|
|000025d0| 73 29 20 7d 20 6d 5f 78 | 23 23 6c 6f 63 61 6c 43 |s) } m_x|##localC|
|000025e0| 6c 61 73 73 3b 20 66 72 | 69 65 6e 64 20 63 6c 61 |lass; fr|iend cla|
|000025f0| 73 73 20 58 23 23 6c 6f | 63 61 6c 43 6c 61 73 73 |ss X##lo|calClass|
|00002600| 3b 0a 23 64 65 66 69 6e | 65 20 45 4e 44 5f 49 4e |;.#defin|e END_IN|
|00002610| 54 45 52 46 41 43 45 5f | 50 41 52 54 28 6c 6f 63 |TERFACE_|PART(loc|
|00002620| 61 6c 43 6c 61 73 73 29 | 20 7d 20 6d 5f 78 23 23 |alClass)| } m_x##|
|00002630| 6c 6f 63 61 6c 43 6c 61 | 73 73 3b 20 66 72 69 65 |localCla|ss; frie|
|00002640| 6e 64 20 63 6c 61 73 73 | 20 58 23 23 6c 6f 63 61 |nd class| X##loca|
|00002650| 6c 43 6c 61 73 73 3b 0a | 23 64 65 66 69 6e 65 20 |lClass;.|#define |
|00002660| 45 58 54 45 52 4e 5f 50 | 52 4f 43 45 53 53 5f 4c |EXTERN_P|ROCESS_L|
|00002670| 4f 43 41 4c 28 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |OCAL(cla|ss_name,|
|00002680| 20 69 64 65 6e 74 5f 6e | 61 6d 65 29 20 65 78 74 | ident_n|ame) ext|
|00002690| 65 72 6e 20 41 46 58 5f | 44 41 54 41 20 50 52 4f |ern AFX_|DATA PRO|
|000026a0| 43 45 53 53 5f 4c 4f 43 | 41 4c 28 63 6c 61 73 73 |CESS_LOC|AL(class|
|000026b0| 5f 6e 61 6d 65 2c 20 69 | 64 65 6e 74 5f 6e 61 6d |_name, i|dent_nam|
|000026c0| 65 29 0a 23 64 65 66 69 | 6e 65 20 45 58 54 5f 53 |e).#defi|ne EXT_S|
|000026d0| 4e 41 50 49 4e 4d 45 4e | 55 49 44 28 69 64 29 0a |NAPINMEN|UID(id).|
|000026e0| 23 64 65 66 69 6e 65 20 | 49 4d 50 4c 45 4d 45 4e |#define |IMPLEMEN|
|000026f0| 54 5f 44 55 41 4c 5f 45 | 52 52 4f 52 49 4e 46 4f |T_DUAL_E|RRORINFO|
|00002700| 28 6f 62 6a 65 63 74 43 | 6c 61 73 73 2c 20 72 69 |(objectC|lass, ri|
|00002710| 69 64 53 6f 75 72 63 65 | 29 0a 23 64 65 66 69 6e |idSource|).#defin|
|00002720| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 44 59 4e 41 |e IMPLEM|ENT_DYNA|
|00002730| 4d 49 43 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |MIC(clas|s_name, |
|00002740| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 29 |base_cla|ss_name)|
|00002750| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00002760| 4e 54 5f 44 59 4e 43 52 | 45 41 54 45 28 63 6c 61 |NT_DYNCR|EATE(cla|
|00002770| 73 73 5f 6e 61 6d 65 2c | 20 62 61 73 65 5f 63 6c |ss_name,| base_cl|
|00002780| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|00002790| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 4f 4c 45 43 |e IMPLEM|ENT_OLEC|
|000027a0| 52 45 41 54 45 28 63 6c | 61 73 73 5f 6e 61 6d 65 |REATE(cl|ass_name|
|000027b0| 2c 20 65 78 74 65 72 6e | 61 6c 5f 6e 61 6d 65 2c |, extern|al_name,|
|000027c0| 20 6c 2c 20 77 31 2c 20 | 77 32 2c 20 62 31 2c 20 | l, w1, |w2, b1, |
|000027d0| 62 32 2c 20 62 33 2c 20 | 62 34 2c 20 62 35 2c 20 |b2, b3, |b4, b5, |
|000027e0| 62 36 2c 20 62 37 2c 20 | 62 38 29 0a 23 64 65 66 |b6, b7, |b8).#def|
|000027f0| 69 6e 65 20 49 4d 50 4c | 45 4d 45 4e 54 5f 4f 4c |ine IMPL|EMENT_OL|
|00002800| 45 43 52 45 41 54 45 5f | 45 58 28 63 6c 61 73 73 |ECREATE_|EX(class|
|00002810| 5f 6e 61 6d 65 2c 20 65 | 78 74 65 72 6e 61 6c 5f |_name, e|xternal_|
|00002820| 6e 61 6d 65 2c 20 6c 2c | 20 77 31 2c 20 77 32 2c |name, l,| w1, w2,|
|00002830| 20 62 31 2c 20 62 32 2c | 20 62 33 2c 20 62 34 2c | b1, b2,| b3, b4,|
|00002840| 20 62 35 2c 20 62 36 2c | 20 62 37 2c 20 62 38 29 | b5, b6,| b7, b8)|
|00002850| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00002860| 4e 54 5f 4f 4c 45 43 54 | 4c 54 59 50 45 28 63 6c |NT_OLECT|LTYPE(cl|
|00002870| 61 73 73 5f 6e 61 6d 65 | 2c 20 69 64 73 55 73 65 |ass_name|, idsUse|
|00002880| 72 54 79 70 65 4e 61 6d | 65 2c 20 64 77 4f 6c 65 |rTypeNam|e, dwOle|
|00002890| 4d 69 73 63 29 0a 23 64 | 65 66 69 6e 65 20 49 4d |Misc).#d|efine IM|
|000028a0| 50 4c 45 4d 45 4e 54 5f | 4f 4c 45 54 59 50 45 4c |PLEMENT_|OLETYPEL|
|000028b0| 49 42 28 63 6c 61 73 73 | 5f 6e 61 6d 65 2c 20 74 |IB(class|_name, t|
|000028c0| 6c 69 64 2c 20 77 56 65 | 72 4d 61 6a 6f 72 2c 20 |lid, wVe|rMajor, |
|000028d0| 77 56 65 72 4d 69 6e 6f | 72 29 0a 23 64 65 66 69 |wVerMino|r).#defi|
|000028e0| 6e 65 20 49 4d 50 4c 45 | 4d 45 4e 54 5f 53 45 52 |ne IMPLE|MENT_SER|
|000028f0| 49 41 4c 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |IAL(clas|s_name, |
|00002900| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |base_cla|ss_name,|
|00002910| 20 77 53 63 68 65 6d 61 | 29 0a 23 64 65 66 69 6e | wSchema|).#defin|
|00002920| 65 20 49 4e 49 54 5f 49 | 4e 54 45 52 46 41 43 45 |e INIT_I|NTERFACE|
|00002930| 5f 50 41 52 54 28 74 68 | 65 43 6c 61 73 73 2c 20 |_PART(th|eClass, |
|00002940| 6c 6f 63 61 6c 43 6c 61 | 73 73 29 0a 23 64 65 66 |localCla|ss).#def|
|00002950| 69 6e 65 20 50 52 4f 43 | 45 53 53 5f 4c 4f 43 41 |ine PROC|ESS_LOCA|
|00002960| 4c 28 63 6c 61 73 73 5f | 6e 61 6d 65 2c 20 69 64 |L(class_|name, id|
|00002970| 65 6e 74 5f 6e 61 6d 65 | 29 20 41 46 58 5f 44 41 |ent_name|) AFX_DA|
|00002980| 54 41 44 45 46 20 43 50 | 72 6f 63 65 73 73 4c 6f |TADEF CP|rocessLo|
|00002990| 63 61 6c 3c 63 6c 61 73 | 73 5f 6e 61 6d 65 3e 20 |cal<clas|s_name> |
|000029a0| 69 64 65 6e 74 5f 6e 61 | 6d 65 3b 0a 23 64 65 66 |ident_na|me;.#def|
|000029b0| 69 6e 65 20 50 55 52 45 | 20 3d 20 30 0a 23 64 65 |ine PURE| = 0.#de|
|000029c0| 66 69 6e 65 20 53 4e 41 | 50 49 4e 4d 45 4e 55 49 |fine SNA|PINMENUI|
|000029d0| 44 28 69 64 29 0a 23 64 | 65 66 69 6e 65 20 54 48 |D(id).#d|efine TH|
|000029e0| 49 53 20 76 6f 69 64 0a | 23 64 65 66 69 6e 65 20 |IS void.|#define |
|000029f0| 54 48 49 53 5f 0a 23 64 | 65 66 69 6e 65 20 54 52 |THIS_.#d|efine TR|
|00002a00| af 00 01 02 02 10 00 00 | 08 a7 cd 00 88 6d d0 00 |........|.....m..|
|00002a10| 08 a7 cd 00 88 6d d0 00 | 70 0d 0a 20 20 20 20 77 |.....m..|p.. w|
|00002a20| 68 69 6c 65 20 28 21 6b | 65 79 5b 4b 45 59 5f 45 |hile (!k|ey[KEY_E|
|00002a30| 53 43 5d 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |SC]).. | {.. |
|00002a40| 20 20 20 20 20 2f 2f 63 | 68 65 63 6b 20 72 69 67 | //c|heck rig|
|00002a50| 68 74 20 61 72 72 6f 77 | 0d 0a 20 20 20 20 20 20 |ht arrow|.. |
|00002a60| 20 20 69 66 20 28 6b 65 | 79 5b 4b 45 59 5f 52 49 | if (ke|y[KEY_RI|
|00002a70| 47 48 54 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |GHT]).. | {|
|00002a80| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 78 20 |.. | x |
|00002a90| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|00002aa0| 20 20 20 20 20 20 69 66 | 20 28 78 20 3e 20 73 63 | if| (x > sc|
|00002ab0| 72 6f 6c 6c 2d 3e 77 20 | 2d 20 57 49 44 54 48 29 |roll->w |- WIDTH)|
|00002ac0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002ad0| 20 20 78 20 3d 20 73 63 | 72 6f 6c 6c 2d 3e 77 20 | x = sc|roll->w |
|00002ae0| 2d 20 57 49 44 54 48 3b | 0d 0a 20 20 20 20 20 20 |- WIDTH;|.. |
|00002af0| 20 20 7d 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 2f | }.... | /|
|00002b00| 2f 63 68 65 63 6b 20 6c | 65 66 74 20 61 72 72 6f |/check l|eft arro|
|00002b10| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00002b20| 65 79 5b 4b 45 59 5f 4c | 45 46 54 5d 29 0d 0a 20 |ey[KEY_L|EFT]).. |
|00002b30| 20 20 20 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 | {|.. |
|00002b40| 20 20 20 20 20 20 78 20 | 2d 3d 20 53 54 45 50 3b | x |-= STEP;|
|00002b50| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.. | if|
|00002b60| 20 28 78 20 3c 20 30 29 | 0d 0a 20 20 20 20 20 20 | (x < 0)|.. |
|00002b70| 20 20 20 20 20 20 20 20 | 20 20 78 20 3d 20 30 3b | | x = 0;|
|00002b80| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 0d 0a 20 |.. | }.... |
|00002b90| 20 20 20 20 20 20 20 2f | 2f 63 68 65 63 6b 20 64 | /|/check d|
|00002ba0| 6f 77 6e 20 61 72 72 6f | 77 0d 0a 20 20 20 20 20 |own arro|w.. |
|00002bb0| 20 20 20 69 66 20 28 6b | 65 79 5b 4b 45 59 5f 44 | if (k|ey[KEY_D|
|00002bc0| 4f 57 4e 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |OWN]).. | {|
|00002bd0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 79 20 |.. | y |
|00002be0| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|00002bf0| 20 20 20 20 20 20 69 66 | 20 28 79 20 3e 20 73 63 | if| (y > sc|
|00002c00| 72 6f 6c 6c 2d 3e 68 20 | 2d 20 48 45 49 47 48 54 |roll->h |- HEIGHT|
|00002c10| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |).. | |
|00002c20| 20 20 20 79 20 3d 20 73 | 63 72 6f 6c 6c 2d 3e 68 | y = s|croll->h|
|00002c30| 20 2d 20 48 45 49 47 48 | 54 3b 0d 0a 20 20 20 20 | - HEIGH|T;.. |
|00002c40| 20 20 20 20 7d 0d 0a 0d | 0a 20 20 20 20 20 20 20 | }...|. |
|00002c50| 20 2f 2f 63 68 65 63 6b | 20 75 70 20 61 72 72 6f | //check| up arro|
|00002c60| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00002c70| 65 79 5b 4b 45 59 5f 55 | 50 5d 29 0d 0a 20 20 20 |ey[KEY_U|P]).. |
|00002c80| 20 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 | {..| |
|00002c90| 20 20 20 20 79 20 2d 3d | 20 53 54 45 50 3b 0d 0a | y -=| STEP;..|
|00002ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00002cb0| 79 20 3c 20 30 29 0d 0a | 20 20 20 20 20 20 20 20 |y < 0)..| |
|00002cc0| 20 20 20 20 20 20 20 20 | 79 20 3d 20 30 3b 0d 0a | |y = 0;..|
|00002cd0| 20 20 20 20 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 | |}.... |
|00002ce0| 20 20 20 20 20 2f 2f 64 | 72 61 77 20 74 68 65 20 | //d|raw the |
|00002cf0| 73 63 72 6f 6c 6c 20 77 | 69 6e 64 6f 77 20 70 6f |scroll w|indow po|
|00002d00| 72 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 76 69 72 |rtion of| the vir|
|00002d10| 74 75 61 6c 20 62 75 66 | 66 65 72 0d 0a 20 20 20 |tual buf|fer.. |
|00002d20| 20 20 20 20 20 62 6c 69 | 74 28 73 63 72 6f 6c 6c | bli|t(scroll|
|00002d30| 2c 20 73 63 72 65 65 6e | 2c 20 78 2c 20 79 2c 20 |, screen|, x, y, |
|00002d40| 30 2c 20 30 2c 20 57 49 | 44 54 48 2d 31 2c 20 48 |0, 0, WI|DTH-1, H|
|00002d50| 45 49 47 48 54 2d 31 29 | 3b 0d 0a 0d 0a 20 20 20 |EIGHT-1)|;.... |
|00002d60| 20 20 20 20 20 2f 2f 64 | 69 73 70 6c 61 79 20 73 | //d|isplay s|
|00002d70| 74 61 74 75 73 20 69 6e | 66 6f 0d 0a 20 20 20 20 |tatus in|fo.. |
|00002d80| 20 20 20 20 74 65 78 74 | 5f 6d 6f 64 65 28 2d 31 | text|_mode(-1|
|00002d90| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 74 65 78 74 |);.. | text|
|00002da0| 70 72 69 6e 74 66 28 73 | 63 72 65 65 6e 2c 66 6f |printf(s|creen,fo|
|00002db0| 6e 74 2c 30 2c 30 2c 6d | 61 6b 65 63 6f 6c 28 30 |nt,0,0,m|akecol(0|
|00002dc0| 2c 30 2c 30 29 2c 0d 0a | 20 20 20 20 20 20 20 20 |,0,0),..| |
|00002dd0| 20 20 20 20 22 50 6f 73 | 69 74 69 6f 6e 20 3d 20 | "Pos|ition = |
|00002de0| 28 25 64 2c 25 64 29 22 | 2c 20 78 2c 20 79 29 3b |(%d,%d)"|, x, y);|
|00002df0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 2f 2f 73 6c |.... | //sl|
|00002e00| 08 00 03 00 4d 4c 4a 4c | 00 00 00 01 00 00 00 61 |....MLJL|.......a|
|00002e10| 70 74 65 73 74 4b 44 3a | 5c 42 6f 6f 6b 20 50 72 |ptestKD:|\Book Pr|
|00002e20| 6f 6a 65 63 74 73 5c 41 | 6c 6c 20 49 6e 20 4f 6e |ojects\A|ll In On|
|00002e30| 65 5c 73 6f 75 72 63 65 | 73 5c 63 68 61 70 74 65 |e\source|s\chapte|
|00002e40| 72 31 32 5c 41 72 72 61 | 79 4d 61 70 54 65 73 74 |r12\Arra|yMapTest|
|00002e50| 5c 41 72 72 61 79 4d 61 | 70 54 65 73 74 2e 64 73 |\ArrayMa|pTest.ds|
|00002e60| 70 01 00 00 00 41 46 58 | 5f 4e 4f 56 54 41 42 4c |p....AFX|_NOVTABL|
|00002e70| 45 0a 23 64 65 66 69 6e | 65 20 41 46 58 41 50 49 |E.#defin|e AFXAPI|
|00002e80| 20 5f 5f 73 74 64 63 61 | 6c 6c 0a 23 64 65 66 69 | __stdca|ll.#defi|
|00002e90| 6e 65 20 41 46 58 49 53 | 41 50 49 20 5f 5f 73 74 |ne AFXIS|API __st|
|00002ea0| 64 63 61 6c 6c 0a 23 64 | 65 66 69 6e 65 20 41 46 |dcall.#d|efine AF|
|00002eb0| 58 49 53 41 50 49 5f 43 | 44 45 43 4c 20 5f 5f 63 |XISAPI_C|DECL __c|
|00002ec0| 64 65 63 6c 0a 23 64 65 | 66 69 6e 65 20 41 46 58 |decl.#de|fine AFX|
|00002ed0| 4f 4c 45 41 50 49 20 5f | 5f 73 74 64 63 61 6c 6c |OLEAPI _|_stdcall|
|00002ee0| 0a 23 64 65 66 69 6e 65 | 20 42 41 53 45 44 5f 43 |.#define| BASED_C|
|00002ef0| 4f 44 45 0a 23 64 65 66 | 69 6e 65 20 42 41 53 45 |ODE.#def|ine BASE|
|00002f00| 44 5f 44 45 42 55 47 0a | 23 64 65 66 69 6e 65 20 |D_DEBUG.|#define |
|00002f10| 42 41 53 45 44 5f 53 54 | 41 43 4b 0a 23 64 65 66 |BASED_ST|ACK.#def|
|00002f20| 69 6e 65 20 42 45 47 49 | 4e 5f 44 55 41 4c 5f 49 |ine BEGI|N_DUAL_I|
|00002f30| 4e 54 45 52 46 41 43 45 | 5f 50 41 52 54 28 6c 6f |NTERFACE|_PART(lo|
|00002f40| 63 61 6c 43 6c 61 73 73 | 2c 20 62 61 73 65 43 6c |calClass|, baseCl|
|00002f50| 61 73 73 29 20 63 6c 61 | 73 73 20 58 23 23 6c 6f |ass) cla|ss X##lo|
|00002f60| 63 61 6c 43 6c 61 73 73 | 20 3a 20 70 75 62 6c 69 |calClass| : publi|
|00002f70| 63 20 62 61 73 65 43 6c | 61 73 73 20 7b 20 70 75 |c baseCl|ass { pu|
|00002f80| 62 6c 69 63 3a 20 42 45 | 47 49 4e 5f 43 4f 4d 5f |blic: BE|GIN_COM_|
|00002f90| 4d 41 50 28 58 23 23 6c | 6f 63 61 6c 43 6c 61 73 |MAP(X##l|ocalClas|
|00002fa0| 73 2c 20 6c 6f 63 61 6c | 43 6c 61 73 73 29 20 43 |s, local|Class) C|
|00002fb0| 4f 4d 5f 49 4e 54 45 52 | 46 41 43 45 5f 45 4e 54 |OM_INTER|FACE_ENT|
|00002fc0| 52 59 20 28 62 61 73 65 | 43 6c 61 73 73 29 20 45 |RY (base|Class) E|
|00002fd0| 4e 44 5f 43 4f 4d 5f 4d | 41 50 28 29 0a 23 64 65 |ND_COM_M|AP().#de|
|00002fe0| 66 69 6e 65 20 42 45 47 | 49 4e 5f 49 4e 54 45 52 |fine BEG|IN_INTER|
|00002ff0| 46 41 43 45 5f 50 41 52 | 54 28 6c 6f 63 61 6c 43 |FACE_PAR|T(localC|
|00003000| 6c 61 73 73 2c 20 62 61 | 73 65 43 6c 61 73 73 29 |lass, ba|seClass)|
|00003010| 20 63 6c 61 73 73 20 58 | 23 23 6c 6f 63 61 6c 43 | class X|##localC|
|00003020| 6c 61 73 73 20 3a 20 70 | 75 62 6c 69 63 20 62 61 |lass : p|ublic ba|
|00003030| 73 65 43 6c 61 73 73 20 | 7b 20 70 75 62 6c 69 63 |seClass |{ public|
|00003040| 3a 20 42 45 47 49 4e 5f | 43 4f 4d 5f 4d 41 50 28 |: BEGIN_|COM_MAP(|
|00003050| 58 23 23 6c 6f 63 61 6c | 43 6c 61 73 73 2c 20 6c |X##local|Class, l|
|00003060| 6f 63 61 6c 43 6c 61 73 | 73 29 20 43 4f 4d 5f 49 |ocalClas|s) COM_I|
|00003070| 4e 54 45 52 46 41 43 45 | 5f 45 4e 54 52 59 20 28 |NTERFACE|_ENTRY (|
|00003080| 62 61 73 65 43 6c 61 73 | 73 29 20 45 4e 44 5f 43 |baseClas|s) END_C|
|00003090| 4f 4d 5f 4d 41 50 28 29 | 20 70 75 62 6c 69 63 3a |OM_MAP()| public:|
|000030a0| 20 76 69 72 74 75 61 6c | 20 55 4c 4f 4e 47 20 53 | virtual| ULONG S|
|000030b0| 54 44 4d 45 54 48 4f 44 | 43 41 4c 4c 54 59 50 45 |TDMETHOD|CALLTYPE|
|000030c0| 20 41 64 64 52 65 66 28 | 29 3b 20 76 69 72 74 75 | AddRef(|); virtu|
|000030d0| 61 6c 20 55 4c 4f 4e 47 | 20 53 54 44 4d 45 54 48 |al ULONG| STDMETH|
|000030e0| 4f 44 43 41 4c 4c 54 59 | 50 45 20 52 65 6c 65 61 |ODCALLTY|PE Relea|
|000030f0| 73 65 28 29 3b 20 76 69 | 72 74 75 61 6c 20 48 52 |se(); vi|rtual HR|
|00003100| 45 53 55 4c 54 20 53 54 | 44 4d 45 54 48 4f 44 43 |ESULT ST|DMETHODC|
|00003110| 41 4c 4c 54 59 50 45 20 | 51 75 65 72 79 49 6e 74 |ALLTYPE |QueryInt|
|00003120| 65 72 66 61 63 65 28 52 | 45 46 49 49 44 20 69 69 |erface(R|EFIID ii|
|00003130| 64 2c 20 76 6f 69 64 20 | 2a 20 2a 20 70 70 76 4f |d, void |* * ppvO|
|00003140| 62 6a 29 3b 0a 23 64 65 | 66 69 6e 65 20 42 45 47 |bj);.#de|fine BEG|
|00003150| 49 4e 5f 43 4f 4e 4e 45 | 43 54 49 4f 4e 5f 50 41 |IN_CONNE|CTION_PA|
|00003160| 52 54 28 74 68 65 43 6c | 61 73 73 2c 20 6c 6f 63 |RT(theCl|ass, loc|
|00003170| 61 6c 43 6c 61 73 73 29 | 20 63 6c 61 73 73 20 58 |alClass)| class X|
|00003180| 23 23 6c 6f 63 61 6c 43 | 6c 61 73 73 20 3a 20 70 |##localC|lass : p|
|00003190| 75 62 6c 69 63 20 43 43 | 6f 6e 6e 65 63 74 69 6f |ublic CC|onnectio|
|000031a0| 6e 50 6f 69 6e 74 20 7b | 20 70 75 62 6c 69 63 3a |nPoint {| public:|
|000031b0| 20 58 23 23 6c 6f 63 61 | 6c 43 6c 61 73 73 28 29 | X##loca|lClass()|
|000031c0| 20 7b 20 6d 5f 6e 4f 66 | 66 73 65 74 20 3d 20 6f | { m_nOf|fset = o|
|000031d0| 66 66 73 65 74 6f 66 28 | 74 68 65 43 6c 61 73 73 |ffsetof(|theClass|
|000031e0| 2c 20 6d 5f 78 23 23 6c | 6f 63 61 6c 43 6c 61 73 |, m_x##l|ocalClas|
|000031f0| 73 29 3b 20 7d 0a 23 64 | 65 66 69 6e 65 20 43 4f |s); }.#d|efine CO|
|00003200| 4e 4e 45 43 54 49 4f 4e | 5f 49 49 44 28 69 69 64 |NNECTION|_IID(iid|
|00003210| 29 20 52 45 46 49 49 44 | 20 47 65 74 49 49 44 28 |) REFIID| GetIID(|
|00003220| 29 20 7b 20 72 65 74 75 | 72 6e 20 69 69 64 3b 20 |) { retu|rn iid; |
|00003230| 7d 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |}.#defin|e DECLAR|
|00003240| 45 5f 41 47 47 52 45 47 | 41 54 41 42 4c 45 28 78 |E_AGGREG|ATABLE(x|
|00003250| 29 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |).#defin|e DECLAR|
|00003260| 45 5f 43 4c 41 53 53 46 | 41 43 54 4f 52 59 5f 45 |E_CLASSF|ACTORY_E|
|00003270| 58 28 63 66 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |X(cf).#d|efine DE|
|00003280| 43 4c 41 52 45 5f 43 4c | 41 53 53 46 41 43 54 4f |CLARE_CL|ASSFACTO|
|00003290| 52 59 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |RY().#de|fine DEC|
|000032a0| 4c 41 52 45 5f 43 4c 41 | 53 53 46 41 43 54 4f 52 |LARE_CLA|SSFACTOR|
|000032b0| 59 32 28 6c 69 63 29 0a | 23 64 65 66 69 6e 65 20 |Y2(lic).|#define |
|000032c0| 44 45 43 4c 41 52 45 5f | 43 4c 41 53 53 46 41 43 |DECLARE_|CLASSFAC|
|000032d0| 54 4f 52 59 5f 41 55 54 | 4f 5f 54 48 52 45 41 44 |TORY_AUT|O_THREAD|
|000032e0| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|000032f0| 52 45 5f 43 4c 41 53 53 | 46 41 43 54 4f 52 59 5f |RE_CLASS|FACTORY_|
|00003300| 53 49 4e 47 4c 45 54 4f | 4e 28 6f 62 6a 29 0a 23 |SINGLETO|N(obj).#|
|00003310| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 43 |define D|ECLARE_C|
|00003320| 4f 4e 4e 45 43 54 49 4f | 4e 5f 4d 41 50 28 29 0a |ONNECTIO|N_MAP().|
|00003330| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00003340| 44 49 53 50 41 54 43 48 | 5f 4d 41 50 28 29 0a 23 |DISPATCH|_MAP().#|
|00003350| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 44 |define D|ECLARE_D|
|00003360| 55 41 4c 5f 45 52 52 4f | 52 49 4e 46 4f 28 29 0a |UAL_ERRO|RINFO().|
|00003370| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00003380| 44 59 4e 41 4d 49 43 28 | 63 6c 61 73 73 5f 6e 61 |DYNAMIC(|class_na|
|00003390| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|000033a0| 41 52 45 5f 44 59 4e 43 | 52 45 41 54 45 28 63 6c |ARE_DYNC|REATE(cl|
|000033b0| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|000033c0| 65 20 44 45 43 4c 41 52 | 45 5f 45 4d 50 54 59 5f |e DECLAR|E_EMPTY_|
|000033d0| 4d 53 47 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |MSG_MAP(|).#defin|
|000033e0| 65 20 44 45 43 4c 41 52 | 45 5f 45 56 45 4e 54 5f |e DECLAR|E_EVENT_|
|000033f0| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00003400| 43 4c 41 52 45 5f 45 56 | 45 4e 54 53 49 4e 4b 5f |CLARE_EV|ENTSINK_|
|00003410| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00003420| 43 4c 41 52 45 5f 47 45 | 54 5f 43 4f 4e 54 52 4f |CLARE_GE|T_CONTRO|
|00003430| 4c 4c 49 4e 47 5f 55 4e | 4b 4e 4f 57 4e 28 29 0a |LLING_UN|KNOWN().|
|00003440| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00003450| 48 41 4e 44 4c 45 28 78 | 29 0a 23 64 65 66 69 6e |HANDLE(x|).#defin|
|00003460| 65 20 44 45 43 4c 41 52 | 45 5f 48 41 4e 44 4c 45 |e DECLAR|E_HANDLE|
|00003470| 33 32 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |32(x).#d|efine DE|
|00003480| 43 4c 41 52 45 5f 49 4e | 54 45 52 46 41 43 45 28 |CLARE_IN|TERFACE(|
|00003490| 69 66 61 63 65 29 20 69 | 6e 74 65 72 66 61 63 65 |iface) i|nterface|
|000034a0| 20 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 | iface.#|define D|
|000034b0| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|000034c0| 5f 28 69 66 61 63 65 2c | 20 62 61 73 65 69 66 61 |_(iface,| baseifa|
|000034d0| 63 65 29 20 69 6e 74 65 | 72 66 61 63 65 20 69 66 |ce) inte|rface if|
|000034e0| 61 63 65 20 3a 20 70 75 | 62 6c 69 63 20 62 61 73 |ace : pu|blic bas|
|000034f0| 65 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 |eiface.#|define D|
|00003500| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|00003510| 5f 4d 41 50 28 29 0a 23 | 64 65 66 69 6e 65 20 44 |_MAP().#|define D|
|00003520| 45 43 4c 41 52 45 5f 4d | 45 53 53 41 47 45 5f 4d |ECLARE_M|ESSAGE_M|
|00003530| 41 50 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |AP().#de|fine DEC|
|00003540| 4c 41 52 45 5f 4e 4f 5f | 52 45 47 49 53 54 52 59 |LARE_NO_|REGISTRY|
|00003550| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00003560| 52 45 5f 4e 4f 54 5f 41 | 47 47 52 45 47 41 54 41 |RE_NOT_A|GGREGATA|
|00003570| 42 4c 45 28 78 29 0a 23 | 64 65 66 69 6e 65 20 44 |BLE(x).#|define D|
|00003580| 45 43 4c 41 52 45 5f 4f | 42 4a 45 43 54 5f 44 45 |ECLARE_O|BJECT_DE|
|00003590| 53 43 52 49 50 54 49 4f | 4e 28 78 29 0a 23 64 65 |SCRIPTIO|N(x).#de|
|000035a0| 66 69 6e 65 20 44 45 43 | 4c 41 52 45 5f 4f 4c 45 |fine DEC|LARE_OLE|
|000035b0| 43 4d 44 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |CMD_MAP(|).#defin|
|000035c0| 65 20 44 45 43 4c 41 52 | 45 5f 4f 4c 45 43 52 45 |e DECLAR|E_OLECRE|
|000035d0| 41 54 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |ATE(clas|s_name).|
|000035e0| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|000035f0| 4f 4c 45 43 52 45 41 54 | 90 52 1a 02 00 00 00 00 |OLECREAT|.R......|
|00003600| 01 01 01 01 02 01 08 00 | 45 5f 45 58 28 63 6c 61 |........|E_EX(cla|
|00003610| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00003620| 20 44 45 43 4c 41 52 45 | 5f 4f 4c 45 43 54 4c 54 | DECLARE|_OLECTLT|
|00003630| 59 50 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |YPE(clas|s_name).|
|00003640| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00003650| 4f 4c 45 54 59 50 45 4c | 49 42 28 63 6c 61 73 73 |OLETYPEL|IB(class|
|00003660| 5f 6e 61 6d 65 29 0a 23 | 64 65 66 69 6e 65 20 44 |_name).#|define D|
|00003670| 45 43 4c 41 52 45 5f 4f | 4e 4c 59 5f 41 47 47 52 |ECLARE_O|NLY_AGGR|
|00003680| 45 47 41 54 41 42 4c 45 | 28 78 29 0a 23 64 65 66 |EGATABLE|(x).#def|
|00003690| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 4f 50 41 51 |ine DECL|ARE_OPAQ|
|000036a0| 55 45 33 32 28 78 29 0a | 23 64 65 66 69 6e 65 20 |UE32(x).|#define |
|000036b0| 44 45 43 4c 41 52 45 5f | 50 41 52 53 45 5f 4d 41 |DECLARE_|PARSE_MA|
|000036c0| 50 28 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |P().#def|ine DECL|
|000036d0| 41 52 45 5f 50 4f 4c 59 | 5f 41 47 47 52 45 47 41 |ARE_POLY|_AGGREGA|
|000036e0| 54 41 42 4c 45 28 78 29 | 0a 23 64 65 66 69 6e 65 |TABLE(x)|.#define|
|000036f0| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 50 45 52 54 | DECLARE|_PROPERT|
|00003700| 59 5f 53 55 50 50 4f 52 | 54 28 63 6c 61 73 73 29 |Y_SUPPOR|T(class)|
|00003710| 0a 23 64 65 66 69 6e 65 | 20 44 45 43 4c 41 52 45 |.#define| DECLARE|
|00003720| 5f 50 52 4f 50 50 41 47 | 45 49 44 53 28 63 6c 61 |_PROPPAG|EIDS(cla|
|00003730| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00003740| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 54 45 43 54 | DECLARE|_PROTECT|
|00003750| 5f 46 49 4e 41 4c 5f 43 | 4f 4e 53 54 52 55 43 54 |_FINAL_C|ONSTRUCT|
|00003760| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00003770| 52 45 5f 52 45 47 49 53 | 54 52 59 28 63 6c 61 73 |RE_REGIS|TRY(clas|
|00003780| 73 2c 20 70 69 64 2c 20 | 76 70 69 64 2c 20 6e 69 |s, pid, |vpid, ni|
|00003790| 64 2c 20 66 6c 61 67 73 | 29 0a 23 64 65 66 69 6e |d, flags|).#defin|
|000037a0| 65 20 44 45 43 4c 41 52 | 45 5f 52 45 47 49 53 54 |e DECLAR|E_REGIST|
|000037b0| 52 59 5f 52 45 53 4f 55 | 52 43 45 28 78 29 0a 23 |RY_RESOU|RCE(x).#|
|000037c0| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 52 |define D|ECLARE_R|
|000037d0| 45 47 49 53 54 52 59 5f | 52 45 53 4f 55 52 43 45 |EGISTRY_|RESOURCE|
|000037e0| 49 44 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |ID(x).#d|efine DE|
|000037f0| 43 4c 41 52 45 5f 53 45 | 52 49 41 4c 28 63 6c 61 |CLARE_SE|RIAL(cla|
|00003800| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00003810| 20 44 45 43 4c 41 52 45 | 5f 53 54 41 54 49 43 5f | DECLARE|_STATIC_|
|00003820| 52 45 47 49 53 54 52 59 | 5f 52 45 53 4f 55 52 43 |REGISTRY|_RESOURC|
|00003830| 45 28 78 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |E(x).#de|fine DEC|
|00003840| 4c 41 52 45 5f 53 54 41 | 54 49 43 5f 52 45 47 49 |LARE_STA|TIC_REGI|
|00003850| 53 54 52 59 5f 52 45 53 | 4f 55 52 43 45 49 44 28 |STRY_RES|OURCEID(|
|00003860| 78 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |x).#defi|ne DECLA|
|00003870| 52 45 5f 56 49 45 57 5f | 53 54 41 54 55 53 28 73 |RE_VIEW_|STATUS(s|
|00003880| 74 61 74 75 73 46 6c 61 | 67 73 29 0a 23 64 65 66 |tatusFla|gs).#def|
|00003890| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 57 4e 44 5f |ine DECL|ARE_WND_|
|000038a0| 43 4c 41 53 53 28 57 6e | 64 43 6c 61 73 73 4e 61 |CLASS(Wn|dClassNa|
|000038b0| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|000038c0| 41 52 45 5f 57 4e 44 5f | 53 55 50 45 52 43 4c 41 |ARE_WND_|SUPERCLA|
|000038d0| 53 53 28 57 6e 64 43 6c | 61 73 73 4e 61 6d 65 2c |SS(WndCl|assName,|
|000038e0| 20 4f 72 69 67 57 6e 64 | 43 6c 61 73 73 4e 61 6d | OrigWnd|ClassNam|
|000038f0| 65 29 0a 23 64 65 66 69 | 6e 65 20 44 45 46 49 4e |e).#defi|ne DEFIN|
|00003900| 45 5f 43 4f 4d 4d 41 4e | 44 28 78 2c 20 73 7a 43 |E_COMMAN|D(x, szC|
|00003910| 6f 6d 6d 61 6e 64 29 0a | 23 64 65 66 69 6e 65 20 |ommand).|#define |
|00003920| 44 45 4c 45 47 41 54 45 | 5f 44 55 41 4c 5f 49 4e |DELEGATE|_DUAL_IN|
|00003930| 54 45 52 46 41 43 45 28 | 6f 62 6a 65 63 74 43 6c |TERFACE(|objectCl|
|00003940| 61 73 73 2c 20 64 75 61 | 6c 43 6c 61 73 73 29 0a |ass, dua|lClass).|
|00003950| 23 64 65 66 69 6e 65 20 | 45 4e 44 5f 43 4f 4e 4e |#define |END_CONN|
|00003960| 45 43 54 49 4f 4e 5f 50 | 41 52 54 28 6c 6f 63 61 |ECTION_P|ART(loca|
|00003970| 6c 43 6c 61 73 73 29 20 | 7d 20 6d 5f 78 23 23 6c |lClass) |} m_x##l|
|00003980| 6f 63 61 6c 43 6c 61 73 | 73 3b 20 66 72 69 65 6e |ocalClas|s; frien|
|00003990| 64 20 63 6c 61 73 73 20 | 58 23 23 6c 6f 63 61 6c |d class |X##local|
|000039a0| 43 6c 61 73 73 3b 0a 23 | 64 65 66 69 6e 65 20 45 |Class;.#|define E|
|000039b0| 4e 44 5f 44 55 41 4c 5f | 49 4e 54 45 52 46 41 43 |ND_DUAL_|INTERFAC|
|000039c0| 45 5f 50 41 52 54 28 6c | 6f 63 61 6c 43 6c 61 73 |E_PART(l|ocalClas|
|000039d0| 73 29 20 7d 20 6d 5f 78 | 23 23 6c 6f 63 61 6c 43 |s) } m_x|##localC|
|000039e0| 6c 61 73 73 3b 20 66 72 | 69 65 6e 64 20 63 6c 61 |lass; fr|iend cla|
|000039f0| 73 73 20 58 23 23 6c 6f | 63 61 6c 43 6c 61 73 73 |ss X##lo|calClass|
|00003a00| 3b 0a 23 64 65 66 69 6e | 65 20 45 4e 44 5f 49 4e |;.#defin|e END_IN|
|00003a10| 54 45 52 46 41 43 45 5f | 50 41 52 54 28 6c 6f 63 |TERFACE_|PART(loc|
|00003a20| 61 6c 43 6c 61 73 73 29 | 20 7d 20 6d 5f 78 23 23 |alClass)| } m_x##|
|00003a30| 6c 6f 63 61 6c 43 6c 61 | 73 73 3b 20 66 72 69 65 |localCla|ss; frie|
|00003a40| 6e 64 20 63 6c 61 73 73 | 20 58 23 23 6c 6f 63 61 |nd class| X##loca|
|00003a50| 6c 43 6c 61 73 73 3b 0a | 23 64 65 66 69 6e 65 20 |lClass;.|#define |
|00003a60| 45 58 54 45 52 4e 5f 50 | 52 4f 43 45 53 53 5f 4c |EXTERN_P|ROCESS_L|
|00003a70| 4f 43 41 4c 28 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |OCAL(cla|ss_name,|
|00003a80| 20 69 64 65 6e 74 5f 6e | 61 6d 65 29 20 65 78 74 | ident_n|ame) ext|
|00003a90| 65 72 6e 20 41 46 58 5f | 44 41 54 41 20 50 52 4f |ern AFX_|DATA PRO|
|00003aa0| 43 45 53 53 5f 4c 4f 43 | 41 4c 28 63 6c 61 73 73 |CESS_LOC|AL(class|
|00003ab0| 5f 6e 61 6d 65 2c 20 69 | 64 65 6e 74 5f 6e 61 6d |_name, i|dent_nam|
|00003ac0| 65 29 0a 23 64 65 66 69 | 6e 65 20 45 58 54 5f 53 |e).#defi|ne EXT_S|
|00003ad0| 4e 41 50 49 4e 4d 45 4e | 55 49 44 28 69 64 29 0a |NAPINMEN|UID(id).|
|00003ae0| 23 64 65 66 69 6e 65 20 | 49 4d 50 4c 45 4d 45 4e |#define |IMPLEMEN|
|00003af0| 54 5f 44 55 41 4c 5f 45 | 52 52 4f 52 49 4e 46 4f |T_DUAL_E|RRORINFO|
|00003b00| 28 6f 62 6a 65 63 74 43 | 6c 61 73 73 2c 20 72 69 |(objectC|lass, ri|
|00003b10| 69 64 53 6f 75 72 63 65 | 29 0a 23 64 65 66 69 6e |idSource|).#defin|
|00003b20| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 44 59 4e 41 |e IMPLEM|ENT_DYNA|
|00003b30| 4d 49 43 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |MIC(clas|s_name, |
|00003b40| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 29 |base_cla|ss_name)|
|00003b50| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00003b60| 4e 54 5f 44 59 4e 43 52 | 45 41 54 45 28 63 6c 61 |NT_DYNCR|EATE(cla|
|00003b70| 73 73 5f 6e 61 6d 65 2c | 20 62 61 73 65 5f 63 6c |ss_name,| base_cl|
|00003b80| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|00003b90| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 4f 4c 45 43 |e IMPLEM|ENT_OLEC|
|00003ba0| 52 45 41 54 45 28 63 6c | 61 73 73 5f 6e 61 6d 65 |REATE(cl|ass_name|
|00003bb0| 2c 20 65 78 74 65 72 6e | 61 6c 5f 6e 61 6d 65 2c |, extern|al_name,|
|00003bc0| 20 6c 2c 20 77 31 2c 20 | 77 32 2c 20 62 31 2c 20 | l, w1, |w2, b1, |
|00003bd0| 62 32 2c 20 62 33 2c 20 | 62 34 2c 20 62 35 2c 20 |b2, b3, |b4, b5, |
|00003be0| 62 36 2c 20 62 37 2c 20 | 62 38 29 0a 23 64 65 66 |b6, b7, |b8).#def|
|00003bf0| 69 6e 65 20 49 4d 50 4c | 45 4d 45 4e 54 5f 4f 4c |ine IMPL|EMENT_OL|
|00003c00| 45 43 52 45 41 54 45 5f | 45 58 28 63 6c 61 73 73 |ECREATE_|EX(class|
|00003c10| 5f 6e 61 6d 65 2c 20 65 | 78 74 65 72 6e 61 6c 5f |_name, e|xternal_|
|00003c20| 6e 61 6d 65 2c 20 6c 2c | 20 77 31 2c 20 77 32 2c |name, l,| w1, w2,|
|00003c30| 20 62 31 2c 20 62 32 2c | 20 62 33 2c 20 62 34 2c | b1, b2,| b3, b4,|
|00003c40| 20 62 35 2c 20 62 36 2c | 20 62 37 2c 20 62 38 29 | b5, b6,| b7, b8)|
|00003c50| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00003c60| 4e 54 5f 4f 4c 45 43 54 | 4c 54 59 50 45 28 63 6c |NT_OLECT|LTYPE(cl|
|00003c70| 61 73 73 5f 6e 61 6d 65 | 2c 20 69 64 73 55 73 65 |ass_name|, idsUse|
|00003c80| 72 54 79 70 65 4e 61 6d | 65 2c 20 64 77 4f 6c 65 |rTypeNam|e, dwOle|
|00003c90| 4d 69 73 63 29 0a 23 64 | 65 66 69 6e 65 20 49 4d |Misc).#d|efine IM|
|00003ca0| 50 4c 45 4d 45 4e 54 5f | 4f 4c 45 54 59 50 45 4c |PLEMENT_|OLETYPEL|
|00003cb0| 49 42 28 63 6c 61 73 73 | 5f 6e 61 6d 65 2c 20 74 |IB(class|_name, t|
|00003cc0| 6c 69 64 2c 20 77 56 65 | 72 4d 61 6a 6f 72 2c 20 |lid, wVe|rMajor, |
|00003cd0| 77 56 65 72 4d 69 6e 6f | 72 29 0a 23 64 65 66 69 |wVerMino|r).#defi|
|00003ce0| 6e 65 20 49 4d 50 4c 45 | 4d 45 4e 54 5f 53 45 52 |ne IMPLE|MENT_SER|
|00003cf0| 49 41 4c 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |IAL(clas|s_name, |
|00003d00| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |base_cla|ss_name,|
|00003d10| 20 77 53 63 68 65 6d 61 | 29 0a 23 64 65 66 69 6e | wSchema|).#defin|
|00003d20| 65 20 49 4e 49 54 5f 49 | 4e 54 45 52 46 41 43 45 |e INIT_I|NTERFACE|
|00003d30| 5f 50 41 52 54 28 74 68 | 65 43 6c 61 73 73 2c 20 |_PART(th|eClass, |
|00003d40| 6c 6f 63 61 6c 43 6c 61 | 73 73 29 0a 23 64 65 66 |localCla|ss).#def|
|00003d50| 69 6e 65 20 50 52 4f 43 | 45 53 53 5f 4c 4f 43 41 |ine PROC|ESS_LOCA|
|00003d60| 4c 28 63 6c 61 73 73 5f | 6e 61 6d 65 2c 20 69 64 |L(class_|name, id|
|00003d70| 65 6e 74 5f 6e 61 6d 65 | 29 20 41 46 58 5f 44 41 |ent_name|) AFX_DA|
|00003d80| 54 41 44 45 46 20 43 50 | 72 6f 63 65 73 73 4c 6f |TADEF CP|rocessLo|
|00003d90| 63 61 6c 3c 63 6c 61 73 | 73 5f 6e 61 6d 65 3e 20 |cal<clas|s_name> |
|00003da0| 69 64 65 6e 74 5f 6e 61 | 6d 65 3b 0a 23 64 65 66 |ident_na|me;.#def|
|00003db0| 69 6e 65 20 50 55 52 45 | 20 3d 20 30 0a 23 64 65 |ine PURE| = 0.#de|
|00003dc0| 66 69 6e 65 20 53 4e 41 | 50 49 4e 4d 45 4e 55 49 |fine SNA|PINMENUI|
|00003dd0| 44 28 69 64 29 0a 23 64 | 65 66 69 6e 65 20 54 48 |D(id).#d|efine TH|
|00003de0| 49 53 20 76 6f 69 64 0a | 23 64 65 66 69 6e 65 20 |IS void.|#define |
|00003df0| 54 48 49 53 5f 0a 23 64 | 65 66 69 6e 65 20 54 52 |THIS_.#d|efine TR|
|00003e00| af 00 01 02 02 10 00 00 | 08 a7 cd 00 88 6d d0 00 |........|.....m..|
|00003e10| 08 a7 cd 00 88 6d d0 00 | 70 0d 0a 20 20 20 20 77 |.....m..|p.. w|
|00003e20| 68 69 6c 65 20 28 21 6b | 65 79 5b 4b 45 59 5f 45 |hile (!k|ey[KEY_E|
|00003e30| 53 43 5d 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |SC]).. | {.. |
|00003e40| 20 20 20 20 20 2f 2f 63 | 68 65 63 6b 20 72 69 67 | //c|heck rig|
|00003e50| 68 74 20 61 72 72 6f 77 | 0d 0a 20 20 20 20 20 20 |ht arrow|.. |
|00003e60| 20 20 69 66 20 28 6b 65 | 79 5b 4b 45 59 5f 52 49 | if (ke|y[KEY_RI|
|00003e70| 47 48 54 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |GHT]).. | {|
|00003e80| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 78 20 |.. | x |
|00003e90| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|00003ea0| 20 20 20 20 20 20 69 66 | 20 28 78 20 3e 20 73 63 | if| (x > sc|
|00003eb0| 72 6f 6c 6c 2d 3e 77 20 | 2d 20 57 49 44 54 48 29 |roll->w |- WIDTH)|
|00003ec0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00003ed0| 20 20 78 20 3d 20 73 63 | 72 6f 6c 6c 2d 3e 77 20 | x = sc|roll->w |
|00003ee0| 2d 20 57 49 44 54 48 3b | 0d 0a 20 20 20 20 20 20 |- WIDTH;|.. |
|00003ef0| 20 20 7d 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 2f | }.... | /|
|00003f00| 2f 63 68 65 63 6b 20 6c | 65 66 74 20 61 72 72 6f |/check l|eft arro|
|00003f10| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00003f20| 65 79 5b 4b 45 59 5f 4c | 45 46 54 5d 29 0d 0a 20 |ey[KEY_L|EFT]).. |
|00003f30| 20 20 20 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 | {|.. |
|00003f40| 20 20 20 20 20 20 78 20 | 2d 3d 20 53 54 45 50 3b | x |-= STEP;|
|00003f50| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.. | if|
|00003f60| 20 28 78 20 3c 20 30 29 | 0d 0a 20 20 20 20 20 20 | (x < 0)|.. |
|00003f70| 20 20 20 20 20 20 20 20 | 20 20 78 20 3d 20 30 3b | | x = 0;|
|00003f80| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 0d 0a 20 |.. | }.... |
|00003f90| 20 20 20 20 20 20 20 2f | 2f 63 68 65 63 6b 20 64 | /|/check d|
|00003fa0| 6f 77 6e 20 61 72 72 6f | 77 0d 0a 20 20 20 20 20 |own arro|w.. |
|00003fb0| 20 20 20 69 66 20 28 6b | 65 79 5b 4b 45 59 5f 44 | if (k|ey[KEY_D|
|00003fc0| 4f 57 4e 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |OWN]).. | {|
|00003fd0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 79 20 |.. | y |
|00003fe0| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|00003ff0| 20 20 20 20 20 20 69 66 | 20 28 79 20 3e 20 73 63 | if| (y > sc|
|00004000| 72 6f 6c 6c 2d 3e 68 20 | 2d 20 48 45 49 47 48 54 |roll->h |- HEIGHT|
|00004010| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |).. | |
|00004020| 20 20 20 79 20 3d 20 73 | 63 72 6f 6c 6c 2d 3e 68 | y = s|croll->h|
|00004030| 20 2d 20 48 45 49 47 48 | 54 3b 0d 0a 20 20 20 20 | - HEIGH|T;.. |
|00004040| 20 20 20 20 7d 0d 0a 0d | 0a 20 20 20 20 20 20 20 | }...|. |
|00004050| 20 2f 2f 63 68 65 63 6b | 20 75 70 20 61 72 72 6f | //check| up arro|
|00004060| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00004070| 65 79 5b 4b 45 59 5f 55 | 50 5d 29 0d 0a 20 20 20 |ey[KEY_U|P]).. |
|00004080| 20 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 | {..| |
|00004090| 20 20 20 20 79 20 2d 3d | 20 53 54 45 50 3b 0d 0a | y -=| STEP;..|
|000040a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|000040b0| 79 20 3c 20 30 29 0d 0a | 20 20 20 20 20 20 20 20 |y < 0)..| |
|000040c0| 20 20 20 20 20 20 20 20 | 79 20 3d 20 30 3b 0d 0a | |y = 0;..|
|000040d0| 20 20 20 20 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 | |}.... |
|000040e0| 20 20 20 20 20 2f 2f 64 | 72 61 77 20 74 68 65 20 | //d|raw the |
|000040f0| 73 63 72 6f 6c 6c 20 77 | 69 6e 64 6f 77 20 70 6f |scroll w|indow po|
|00004100| 72 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 76 69 72 |rtion of| the vir|
|00004110| 74 75 61 6c 20 62 75 66 | 66 65 72 0d 0a 20 20 20 |tual buf|fer.. |
|00004120| 20 20 20 20 20 62 6c 69 | 74 28 73 63 72 6f 6c 6c | bli|t(scroll|
|00004130| 2c 20 73 63 72 65 65 6e | 2c 20 78 2c 20 79 2c 20 |, screen|, x, y, |
|00004140| 30 2c 20 30 2c 20 57 49 | 44 54 48 2d 31 2c 20 48 |0, 0, WI|DTH-1, H|
|00004150| 45 49 47 48 54 2d 31 29 | 3b 0d 0a 0d 0a 20 20 20 |EIGHT-1)|;.... |
|00004160| 20 20 20 20 20 2f 2f 64 | 69 73 70 6c 61 79 20 73 | //d|isplay s|
|00004170| 74 61 74 75 73 20 69 6e | 66 6f 0d 0a 20 20 20 20 |tatus in|fo.. |
|00004180| 20 20 20 20 74 65 78 74 | 5f 6d 6f 64 65 28 2d 31 | text|_mode(-1|
|00004190| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 74 65 78 74 |);.. | text|
|000041a0| 70 72 69 6e 74 66 28 73 | 63 72 65 65 6e 2c 66 6f |printf(s|creen,fo|
|000041b0| 6e 74 2c 30 2c 30 2c 6d | 61 6b 65 63 6f 6c 28 30 |nt,0,0,m|akecol(0|
|000041c0| 2c 30 2c 30 29 2c 0d 0a | 20 20 20 20 20 20 20 20 |,0,0),..| |
|000041d0| 20 20 20 20 22 50 6f 73 | 69 74 69 6f 6e 20 3d 20 | "Pos|ition = |
|000041e0| 28 25 64 2c 25 64 29 22 | 2c 20 78 2c 20 79 29 3b |(%d,%d)"|, x, y);|
|000041f0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 2f 2f 73 6c |.... | //sl|
|00004200| 57 00 6f 00 72 00 6b 00 | 73 00 70 00 61 00 63 00 |W.o.r.k.|s.p.a.c.|
|00004210| 65 00 20 00 57 00 69 00 | 6e 00 64 00 6f 00 77 00 |e. .W.i.|n.d.o.w.|
|00004220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 22 00 02 01 ff ff ff ff | ff ff ff ff ff ff ff ff |".......|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 21 00 00 00 | 00 14 00 00 00 00 00 00 |....!...|........|
|00004280| 49 00 50 00 49 00 5f 00 | 41 00 72 00 72 00 61 00 |I.P.I._.|A.r.r.a.|
|00004290| 79 00 4d 00 61 00 70 00 | 54 00 65 00 73 00 74 00 |y.M.a.p.|T.e.s.t.|
|000042a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 22 00 02 00 07 00 00 00 | 04 00 00 00 ff ff ff ff |".......|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 2b 00 00 00 | 00 1c 00 00 00 00 00 00 |....+...|........|
|00004300| 49 00 50 00 49 00 5f 00 | 00 00 00 00 00 00 00 00 |I.P.I._.|........|
|00004310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 0a 00 02 00 ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00004350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 39 00 00 00 | 00 14 00 00 00 00 00 00 |....9...|........|
|00004380| 43 00 6c 00 61 00 73 00 | 73 00 56 00 69 00 65 00 |C.l.a.s.|s.V.i.e.|
|00004390| 77 00 20 00 57 00 69 00 | 6e 00 64 00 6f 00 77 00 |w. .W.i.|n.d.o.w.|
|000043a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 22 00 02 01 ff ff ff ff | ff ff ff ff ff ff ff ff |".......|........|
|000043d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 00 00 00 43 00 00 00 | 00 14 00 00 00 00 00 00 |....C...|........|
|00004400| 03 00 05 00 0c 41 72 72 | 61 79 4d 61 70 54 65 73 |.....Arr|ayMapTes|
|00004410| 74 09 43 6c 61 73 73 56 | 69 65 77 05 3c 45 4f 52 |t.ClassV|iew.<EOR|
|00004420| 3e 05 3c 45 4f 52 3e 05 | 3c 45 4f 52 3e 14 41 72 |>.<EOR>.|<EOR>.Ar|
|00004430| 72 61 79 4d 61 70 54 65 | 73 74 20 63 6c 61 73 73 |rayMapTe|st class|
|00004440| 65 73 05 3c 45 4f 52 3e | 14 41 72 72 61 79 4d 61 |es.<EOR>|.ArrayMa|
|00004450| 70 54 65 73 74 20 63 6c | 61 73 73 65 73 05 3c 45 |pTest cl|asses.<E|
|00004460| 4f 52 3e 08 46 69 6c 65 | 56 69 65 77 05 3c 45 4f |OR>.File|View.<EO|
|00004470| 52 3e 26 57 6f 72 6b 73 | 70 61 63 65 20 27 41 72 |R>&Works|pace 'Ar|
|00004480| 72 61 79 4d 61 70 54 65 | 73 74 27 3a 20 31 20 70 |rayMapTe|st': 1 p|
|00004490| 72 6f 6a 65 63 74 28 73 | 29 12 41 72 72 61 79 4d |roject(s|).ArrayM|
|000044a0| 61 70 54 65 73 74 20 66 | 69 6c 65 73 0c 53 6f 75 |apTest f|iles.Sou|
|000044b0| 72 63 65 20 46 69 6c 65 | 73 05 3c 45 4f 52 3e 06 |rce File|s.<EOR>.|
|000044c0| 6d 61 69 6e 2e 63 05 3c | 45 4f 52 3e 06 6d 61 69 |main.c.<|EOR>.mai|
|000044d0| 6e 2e 63 05 3c 45 4f 52 | 3e 26 57 6f 72 6b 73 70 |n.c.<EOR|>&Worksp|
|000044e0| 61 63 65 20 27 41 72 72 | 61 79 4d 61 70 54 65 73 |ace 'Arr|ayMapTes|
|000044f0| 74 27 3a 20 31 20 70 72 | 6f 6a 65 63 74 28 73 29 |t': 1 pr|oject(s)|
|00004500| 05 3c 45 4f 52 3e 05 3c | 45 4f 52 3e 08 46 69 6c |.<EOR>.<|EOR>.Fil|
|00004510| 65 56 69 65 77 05 3c 45 | 4f 52 3e 0a 23 64 65 66 |eView.<E|OR>.#def|
|00004520| 69 6e 65 20 42 45 47 49 | 4e 5f 44 55 41 4c 5f 49 |ine BEGI|N_DUAL_I|
|00004530| 4e 54 45 52 46 41 43 45 | 5f 50 41 52 54 28 6c 6f |NTERFACE|_PART(lo|
|00004540| 63 61 6c 43 6c 61 73 73 | 2c 20 62 61 73 65 43 6c |calClass|, baseCl|
|00004550| 61 73 73 29 20 63 6c 61 | 73 73 20 58 23 23 6c 6f |ass) cla|ss X##lo|
|00004560| 63 61 6c 43 6c 61 73 73 | 20 3a 20 70 75 62 6c 69 |calClass| : publi|
|00004570| 63 20 62 61 73 65 43 6c | 61 73 73 20 7b 20 70 75 |c baseCl|ass { pu|
|00004580| 62 6c 69 63 3a 20 42 45 | 47 49 4e 5f 43 4f 4d 5f |blic: BE|GIN_COM_|
|00004590| 4d 41 50 28 58 23 23 6c | 6f 63 61 6c 43 6c 61 73 |MAP(X##l|ocalClas|
|000045a0| 73 2c 20 6c 6f 63 61 6c | 43 6c 61 73 73 29 20 43 |s, local|Class) C|
|000045b0| 4f 4d 5f 49 4e 54 45 52 | 46 41 43 45 5f 45 4e 54 |OM_INTER|FACE_ENT|
|000045c0| 52 59 20 28 62 61 73 65 | 43 6c 61 73 73 29 20 45 |RY (base|Class) E|
|000045d0| 4e 44 5f 43 4f 4d 5f 4d | 41 50 28 29 0a 23 64 65 |ND_COM_M|AP().#de|
|000045e0| 66 69 6e 65 20 42 45 47 | 49 4e 5f 49 4e 54 45 52 |fine BEG|IN_INTER|
|000045f0| 46 41 43 45 5f 50 41 52 | 54 28 6c 6f 63 61 6c 43 |FACE_PAR|T(localC|
|00004600| 6c 61 73 73 2c 20 62 61 | 73 65 43 6c 61 73 73 29 |lass, ba|seClass)|
|00004610| 20 63 6c 61 73 73 20 58 | 23 23 6c 6f 63 61 6c 43 | class X|##localC|
|00004620| 6c 61 73 73 20 3a 20 70 | 75 62 6c 69 63 20 62 61 |lass : p|ublic ba|
|00004630| 73 65 43 6c 61 73 73 20 | 7b 20 70 75 62 6c 69 63 |seClass |{ public|
|00004640| 3a 20 42 45 47 49 4e 5f | 43 4f 4d 5f 4d 41 50 28 |: BEGIN_|COM_MAP(|
|00004650| 58 23 23 6c 6f 63 61 6c | 43 6c 61 73 73 2c 20 6c |X##local|Class, l|
|00004660| 6f 63 61 6c 43 6c 61 73 | 73 29 20 43 4f 4d 5f 49 |ocalClas|s) COM_I|
|00004670| 4e 54 45 52 46 41 43 45 | 5f 45 4e 54 52 59 20 28 |NTERFACE|_ENTRY (|
|00004680| 62 61 73 65 43 6c 61 73 | 73 29 20 45 4e 44 5f 43 |baseClas|s) END_C|
|00004690| 4f 4d 5f 4d 41 50 28 29 | 20 70 75 62 6c 69 63 3a |OM_MAP()| public:|
|000046a0| 20 76 69 72 74 75 61 6c | 20 55 4c 4f 4e 47 20 53 | virtual| ULONG S|
|000046b0| 54 44 4d 45 54 48 4f 44 | 43 41 4c 4c 54 59 50 45 |TDMETHOD|CALLTYPE|
|000046c0| 20 41 64 64 52 65 66 28 | 29 3b 20 76 69 72 74 75 | AddRef(|); virtu|
|000046d0| 61 6c 20 55 4c 4f 4e 47 | 20 53 54 44 4d 45 54 48 |al ULONG| STDMETH|
|000046e0| 4f 44 43 41 4c 4c 54 59 | 50 45 20 52 65 6c 65 61 |ODCALLTY|PE Relea|
|000046f0| 73 65 28 29 3b 20 76 69 | 72 74 75 61 6c 20 48 52 |se(); vi|rtual HR|
|00004700| 45 53 55 4c 54 20 53 54 | 44 4d 45 54 48 4f 44 43 |ESULT ST|DMETHODC|
|00004710| 41 4c 4c 54 59 50 45 20 | 51 75 65 72 79 49 6e 74 |ALLTYPE |QueryInt|
|00004720| 65 72 66 61 63 65 28 52 | 45 46 49 49 44 20 69 69 |erface(R|EFIID ii|
|00004730| 64 2c 20 76 6f 69 64 20 | 2a 20 2a 20 70 70 76 4f |d, void |* * ppvO|
|00004740| 62 6a 29 3b 0a 23 64 65 | 66 69 6e 65 20 42 45 47 |bj);.#de|fine BEG|
|00004750| 49 4e 5f 43 4f 4e 4e 45 | 43 54 49 4f 4e 5f 50 41 |IN_CONNE|CTION_PA|
|00004760| 52 54 28 74 68 65 43 6c | 61 73 73 2c 20 6c 6f 63 |RT(theCl|ass, loc|
|00004770| 61 6c 43 6c 61 73 73 29 | 20 63 6c 61 73 73 20 58 |alClass)| class X|
|00004780| 23 23 6c 6f 63 61 6c 43 | 6c 61 73 73 20 3a 20 70 |##localC|lass : p|
|00004790| 75 62 6c 69 63 20 43 43 | 6f 6e 6e 65 63 74 69 6f |ublic CC|onnectio|
|000047a0| 6e 50 6f 69 6e 74 20 7b | 20 70 75 62 6c 69 63 3a |nPoint {| public:|
|000047b0| 20 58 23 23 6c 6f 63 61 | 6c 43 6c 61 73 73 28 29 | X##loca|lClass()|
|000047c0| 20 7b 20 6d 5f 6e 4f 66 | 66 73 65 74 20 3d 20 6f | { m_nOf|fset = o|
|000047d0| 66 66 73 65 74 6f 66 28 | 74 68 65 43 6c 61 73 73 |ffsetof(|theClass|
|000047e0| 2c 20 6d 5f 78 23 23 6c | 6f 63 61 6c 43 6c 61 73 |, m_x##l|ocalClas|
|000047f0| 73 29 3b 20 7d 0a 23 64 | 65 66 69 6e 65 20 43 4f |s); }.#d|efine CO|
|00004800| 4e 4e 45 43 54 49 4f 4e | 5f 49 49 44 28 69 69 64 |NNECTION|_IID(iid|
|00004810| 29 20 52 45 46 49 49 44 | 20 47 65 74 49 49 44 28 |) REFIID| GetIID(|
|00004820| 29 20 7b 20 72 65 74 75 | 72 6e 20 69 69 64 3b 20 |) { retu|rn iid; |
|00004830| 7d 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |}.#defin|e DECLAR|
|00004840| 45 5f 41 47 47 52 45 47 | 41 54 41 42 4c 45 28 78 |E_AGGREG|ATABLE(x|
|00004850| 29 0a 23 64 65 66 69 6e | 65 20 44 45 43 4c 41 52 |).#defin|e DECLAR|
|00004860| 45 5f 43 4c 41 53 53 46 | 41 43 54 4f 52 59 5f 45 |E_CLASSF|ACTORY_E|
|00004870| 58 28 63 66 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |X(cf).#d|efine DE|
|00004880| 43 4c 41 52 45 5f 43 4c | 41 53 53 46 41 43 54 4f |CLARE_CL|ASSFACTO|
|00004890| 52 59 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |RY().#de|fine DEC|
|000048a0| 4c 41 52 45 5f 43 4c 41 | 53 53 46 41 43 54 4f 52 |LARE_CLA|SSFACTOR|
|000048b0| 59 32 28 6c 69 63 29 0a | 23 64 65 66 69 6e 65 20 |Y2(lic).|#define |
|000048c0| 44 45 43 4c 41 52 45 5f | 43 4c 41 53 53 46 41 43 |DECLARE_|CLASSFAC|
|000048d0| 54 4f 52 59 5f 41 55 54 | 4f 5f 54 48 52 45 41 44 |TORY_AUT|O_THREAD|
|000048e0| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|000048f0| 52 45 5f 43 4c 41 53 53 | 46 41 43 54 4f 52 59 5f |RE_CLASS|FACTORY_|
|00004900| 53 49 4e 47 4c 45 54 4f | 4e 28 6f 62 6a 29 0a 23 |SINGLETO|N(obj).#|
|00004910| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 43 |define D|ECLARE_C|
|00004920| 4f 4e 4e 45 43 54 49 4f | 4e 5f 4d 41 50 28 29 0a |ONNECTIO|N_MAP().|
|00004930| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00004940| 44 49 53 50 41 54 43 48 | 5f 4d 41 50 28 29 0a 23 |DISPATCH|_MAP().#|
|00004950| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 44 |define D|ECLARE_D|
|00004960| 55 41 4c 5f 45 52 52 4f | 52 49 4e 46 4f 28 29 0a |UAL_ERRO|RINFO().|
|00004970| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00004980| 44 59 4e 41 4d 49 43 28 | 63 6c 61 73 73 5f 6e 61 |DYNAMIC(|class_na|
|00004990| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|000049a0| 41 52 45 5f 44 59 4e 43 | 52 45 41 54 45 28 63 6c |ARE_DYNC|REATE(cl|
|000049b0| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|000049c0| 65 20 44 45 43 4c 41 52 | 45 5f 45 4d 50 54 59 5f |e DECLAR|E_EMPTY_|
|000049d0| 4d 53 47 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |MSG_MAP(|).#defin|
|000049e0| 65 20 44 45 43 4c 41 52 | 45 5f 45 56 45 4e 54 5f |e DECLAR|E_EVENT_|
|000049f0| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00004a00| 43 4c 41 52 45 5f 45 56 | 45 4e 54 53 49 4e 4b 5f |CLARE_EV|ENTSINK_|
|00004a10| 4d 41 50 28 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |MAP().#d|efine DE|
|00004a20| 43 4c 41 52 45 5f 47 45 | 54 5f 43 4f 4e 54 52 4f |CLARE_GE|T_CONTRO|
|00004a30| 4c 4c 49 4e 47 5f 55 4e | 4b 4e 4f 57 4e 28 29 0a |LLING_UN|KNOWN().|
|00004a40| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00004a50| 48 41 4e 44 4c 45 28 78 | 29 0a 23 64 65 66 69 6e |HANDLE(x|).#defin|
|00004a60| 65 20 44 45 43 4c 41 52 | 45 5f 48 41 4e 44 4c 45 |e DECLAR|E_HANDLE|
|00004a70| 33 32 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |32(x).#d|efine DE|
|00004a80| 43 4c 41 52 45 5f 49 4e | 54 45 52 46 41 43 45 28 |CLARE_IN|TERFACE(|
|00004a90| 69 66 61 63 65 29 20 69 | 6e 74 65 72 66 61 63 65 |iface) i|nterface|
|00004aa0| 20 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 | iface.#|define D|
|00004ab0| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|00004ac0| 5f 28 69 66 61 63 65 2c | 20 62 61 73 65 69 66 61 |_(iface,| baseifa|
|00004ad0| 63 65 29 20 69 6e 74 65 | 72 66 61 63 65 20 69 66 |ce) inte|rface if|
|00004ae0| 61 63 65 20 3a 20 70 75 | 62 6c 69 63 20 62 61 73 |ace : pu|blic bas|
|00004af0| 65 69 66 61 63 65 0a 23 | 64 65 66 69 6e 65 20 44 |eiface.#|define D|
|00004b00| 45 43 4c 41 52 45 5f 49 | 4e 54 45 52 46 41 43 45 |ECLARE_I|NTERFACE|
|00004b10| 5f 4d 41 50 28 29 0a 23 | 64 65 66 69 6e 65 20 44 |_MAP().#|define D|
|00004b20| 45 43 4c 41 52 45 5f 4d | 45 53 53 41 47 45 5f 4d |ECLARE_M|ESSAGE_M|
|00004b30| 41 50 28 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |AP().#de|fine DEC|
|00004b40| 4c 41 52 45 5f 4e 4f 5f | 52 45 47 49 53 54 52 59 |LARE_NO_|REGISTRY|
|00004b50| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00004b60| 52 45 5f 4e 4f 54 5f 41 | 47 47 52 45 47 41 54 41 |RE_NOT_A|GGREGATA|
|00004b70| 42 4c 45 28 78 29 0a 23 | 64 65 66 69 6e 65 20 44 |BLE(x).#|define D|
|00004b80| 45 43 4c 41 52 45 5f 4f | 42 4a 45 43 54 5f 44 45 |ECLARE_O|BJECT_DE|
|00004b90| 53 43 52 49 50 54 49 4f | 4e 28 78 29 0a 23 64 65 |SCRIPTIO|N(x).#de|
|00004ba0| 66 69 6e 65 20 44 45 43 | 4c 41 52 45 5f 4f 4c 45 |fine DEC|LARE_OLE|
|00004bb0| 43 4d 44 5f 4d 41 50 28 | 29 0a 23 64 65 66 69 6e |CMD_MAP(|).#defin|
|00004bc0| 65 20 44 45 43 4c 41 52 | 45 5f 4f 4c 45 43 52 45 |e DECLAR|E_OLECRE|
|00004bd0| 41 54 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |ATE(clas|s_name).|
|00004be0| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00004bf0| 4f 4c 45 43 52 45 41 54 | 90 52 1a 02 00 00 00 00 |OLECREAT|.R......|
|00004c00| 01 01 01 01 02 01 08 00 | 45 5f 45 58 28 63 6c 61 |........|E_EX(cla|
|00004c10| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00004c20| 20 44 45 43 4c 41 52 45 | 5f 4f 4c 45 43 54 4c 54 | DECLARE|_OLECTLT|
|00004c30| 59 50 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |YPE(clas|s_name).|
|00004c40| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00004c50| 4f 4c 45 54 59 50 45 4c | 49 42 28 63 6c 61 73 73 |OLETYPEL|IB(class|
|00004c60| 5f 6e 61 6d 65 29 0a 23 | 64 65 66 69 6e 65 20 44 |_name).#|define D|
|00004c70| 45 43 4c 41 52 45 5f 4f | 4e 4c 59 5f 41 47 47 52 |ECLARE_O|NLY_AGGR|
|00004c80| 45 47 41 54 41 42 4c 45 | 28 78 29 0a 23 64 65 66 |EGATABLE|(x).#def|
|00004c90| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 4f 50 41 51 |ine DECL|ARE_OPAQ|
|00004ca0| 55 45 33 32 28 78 29 0a | 23 64 65 66 69 6e 65 20 |UE32(x).|#define |
|00004cb0| 44 45 43 4c 41 52 45 5f | 50 41 52 53 45 5f 4d 41 |DECLARE_|PARSE_MA|
|00004cc0| 50 28 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |P().#def|ine DECL|
|00004cd0| 41 52 45 5f 50 4f 4c 59 | 5f 41 47 47 52 45 47 41 |ARE_POLY|_AGGREGA|
|00004ce0| 54 41 42 4c 45 28 78 29 | 0a 23 64 65 66 69 6e 65 |TABLE(x)|.#define|
|00004cf0| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 50 45 52 54 | DECLARE|_PROPERT|
|00004d00| 59 5f 53 55 50 50 4f 52 | 54 28 63 6c 61 73 73 29 |Y_SUPPOR|T(class)|
|00004d10| 0a 23 64 65 66 69 6e 65 | 20 44 45 43 4c 41 52 45 |.#define| DECLARE|
|00004d20| 5f 50 52 4f 50 50 41 47 | 45 49 44 53 28 63 6c 61 |_PROPPAG|EIDS(cla|
|00004d30| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00004d40| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 54 45 43 54 | DECLARE|_PROTECT|
|00004d50| 5f 46 49 4e 41 4c 5f 43 | 4f 4e 53 54 52 55 43 54 |_FINAL_C|ONSTRUCT|
|00004d60| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00004d70| 52 45 5f 52 45 47 49 53 | 54 52 59 28 63 6c 61 73 |RE_REGIS|TRY(clas|
|00004d80| 73 2c 20 70 69 64 2c 20 | 76 70 69 64 2c 20 6e 69 |s, pid, |vpid, ni|
|00004d90| 64 2c 20 66 6c 61 67 73 | 29 0a 23 64 65 66 69 6e |d, flags|).#defin|
|00004da0| 65 20 44 45 43 4c 41 52 | 45 5f 52 45 47 49 53 54 |e DECLAR|E_REGIST|
|00004db0| 52 59 5f 52 45 53 4f 55 | 52 43 45 28 78 29 0a 23 |RY_RESOU|RCE(x).#|
|00004dc0| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 52 |define D|ECLARE_R|
|00004dd0| 45 47 49 53 54 52 59 5f | 52 45 53 4f 55 52 43 45 |EGISTRY_|RESOURCE|
|00004de0| 49 44 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |ID(x).#d|efine DE|
|00004df0| 43 4c 41 52 45 5f 53 45 | 52 49 41 4c 28 63 6c 61 |CLARE_SE|RIAL(cla|
|00004e00| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00004e10| 20 44 45 43 4c 41 52 45 | 5f 53 54 41 54 49 43 5f | DECLARE|_STATIC_|
|00004e20| 52 45 47 49 53 54 52 59 | 5f 52 45 53 4f 55 52 43 |REGISTRY|_RESOURC|
|00004e30| 45 28 78 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |E(x).#de|fine DEC|
|00004e40| 4c 41 52 45 5f 53 54 41 | 54 49 43 5f 52 45 47 49 |LARE_STA|TIC_REGI|
|00004e50| 53 54 52 59 5f 52 45 53 | 4f 55 52 43 45 49 44 28 |STRY_RES|OURCEID(|
|00004e60| 78 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |x).#defi|ne DECLA|
|00004e70| 52 45 5f 56 49 45 57 5f | 53 54 41 54 55 53 28 73 |RE_VIEW_|STATUS(s|
|00004e80| 74 61 74 75 73 46 6c 61 | 67 73 29 0a 23 64 65 66 |tatusFla|gs).#def|
|00004e90| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 57 4e 44 5f |ine DECL|ARE_WND_|
|00004ea0| 43 4c 41 53 53 28 57 6e | 64 43 6c 61 73 73 4e 61 |CLASS(Wn|dClassNa|
|00004eb0| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|00004ec0| 41 52 45 5f 57 4e 44 5f | 53 55 50 45 52 43 4c 41 |ARE_WND_|SUPERCLA|
|00004ed0| 53 53 28 57 6e 64 43 6c | 61 73 73 4e 61 6d 65 2c |SS(WndCl|assName,|
|00004ee0| 20 4f 72 69 67 57 6e 64 | 43 6c 61 73 73 4e 61 6d | OrigWnd|ClassNam|
|00004ef0| 65 29 0a 23 64 65 66 69 | 6e 65 20 44 45 46 49 4e |e).#defi|ne DEFIN|
|00004f00| 45 5f 43 4f 4d 4d 41 4e | 44 28 78 2c 20 73 7a 43 |E_COMMAN|D(x, szC|
|00004f10| 6f 6d 6d 61 6e 64 29 0a | 23 64 65 66 69 6e 65 20 |ommand).|#define |
|00004f20| 44 45 4c 45 47 41 54 45 | 5f 44 55 41 4c 5f 49 4e |DELEGATE|_DUAL_IN|
|00004f30| 54 45 52 46 41 43 45 28 | 6f 62 6a 65 63 74 43 6c |TERFACE(|objectCl|
|00004f40| 61 73 73 2c 20 64 75 61 | 6c 43 6c 61 73 73 29 0a |ass, dua|lClass).|
|00004f50| 23 64 65 66 69 6e 65 20 | 45 4e 44 5f 43 4f 4e 4e |#define |END_CONN|
|00004f60| 45 43 54 49 4f 4e 5f 50 | 41 52 54 28 6c 6f 63 61 |ECTION_P|ART(loca|
|00004f70| 6c 43 6c 61 73 73 29 20 | 7d 20 6d 5f 78 23 23 6c |lClass) |} m_x##l|
|00004f80| 6f 63 61 6c 43 6c 61 73 | 73 3b 20 66 72 69 65 6e |ocalClas|s; frien|
|00004f90| 64 20 63 6c 61 73 73 20 | 58 23 23 6c 6f 63 61 6c |d class |X##local|
|00004fa0| 43 6c 61 73 73 3b 0a 23 | 64 65 66 69 6e 65 20 45 |Class;.#|define E|
|00004fb0| 4e 44 5f 44 55 41 4c 5f | 49 4e 54 45 52 46 41 43 |ND_DUAL_|INTERFAC|
|00004fc0| 45 5f 50 41 52 54 28 6c | 6f 63 61 6c 43 6c 61 73 |E_PART(l|ocalClas|
|00004fd0| 73 29 20 7d 20 6d 5f 78 | 23 23 6c 6f 63 61 6c 43 |s) } m_x|##localC|
|00004fe0| 6c 61 73 73 3b 20 66 72 | 69 65 6e 64 20 63 6c 61 |lass; fr|iend cla|
|00004ff0| 73 73 20 58 23 23 6c 6f | 63 61 6c 43 6c 61 73 73 |ss X##lo|calClass|
|00005000| 3b 0a 23 64 65 66 69 6e | 65 20 45 4e 44 5f 49 4e |;.#defin|e END_IN|
|00005010| 54 45 52 46 41 43 45 5f | 50 41 52 54 28 6c 6f 63 |TERFACE_|PART(loc|
|00005020| 61 6c 43 6c 61 73 73 29 | 20 7d 20 6d 5f 78 23 23 |alClass)| } m_x##|
|00005030| 6c 6f 63 61 6c 43 6c 61 | 73 73 3b 20 66 72 69 65 |localCla|ss; frie|
|00005040| 6e 64 20 63 6c 61 73 73 | 20 58 23 23 6c 6f 63 61 |nd class| X##loca|
|00005050| 6c 43 6c 61 73 73 3b 0a | 23 64 65 66 69 6e 65 20 |lClass;.|#define |
|00005060| 45 58 54 45 52 4e 5f 50 | 52 4f 43 45 53 53 5f 4c |EXTERN_P|ROCESS_L|
|00005070| 4f 43 41 4c 28 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |OCAL(cla|ss_name,|
|00005080| 20 69 64 65 6e 74 5f 6e | 61 6d 65 29 20 65 78 74 | ident_n|ame) ext|
|00005090| 65 72 6e 20 41 46 58 5f | 44 41 54 41 20 50 52 4f |ern AFX_|DATA PRO|
|000050a0| 43 45 53 53 5f 4c 4f 43 | 41 4c 28 63 6c 61 73 73 |CESS_LOC|AL(class|
|000050b0| 5f 6e 61 6d 65 2c 20 69 | 64 65 6e 74 5f 6e 61 6d |_name, i|dent_nam|
|000050c0| 65 29 0a 23 64 65 66 69 | 6e 65 20 45 58 54 5f 53 |e).#defi|ne EXT_S|
|000050d0| 4e 41 50 49 4e 4d 45 4e | 55 49 44 28 69 64 29 0a |NAPINMEN|UID(id).|
|000050e0| 23 64 65 66 69 6e 65 20 | 49 4d 50 4c 45 4d 45 4e |#define |IMPLEMEN|
|000050f0| 54 5f 44 55 41 4c 5f 45 | 52 52 4f 52 49 4e 46 4f |T_DUAL_E|RRORINFO|
|00005100| 28 6f 62 6a 65 63 74 43 | 6c 61 73 73 2c 20 72 69 |(objectC|lass, ri|
|00005110| 69 64 53 6f 75 72 63 65 | 29 0a 23 64 65 66 69 6e |idSource|).#defin|
|00005120| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 44 59 4e 41 |e IMPLEM|ENT_DYNA|
|00005130| 4d 49 43 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |MIC(clas|s_name, |
|00005140| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 29 |base_cla|ss_name)|
|00005150| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00005160| 4e 54 5f 44 59 4e 43 52 | 45 41 54 45 28 63 6c 61 |NT_DYNCR|EATE(cla|
|00005170| 73 73 5f 6e 61 6d 65 2c | 20 62 61 73 65 5f 63 6c |ss_name,| base_cl|
|00005180| 61 73 73 5f 6e 61 6d 65 | 29 0a 23 64 65 66 69 6e |ass_name|).#defin|
|00005190| 65 20 49 4d 50 4c 45 4d | 45 4e 54 5f 4f 4c 45 43 |e IMPLEM|ENT_OLEC|
|000051a0| 52 45 41 54 45 28 63 6c | 61 73 73 5f 6e 61 6d 65 |REATE(cl|ass_name|
|000051b0| 2c 20 65 78 74 65 72 6e | 61 6c 5f 6e 61 6d 65 2c |, extern|al_name,|
|000051c0| 20 6c 2c 20 77 31 2c 20 | 77 32 2c 20 62 31 2c 20 | l, w1, |w2, b1, |
|000051d0| 62 32 2c 20 62 33 2c 20 | 62 34 2c 20 62 35 2c 20 |b2, b3, |b4, b5, |
|000051e0| 62 36 2c 20 62 37 2c 20 | 62 38 29 0a 23 64 65 66 |b6, b7, |b8).#def|
|000051f0| 69 6e 65 20 49 4d 50 4c | 45 4d 45 4e 54 5f 4f 4c |ine IMPL|EMENT_OL|
|00005200| 45 43 52 45 41 54 45 5f | 45 58 28 63 6c 61 73 73 |ECREATE_|EX(class|
|00005210| 5f 6e 61 6d 65 2c 20 65 | 78 74 65 72 6e 61 6c 5f |_name, e|xternal_|
|00005220| 6e 61 6d 65 2c 20 6c 2c | 20 77 31 2c 20 77 32 2c |name, l,| w1, w2,|
|00005230| 20 62 31 2c 20 62 32 2c | 20 62 33 2c 20 62 34 2c | b1, b2,| b3, b4,|
|00005240| 20 62 35 2c 20 62 36 2c | 20 62 37 2c 20 62 38 29 | b5, b6,| b7, b8)|
|00005250| 0a 23 64 65 66 69 6e 65 | 20 49 4d 50 4c 45 4d 45 |.#define| IMPLEME|
|00005260| 4e 54 5f 4f 4c 45 43 54 | 4c 54 59 50 45 28 63 6c |NT_OLECT|LTYPE(cl|
|00005270| 61 73 73 5f 6e 61 6d 65 | 2c 20 69 64 73 55 73 65 |ass_name|, idsUse|
|00005280| 72 54 79 70 65 4e 61 6d | 65 2c 20 64 77 4f 6c 65 |rTypeNam|e, dwOle|
|00005290| 4d 69 73 63 29 0a 23 64 | 65 66 69 6e 65 20 49 4d |Misc).#d|efine IM|
|000052a0| 50 4c 45 4d 45 4e 54 5f | 4f 4c 45 54 59 50 45 4c |PLEMENT_|OLETYPEL|
|000052b0| 49 42 28 63 6c 61 73 73 | 5f 6e 61 6d 65 2c 20 74 |IB(class|_name, t|
|000052c0| 6c 69 64 2c 20 77 56 65 | 72 4d 61 6a 6f 72 2c 20 |lid, wVe|rMajor, |
|000052d0| 77 56 65 72 4d 69 6e 6f | 72 29 0a 23 64 65 66 69 |wVerMino|r).#defi|
|000052e0| 6e 65 20 49 4d 50 4c 45 | 4d 45 4e 54 5f 53 45 52 |ne IMPLE|MENT_SER|
|000052f0| 49 41 4c 28 63 6c 61 73 | 73 5f 6e 61 6d 65 2c 20 |IAL(clas|s_name, |
|00005300| 62 61 73 65 5f 63 6c 61 | 73 73 5f 6e 61 6d 65 2c |base_cla|ss_name,|
|00005310| 20 77 53 63 68 65 6d 61 | 29 0a 23 64 65 66 69 6e | wSchema|).#defin|
|00005320| 65 20 49 4e 49 54 5f 49 | 4e 54 45 52 46 41 43 45 |e INIT_I|NTERFACE|
|00005330| 5f 50 41 52 54 28 74 68 | 65 43 6c 61 73 73 2c 20 |_PART(th|eClass, |
|00005340| 6c 6f 63 61 6c 43 6c 61 | 73 73 29 0a 23 64 65 66 |localCla|ss).#def|
|00005350| 69 6e 65 20 50 52 4f 43 | 45 53 53 5f 4c 4f 43 41 |ine PROC|ESS_LOCA|
|00005360| 4c 28 63 6c 61 73 73 5f | 6e 61 6d 65 2c 20 69 64 |L(class_|name, id|
|00005370| 65 6e 74 5f 6e 61 6d 65 | 29 20 41 46 58 5f 44 41 |ent_name|) AFX_DA|
|00005380| 54 41 44 45 46 20 43 50 | 72 6f 63 65 73 73 4c 6f |TADEF CP|rocessLo|
|00005390| 63 61 6c 3c 63 6c 61 73 | 73 5f 6e 61 6d 65 3e 20 |cal<clas|s_name> |
|000053a0| 69 64 65 6e 74 5f 6e 61 | 6d 65 3b 0a 23 64 65 66 |ident_na|me;.#def|
|000053b0| 69 6e 65 20 50 55 52 45 | 20 3d 20 30 0a 23 64 65 |ine PURE| = 0.#de|
|000053c0| 66 69 6e 65 20 53 4e 41 | 50 49 4e 4d 45 4e 55 49 |fine SNA|PINMENUI|
|000053d0| 44 28 69 64 29 0a 23 64 | 65 66 69 6e 65 20 54 48 |D(id).#d|efine TH|
|000053e0| 49 53 20 76 6f 69 64 0a | 23 64 65 66 69 6e 65 20 |IS void.|#define |
|000053f0| 54 48 49 53 5f 0a 23 64 | 65 66 69 6e 65 20 54 52 |THIS_.#d|efine TR|
|00005400| af 00 01 02 02 10 00 00 | 08 a7 cd 00 88 6d d0 00 |........|.....m..|
|00005410| 08 a7 cd 00 88 6d d0 00 | 70 0d 0a 20 20 20 20 77 |.....m..|p.. w|
|00005420| 68 69 6c 65 20 28 21 6b | 65 79 5b 4b 45 59 5f 45 |hile (!k|ey[KEY_E|
|00005430| 53 43 5d 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |SC]).. | {.. |
|00005440| 20 20 20 20 20 2f 2f 63 | 68 65 63 6b 20 72 69 67 | //c|heck rig|
|00005450| 68 74 20 61 72 72 6f 77 | 0d 0a 20 20 20 20 20 20 |ht arrow|.. |
|00005460| 20 20 69 66 20 28 6b 65 | 79 5b 4b 45 59 5f 52 49 | if (ke|y[KEY_RI|
|00005470| 47 48 54 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |GHT]).. | {|
|00005480| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 78 20 |.. | x |
|00005490| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|000054a0| 20 20 20 20 20 20 69 66 | 20 28 78 20 3e 20 73 63 | if| (x > sc|
|000054b0| 72 6f 6c 6c 2d 3e 77 20 | 2d 20 57 49 44 54 48 29 |roll->w |- WIDTH)|
|000054c0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000054d0| 20 20 78 20 3d 20 73 63 | 72 6f 6c 6c 2d 3e 77 20 | x = sc|roll->w |
|000054e0| 2d 20 57 49 44 54 48 3b | 0d 0a 20 20 20 20 20 20 |- WIDTH;|.. |
|000054f0| 20 20 7d 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 2f | }.... | /|
|00005500| 2f 63 68 65 63 6b 20 6c | 65 66 74 20 61 72 72 6f |/check l|eft arro|
|00005510| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00005520| 65 79 5b 4b 45 59 5f 4c | 45 46 54 5d 29 0d 0a 20 |ey[KEY_L|EFT]).. |
|00005530| 20 20 20 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 | {|.. |
|00005540| 20 20 20 20 20 20 78 20 | 2d 3d 20 53 54 45 50 3b | x |-= STEP;|
|00005550| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.. | if|
|00005560| 20 28 78 20 3c 20 30 29 | 0d 0a 20 20 20 20 20 20 | (x < 0)|.. |
|00005570| 20 20 20 20 20 20 20 20 | 20 20 78 20 3d 20 30 3b | | x = 0;|
|00005580| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 0d 0a 20 |.. | }.... |
|00005590| 20 20 20 20 20 20 20 2f | 2f 63 68 65 63 6b 20 64 | /|/check d|
|000055a0| 6f 77 6e 20 61 72 72 6f | 77 0d 0a 20 20 20 20 20 |own arro|w.. |
|000055b0| 20 20 20 69 66 20 28 6b | 65 79 5b 4b 45 59 5f 44 | if (k|ey[KEY_D|
|000055c0| 4f 57 4e 5d 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |OWN]).. | {|
|000055d0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 79 20 |.. | y |
|000055e0| 2b 3d 20 53 54 45 50 3b | 0d 0a 20 20 20 20 20 20 |+= STEP;|.. |
|000055f0| 20 20 20 20 20 20 69 66 | 20 28 79 20 3e 20 73 63 | if| (y > sc|
|00005600| 72 6f 6c 6c 2d 3e 68 20 | 2d 20 48 45 49 47 48 54 |roll->h |- HEIGHT|
|00005610| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |).. | |
|00005620| 20 20 20 79 20 3d 20 73 | 63 72 6f 6c 6c 2d 3e 68 | y = s|croll->h|
|00005630| 20 2d 20 48 45 49 47 48 | 54 3b 0d 0a 20 20 20 20 | - HEIGH|T;.. |
|00005640| 20 20 20 20 7d 0d 0a 0d | 0a 20 20 20 20 20 20 20 | }...|. |
|00005650| 20 2f 2f 63 68 65 63 6b | 20 75 70 20 61 72 72 6f | //check| up arro|
|00005660| 77 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6b |w.. | if (k|
|00005670| 65 79 5b 4b 45 59 5f 55 | 50 5d 29 0d 0a 20 20 20 |ey[KEY_U|P]).. |
|00005680| 20 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 | {..| |
|00005690| 20 20 20 20 79 20 2d 3d | 20 53 54 45 50 3b 0d 0a | y -=| STEP;..|
|000056a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|000056b0| 79 20 3c 20 30 29 0d 0a | 20 20 20 20 20 20 20 20 |y < 0)..| |
|000056c0| 20 20 20 20 20 20 20 20 | 79 20 3d 20 30 3b 0d 0a | |y = 0;..|
|000056d0| 20 20 20 20 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 | |}.... |
|000056e0| 20 20 20 20 20 2f 2f 64 | 72 61 77 20 74 68 65 20 | //d|raw the |
|000056f0| 73 63 72 6f 6c 6c 20 77 | 69 6e 64 6f 77 20 70 6f |scroll w|indow po|
|00005700| 72 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 76 69 72 |rtion of| the vir|
|00005710| 74 75 61 6c 20 62 75 66 | 66 65 72 0d 0a 20 20 20 |tual buf|fer.. |
|00005720| 20 20 20 20 20 62 6c 69 | 74 28 73 63 72 6f 6c 6c | bli|t(scroll|
|00005730| 2c 20 73 63 72 65 65 6e | 2c 20 78 2c 20 79 2c 20 |, screen|, x, y, |
|00005740| 30 2c 20 30 2c 20 57 49 | 44 54 48 2d 31 2c 20 48 |0, 0, WI|DTH-1, H|
|00005750| 45 49 47 48 54 2d 31 29 | 3b 0d 0a 0d 0a 20 20 20 |EIGHT-1)|;.... |
|00005760| 20 20 20 20 20 2f 2f 64 | 69 73 70 6c 61 79 20 73 | //d|isplay s|
|00005770| 74 61 74 75 73 20 69 6e | 66 6f 0d 0a 20 20 20 20 |tatus in|fo.. |
|00005780| 20 20 20 20 74 65 78 74 | 5f 6d 6f 64 65 28 2d 31 | text|_mode(-1|
|00005790| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 74 65 78 74 |);.. | text|
|000057a0| 70 72 69 6e 74 66 28 73 | 63 72 65 65 6e 2c 66 6f |printf(s|creen,fo|
|000057b0| 6e 74 2c 30 2c 30 2c 6d | 61 6b 65 63 6f 6c 28 30 |nt,0,0,m|akecol(0|
|000057c0| 2c 30 2c 30 29 2c 0d 0a | 20 20 20 20 20 20 20 20 |,0,0),..| |
|000057d0| 20 20 20 20 22 50 6f 73 | 69 74 69 6f 6e 20 3d 20 | "Pos|ition = |
|000057e0| 28 25 64 2c 25 64 29 22 | 2c 20 78 2c 20 79 29 3b |(%d,%d)"|, x, y);|
|000057f0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 2f 2f 73 6c |.... | //sl|
|00005800| 60 ea 00 00 01 00 00 00 | 1a 41 72 72 61 79 4d 61 |`.......|.ArrayMa|
|00005810| 70 54 65 73 74 20 2d 20 | 57 69 6e 33 32 20 44 65 |pTest - |Win32 De|
|00005820| 62 75 67 10 41 72 72 61 | 79 4d 61 70 54 65 73 74 |bug.Arra|yMapTest|
|00005830| 2e 64 73 70 01 00 08 00 | 43 50 72 6f 6a 65 63 74 |.dsp....|CProject|
|00005840| 1a 41 72 72 61 79 4d 61 | 70 54 65 73 74 20 2d 20 |.ArrayMa|pTest - |
|00005850| 57 69 6e 33 32 20 44 65 | 62 75 67 1c 41 72 72 61 |Win32 De|bug.Arra|
|00005860| 79 4d 61 70 54 65 73 74 | 20 2d 20 57 69 6e 33 32 |yMapTest| - Win32|
|00005870| 20 52 65 6c 65 61 73 65 | 02 00 00 00 01 80 00 00 | Release|........|
|00005880| 00 00 00 00 00 00 1a 41 | 72 72 61 79 4d 61 70 54 |.......A|rrayMapT|
|00005890| 65 73 74 20 2d 20 57 69 | 6e 33 32 20 44 65 62 75 |est - Wi|n32 Debu|
|000058a0| 67 02 00 00 00 01 80 00 | 00 00 00 02 00 00 00 ea |g.......|........|
|000058b0| 05 01 00 00 00 02 00 00 | 00 fb 05 01 00 00 00 00 |........|........|
|000058c0| 00 00 00 06 08 14 53 53 | 42 52 00 01 00 0b 00 43 |......SS|BR.....C|
|000058d0| 54 61 72 67 65 74 49 74 | 65 6d 1a 41 72 72 61 79 |TargetIt|em.Array|
|000058e0| 4d 61 70 54 65 73 74 20 | 2d 20 57 69 6e 33 32 20 |MapTest |- Win32 |
|000058f0| 44 65 62 75 67 00 00 00 | 00 06 08 14 53 53 42 52 |Debug...|....SSBR|
|00005900| 0c 53 6f 75 72 63 65 20 | 46 69 6c 65 73 01 00 0a |.Source |Files...|
|00005910| 00 43 50 72 6f 6a 47 72 | 6f 75 70 06 08 14 53 53 |.CProjGr|oup...SS|
|00005920| 42 52 05 08 14 44 4a 57 | 0c 48 65 61 64 65 72 20 |BR...DJW|.Header |
|00005930| 46 69 6c 65 73 01 00 0a | 00 43 50 72 6f 6a 47 72 |Files...|.CProjGr|
|00005940| 6f 75 70 06 08 14 53 53 | 42 52 05 08 14 44 4a 57 |oup...SS|BR...DJW|
|00005950| 0e 52 65 73 6f 75 72 63 | 65 20 46 69 6c 65 73 01 |.Resourc|e Files.|
|00005960| 00 0a 00 43 50 72 6f 6a | 47 72 6f 75 70 06 08 14 |...CProj|Group...|
|00005970| 53 53 42 52 05 08 14 44 | 4a 57 03 64 65 70 01 00 |SSBR...D|JW.dep..|
|00005980| 14 00 43 44 65 70 65 6e | 64 65 6e 63 79 43 6f 6e |..CDepen|dencyCon|
|00005990| 74 61 69 6e 65 72 06 08 | 14 53 53 42 52 06 64 72 |tainer..|.SSBR.dr|
|000059a0| 61 77 2e 68 01 00 0f 00 | 43 44 65 70 65 6e 64 65 |aw.h....|CDepende|
|000059b0| 6e 63 79 46 69 6c 65 06 | 08 14 53 53 42 52 07 61 |ncyFile.|..SSBR.a|
|000059c0| 6c 77 69 6e 2e 68 01 00 | 0f 00 43 44 65 70 65 6e |lwin.h..|..CDepen|
|000059d0| 64 65 6e 63 79 46 69 6c | 65 06 08 14 53 53 42 52 |dencyFil|e...SSBR|
|000059e0| 08 61 6c 6d 73 76 63 2e | 68 01 00 0f 00 43 44 65 |.almsvc.|h....CDe|
|000059f0| 70 65 6e 64 65 6e 63 79 | 46 69 6c 65 06 08 14 53 |pendency|File...S|
|00005a00| 53 42 52 05 67 75 69 2e | 68 01 00 0f 00 43 44 65 |SBR.gui.|h....CDe|
|00005a10| 70 65 6e 64 65 6e 63 79 | 46 69 6c 65 06 08 14 53 |pendency|File...S|
|00005a20| 53 42 52 0a 63 6f 6d 70 | 69 6c 65 64 2e 68 01 00 |SBR.comp|iled.h..|
|00005a30| 0f 00 43 44 65 70 65 6e | 64 65 6e 63 79 46 69 6c |..CDepen|dencyFil|
|00005a40| 65 06 08 14 53 53 42 52 | 08 73 74 72 65 61 6d 2e |e...SSBR|.stream.|
|00005a50| 68 01 00 0f 00 43 44 65 | 70 65 6e 64 65 6e 63 79 |h....CDe|pendency|
|00005a60| 46 69 6c 65 06 08 14 53 | 53 42 52 07 64 65 62 75 |File...S|SBR.debu|
|00005a70| 67 2e 68 01 00 0f 00 43 | 44 65 70 65 6e 64 65 6e |g.h....C|Dependen|
|00005a80| 63 79 46 69 6c 65 06 08 | 14 53 53 42 52 0a 6b 65 |cyFile..|.SSBR.ke|
|00005a90| 79 62 6f 61 72 64 2e 68 | 01 00 0f 00 43 44 65 70 |yboard.h|....CDep|
|00005aa0| 65 6e 64 65 6e 63 79 46 | 69 6c 65 06 08 14 53 53 |endencyF|ile...SS|
|00005ab0| 42 52 09 63 6f 6c 6f 72 | 2e 69 6e 6c 01 00 0f 00 |BR.color|.inl....|
|00005ac0| 43 44 65 70 65 6e 64 65 | 6e 63 79 46 69 6c 65 06 |CDepende|ncyFile.|
|00005ad0| 08 14 53 53 42 52 07 66 | 69 78 65 64 2e 68 01 00 |..SSBR.f|ixed.h..|
|00005ae0| 0f 00 43 44 65 70 65 6e | 64 65 6e 63 79 46 69 6c |..CDepen|dencyFil|
|00005af0| 65 06 08 14 53 53 42 52 | 09 61 6c 70 6c 61 74 66 |e...SSBR|.alplatf|
|00005b00| 2e 68 01 00 0f 00 43 44 | 65 70 65 6e 64 65 6e 63 |.h....CD|ependenc|
|00005b10| 79 46 69 6c 65 06 08 14 | 53 53 42 52 0a 64 61 74 |yFile...|SSBR.dat|
|00005b20| 61 66 69 6c 65 2e 68 01 | 00 0f 00 43 44 65 70 65 |afile.h.|...CDepe|
|00005b30| 6e 64 65 6e 63 79 46 69 | 6c 65 06 08 14 53 53 42 |ndencyFi|le...SSB|
|00005b40| 52 06 71 75 61 74 2e 68 | 01 00 0f 00 43 44 65 70 |R.quat.h|....CDep|
|00005b50| 65 6e 64 65 6e 63 79 46 | 69 6c 65 06 08 14 53 53 |endencyF|ile...SS|
|00005b60| 42 52 0a 61 6c 63 6f 6d | 70 61 74 2e 68 01 00 0f |BR.alcom|pat.h...|
|00005b70| 00 43 44 65 70 65 6e 64 | 65 6e 63 79 46 69 6c 65 |.CDepend|encyFile|
|00005b80| 06 08 14 53 53 42 52 0a | 73 79 73 74 65 6d 2e 69 |...SSBR.|system.i|
|00005b90| 6e 6c 01 00 0f 00 43 44 | 65 70 65 6e 64 65 6e 63 |nl....CD|ependenc|
|00005ba0| 79 46 69 6c 65 06 08 14 | 53 53 42 52 07 72 6c 65 |yFile...|SSBR.rle|
|00005bb0| 2e 69 6e 6c 01 00 0f 00 | 43 44 65 70 65 6e 64 65 |.inl....|CDepende|
|00005bc0| 6e 63 79 46 69 6c 65 06 | 08 14 53 53 42 52 0a 61 |ncyFile.|..SSBR.a|
|00005bd0| 6c 63 6f 6e 66 69 67 2e | 68 01 00 0f 00 43 44 65 |lconfig.|h....CDe|
|00005be0| 70 65 6e 64 65 6e 63 79 | 46 69 6c 65 06 08 14 53 |pendency|File...S|
|00005bf0| 53 42 52 08 63 6f 6e 66 | 69 67 2e 68 01 00 0f 00 |SBR.conf|ig.h....|
|00005c00| 43 44 65 70 65 6e 64 65 | 6e 63 79 46 69 6c 65 06 |CDepende|ncyFile.|
|00005c10| 08 14 53 53 42 52 08 66 | 69 6c 65 2e 69 6e 6c 01 |..SSBR.f|ile.inl.|
|00005c20| 00 0f 00 43 44 65 70 65 | 6e 64 65 6e 63 79 46 69 |...CDepe|ndencyFi|
|00005c30| 6c 65 06 08 14 53 53 42 | 52 0a 6d 61 74 72 69 78 |le...SSB|R.matrix|
|00005c40| 2e 69 6e 6c 01 00 0f 00 | 43 44 65 70 65 6e 64 65 |.inl....|CDepende|
|00005c50| 6e 63 79 46 69 6c 65 06 | 08 14 53 53 42 52 0b 33 |ncyFile.|..SSBR.3|
|00005c60| 64 6d 61 74 68 73 2e 69 | 6e 6c 01 00 0f 00 43 44 |dmaths.i|nl....CD|
|00005c70| 65 70 65 6e 64 65 6e 63 | 79 46 69 6c 65 06 08 14 |ependenc|yFile...|
|00005c80| 53 53 42 52 06 64 69 67 | 69 2e 68 01 00 0f 00 43 |SSBR.dig|i.h....C|
|00005c90| 44 65 70 65 6e 64 65 6e | 63 79 46 69 6c 65 06 08 |Dependen|cyFile..|
|00005ca0| 14 53 53 42 52 07 74 69 | 6d 65 72 2e 68 01 00 0f |.SSBR.ti|mer.h...|
|00005cb0| 00 43 44 65 70 65 6e 64 | 65 6e 63 79 46 69 6c 65 |.CDepend|encyFile|
|00005cc0| 06 08 14 53 53 42 52 07 | 63 6f 6c 6f 72 2e 68 01 |...SSBR.|color.h.|
|00005cd0| 00 0f 00 43 44 65 70 65 | 6e 64 65 6e 63 79 46 69 |...CDepe|ndencyFi|
|00005ce0| 6c 65 06 08 14 53 53 42 | 52 05 67 66 78 2e 68 01 |le...SSB|R.gfx.h.|
|00005cf0| 00 0f 00 43 44 65 70 65 | 6e 64 65 6e 63 79 46 69 |...CDepe|ndencyFi|
|00005d00| 6c 65 06 08 14 53 53 42 | 52 08 73 79 73 74 65 6d |le...SSB|R.system|
|00005d10| 2e 68 01 00 0f 00 43 44 | 65 70 65 6e 64 65 6e 63 |.h....CD|ependenc|
|00005d20| 79 46 69 6c 65 06 08 14 | 53 53 42 52 09 61 6c 33 |yFile...|SSBR.al3|
|00005d30| 38 36 76 63 2e 68 01 00 | 0f 00 43 44 65 70 65 6e |86vc.h..|..CDepen|
|00005d40| 64 65 6e 63 79 46 69 6c | 65 06 08 14 53 53 42 52 |dencyFil|e...SSBR|
|00005d50| 05 72 6c 65 2e 68 01 00 | 0f 00 43 44 65 70 65 6e |.rle.h..|..CDepen|
|00005d60| 64 65 6e 63 79 46 69 6c | 65 06 08 14 53 53 42 52 |dencyFil|e...SSBR|
|00005d70| 08 6d 61 74 72 69 78 2e | 68 01 00 0f 00 43 44 65 |.matrix.|h....CDe|
|00005d80| 70 65 6e 64 65 6e 63 79 | 46 69 6c 65 06 08 14 53 |pendency|File...S|
|00005d90| 53 42 52 06 62 61 73 65 | 2e 68 01 00 0f 00 43 44 |SBR.base|.h....CD|
|00005da0| 65 70 65 6e 64 65 6e 63 | 79 46 69 6c 65 06 08 14 |ependenc|yFile...|
|00005db0| 53 53 42 52 06 66 69 6c | 65 2e 68 01 00 0f 00 43 |SSBR.fil|e.h....C|
|00005dc0| 44 65 70 65 6e 64 65 6e | 63 79 46 69 6c 65 06 08 |Dependen|cyFile..|
|00005dd0| 14 53 53 42 52 05 66 6c | 69 2e 68 01 00 0f 00 43 |.SSBR.fl|i.h....C|
|00005de0| 44 65 70 65 6e 64 65 6e | 63 79 46 69 6c 65 06 08 |Dependen|cyFile..|
|00005df0| 14 53 53 42 52 09 33 64 | 6d 61 74 68 73 2e 68 01 |.SSBR.3d|maths.h.|
|00005e00| 00 0f 00 43 44 65 70 65 | 6e 64 65 6e 63 79 46 69 |...CDepe|ndencyFi|
|00005e10| 6c 65 06 08 14 53 53 42 | 52 07 73 6f 75 6e 64 2e |le...SSB|R.sound.|
|00005e20| 68 01 00 0f 00 43 44 65 | 70 65 6e 64 65 6e 63 79 |h....CDe|pendency|
|00005e30| 46 69 6c 65 06 08 14 53 | 53 42 52 07 6d 6f 75 73 |File...S|SBR.mous|
|00005e40| 65 2e 68 01 00 0f 00 43 | 44 65 70 65 6e 64 65 6e |e.h....C|Dependen|
|00005e50| 63 79 46 69 6c 65 06 08 | 14 53 53 42 52 09 70 61 |cyFile..|.SSBR.pa|
|00005e60| 6c 65 74 74 65 2e 68 01 | 00 0f 00 43 44 65 70 65 |lette.h.|...CDepe|
|00005e70| 6e 64 65 6e 63 79 46 69 | 6c 65 06 08 14 53 53 42 |ndencyFi|le...SSB|
|00005e80| 52 0a 66 6d 61 74 68 73 | 2e 69 6e 6c 01 00 0f 00 |R.fmaths|.inl....|
|00005e90| 43 44 65 70 65 6e 64 65 | 6e 63 79 46 69 6c 65 06 |CDepende|ncyFile.|
|00005ea0| 08 14 53 53 42 52 08 64 | 72 61 77 2e 69 6e 6c 01 |..SSBR.d|raw.inl.|
|00005eb0| 00 0f 00 43 44 65 70 65 | 6e 64 65 6e 63 79 46 69 |...CDepe|ndencyFi|
|00005ec0| 6c 65 06 08 14 53 53 42 | 52 07 61 73 6d 2e 69 6e |le...SSB|R.asm.in|
|00005ed0| 6c 01 00 0f 00 43 44 65 | 70 65 6e 64 65 6e 63 79 |l....CDe|pendency|
|00005ee0| 46 69 6c 65 06 08 14 53 | 53 42 52 07 67 75 69 2e |File...S|SBR.gui.|
|00005ef0| 69 6e 6c 01 00 0f 00 43 | 44 65 70 65 6e 64 65 6e |inl....C|Dependen|
|00005f00| 63 79 46 69 6c 65 06 08 | 14 53 53 42 52 06 6d 69 |cyFile..|.SSBR.mi|
|00005f10| 64 69 2e 68 01 00 0f 00 | 43 44 65 70 65 6e 64 65 |di.h....|CDepende|
|00005f20| 6e 63 79 46 69 6c 65 06 | 08 14 53 53 42 52 06 74 |ncyFile.|..SSBR.t|
|00005f30| 65 78 74 2e 68 01 00 0f | 00 43 44 65 70 65 6e 64 |ext.h...|.CDepend|
|00005f40| 65 6e 63 79 46 69 6c 65 | 06 08 14 53 53 42 52 09 |encyFile|...SSBR.|
|00005f50| 61 6c 6c 65 67 72 6f 2e | 68 01 00 0f 00 43 44 65 |allegro.|h....CDe|
|00005f60| 70 65 6e 64 65 6e 63 79 | 46 69 6c 65 06 08 14 53 |pendency|File...S|
|00005f70| 53 42 52 0a 6a 6f 79 73 | 74 69 63 6b 2e 68 01 00 |SBR.joys|tick.h..|
|00005f80| 0f 00 43 44 65 70 65 6e | 64 65 6e 63 79 46 69 6c |..CDepen|dencyFil|
|00005f90| 65 06 08 14 53 53 42 52 | 07 67 66 78 2e 69 6e 6c |e...SSBR|.gfx.inl|
|00005fa0| 01 00 0f 00 43 44 65 70 | 65 6e 64 65 6e 63 79 46 |....CDep|endencyF|
|00005fb0| 69 6c 65 06 08 14 53 53 | 42 52 09 75 6e 69 63 6f |ile...SS|BR.unico|
|00005fc0| 64 65 2e 68 01 00 0f 00 | 43 44 65 70 65 6e 64 65 |de.h....|CDepende|
|00005fd0| 6e 63 79 46 69 6c 65 06 | 08 14 53 53 42 52 08 66 |ncyFile.|..SSBR.f|
|00005fe0| 6d 61 74 68 73 2e 68 01 | 00 0f 00 43 44 65 70 65 |maths.h.|...CDepe|
|00005ff0| 6e 64 65 6e 63 79 46 69 | 6c 65 06 08 14 53 53 42 |ndencyFi|le...SSB|
|00006000| 52 04 33 64 2e 68 01 00 | 0f 00 43 44 65 70 65 6e |R.3d.h..|..CDepen|
|00006010| 64 65 6e 63 79 46 69 6c | 65 06 08 14 53 53 42 52 |dencyFil|e...SSBR|
|00006020| 05 08 14 44 4a 57 05 08 | 14 44 4a 57 05 08 14 44 |...DJW..|.DJW...D|
|00006030| 4a 57 45 28 63 6c 61 73 | 73 5f 6e 61 6d 65 29 0a |JWE(clas|s_name).|
|00006040| 23 64 65 66 69 6e 65 20 | 44 45 43 4c 41 52 45 5f |#define |DECLARE_|
|00006050| 4f 4c 45 54 59 50 45 4c | 49 42 28 63 6c 61 73 73 |OLETYPEL|IB(class|
|00006060| 5f 6e 61 6d 65 29 0a 23 | 64 65 66 69 6e 65 20 44 |_name).#|define D|
|00006070| 45 43 4c 41 52 45 5f 4f | 4e 4c 59 5f 41 47 47 52 |ECLARE_O|NLY_AGGR|
|00006080| 45 47 41 54 41 42 4c 45 | 28 78 29 0a 23 64 65 66 |EGATABLE|(x).#def|
|00006090| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 4f 50 41 51 |ine DECL|ARE_OPAQ|
|000060a0| 55 45 33 32 28 78 29 0a | 23 64 65 66 69 6e 65 20 |UE32(x).|#define |
|000060b0| 44 45 43 4c 41 52 45 5f | 50 41 52 53 45 5f 4d 41 |DECLARE_|PARSE_MA|
|000060c0| 50 28 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |P().#def|ine DECL|
|000060d0| 41 52 45 5f 50 4f 4c 59 | 5f 41 47 47 52 45 47 41 |ARE_POLY|_AGGREGA|
|000060e0| 54 41 42 4c 45 28 78 29 | 0a 23 64 65 66 69 6e 65 |TABLE(x)|.#define|
|000060f0| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 50 45 52 54 | DECLARE|_PROPERT|
|00006100| 59 5f 53 55 50 50 4f 52 | 54 28 63 6c 61 73 73 29 |Y_SUPPOR|T(class)|
|00006110| 0a 23 64 65 66 69 6e 65 | 20 44 45 43 4c 41 52 45 |.#define| DECLARE|
|00006120| 5f 50 52 4f 50 50 41 47 | 45 49 44 53 28 63 6c 61 |_PROPPAG|EIDS(cla|
|00006130| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00006140| 20 44 45 43 4c 41 52 45 | 5f 50 52 4f 54 45 43 54 | DECLARE|_PROTECT|
|00006150| 5f 46 49 4e 41 4c 5f 43 | 4f 4e 53 54 52 55 43 54 |_FINAL_C|ONSTRUCT|
|00006160| 28 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |().#defi|ne DECLA|
|00006170| 52 45 5f 52 45 47 49 53 | 54 52 59 28 63 6c 61 73 |RE_REGIS|TRY(clas|
|00006180| 73 2c 20 70 69 64 2c 20 | 76 70 69 64 2c 20 6e 69 |s, pid, |vpid, ni|
|00006190| 64 2c 20 66 6c 61 67 73 | 29 0a 23 64 65 66 69 6e |d, flags|).#defin|
|000061a0| 65 20 44 45 43 4c 41 52 | 45 5f 52 45 47 49 53 54 |e DECLAR|E_REGIST|
|000061b0| 52 59 5f 52 45 53 4f 55 | 52 43 45 28 78 29 0a 23 |RY_RESOU|RCE(x).#|
|000061c0| 64 65 66 69 6e 65 20 44 | 45 43 4c 41 52 45 5f 52 |define D|ECLARE_R|
|000061d0| 45 47 49 53 54 52 59 5f | 52 45 53 4f 55 52 43 45 |EGISTRY_|RESOURCE|
|000061e0| 49 44 28 78 29 0a 23 64 | 65 66 69 6e 65 20 44 45 |ID(x).#d|efine DE|
|000061f0| 43 4c 41 52 45 5f 53 45 | 52 49 41 4c 28 63 6c 61 |CLARE_SE|RIAL(cla|
|00006200| 73 73 5f 6e 61 6d 65 29 | 0a 23 64 65 66 69 6e 65 |ss_name)|.#define|
|00006210| 20 44 45 43 4c 41 52 45 | 5f 53 54 41 54 49 43 5f | DECLARE|_STATIC_|
|00006220| 52 45 47 49 53 54 52 59 | 5f 52 45 53 4f 55 52 43 |REGISTRY|_RESOURC|
|00006230| 45 28 78 29 0a 23 64 65 | 66 69 6e 65 20 44 45 43 |E(x).#de|fine DEC|
|00006240| 4c 41 52 45 5f 53 54 41 | 54 49 43 5f 52 45 47 49 |LARE_STA|TIC_REGI|
|00006250| 53 54 52 59 5f 52 45 53 | 4f 55 52 43 45 49 44 28 |STRY_RES|OURCEID(|
|00006260| 78 29 0a 23 64 65 66 69 | 6e 65 20 44 45 43 4c 41 |x).#defi|ne DECLA|
|00006270| 52 45 5f 56 49 45 57 5f | 53 54 41 54 55 53 28 73 |RE_VIEW_|STATUS(s|
|00006280| 74 61 74 75 73 46 6c 61 | 67 73 29 0a 23 64 65 66 |tatusFla|gs).#def|
|00006290| 69 6e 65 20 44 45 43 4c | 41 52 45 5f 57 4e 44 5f |ine DECL|ARE_WND_|
|000062a0| 43 4c 41 53 53 28 57 6e | 64 43 6c 61 73 73 4e 61 |CLASS(Wn|dClassNa|
|000062b0| 6d 65 29 0a 23 64 65 66 | 69 6e 65 20 44 45 43 4c |me).#def|ine DECL|
|000062c0| 41 52 45 5f 57 4e 44 5f | 53 55 50 45 52 43 4c 41 |ARE_WND_|SUPERCLA|
|000062d0| 53 53 28 57 6e 64 43 6c | 61 73 73 4e 61 6d 65 2c |SS(WndCl|assName,|
|000062e0| 20 4f 72 69 67 57 6e 64 | 43 6c 61 73 73 4e 61 6d | OrigWnd|ClassNam|
|000062f0| 65 29 0a 23 64 65 66 69 | 6e 65 20 44 45 46 49 4e |e).#defi|ne DEFIN|
|00006300| 45 5f 43 4f 4d 4d 41 4e | 44 28 78 2c 20 73 7a 43 |E_COMMAN|D(x, szC|
|00006310| 6f 6d 6d 61 6e 64 29 0a | 23 64 65 66 69 6e 65 20 |ommand).|#define |
|00006320| 44 45 4c 45 47 41 54 45 | 5f 44 55 41 4c 5f 49 4e |DELEGATE|_DUAL_IN|
|00006330| 54 45 52 46 41 43 45 28 | 6f 62 6a 65 63 74 43 6c |TERFACE(|objectCl|
|00006340| 61 73 73 2c 20 64 75 61 | 6c 43 6c 61 73 73 29 0a |ass, dua|lClass).|
|00006350| 23 64 65 66 69 6e 65 20 | 45 4e 44 5f 43 4f 4e 4e |#define |END_CONN|
|00006360| 45 43 54 49 4f 4e 5f 50 | 41 52 54 28 6c 6f 63 61 |ECTION_P|ART(loca|
|00006370| 6c 43 6c 61 73 73 29 20 | 7d 20 6d 5f 78 23 23 6c |lClass) |} m_x##l|
|00006380| 6f 63 61 6c 43 6c 61 73 | 73 3b 20 66 72 69 65 6e |ocalClas|s; frien|
|00006390| 64 20 63 6c 61 73 73 20 | 58 23 23 6c 6f 63 61 6c |d class |X##local|
|000063a0| 43 6c 61 73 73 3b 0a 23 | 64 65 66 69 6e 65 20 45 |Class;.#|define E|
|000063b0| 4e 44 5f 44 55 41 4c 5f | 49 4e 54 45 52 46 41 43 |ND_DUAL_|INTERFAC|
|000063c0| 45 5f 50 41 52 54 28 6c | 6f 63 61 6c 43 6c 61 73 |E_PART(l|ocalClas|
|000063d0| 73 29 20 7d 20 6d 5f 78 | 23 23 6c 6f 63 61 6c 43 |s) } m_x|##localC|
|000063e0| 6c 61 73 73 3b 20 66 72 | 69 65 6e 64 20 63 6c 61 |lass; fr|iend cla|
|000063f0| 73 73 20 58 23 23 6c 6f | 63 61 6c 43 6c 61 73 73 |ss X##lo|calClass|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.