home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 16 / IOPROG_16.ISO / soft / macaxsdk / macsdk.hqx / ActiveX DR3 SDK / ActiveX SDK / Control Common / CConnectionPoint.cpp < prev    next >
MacBinary  |  1997-04-30  |  6.0 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Apr 30 14:47:59 1997, modified Wed Apr 30 14:47:59 1997, creator 'CWIE', type ASCII, 5381 bytes "CConnectionPoint.cpp" , at 0x1585 456 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 43 43 6f 6e 6e 65 | 63 74 69 6f 6e 50 6f 69 |..CConne|ctionPoi|
|00000010| 6e 74 2e 63 70 70 00 00 | 00 00 00 00 00 00 00 00 |nt.cpp..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 15 05 00 | 00 01 c8 af 8d 44 5f af |........|.....D_.|
|00000060| 8d 44 5f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.D_.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b1 ca 00 00 |........|........|
|00000080| 2f 2f 20 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |// =====|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 0d 2f 2f 0d 2f 2f 20 3e | 3e 3e 20 a9 20 31 39 39 |.//.// >|>> . 199|
|000000e0| 36 2d 31 39 39 37 20 4d | 69 63 72 6f 73 6f 66 74 |6-1997 M|icrosoft|
|000000f0| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 2e 20 20 41 | Corpora|tion. A|
|00000100| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|00000110| 65 64 2e 20 3c 3c 3c 0d | 2f 2f 0d 2f 2f 20 3d 3d |ed. <<<.|//.// ==|
|00000120| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000130| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000140| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000150| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000160| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0d 23 69 6e |========|===..#in|
|00000170| 63 6c 75 64 65 20 22 41 | 58 43 6f 6e 74 72 6f 6c |clude "A|XControl|
|00000180| 48 65 61 64 65 72 73 2e | 68 22 0d 23 69 6e 63 6c |Headers.|h".#incl|
|00000190| 75 64 65 20 3c 4c 41 72 | 72 61 79 2e 68 3e 0d 23 |ude <LAr|ray.h>.#|
|000001a0| 69 6e 63 6c 75 64 65 20 | 3c 4c 41 72 72 61 79 49 |include |<LArrayI|
|000001b0| 74 65 72 61 74 6f 72 2e | 68 3e 0d 23 69 6e 63 6c |terator.|h>.#incl|
|000001c0| 75 64 65 20 22 43 45 6e | 75 6d 43 6f 6e 6e 65 63 |ude "CEn|umConnec|
|000001d0| 74 69 6f 6e 73 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |tions.h"|.#includ|
|000001e0| 65 20 22 43 43 6f 6e 6e | 65 63 74 69 6f 6e 50 6f |e "CConn|ectionPo|
|000001f0| 69 6e 74 2e 68 22 0d 0d | 23 64 65 66 69 6e 65 20 |int.h"..|#define |
|00000200| 41 50 50 45 4e 44 49 54 | 45 4d 09 4c 41 72 72 61 |APPENDIT|EM.LArra|
|00000210| 79 3a 3a 69 6e 64 65 78 | 5f 4c 61 73 74 09 2f 2f |y::index|_Last.//|
|00000220| 20 4c 61 72 67 65 20 6e | 75 6d 62 65 72 20 74 6f | Large n|umber to|
|00000230| 20 66 6f 72 63 65 20 61 | 70 70 65 6e 64 69 6e 67 | force a|ppending|
|00000240| 20 74 6f 20 61 6e 20 61 | 72 72 61 79 0d 0d 23 70 | to an a|rray..#p|
|00000250| 72 61 67 6d 61 20 6d 61 | 72 6b 20 3d 3d 3d 20 43 |ragma ma|rk === C|
|00000260| 43 6f 6e 6e 65 63 74 69 | 6f 6e 50 6f 69 6e 74 3a |Connecti|onPoint:|
|00000270| 3a 43 6f 6e 73 74 72 75 | 63 74 69 6f 6e 20 26 20 |:Constru|ction & |
|00000280| 44 65 73 74 72 75 63 74 | 69 6f 6e 20 3d 3d 3d 0d |Destruct|ion ===.|
|00000290| 0d 2f 2f 0d 2f 2f 20 20 | 43 43 6f 6e 6e 65 63 74 |.//.// |CConnect|
|000002a0| 69 6f 6e 50 6f 69 6e 74 | 3a 3a 43 43 6f 6e 6e 65 |ionPoint|::CConne|
|000002b0| 63 74 69 6f 6e 50 6f 69 | 6e 74 0d 2f 2f 0d 43 43 |ctionPoi|nt.//.CC|
|000002c0| 6f 6e 6e 65 63 74 69 6f | 6e 50 6f 69 6e 74 3a 3a |onnectio|nPoint::|
|000002d0| 43 43 6f 6e 6e 65 63 74 | 69 6f 6e 50 6f 69 6e 74 |CConnect|ionPoint|
|000002e0| 28 76 6f 69 64 2a 20 4f | 77 6e 65 72 2c 20 49 49 |(void* O|wner, II|
|000002f0| 44 20 49 6e 74 65 72 66 | 61 63 65 49 44 29 0d 7b |D Interf|aceID).{|
|00000300| 0d 09 6d 5f 52 65 66 43 | 6f 75 6e 74 20 3d 20 31 |..m_RefC|ount = 1|
|00000310| 3b 0d 09 6d 5f 4f 77 6e | 65 72 20 3d 20 28 49 55 |;..m_Own|er = (IU|
|00000320| 6e 6b 6e 6f 77 6e 2a 29 | 20 4f 77 6e 65 72 3b 0d |nknown*)| Owner;.|
|00000330| 09 69 66 20 28 6d 5f 4f | 77 6e 65 72 29 0d 09 09 |.if (m_O|wner)...|
|00000340| 6d 5f 4f 77 6e 65 72 2d | 3e 41 64 64 52 65 66 28 |m_Owner-|>AddRef(|
|00000350| 29 3b 0d 09 6d 5f 49 6e | 74 65 72 66 61 63 65 49 |);..m_In|terfaceI|
|00000360| 44 20 3d 20 49 6e 74 65 | 72 66 61 63 65 49 44 3b |D = Inte|rfaceID;|
|00000370| 0d 09 6d 5f 43 6f 6f 6b | 69 65 4e 65 78 74 20 3d |..m_Cook|ieNext =|
|00000380| 20 31 30 30 3b 0d 09 0d | 09 6d 5f 49 55 6e 6b 6e | 100;...|.m_IUnkn|
|00000390| 6f 77 6e 20 3d 20 6e 65 | 77 20 4c 41 72 72 61 79 |own = ne|w LArray|
|000003a0| 28 73 69 7a 65 6f 66 28 | 49 55 6e 6b 6e 6f 77 6e |(sizeof(|IUnknown|
|000003b0| 2a 29 29 3b 0d 09 6d 5f | 43 6f 6f 6b 69 65 73 20 |*));..m_|Cookies |
|000003c0| 3d 20 6e 65 77 20 4c 41 | 72 72 61 79 28 73 69 7a |= new LA|rray(siz|
|000003d0| 65 6f 66 28 44 57 4f 52 | 44 29 29 3b 0d 7d 0d 0d |eof(DWOR|D));.}..|
|000003e0| 0d 2f 2f 0d 2f 2f 20 20 | 43 43 6f 6e 6e 65 63 74 |.//.// |CConnect|
|000003f0| 69 6f 6e 50 6f 69 6e 74 | 3a 3a 7e 43 43 6f 6e 6e |ionPoint|::~CConn|
|00000400| 65 63 74 69 6f 6e 50 6f | 69 6e 74 0d 2f 2f 0d 43 |ectionPo|int.//.C|
|00000410| 43 6f 6e 6e 65 63 74 69 | 6f 6e 50 6f 69 6e 74 3a |Connecti|onPoint:|
|00000420| 3a 7e 43 43 6f 6e 6e 65 | 63 74 69 6f 6e 50 6f 69 |:~CConne|ctionPoi|
|00000430| 6e 74 28 76 6f 69 64 29 | 0d 7b 0d 09 49 55 6e 6b |nt(void)|.{..IUnk|
|00000440| 6e 6f 77 6e 2a 09 09 09 | 74 68 65 53 69 6e 6b 3b |nown*...|theSink;|
|00000450| 0d 09 4c 41 72 72 61 79 | 49 74 65 72 61 74 6f 72 |..LArray|Iterator|
|00000460| 09 09 74 68 65 49 74 65 | 72 61 74 6f 72 28 2a 6d |..theIte|rator(*m|
|00000470| 5f 49 55 6e 6b 6e 6f 77 | 6e 29 3b 0d 0d 09 77 68 |_IUnknow|n);...wh|
|00000480| 69 6c 65 20 28 74 68 65 | 49 74 65 72 61 74 6f 72 |ile (the|Iterator|
|00000490| 2e 4e 65 78 74 28 26 74 | 68 65 53 69 6e 6b 29 29 |.Next(&t|heSink))|
|000004a0| 0d 09 7b 0d 09 09 74 68 | 65 53 69 6e 6b 2d 3e 52 |..{...th|eSink->R|
|000004b0| 65 6c 65 61 73 65 28 29 | 3b 0d 09 7d 0d 0d 09 64 |elease()|;..}...d|
|000004c0| 65 6c 65 74 65 20 6d 5f | 49 55 6e 6b 6e 6f 77 6e |elete m_|IUnknown|
|000004d0| 3b 0d 09 64 65 6c 65 74 | 65 20 6d 5f 43 6f 6f 6b |;..delet|e m_Cook|
|000004e0| 69 65 73 3b 0d 09 0d 09 | 69 66 20 28 6d 5f 4f 77 |ies;....|if (m_Ow|
|000004f0| 6e 65 72 29 0d 09 09 6d | 5f 4f 77 6e 65 72 2d 3e |ner)...m|_Owner->|
|00000500| 52 65 6c 65 61 73 65 28 | 29 3b 0d 7d 0d 0d 0d 23 |Release(|);.}...#|
|00000510| 70 72 61 67 6d 61 20 6d | 61 72 6b 20 3d 3d 3d 20 |pragma m|ark === |
|00000520| 43 43 6f 6e 6e 65 63 74 | 69 6f 6e 50 6f 69 6e 74 |CConnect|ionPoint|
|00000530| 3a 3a 50 75 62 6c 69 63 | 20 6d 65 74 68 6f 64 73 |::Public| methods|
|00000540| 20 3d 3d 3d 0d 0d 2f 2f | 0d 2f 2f 20 20 43 43 6f | ===..//|.// CCo|
|00000550| 6e 6e 65 63 74 69 6f 6e | 50 6f 69 6e 74 3a 3a 52 |nnection|Point::R|
|00000560| 65 6c 65 61 73 65 43 6f | 6e 6e 65 63 74 69 6f 6e |eleaseCo|nnection|
|00000570| 73 0d 2f 2f 0d 76 6f 69 | 64 0d 43 43 6f 6e 6e 65 |s.//.voi|d.CConne|
|00000580| 63 74 69 6f 6e 50 6f 69 | 6e 74 3a 3a 52 65 6c 65 |ctionPoi|nt::Rele|
|00000590| 61 73 65 43 6f 6e 6e 65 | 63 74 69 6f 6e 73 28 76 |aseConne|ctions(v|
|000005a0| 6f 69 64 29 0d 7b 0d 09 | 55 69 6e 74 33 32 09 09 |oid).{..|Uint32..|
|000005b0| 09 74 68 65 43 6f 75 6e | 74 3b 0d 09 41 72 72 61 |.theCoun|t;..Arra|
|000005c0| 79 49 6e 64 65 78 54 09 | 09 69 6e 64 65 78 3b 0d |yIndexT.|.index;.|
|000005d0| 09 0d 09 74 68 65 43 6f | 75 6e 74 20 3d 20 6d 5f |...theCo|unt = m_|
|000005e0| 49 55 6e 6b 6e 6f 77 6e | 2d 3e 47 65 74 43 6f 75 |IUnknown|->GetCou|
|000005f0| 6e 74 28 29 3b 0d 09 0d | 09 66 6f 72 20 28 69 6e |nt();...|.for (in|
|00000600| 64 65 78 20 3d 20 74 68 | 65 43 6f 75 6e 74 3b 20 |dex = th|eCount; |
|00000610| 69 6e 64 65 78 20 3e 20 | 30 3b 20 69 6e 64 65 78 |index > |0; index|
|00000620| 2d 2d 29 0d 09 7b 0d 09 | 09 45 6e 64 43 6f 6e 6e |--)..{..|.EndConn|
|00000630| 65 63 74 69 6f 6e 28 69 | 6e 64 65 78 29 3b 0d 09 |ection(i|ndex);..|
|00000640| 7d 0d 7d 0d 0d 0d 23 70 | 72 61 67 6d 61 20 6d 61 |}.}...#p|ragma ma|
|00000650| 72 6b 20 3d 3d 3d 20 43 | 43 6f 6e 6e 65 63 74 69 |rk === C|Connecti|
|00000660| 6f 6e 50 6f 69 6e 74 3a | 3a 49 55 6e 6b 6e 6f 77 |onPoint:|:IUnknow|
|00000670| 6e 20 6d 65 74 68 6f 64 | 73 20 3d 3d 3d 0d 0d 2f |n method|s ===../|
|00000680| 2f 0d 2f 2f 20 20 43 43 | 6f 6e 6e 65 63 74 69 6f |/.// CC|onnectio|
|00000690| 6e 50 6f 69 6e 74 3a 3a | 49 55 6e 6b 6e 6f 77 6e |nPoint::|IUnknown|
|000006a0| 3a 3a 51 75 65 72 79 49 | 6e 74 65 72 66 61 63 65 |::QueryI|nterface|
|000006b0| 0d 2f 2f 0d 2f 2f 20 20 | 52 65 74 75 72 6e 73 20 |.//.// |Returns |
|000006c0| 61 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 74 68 65 |a pointe|r to the|
|000006d0| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 74 65 72 | specifi|ed inter|
|000006e0| 66 61 63 65 20 6f 6e 20 | 61 20 63 6f 6d 70 6f 6e |face on |a compon|
|000006f0| 65 6e 74 20 74 6f 20 77 | 68 69 63 68 20 61 0d 2f |ent to w|hich a./|
|00000700| 2f 20 20 63 6c 69 65 6e | 74 20 63 75 72 72 65 6e |/ clien|t curren|
|00000710| 74 6c 79 20 68 6f 6c 64 | 73 20 61 6e 20 69 6e 74 |tly hold|s an int|
|00000720| 65 72 66 61 63 65 20 70 | 6f 69 6e 74 65 72 2e 0d |erface p|ointer..|
|00000730| 2f 2f 0d 53 54 44 4d 45 | 54 48 4f 44 49 4d 50 0d |//.STDME|THODIMP.|
|00000740| 43 43 6f 6e 6e 65 63 74 | 69 6f 6e 50 6f 69 6e 74 |CConnect|ionPoint|
|00000750| 3a 3a 51 75 65 72 79 49 | 6e 74 65 72 66 61 63 65 |::QueryI|nterface|
|00000760| 28 52 45 46 49 49 44 20 | 52 65 66 49 44 2c 20 76 |(REFIID |RefID, v|
|00000770| 6f 69 64 2a 2a 20 4f 62 | 6a 29 0d 7b 0d 20 20 20 |oid** Ob|j).{. |
|00000780| 20 76 6f 69 64 2a 20 70 | 76 3b 0d 0d 20 20 20 20 | void* p|v;.. |
|00000790| 69 66 20 28 52 65 66 49 | 44 20 3d 3d 20 49 49 44 |if (RefI|D == IID|
|000007a0| 5f 49 55 6e 6b 6e 6f 77 | 6e 29 0d 20 20 20 20 09 |_IUnknow|n). .|
|000007b0| 70 76 20 3d 20 28 76 6f | 69 64 2a 29 20 74 68 69 |pv = (vo|id*) thi|
|000007c0| 73 3b 0d 20 20 20 20 65 | 6c 73 65 20 69 66 20 28 |s;. e|lse if (|
|000007d0| 52 65 66 49 44 20 3d 3d | 20 49 49 44 5f 49 43 6f |RefID ==| IID_ICo|
|000007e0| 6e 6e 65 63 74 69 6f 6e | 50 6f 69 6e 74 20 29 0d |nnection|Point ).|
|000007f0| 20 20 20 20 20 20 20 20 | 70 76 20 3d 20 28 76 6f | |pv = (vo|
|00000800| 69 64 2a 29 28 49 43 6f | 6e 6e 65 63 74 69 6f 6e |id*)(ICo|nnection|
|00000810| 50 6f 69 6e 74 2a 29 20 | 74 68 69 73 3b 0d 20 20 |Point*) |this;. |
|00000820| 20 20 65 6c 73 65 20 7b | 0d 20 20 20 20 20 20 20 | else {|. |
|00000830| 20 2a 4f 62 6a 20 3d 20 | 4e 55 4c 4c 3b 0d 20 20 | *Obj = |NULL;. |
|00000840| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 45 5f 4e | re|turn E_N|
|00000850| 4f 49 4e 54 45 52 46 41 | 43 45 3b 0d 20 20 20 20 |OINTERFA|CE;. |
|00000860| 7d 0d 0d 20 20 20 20 2a | 4f 62 6a 20 3d 20 70 76 |}.. *|Obj = pv|
|00000870| 3b 0d 20 20 20 20 28 28 | 49 55 6e 6b 6e 6f 77 6e |;. ((|IUnknown|
|00000880| 2a 29 20 70 76 29 2d 3e | 41 64 64 52 65 66 28 29 |*) pv)->|AddRef()|
|00000890| 3b 0d 20 20 20 20 72 65 | 74 75 72 6e 20 53 5f 4f |;. re|turn S_O|
|000008a0| 4b 3b 0d 7d 0d 0d 0d 2f | 2f 0d 2f 2f 20 20 43 43 |K;.}.../|/.// CC|
|000008b0| 6f 6e 6e 65 63 74 69 6f | 6e 50 6f 69 6e 74 3a 3a |onnectio|nPoint::|
|000008c0| 49 55 6e 6b 6e 6f 77 6e | 3a 3a 41 64 64 52 65 66 |IUnknown|::AddRef|
|000008d0| 0d 2f 2f 0d 2f 2f 20 20 | 49 6e 63 72 65 6d 65 6e |.//.// |Incremen|
|000008e0| 74 73 20 74 68 65 20 72 | 65 66 65 72 65 6e 63 65 |ts the r|eference|
|000008f0| 20 63 6f 75 6e 74 20 66 | 6f 72 20 74 68 65 20 63 | count f|or the c|
|00000900| 61 6c 6c 69 6e 67 20 69 | 6e 74 65 72 66 61 63 65 |alling i|nterface|
|00000910| 2e 0d 2f 2f 0d 53 54 44 | 4d 45 54 48 4f 44 49 4d |..//.STD|METHODIM|
|00000920| 50 5f 28 55 69 6e 74 33 | 32 29 0d 43 43 6f 6e 6e |P_(Uint3|2).CConn|
|00000930| 65 63 74 69 6f 6e 50 6f | 69 6e 74 3a 3a 41 64 64 |ectionPo|int::Add|
|00000940| 52 65 66 28 76 6f 69 64 | 29 0d 7b 0d 20 20 20 20 |Ref(void|).{. |
|00000950| 72 65 74 75 72 6e 20 2b | 2b 6d 5f 52 65 66 43 6f |return +|+m_RefCo|
|00000960| 75 6e 74 3b 0d 7d 0d 0d | 0d 2f 2f 0d 2f 2f 20 20 |unt;.}..|.//.// |
|00000970| 43 43 6f 6e 6e 65 63 74 | 69 6f 6e 50 6f 69 6e 74 |CConnect|ionPoint|
|00000980| 3a 3a 49 55 6e 6b 6e 6f | 77 6e 3a 3a 52 65 6c 65 |::IUnkno|wn::Rele|
|00000990| 61 73 65 0d 2f 2f 0d 2f | 2f 20 20 44 65 63 72 65 |ase.//./|/ Decre|
|000009a0| 6d 65 6e 74 73 20 74 68 | 65 20 72 65 66 65 72 65 |ments th|e refere|
|000009b0| 6e 63 65 20 63 6f 75 6e | 74 20 66 6f 72 20 74 68 |nce coun|t for th|
|000009c0| 65 20 63 61 6c 6c 69 6e | 67 20 69 6e 74 65 72 66 |e callin|g interf|
|000009d0| 61 63 65 20 6f 6e 20 61 | 20 6f 62 6a 65 63 74 2e |ace on a| object.|
|000009e0| 20 20 49 66 0d 2f 2f 20 | 20 74 68 65 20 72 65 66 | If.// | the ref|
|000009f0| 65 72 65 6e 63 65 20 63 | 6f 75 6e 74 20 6f 6e 20 |erence c|ount on |
|00000a00| 74 68 65 20 6f 62 6a 65 | 63 74 20 66 61 6c 6c 73 |the obje|ct falls|
|00000a10| 20 74 6f 20 7a 65 72 6f | 2c 20 74 68 65 20 6f 62 | to zero|, the ob|
|00000a20| 6a 65 63 74 20 69 73 20 | 66 72 65 65 64 2e 0d 2f |ject is |freed../|
|00000a30| 2f 0d 53 54 44 4d 45 54 | 48 4f 44 49 4d 50 5f 28 |/.STDMET|HODIMP_(|
|00000a40| 55 69 6e 74 33 32 29 0d | 43 43 6f 6e 6e 65 63 74 |Uint32).|CConnect|
|00000a50| 69 6f 6e 50 6f 69 6e 74 | 3a 3a 52 65 6c 65 61 73 |ionPoint|::Releas|
|00000a60| 65 28 76 6f 69 64 29 0d | 7b 0d 20 20 20 20 69 66 |e(void).|{. if|
|00000a70| 20 28 2d 2d 6d 5f 52 65 | 66 43 6f 75 6e 74 20 21 | (--m_Re|fCount !|
|00000a80| 3d 20 30 29 0d 20 20 20 | 20 20 20 20 20 72 65 74 |= 0). | ret|
|00000a90| 75 72 6e 20 6d 5f 52 65 | 66 43 6f 75 6e 74 3b 0d |urn m_Re|fCount;.|
|00000aa0| 0d 20 20 20 20 64 65 6c | 65 74 65 20 74 68 69 73 |. del|ete this|
|00000ab0| 3b 0d 20 20 20 20 72 65 | 74 75 72 6e 20 30 3b 0d |;. re|turn 0;.|
|00000ac0| 7d 0d 0d 0d 0d 23 70 72 | 61 67 6d 61 20 6d 61 72 |}....#pr|agma mar|
|00000ad0| 6b 20 3d 3d 3d 20 43 43 | 6f 6e 6e 65 63 74 69 6f |k === CC|onnectio|
|00000ae0| 6e 50 6f 69 6e 74 3a 3a | 49 43 6f 6e 6e 65 63 74 |nPoint::|IConnect|
|00000af0| 69 6f 6e 50 6f 69 6e 74 | 20 6d 65 74 68 6f 64 73 |ionPoint| methods|
|00000b00| 20 3d 3d 3d 0d 0d 2f 2f | 0d 2f 2f 20 20 43 43 6f | ===..//|.// CCo|
|00000b10| 6e 6e 65 63 74 69 6f 6e | 50 6f 69 6e 74 3a 3a 49 |nnection|Point::I|
|00000b20| 43 6f 6e 6e 65 63 74 69 | 6f 6e 50 6f 69 6e 74 3a |Connecti|onPoint:|
|00000b30| 3a 47 65 74 43 6f 6e 6e | 65 63 74 69 6f 6e 49 6e |:GetConn|ectionIn|
|00000b40| 74 65 72 66 61 63 65 0d | 2f 2f 0d 53 54 44 4d 45 |terface.|//.STDME|
|00000b50| 54 48 4f 44 49 4d 50 0d | 43 43 6f 6e 6e 65 63 74 |THODIMP.|CConnect|
|00000b60| 69 6f 6e 50 6f 69 6e 74 | 3a 3a 47 65 74 43 6f 6e |ionPoint|::GetCon|
|00000b70| 6e 65 63 74 69 6f 6e 49 | 6e 74 65 72 66 61 63 65 |nectionI|nterface|
|00000b80| 28 49 49 44 2a 20 49 6e | 74 65 72 66 61 63 65 49 |(IID* In|terfaceI|
|00000b90| 44 29 0d 7b 0d 09 2a 49 | 6e 74 65 72 66 61 63 65 |D).{..*I|nterface|
|00000ba0| 49 44 20 3d 20 6d 5f 49 | 6e 74 65 72 66 61 63 65 |ID = m_I|nterface|
|00000bb0| 49 44 3b 0d 09 0d 09 72 | 65 74 75 72 6e 20 53 5f |ID;....r|eturn S_|
|00000bc0| 4f 4b 3b 0d 7d 0d 0d 0d | 2f 2f 0d 2f 2f 20 20 43 |OK;.}...|//.// C|
|00000bd0| 43 6f 6e 6e 65 63 74 69 | 6f 6e 50 6f 69 6e 74 3a |Connecti|onPoint:|
|00000be0| 3a 49 43 6f 6e 6e 65 63 | 74 69 6f 6e 50 6f 69 6e |:IConnec|tionPoin|
|00000bf0| 74 3a 3a 47 65 74 43 6f | 6e 6e 65 63 74 69 6f 6e |t::GetCo|nnection|
|00000c00| 50 6f 69 6e 74 43 6f 6e | 74 61 69 6e 65 72 0d 2f |PointCon|tainer./|
|00000c10| 2f 0d 53 54 44 4d 45 54 | 48 4f 44 49 4d 50 0d 43 |/.STDMET|HODIMP.C|
|00000c20| 43 6f 6e 6e 65 63 74 69 | 6f 6e 50 6f 69 6e 74 3a |Connecti|onPoint:|
|00000c30| 3a 47 65 74 43 6f 6e 6e | 65 63 74 69 6f 6e 50 6f |:GetConn|ectionPo|
|00000c40| 69 6e 74 43 6f 6e 74 61 | 69 6e 65 72 28 49 43 6f |intConta|iner(ICo|
|00000c50| 6e 6e 65 63 74 69 6f 6e | 50 6f 69 6e 74 43 6f 6e |nnection|PointCon|
|00000c60| 74 61 69 6e 65 72 2a 2a | 20 43 50 43 6f 6e 74 61 |tainer**| CPConta|
|00000c70| 69 6e 65 72 29 0d 7b 0d | 09 72 65 74 75 72 6e 20 |iner).{.|.return |
|00000c80| 6d 5f 4f 77 6e 65 72 2d | 3e 51 75 65 72 79 49 6e |m_Owner-|>QueryIn|
|00000c90| 74 65 72 66 61 63 65 28 | 49 49 44 5f 49 43 6f 6e |terface(|IID_ICon|
|00000ca0| 6e 65 63 74 69 6f 6e 50 | 6f 69 6e 74 43 6f 6e 74 |nectionP|ointCont|
|00000cb0| 61 69 6e 65 72 2c 20 28 | 76 6f 69 64 2a 2a 29 20 |ainer, (|void**) |
|00000cc0| 43 50 43 6f 6e 74 61 69 | 6e 65 72 29 3b 0d 7d 0d |CPContai|ner);.}.|
|00000cd0| 0d 0d 2f 2f 0d 2f 2f 20 | 20 43 43 6f 6e 6e 65 63 |..//.// | CConnec|
|00000ce0| 74 69 6f 6e 50 6f 69 6e | 74 3a 3a 49 43 6f 6e 6e |tionPoin|t::IConn|
|00000cf0| 65 63 74 69 6f 6e 50 6f | 69 6e 74 3a 3a 41 64 76 |ectionPo|int::Adv|
|00000d00| 69 73 65 0d 2f 2f 0d 53 | 54 44 4d 45 54 48 4f 44 |ise.//.S|TDMETHOD|
|00000d10| 49 4d 50 0d 43 43 6f 6e | 6e 65 63 74 69 6f 6e 50 |IMP.CCon|nectionP|
|00000d20| 6f 69 6e 74 3a 3a 41 64 | 76 69 73 65 28 49 55 6e |oint::Ad|vise(IUn|
|00000d30| 6b 6e 6f 77 6e 2a 20 55 | 6e 6b 6e 6f 77 6e 53 69 |known* U|nknownSi|
|00000d40| 6e 6b 2c 20 44 57 4f 52 | 44 2a 20 43 6f 6f 6b 69 |nk, DWOR|D* Cooki|
|00000d50| 65 29 0d 7b 0d 09 49 55 | 6e 6b 6e 6f 77 6e 2a 09 |e).{..IU|nknown*.|
|00000d60| 53 69 6e 6b 3b 0d 09 0d | 09 2f 2f 20 49 6e 69 74 |Sink;...|.// Init|
|00000d70| 69 61 6c 69 7a 65 20 74 | 68 65 20 63 6f 6f 6b 69 |ialize t|he cooki|
|00000d80| 65 0d 09 2a 43 6f 6f 6b | 69 65 20 3d 20 30 3b 0d |e..*Cook|ie = 0;.|
|00000d90| 09 0d 09 2f 2f 20 47 65 | 74 20 74 68 65 20 69 6e |...// Ge|t the in|
|00000da0| 74 65 72 66 61 63 65 20 | 74 68 69 73 20 63 6f 6e |terface |this con|
|00000db0| 6e 65 63 74 69 6f 6e 20 | 70 6f 69 6e 74 20 77 61 |nection |point wa|
|00000dc0| 6e 74 73 20 66 72 6f 6d | 20 74 68 65 20 55 6e 6b |nts from| the Unk|
|00000dd0| 6e 6f 77 6e 53 69 6e 6b | 0d 09 69 66 20 28 20 46 |nownSink|..if ( F|
|00000de0| 41 49 4c 45 44 28 55 6e | 6b 6e 6f 77 6e 53 69 6e |AILED(Un|knownSin|
|00000df0| 6b 2d 3e 51 75 65 72 79 | 49 6e 74 65 72 66 61 63 |k->Query|Interfac|
|00000e00| 65 28 6d 5f 49 6e 74 65 | 72 66 61 63 65 49 44 2c |e(m_Inte|rfaceID,|
|00000e10| 20 28 76 6f 69 64 2a 2a | 29 20 26 53 69 6e 6b 29 | (void**|) &Sink)|
|00000e20| 29 29 0d 09 09 72 65 74 | 75 72 6e 20 43 4f 4e 4e |))...ret|urn CONN|
|00000e30| 45 43 54 5f 45 5f 43 41 | 4e 4e 4f 54 43 4f 4e 4e |ECT_E_CA|NNOTCONN|
|00000e40| 45 43 54 3b 0d 09 53 69 | 6e 6b 2d 3e 52 65 6c 65 |ECT;..Si|nk->Rele|
|00000e50| 61 73 65 28 29 3b 0d 09 | 0d 09 2f 2f 20 41 70 70 |ase();..|..// App|
|00000e60| 65 6e 64 20 74 68 65 20 | 6e 65 77 20 73 69 6e 6b |end the |new sink|
|00000e70| 20 61 6e 64 20 63 6f 6f | 6b 69 65 09 0d 09 6d 5f | and coo|kie...m_|
|00000e80| 49 55 6e 6b 6e 6f 77 6e | 2d 3e 49 6e 73 65 72 74 |IUnknown|->Insert|
|00000e90| 49 74 65 6d 73 41 74 28 | 31 2c 20 41 50 50 45 4e |ItemsAt(|1, APPEN|
|00000ea0| 44 49 54 45 4d 2c 20 26 | 55 6e 6b 6e 6f 77 6e 53 |DITEM, &|UnknownS|
|00000eb0| 69 6e 6b 29 3b 0d 09 6d | 5f 43 6f 6f 6b 69 65 73 |ink);..m|_Cookies|
|00000ec0| 2d 3e 49 6e 73 65 72 74 | 49 74 65 6d 73 41 74 28 |->Insert|ItemsAt(|
|00000ed0| 31 2c 20 41 50 50 45 4e | 44 49 54 45 4d 2c 20 26 |1, APPEN|DITEM, &|
|00000ee0| 6d 5f 43 6f 6f 6b 69 65 | 4e 65 78 74 29 3b 0d 09 |m_Cookie|Next);..|
|00000ef0| 0d 09 2f 2f 20 53 65 74 | 20 74 68 65 20 72 65 74 |..// Set| the ret|
|00000f00| 75 72 6e 20 63 6f 6f 6b | 69 65 20 74 6f 20 74 68 |urn cook|ie to th|
|00000f10| 65 20 6f 6e 65 20 77 65 | 20 61 73 73 69 67 6e 65 |e one we| assigne|
|00000f20| 64 0d 09 2a 43 6f 6f 6b | 69 65 20 3d 20 6d 5f 43 |d..*Cook|ie = m_C|
|00000f30| 6f 6f 6b 69 65 4e 65 78 | 74 2b 2b 3b 0d 09 0d 09 |ookieNex|t++;....|
|00000f40| 72 65 74 75 72 6e 20 53 | 5f 4f 4b 3b 0d 7d 0d 0d |return S|_OK;.}..|
|00000f50| 0d 2f 2f 0d 2f 2f 20 20 | 43 43 6f 6e 6e 65 63 74 |.//.// |CConnect|
|00000f60| 69 6f 6e 50 6f 69 6e 74 | 3a 3a 49 43 6f 6e 6e 65 |ionPoint|::IConne|
|00000f70| 63 74 69 6f 6e 50 6f 69 | 6e 74 3a 3a 55 6e 61 64 |ctionPoi|nt::Unad|
|00000f80| 76 69 73 65 0d 2f 2f 0d | 53 54 44 4d 45 54 48 4f |vise.//.|STDMETHO|
|00000f90| 44 49 4d 50 0d 43 43 6f | 6e 6e 65 63 74 69 6f 6e |DIMP.CCo|nnection|
|00000fa0| 50 6f 69 6e 74 3a 3a 55 | 6e 61 64 76 69 73 65 28 |Point::U|nadvise(|
|00000fb0| 44 57 4f 52 44 20 43 6f | 6f 6b 69 65 29 0d 7b 0d |DWORD Co|okie).{.|
|00000fc0| 09 41 72 72 61 79 49 6e | 64 65 78 54 09 69 3b 0d |.ArrayIn|dexT.i;.|
|00000fd0| 09 41 58 45 72 72 6f 72 | 43 6f 64 65 09 74 68 65 |.AXError|Code.the|
|00000fe0| 52 65 73 75 6c 74 20 3d | 20 53 5f 4f 4b 3b 0d 0d |Result =| S_OK;..|
|00000ff0| 09 69 66 20 28 28 69 20 | 3d 20 6d 5f 43 6f 6f 6b |.if ((i |= m_Cook|
|00001000| 69 65 73 2d 3e 46 65 74 | 63 68 49 6e 64 65 78 4f |ies->Fet|chIndexO|
|00001010| 66 28 26 43 6f 6f 6b 69 | 65 29 29 20 3d 3d 20 4c |f(&Cooki|e)) == L|
|00001020| 41 72 72 61 79 3a 3a 69 | 6e 64 65 78 5f 42 61 64 |Array::i|ndex_Bad|
|00001030| 29 0d 09 09 74 68 65 52 | 65 73 75 6c 74 20 3d 20 |)...theR|esult = |
|00001040| 45 5f 46 41 49 4c 3b 0d | 09 65 6c 73 65 0d 09 7b |E_FAIL;.|.else..{|
|00001050| 0d 09 09 45 6e 64 43 6f | 6e 6e 65 63 74 69 6f 6e |...EndCo|nnection|
|00001060| 28 69 29 3b 0d 09 7d 0d | 0d 09 72 65 74 75 72 6e |(i);..}.|..return|
|00001070| 20 74 68 65 52 65 73 75 | 6c 74 3b 0d 7d 0d 0d 0d | theResu|lt;.}...|
|00001080| 2f 2f 0d 2f 2f 20 20 43 | 43 6f 6e 6e 65 63 74 69 |//.// C|Connecti|
|00001090| 6f 6e 50 6f 69 6e 74 3a | 3a 49 43 6f 6e 6e 65 63 |onPoint:|:IConnec|
|000010a0| 74 69 6f 6e 50 6f 69 6e | 74 3a 3a 45 6e 75 6d 43 |tionPoin|t::EnumC|
|000010b0| 6f 6e 6e 65 63 74 69 6f | 6e 73 0d 2f 2f 0d 53 54 |onnectio|ns.//.ST|
|000010c0| 44 4d 45 54 48 4f 44 49 | 4d 50 0d 43 43 6f 6e 6e |DMETHODI|MP.CConn|
|000010d0| 65 63 74 69 6f 6e 50 6f | 69 6e 74 3a 3a 45 6e 75 |ectionPo|int::Enu|
|000010e0| 6d 43 6f 6e 6e 65 63 74 | 69 6f 6e 73 28 49 45 6e |mConnect|ions(IEn|
|000010f0| 75 6d 43 6f 6e 6e 65 63 | 74 69 6f 6e 73 2a 2a 20 |umConnec|tions** |
|00001100| 45 6e 75 6d 43 6f 6e 6e | 65 63 74 69 6f 6e 73 29 |EnumConn|ections)|
|00001110| 0d 7b 0d 09 4c 41 72 72 | 61 79 2a 20 09 09 09 43 |.{..LArr|ay* ...C|
|00001120| 6f 6e 6e 65 63 74 41 72 | 72 61 79 3b 0d 09 43 4f |onnectAr|ray;..CO|
|00001130| 4e 4e 45 43 54 44 41 54 | 41 09 09 09 43 6f 6e 6e |NNECTDAT|A...Conn|
|00001140| 65 63 74 44 61 74 61 3b | 0d 09 75 6e 73 69 67 6e |ectData;|..unsign|
|00001150| 65 64 20 6c 6f 6e 67 20 | 09 09 69 2c 20 4e 75 6d |ed long |..i, Num|
|00001160| 43 6f 6e 6e 65 63 74 65 | 64 3b 0d 09 43 45 6e 75 |Connecte|d;..CEnu|
|00001170| 6d 43 6f 6e 6e 65 63 74 | 69 6f 6e 73 2a 09 45 6e |mConnect|ions*.En|
|00001180| 75 6d 4f 62 6a 65 63 74 | 3b 0d 09 0d 09 2f 2f 20 |umObject|;....// |
|00001190| 4e 6f 20 69 74 65 6d 73 | 20 63 6f 6e 6e 65 63 74 |No items| connect|
|000011a0| 65 64 2c 20 72 65 74 75 | 72 6e 20 66 61 69 6c 75 |ed, retu|rn failu|
|000011b0| 72 65 0d 09 69 66 20 28 | 20 28 4e 75 6d 43 6f 6e |re..if (| (NumCon|
|000011c0| 6e 65 63 74 65 64 20 3d | 20 6d 5f 49 55 6e 6b 6e |nected =| m_IUnkn|
|000011d0| 6f 77 6e 2d 3e 47 65 74 | 43 6f 75 6e 74 28 29 29 |own->Get|Count())|
|000011e0| 20 3d 3d 20 30 20 29 0d | 09 09 72 65 74 75 72 6e | == 0 ).|..return|
|000011f0| 20 45 5f 46 41 49 4c 3b | 0d 09 0d 09 2f 2f 20 41 | E_FAIL;|....// A|
|00001200| 6c 6c 6f 63 61 74 65 20 | 61 6e 20 61 72 72 61 79 |llocate |an array|
|00001210| 20 66 6f 72 20 74 68 65 | 20 43 4f 4e 4e 45 43 54 | for the| CONNECT|
|00001220| 44 41 54 41 20 0d 09 43 | 6f 6e 6e 65 63 74 41 72 |DATA ..C|onnectAr|
|00001230| 72 61 79 20 3d 20 6e 65 | 77 20 4c 41 72 72 61 79 |ray = ne|w LArray|
|00001240| 28 73 69 7a 65 6f 66 28 | 43 4f 4e 4e 45 43 54 44 |(sizeof(|CONNECTD|
|00001250| 41 54 41 29 29 3b 0d 09 | 0d 09 2f 2f 20 4d 6f 76 |ATA));..|..// Mov|
|00001260| 65 20 61 6c 6c 20 74 68 | 65 20 70 65 72 74 69 6e |e all th|e pertin|
|00001270| 65 6e 74 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ent info|rmation |
|00001280| 66 72 6f 6d 20 6f 75 72 | 20 6c 69 73 74 20 6f 66 |from our| list of|
|00001290| 20 49 55 6e 6b 6e 6f 77 | 6e 73 20 61 6e 64 20 63 | IUnknow|ns and c|
|000012a0| 6f 6f 6b 69 65 73 0d 09 | 66 6f 72 20 28 20 69 20 |ookies..|for ( i |
|000012b0| 3d 20 31 3b 20 69 20 3c | 3d 20 4e 75 6d 43 6f 6e |= 1; i <|= NumCon|
|000012c0| 6e 65 63 74 65 64 3b 20 | 69 2b 2b 29 0d 09 7b 0d |nected; |i++)..{.|
|000012d0| 09 09 6d 5f 49 55 6e 6b | 6e 6f 77 6e 2d 3e 46 65 |..m_IUnk|nown->Fe|
|000012e0| 74 63 68 49 74 65 6d 41 | 74 28 69 2c 20 26 43 6f |tchItemA|t(i, &Co|
|000012f0| 6e 6e 65 63 74 44 61 74 | 61 2e 70 55 6e 6b 29 3b |nnectDat|a.pUnk);|
|00001300| 0d 09 09 6d 5f 43 6f 6f | 6b 69 65 73 2d 3e 46 65 |...m_Coo|kies->Fe|
|00001310| 74 63 68 49 74 65 6d 41 | 74 28 69 2c 20 26 43 6f |tchItemA|t(i, &Co|
|00001320| 6e 6e 65 63 74 44 61 74 | 61 2e 64 77 43 6f 6f 6b |nnectDat|a.dwCook|
|00001330| 69 65 29 3b 0d 09 09 43 | 6f 6e 6e 65 63 74 41 72 |ie);...C|onnectAr|
|00001340| 72 61 79 2d 3e 49 6e 73 | 65 72 74 49 74 65 6d 73 |ray->Ins|ertItems|
|00001350| 41 74 28 31 2c 20 69 2c | 20 26 43 6f 6e 6e 65 63 |At(1, i,| &Connec|
|00001360| 74 44 61 74 61 29 3b 0d | 09 7d 0d 09 0d 09 2f 2f |tData);.|.}....//|
|00001370| 20 43 72 65 61 74 65 20 | 61 20 6e 65 77 20 65 6e | Create |a new en|
|00001380| 75 6d 65 72 61 74 6f 72 | 20 6f 62 6a 65 63 74 0d |umerator| object.|
|00001390| 09 45 6e 75 6d 4f 62 6a | 65 63 74 20 3d 20 6e 65 |.EnumObj|ect = ne|
|000013a0| 77 20 43 45 6e 75 6d 43 | 6f 6e 6e 65 63 74 69 6f |w CEnumC|onnectio|
|000013b0| 6e 73 28 43 6f 6e 6e 65 | 63 74 41 72 72 61 79 29 |ns(Conne|ctArray)|
|000013c0| 3b 0d 09 0d 09 2f 2f 20 | 47 65 74 20 74 68 65 20 |;....// |Get the |
|000013d0| 49 45 6e 75 6d 43 6f 6e | 6e 65 63 74 69 6f 6e 73 |IEnumCon|nections|
|000013e0| 20 69 6e 74 65 72 66 61 | 63 65 20 70 6f 69 6e 74 | interfa|ce point|
|000013f0| 65 72 0d 09 45 6e 75 6d | 4f 62 6a 65 63 74 2d 3e |er..Enum|Object->|
|00001400| 51 75 65 72 79 49 6e 74 | 65 72 66 61 63 65 28 49 |QueryInt|erface(I|
|00001410| 49 44 5f 49 45 6e 75 6d | 43 6f 6e 6e 65 63 74 69 |ID_IEnum|Connecti|
|00001420| 6f 6e 73 2c 20 28 76 6f | 69 64 2a 2a 29 20 45 6e |ons, (vo|id**) En|
|00001430| 75 6d 43 6f 6e 6e 65 63 | 74 69 6f 6e 73 29 3b 0d |umConnec|tions);.|
|00001440| 09 0d 09 72 65 74 75 72 | 6e 20 53 5f 4f 4b 3b 0d |...retur|n S_OK;.|
|00001450| 7d 0d 0d 0d 23 70 72 61 | 67 6d 61 20 6d 61 72 6b |}...#pra|gma mark|
|00001460| 20 3d 3d 3d 20 43 43 6f | 6e 6e 65 63 74 69 6f 6e | === CCo|nnection|
|00001470| 50 6f 69 6e 74 3a 3a 50 | 72 69 76 61 74 65 20 6d |Point::P|rivate m|
|00001480| 65 74 68 6f 64 73 20 3d | 3d 3d 0d 0d 2f 2f 0d 2f |ethods =|==..//./|
|00001490| 2f 20 20 43 43 6f 6e 6e | 65 63 74 69 6f 6e 50 6f |/ CConn|ectionPo|
|000014a0| 69 6e 74 3a 3a 45 6e 64 | 43 6f 6e 6e 65 63 74 69 |int::End|Connecti|
|000014b0| 6f 6e 0d 2f 2f 0d 76 6f | 69 64 0d 43 43 6f 6e 6e |on.//.vo|id.CConn|
|000014c0| 65 63 74 69 6f 6e 50 6f | 69 6e 74 3a 3a 45 6e 64 |ectionPo|int::End|
|000014d0| 43 6f 6e 6e 65 63 74 69 | 6f 6e 28 41 72 72 61 79 |Connecti|on(Array|
|000014e0| 49 6e 64 65 78 54 20 69 | 6e 49 6e 64 65 78 29 0d |IndexT i|nIndex).|
|000014f0| 7b 0d 09 49 55 6e 6b 6e | 6f 77 6e 2a 09 74 68 65 |{..IUnkn|own*.the|
|00001500| 53 69 6e 6b 3b 0d 0d 09 | 6d 5f 49 55 6e 6b 6e 6f |Sink;...|m_IUnkno|
|00001510| 77 6e 2d 3e 46 65 74 63 | 68 49 74 65 6d 41 74 28 |wn->Fetc|hItemAt(|
|00001520| 69 6e 49 6e 64 65 78 2c | 20 26 74 68 65 53 69 6e |inIndex,| &theSin|
|00001530| 6b 29 3b 0d 09 6d 5f 49 | 55 6e 6b 6e 6f 77 6e 2d |k);..m_I|Unknown-|
|00001540| 3e 52 65 6d 6f 76 65 49 | 74 65 6d 73 41 74 28 31 |>RemoveI|temsAt(1|
|00001550| 2c 20 69 6e 49 6e 64 65 | 78 29 3b 0d 09 6d 5f 43 |, inInde|x);..m_C|
|00001560| 6f 6f 6b 69 65 73 2d 3e | 52 65 6d 6f 76 65 49 74 |ookies->|RemoveIt|
|00001570| 65 6d 73 41 74 28 31 2c | 20 69 6e 49 6e 64 65 78 |emsAt(1,| inIndex|
|00001580| 29 3b 0d 7d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |);.}....|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 01 00 00 00 01 76 | 00 00 00 76 00 00 00 52 |.......v|...v...R|
|00001610| 44 5f 4b 45 59 44 4f 57 | 4e 20 20 20 20 20 20 20 |D_KEYDOW|N |
|00001620| 20 20 20 20 20 20 20 20 | 20 20 20 28 2d 36 30 32 | | (-602|
|00001630| 14 43 43 6f 6e 6e 65 63 | 74 69 6f 6e 50 6f 69 6e |.CConnec|tionPoin|
|00001640| 74 2e 63 70 70 6e 02 00 | 00 00 50 61 72 74 53 49 |t.cppn..|..PartSI|
|00001650| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 b0 56 8e 1c 00 00 | 00 00 00 00 01 c8 20 20 |...V....|...... |
|00001680| 20 20 20 20 20 20 20 20 | 20 28 2d 36 30 34 29 0d | | (-604).|
|00001690| 23 64 65 66 69 6e 65 20 | 44 49 53 50 49 44 5f 4d |#define |DISPID_M|
|000016a0| 4f 55 53 45 44 4f 57 4e | 20 20 20 20 20 20 20 20 |OUSEDOWN| |
|000016b0| 20 20 20 20 20 20 20 20 | 28 2d 36 30 35 29 0d 23 | |(-605).#|
|000016c0| 64 65 66 69 6e 65 20 44 | 49 53 50 49 44 5f 4d 4f |define D|ISPID_MO|
|000016d0| 55 53 45 4d 4f 56 45 20 | 20 20 20 20 20 20 20 20 |USEMOVE | |
|000016e0| 20 20 20 20 20 20 20 28 | 2d 36 30 36 29 0d 23 64 | (|-606).#d|
|000016f0| 65 66 69 6e 65 20 44 49 | 53 50 49 44 5f 4d 4f 55 |efine DI|SPID_MOU|
|00001700| 00 00 00 04 00 01 00 01 | 00 00 00 48 00 09 4d 6f |........|...H..Mo|
|00001710| 6e 61 63 6f 00 00 00 00 | 03 d0 db 50 00 00 00 00 |naco....|...P....|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|00001730| 00 04 00 88 01 8b 03 1b | 03 ea 00 88 01 8b 03 1b |........|........|
|00001740| 03 ea af 8d 0c 20 00 00 | 00 98 00 00 00 98 00 00 |..... ..|........|
|00001750| 00 00 01 00 00 00 00 1e | 00 88 01 8b 03 1b 03 ea |........|........|
|00001760| 00 88 01 8b 03 1b 03 ea | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 01 00 00 00 01 76 00 00 |........|.....v..|
|00001780| 00 76 00 00 00 52 03 a7 | 6d 98 25 d4 00 00 00 1c |.v...R..|m.%.....|
|00001790| 00 52 00 01 4d 57 42 42 | 00 00 00 12 4d 50 53 52 |.R..MWBB|....MPSR|
|000017a0| 00 01 00 1e 03 f0 ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 03 ed ff ff 00 00 00 08 | 00 00 00 00 03 f0 ff ff |........|........|
|000017c0| 00 00 00 54 03 b3 fe 78 | 00 00 00 00 00 00 00 00 |...T...x|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+