home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 September / CHIP_CD_1997_09_PL.iso / software / testsoft / labwind / demo.5 / main / bin / ddesupp.lfp < prev    next >
Unknown  |  1996-08-02  |  35.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 73 fe 01 ba 00 00 00 04 | 00 00 00 00 00 00 8b 27 |s.......|.......'|
|00000010| 00 00 00 11 00 00 87 6f | 00 00 03 b8 00 00 00 80 |.......o|........|
|00000020| 00 00 00 01 ff ff ff ff | 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 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 44 44 45 20 | 53 75 70 70 6f 72 74 20 |....DDE |Support |
|00000060| 4c 69 62 72 61 72 79 00 | 00 00 00 00 00 00 00 00 |Library.|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 0a 03 e8 | 00 0a ff ff 64 64 65 46 |........|....ddeF|
|00000090| 75 6e 63 50 74 72 00 00 | 04 76 00 00 00 00 54 68 |uncPtr..|.v....Th|
|000000a0| 65 20 44 44 45 20 73 75 | 70 70 6f 72 74 20 6c 69 |e DDE su|pport li|
|000000b0| 62 72 61 72 79 20 70 72 | 6f 76 69 64 65 73 20 65 |brary pr|ovides e|
|000000c0| 61 73 79 20 61 63 63 65 | 73 73 20 74 6f 20 4d 53 |asy acce|ss to MS|
|000000d0| 20 57 69 6e 64 6f 77 73 | 20 44 44 45 20 63 61 70 | Windows| DDE cap|
|000000e0| 61 62 69 6c 69 74 69 65 | 73 2e 20 20 59 6f 75 20 |abilitie|s. You |
|000000f0| 63 61 6e 20 64 6f 20 74 | 68 65 20 66 6f 6c 6c 6f |can do t|he follo|
|00000100| 77 69 6e 67 3a 0a 0a 20 | 20 20 2d 20 52 65 67 69 |wing:.. | - Regi|
|00000110| 73 74 65 72 20 73 65 72 | 76 65 72 28 73 29 20 6f |ster ser|ver(s) o|
|00000120| 72 20 63 6c 69 65 6e 74 | 28 73 29 20 66 6f 72 20 |r client|(s) for |
|00000130| 6d 75 6c 74 69 70 6c 65 | 20 63 6f 6e 6e 65 63 74 |multiple| connect|
|00000140| 69 6f 6e 73 20 0a 20 20 | 20 20 20 28 61 6c 73 6f |ions . | (also|
|00000150| 20 63 61 6c 6c 65 64 20 | 63 6f 6e 76 65 72 73 61 | called |conversa|
|00000160| 74 69 6f 6e 73 29 2e 20 | 0a 0a 20 20 20 2d 20 53 |tions). |.. - S|
|00000170| 65 74 20 75 70 20 77 61 | 72 6d 2f 68 6f 74 20 6c |et up wa|rm/hot l|
|00000180| 69 6e 6b 73 20 28 61 73 | 20 61 20 63 6c 69 65 6e |inks (as| a clien|
|00000190| 74 29 20 66 6f 72 20 61 | 6e 79 20 63 6f 6e 76 65 |t) for a|ny conve|
|000001a0| 72 73 61 74 69 6f 6e 2e | 0a 0a 20 20 20 2d 20 53 |rsation.|.. - S|
|000001b0| 65 6e 64 20 64 61 74 61 | 20 66 72 6f 6d 20 61 20 |end data| from a |
|000001c0| 73 65 72 76 65 72 20 74 | 6f 20 61 20 63 6c 69 65 |server t|o a clie|
|000001d0| 6e 74 20 28 6f 72 20 66 | 72 6f 6d 20 61 20 63 6c |nt (or f|rom a cl|
|000001e0| 69 65 6e 74 20 74 6f 20 | 61 20 0a 20 20 20 20 20 |ient to |a . |
|000001f0| 73 65 72 76 65 72 29 20 | 6f 6e 63 65 20 61 20 63 |server) |once a c|
|00000200| 6f 6e 6e 65 63 74 69 6f | 6e 20 68 61 73 20 62 65 |onnectio|n has be|
|00000210| 65 6e 20 65 73 74 61 62 | 6c 69 73 68 65 64 2e 0a |en estab|lished..|
|00000220| 0a 20 20 20 2d 20 52 65 | 71 75 65 73 74 20 61 20 |. - Re|quest a |
|00000230| 73 65 72 76 65 72 20 74 | 6f 20 65 78 65 63 75 74 |server t|o execut|
|00000240| 65 20 61 20 63 6f 6d 6d | 61 6e 64 2e 20 0a 0a 41 |e a comm|and. ..A|
|00000250| 20 74 79 70 69 63 61 6c | 20 65 78 61 6d 70 6c 65 | typical| example|
|00000260| 20 69 73 20 63 6f 6e 6e | 65 63 74 20 74 6f 20 45 | is conn|ect to E|
|00000270| 78 63 65 6c 20 61 73 20 | 61 20 63 6c 69 65 6e 74 |xcel as |a client|
|00000280| 2c 20 73 65 6e 64 20 64 | 61 74 61 20 74 6f 20 45 |, send d|ata to E|
|00000290| 78 63 65 6c 2c 20 61 6e | 64 20 61 73 6b 20 45 78 |xcel, an|d ask Ex|
|000002a0| 63 65 6c 20 74 6f 20 63 | 72 65 61 74 65 20 61 20 |cel to c|reate a |
|000002b0| 63 68 61 72 74 20 66 72 | 6f 6d 20 74 68 65 20 64 |chart fr|om the d|
|000002c0| 61 74 61 20 73 65 6e 74 | 2e 0a 0a 54 68 65 20 66 |ata sent|...The f|
|000002d0| 6f 6c 6c 6f 77 69 6e 67 | 20 61 72 65 20 74 68 65 |ollowing| are the|
|000002e0| 20 76 61 6c 69 64 20 44 | 61 74 61 20 46 6f 72 6d | valid D|ata Form|
|000002f0| 61 74 73 20 73 75 70 70 | 6f 72 74 65 64 20 62 79 |ats supp|orted by|
|00000300| 20 4d 53 20 57 69 6e 64 | 6f 77 73 3a 0a 0a 20 20 | MS Wind|ows:.. |
|00000310| 43 46 5f 54 45 58 54 0a | 20 20 43 46 5f 42 49 54 |CF_TEXT.| CF_BIT|
|00000320| 4d 41 50 0a 20 20 43 46 | 5f 4d 45 54 41 46 49 4c |MAP. CF|_METAFIL|
|00000330| 45 50 49 43 54 0a 20 20 | 43 46 5f 53 59 4c 4b 0a |EPICT. |CF_SYLK.|
|00000340| 20 20 43 46 5f 44 49 46 | 0a 20 20 43 46 5f 54 49 | CF_DIF|. CF_TI|
|00000350| 46 46 0a 20 20 43 46 5f | 4f 45 4d 54 45 58 54 0a |FF. CF_|OEMTEXT.|
|00000360| 20 20 43 46 5f 44 49 42 | 0a 20 20 43 46 5f 50 41 | CF_DIB|. CF_PA|
|00000370| 4c 45 54 54 45 0a 20 20 | 43 46 5f 50 45 4e 44 41 |LETTE. |CF_PENDA|
|00000380| 54 41 0a 20 20 43 46 5f | 52 49 46 46 0a 20 20 43 |TA. CF_|RIFF. C|
|00000390| 46 5f 57 41 56 45 0a 20 | 20 43 46 5f 4f 57 4e 45 |F_WAVE. | CF_OWNE|
|000003a0| 52 44 49 53 50 4c 41 59 | 0a 20 20 43 46 5f 44 53 |RDISPLAY|. CF_DS|
|000003b0| 50 54 45 58 54 0a 20 20 | 43 46 5f 44 53 50 42 49 |PTEXT. |CF_DSPBI|
|000003c0| 54 4d 41 50 0a 20 20 43 | 46 5f 44 53 50 4d 45 54 |TMAP. C|F_DSPMET|
|000003d0| 41 46 49 4c 45 50 49 43 | 54 0a 0a 46 6f 72 20 6d |AFILEPIC|T..For m|
|000003e0| 6f 73 74 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ost appl|ications|
|000003f0| 2c 20 6f 6e 6c 79 20 43 | 46 5f 54 45 58 54 20 69 |, only C|F_TEXT i|
|00000400| 73 20 6e 65 65 64 65 64 | 2e 0a 0a 52 65 6d 61 72 |s needed|...Remar|
|00000410| 6b 73 3a 0a 2d 2d 2d 2d | 2d 2d 2d 2d 0a 54 68 65 |ks:.----|----.The|
|00000420| 20 44 44 45 20 73 75 70 | 70 6f 72 74 20 6c 69 62 | DDE sup|port lib|
|00000430| 72 61 72 79 20 69 73 20 | 69 6e 74 65 6e 64 65 64 |rary is |intended|
|00000440| 20 74 6f 20 62 65 20 75 | 73 65 64 20 73 6f 6c 65 | to be u|sed sole|
|00000450| 6c 79 20 75 6e 64 65 72 | 20 4d 53 20 57 69 6e 64 |ly under| MS Wind|
|00000460| 6f 77 73 2e 20 20 49 74 | 20 69 73 20 6e 6f 74 20 |ows. It| is not |
|00000470| 73 75 70 70 6f 72 74 65 | 64 20 6f 6e 20 55 6e 69 |supporte|d on Uni|
|00000480| 78 2e 20 20 50 6c 65 61 | 73 65 20 72 65 66 65 72 |x. Plea|se refer|
|00000490| 20 74 6f 20 4d 53 20 57 | 49 6e 64 6f 77 73 20 33 | to MS W|Indows 3|
|000004a0| 2e 78 20 50 72 6f 67 72 | 61 6d 6d 65 72 27 73 20 |.x Progr|ammer's |
|000004b0| 52 65 66 65 72 65 6e 63 | 65 20 66 6f 72 20 61 6e |Referenc|e for an|
|000004c0| 20 69 6e 2d 64 65 70 74 | 68 20 64 69 73 63 75 73 | in-dept|h discus|
|000004d0| 73 69 6f 6e 20 6f 66 20 | 44 44 45 20 70 72 6f 67 |sion of |DDE prog|
|000004e0| 72 61 6d 6d 69 6e 67 20 | 61 6e 64 20 74 68 65 20 |ramming |and the |
|000004f0| 6d 65 61 6e 69 6e 67 20 | 6f 66 20 65 61 63 68 20 |meaning |of each |
|00000500| 64 61 74 61 20 66 6f 72 | 6d 61 74 20 74 79 70 65 |data for|mat type|
|00000510| 2e 0a 00 00 00 00 00 5a | 00 00 00 00 43 6f 6e 74 |.......Z|....Cont|
|00000520| 61 69 6e 73 20 66 75 6e | 63 74 69 6f 6e 73 20 74 |ains fun|ctions t|
|00000530| 68 61 74 20 63 61 6e 20 | 62 65 20 63 61 6c 6c 65 |hat can |be calle|
|00000540| 64 20 62 79 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |d by you|r progra|
|00000550| 6d 20 77 68 65 6e 20 69 | 74 20 69 73 20 61 63 74 |m when i|t is act|
|00000560| 69 6e 67 20 61 73 20 61 | 20 44 44 45 20 73 65 72 |ing as a| DDE ser|
|00000570| 76 65 72 2e 00 00 00 00 | 00 5a 00 00 00 00 43 6f |ver.....|.Z....Co|
|00000580| 6e 74 61 69 6e 73 20 66 | 75 6e 63 74 69 6f 6e 73 |ntains f|unctions|
|00000590| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 63 61 6c | that ca|n be cal|
|000005a0| 6c 65 64 20 62 79 20 79 | 6f 75 72 20 70 72 6f 67 |led by y|our prog|
|000005b0| 72 61 6d 20 77 68 65 6e | 20 69 74 20 69 73 20 61 |ram when| it is a|
|000005c0| 63 74 69 6e 67 20 61 73 | 20 61 20 44 44 45 20 63 |cting as| a DDE c|
|000005d0| 6c 69 65 6e 74 2e 00 00 | 00 00 02 02 00 00 00 00 |lient...|........|
|000005e0| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 72 65 |This fun|ction re|
|000005f0| 67 69 73 74 65 72 73 20 | 79 6f 75 72 20 70 72 6f |gisters |your pro|
|00000600| 67 72 61 6d 20 61 73 20 | 61 20 44 44 45 20 73 65 |gram as |a DDE se|
|00000610| 72 76 65 72 20 77 69 74 | 68 20 74 68 65 20 73 70 |rver wit|h the sp|
|00000620| 65 63 69 66 69 65 64 20 | 73 65 72 76 65 72 20 6e |ecified |server n|
|00000630| 61 6d 65 2e 20 20 43 6c | 69 65 6e 74 73 20 61 74 |ame. Cl|ients at|
|00000640| 74 65 6d 70 74 69 6e 67 | 20 74 6f 20 63 6f 6e 6e |tempting| to conn|
|00000650| 65 63 74 20 74 6f 20 79 | 6f 75 72 20 70 72 6f 67 |ect to y|our prog|
|00000660| 72 61 6d 20 20 6d 75 73 | 74 20 75 73 65 20 74 68 |ram mus|t use th|
|00000670| 65 20 73 70 65 63 69 66 | 69 65 64 20 6e 61 6d 65 |e specif|ied name|
|00000680| 2e 20 20 54 68 65 72 65 | 61 66 74 65 72 2c 20 61 |. There|after, a|
|00000690| 6c 6c 20 72 65 71 75 65 | 73 74 73 20 62 79 20 74 |ll reque|sts by t|
|000006a0| 68 65 20 63 6c 69 65 6e | 74 20 61 72 65 20 72 6f |he clien|t are ro|
|000006b0| 75 74 65 64 20 74 68 72 | 6f 75 67 68 20 74 68 65 |uted thr|ough the|
|000006c0| 20 73 70 65 63 69 66 69 | 65 64 20 73 65 72 76 65 | specifi|ed serve|
|000006d0| 72 20 63 61 6c 6c 62 61 | 63 6b 20 66 75 6e 63 74 |r callba|ck funct|
|000006e0| 69 6f 6e 2e 20 0a 0a 59 | 6f 75 20 63 61 6e 20 72 |ion. ..Y|ou can r|
|000006f0| 65 67 69 73 74 65 72 20 | 79 6f 75 72 20 70 72 6f |egister |your pro|
|00000700| 67 72 61 6d 20 61 73 20 | 61 20 44 44 45 20 73 65 |gram as |a DDE se|
|00000710| 72 76 65 72 20 6d 75 6c | 69 74 70 6c 65 20 74 69 |rver mul|itple ti|
|00000720| 6d 65 73 20 61 73 20 6c | 6f 6e 67 20 61 73 20 79 |mes as l|ong as y|
|00000730| 6f 75 20 73 70 65 63 69 | 66 79 20 64 69 66 66 65 |ou speci|fy diffe|
|00000740| 72 65 6e 74 20 73 65 72 | 76 65 72 20 6e 61 6d 65 |rent ser|ver name|
|00000750| 73 2e 0a 0a 54 68 69 73 | 20 66 75 6e 63 74 69 6f |s...This| functio|
|00000760| 6e 20 72 65 74 75 72 6e | 73 20 7a 65 72 6f 20 66 |n return|s zero f|
|00000770| 6f 72 20 73 75 63 63 65 | 73 73 20 6f 72 20 61 20 |or succe|ss or a |
|00000780| 6e 65 67 61 74 69 76 65 | 20 65 72 72 6f 72 20 63 |negative| error c|
|00000790| 6f 64 65 20 66 6f 72 20 | 66 61 69 6c 75 72 65 2e |ode for |failure.|
|000007a0| 20 20 53 65 65 20 74 68 | 65 20 68 65 6c 70 20 66 | See th|e help f|
|000007b0| 6f 72 20 74 68 65 20 53 | 74 61 74 75 73 20 63 6f |or the S|tatus co|
|000007c0| 6e 74 72 6f 6c 20 66 6f | 72 20 74 68 65 20 65 72 |ntrol fo|r the er|
|000007d0| 72 6f 72 20 63 6f 64 65 | 20 76 61 6c 75 65 73 2e |ror code| values.|
|000007e0| 00 00 00 00 00 7e 00 00 | 00 00 54 68 65 20 6e 61 |.....~..|..The na|
|000007f0| 6d 65 20 75 6e 64 65 72 | 20 77 68 69 63 68 20 79 |me under| which y|
|00000800| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 69 73 20 74 |our prog|ram is t|
|00000810| 6f 20 62 65 20 72 65 67 | 69 73 74 65 72 65 64 20 |o be reg|istered |
|00000820| 61 73 20 61 20 44 44 45 | 20 73 65 72 76 65 72 2e |as a DDE| server.|
|00000830| 20 20 0a 0a 54 68 65 20 | 6e 61 6d 65 20 6d 75 73 | ..The |name mus|
|00000840| 74 20 62 65 20 73 74 72 | 69 6e 67 20 6f 66 20 6c |t be str|ing of l|
|00000850| 65 6e 67 74 68 20 66 72 | 6f 6d 20 31 20 74 6f 20 |ength fr|om 1 to |
|00000860| 32 35 35 2e 0a 0a 00 00 | 00 00 11 92 00 00 00 00 |255.....|........|
|00000870| 54 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |The name| of the |
|00000880| 66 75 6e 63 74 69 6f 6e | 20 74 6f 20 62 65 20 63 |function| to be c|
|00000890| 61 6c 6c 65 64 20 74 6f | 20 70 72 6f 63 65 73 73 |alled to| process|
|000008a0| 20 63 6c 69 65 6e 74 20 | 72 65 71 75 65 73 74 73 | client |requests|
|000008b0| 2e 20 20 41 20 4e 55 4c | 4c 20 70 6f 69 6e 74 65 |. A NUL|L pointe|
|000008c0| 72 20 69 73 20 6e 6f 74 | 20 61 6c 6c 6f 77 65 64 |r is not| allowed|
|000008d0| 2e 20 0a 0a 54 68 65 20 | 63 61 6c 6c 62 61 63 6b |. ..The |callback|
|000008e0| 20 66 75 6e 63 74 69 6f | 6e 20 6d 75 73 74 20 62 | functio|n must b|
|000008f0| 65 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e of the| followi|
|00000900| 6e 67 20 66 6f 72 6d 3a | 0a 0a 20 20 20 20 69 6e |ng form:|.. in|
|00000910| 74 20 28 2a 64 64 65 46 | 75 6e 63 50 74 72 29 20 |t (*ddeF|uncPtr) |
|00000920| 28 75 6e 73 69 67 6e 65 | 64 20 68 61 6e 64 6c 65 |(unsigne|d handle|
|00000930| 2c 20 63 68 61 72 20 2a | 74 6f 70 69 63 4e 61 6d |, char *|topicNam|
|00000940| 65 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e,. | |
|00000950| 20 20 20 20 20 20 20 20 | 20 20 63 68 61 72 20 2a | | char *|
|00000960| 69 74 65 6d 4e 61 6d 65 | 2c 20 69 6e 74 20 78 54 |itemName|, int xT|
|00000970| 79 70 65 2c 20 69 6e 74 | 20 64 61 74 61 46 6d 74 |ype, int| dataFmt|
|00000980| 2c 20 20 20 20 0a 20 20 | 20 20 20 20 20 20 20 20 |, . | |
|00000990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 6e 74 | | int|
|000009a0| 20 64 61 74 61 53 69 7a | 65 2c 20 76 6f 69 64 20 | dataSiz|e, void |
|000009b0| 2a 64 61 74 61 50 74 72 | 2c 0a 20 20 20 20 20 20 |*dataPtr|,. |
|000009c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009d0| 20 76 6f 69 64 20 2a 63 | 61 6c 6c 62 61 63 6b 44 | void *c|allbackD|
|000009e0| 61 74 61 29 3b 0a 0a 54 | 68 65 20 27 68 61 6e 64 |ata);..T|he 'hand|
|000009f0| 6c 65 27 20 70 61 72 61 | 6d 65 74 65 72 20 63 6f |le' para|meter co|
|00000a00| 6e 74 61 69 6e 73 20 61 | 20 76 61 6c 75 65 20 74 |ntains a| value t|
|00000a10| 68 61 74 20 69 73 20 75 | 6e 69 71 75 65 20 74 6f |hat is u|nique to|
|00000a20| 20 65 61 63 68 20 63 6c | 69 65 6e 74 2d 73 65 72 | each cl|ient-ser|
|00000a30| 76 65 72 20 63 6f 6e 6e | 65 63 74 69 6f 6e 2e 0a |ver conn|ection..|
|00000a40| 0a 54 68 65 20 27 63 61 | 6c 6c 62 61 63 6b 44 61 |.The 'ca|llbackDa|
|00000a50| 74 61 27 20 70 61 72 61 | 6d 65 74 65 72 20 63 6f |ta' para|meter co|
|00000a60| 6e 74 61 69 6e 73 20 74 | 68 65 20 76 61 6c 75 65 |ntains t|he value|
|00000a70| 20 70 61 73 73 65 64 20 | 61 73 20 74 68 65 20 43 | passed |as the C|
|00000a80| 61 6c 6c 62 61 63 6b 20 | 44 61 74 61 20 70 61 72 |allback |Data par|
|00000a90| 61 6d 65 74 65 72 20 69 | 6e 20 74 68 65 20 63 61 |ameter i|n the ca|
|00000aa0| 6c 6c 20 74 6f 20 52 65 | 67 69 73 74 65 72 44 44 |ll to Re|gisterDD|
|00000ab0| 45 53 65 72 76 65 72 2e | 20 20 28 49 6e 20 74 68 |EServer.| (In th|
|00000ac0| 65 20 63 61 73 65 20 6f | 66 20 61 20 44 44 45 5f |e case o|f a DDE_|
|00000ad0| 44 49 53 43 4f 4e 4e 45 | 43 54 20 6d 65 73 73 61 |DISCONNE|CT messa|
|00000ae0| 67 65 2c 20 74 68 65 20 | 76 61 6c 75 65 20 69 73 |ge, the |value is|
|00000af0| 20 75 6e 64 65 66 69 6e | 65 64 2e 29 0a 20 0a 54 | undefin|ed.). .T|
|00000b00| 68 65 20 27 78 54 79 70 | 65 27 20 70 61 72 61 6d |he 'xTyp|e' param|
|00000b10| 65 74 65 72 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |eter con|tains th|
|00000b20| 65 20 44 44 45 20 54 72 | 61 6e 73 61 63 74 69 6f |e DDE Tr|ansactio|
|00000b30| 6e 20 54 79 70 65 2e 20 | 20 54 68 65 20 66 6f 6c |n Type. | The fol|
|00000b40| 6c 6f 77 69 6e 67 20 6c | 69 73 74 20 73 70 65 63 |lowing l|ist spec|
|00000b50| 69 66 69 65 73 20 61 6c | 6c 20 6f 66 20 74 68 65 |ifies al|l of the|
|00000b60| 20 74 72 61 6e 73 61 63 | 74 69 6f 6e 20 74 79 70 | transac|tion typ|
|00000b70| 65 73 20 74 68 61 74 20 | 63 61 6e 20 62 65 20 72 |es that |can be r|
|00000b80| 65 63 65 69 76 65 64 20 | 62 79 20 73 65 72 76 65 |eceived |by serve|
|00000b90| 72 73 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |rs:. | |
|00000ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 0a 20 20 | | . |
|00000bb0| 78 54 79 70 65 20 20 20 | 20 20 20 20 20 20 20 20 |xType | |
|00000bc0| 20 20 20 20 20 20 20 20 | 20 0a 20 20 2d 2d 2d 2d | | . ----|
|00000bd0| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |- | |
|00000be0| 20 20 20 20 20 0a 20 20 | 44 44 45 5f 43 4f 4e 4e | . |DDE_CONN|
|00000bf0| 45 43 54 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ECT | |
|00000c00| 20 20 20 0a 20 20 44 44 | 45 5f 44 49 53 43 4f 4e | . DD|E_DISCON|
|00000c10| 4e 45 43 54 20 20 20 20 | 20 20 20 20 20 20 20 20 |NECT | |
|00000c20| 20 0a 20 20 44 44 45 5f | 44 41 54 41 52 45 41 44 | . DDE_|DATAREAD|
|00000c30| 59 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 0a |Y | .|
|00000c40| 20 20 44 44 45 5f 52 45 | 51 55 45 53 54 44 41 54 | DDE_RE|QUESTDAT|
|00000c50| 41 20 20 20 20 20 20 20 | 20 20 20 20 0a 20 20 44 |A | . D|
|00000c60| 44 45 5f 41 44 56 49 53 | 45 4c 4f 4f 50 20 20 20 |DE_ADVIS|ELOOP |
|00000c70| 20 20 20 20 20 20 20 20 | 20 20 0a 20 20 44 44 45 | | . DDE|
|00000c80| 5f 41 44 56 49 53 45 53 | 54 4f 50 20 20 20 20 20 |_ADVISES|TOP |
|00000c90| 20 20 20 20 20 20 0a 20 | 20 44 44 45 5f 45 58 45 | . | DDE_EXE|
|00000ca0| 43 55 54 45 20 20 20 20 | 20 20 20 20 20 20 20 20 |CUTE | |
|00000cb0| 20 20 20 0a 0a 54 68 65 | 20 6f 74 68 65 72 20 70 | ..The| other p|
|00000cc0| 61 72 61 6d 65 74 65 72 | 73 20 74 6f 20 74 68 65 |arameter|s to the|
|00000cd0| 20 66 75 6e 63 74 69 6f | 6e 20 6d 61 79 20 6f 72 | functio|n may or|
|00000ce0| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 75 73 65 64 | may not| be used|
|00000cf0| 20 64 65 70 65 6e 64 69 | 6e 67 20 6f 6e 20 74 68 | dependi|ng on th|
|00000d00| 65 20 74 72 61 6e 73 61 | 63 74 69 6f 6e 20 74 79 |e transa|ction ty|
|00000d10| 70 65 2e 20 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |pe. The| followi|
|00000d20| 6e 67 20 64 65 73 63 72 | 69 62 65 73 20 65 61 63 |ng descr|ibes eac|
|00000d30| 68 20 74 72 61 6e 73 61 | 63 74 69 6f 6e 20 74 79 |h transa|ction ty|
|00000d40| 70 65 20 61 6e 64 20 74 | 68 65 20 64 61 74 61 20 |pe and t|he data |
|00000d50| 74 68 61 74 20 61 63 63 | 6f 6d 70 61 6e 69 65 73 |that acc|ompanies|
|00000d60| 20 69 74 3a 0a 0a 44 44 | 45 5f 43 4f 4e 4e 45 43 | it:..DD|E_CONNEC|
|00000d70| 54 20 2d 20 54 68 69 73 | 20 74 72 61 6e 73 61 63 |T - This| transac|
|00000d80| 74 69 6f 6e 20 74 79 70 | 65 20 69 73 20 72 65 63 |tion typ|e is rec|
|00000d90| 65 69 76 65 64 20 77 68 | 65 6e 20 61 20 63 6c 69 |eived wh|en a cli|
|00000da0| 65 6e 74 20 69 73 20 72 | 65 71 75 65 73 74 69 6e |ent is r|equestin|
|00000db0| 67 20 61 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 28 |g a conn|ection (|
|00000dc0| 61 6c 73 6f 20 63 61 6c | 6c 65 64 20 61 20 27 63 |also cal|led a 'c|
|00000dd0| 6f 6e 76 65 72 73 61 74 | 69 6f 6e 27 29 2e 20 20 |onversat|ion'). |
|00000de0| 54 68 65 20 27 74 6f 70 | 69 63 4e 61 6d 65 27 20 |The 'top|icName' |
|00000df0| 70 61 72 61 6d 65 74 65 | 72 20 69 73 20 75 73 65 |paramete|r is use|
|00000e00| 64 20 74 6f 20 73 70 65 | 63 69 66 79 20 74 68 65 |d to spe|cify the|
|00000e10| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 74 6f 70 69 | connect|ion topi|
|00000e20| 63 2e 20 20 54 68 65 20 | 73 65 74 20 6f 66 20 76 |c. The |set of v|
|00000e30| 61 6c 69 64 20 74 6f 70 | 69 63 20 6e 61 6d 65 73 |alid top|ic names|
|00000e40| 20 69 73 20 64 65 66 69 | 6e 65 64 20 62 79 20 74 | is defi|ned by t|
|00000e50| 68 65 20 73 65 72 76 65 | 72 20 61 6e 64 20 63 61 |he serve|r and ca|
|00000e60| 6e 20 62 65 20 75 73 65 | 64 20 69 6e 20 64 69 66 |n be use|d in dif|
|00000e70| 66 65 72 65 6e 74 20 77 | 61 79 73 2e 20 20 46 6f |ferent w|ays. Fo|
|00000e80| 72 20 65 78 61 6d 70 6c | 65 2c 20 45 78 63 65 6c |r exampl|e, Excel|
|00000e90| 20 75 73 65 73 20 74 68 | 65 20 74 6f 70 69 63 20 | uses th|e topic |
|00000ea0| 6e 61 6d 65 20 74 6f 20 | 73 70 65 63 69 66 79 20 |name to |specify |
|00000eb0| 74 68 65 20 66 69 6c 65 | 20 6f 6e 20 77 68 69 63 |the file| on whic|
|00000ec0| 68 20 74 68 65 20 63 6c | 69 65 6e 74 20 72 65 71 |h the cl|ient req|
|00000ed0| 75 65 73 74 73 20 6f 70 | 65 72 61 74 65 2e 20 20 |uests op|erate. |
|00000ee0| 41 20 63 6c 69 65 6e 74 | 20 63 61 6e 20 68 61 76 |A client| can hav|
|00000ef0| 65 20 6d 75 6c 74 69 70 | 6c 65 20 63 6f 6e 6e 65 |e multip|le conne|
|00000f00| 63 74 69 6f 6e 73 20 74 | 6f 20 74 68 65 20 73 61 |ctions t|o the sa|
|00000f10| 6d 65 20 73 65 72 76 65 | 72 20 61 73 20 6c 6f 6e |me serve|r as lon|
|00000f20| 67 20 61 73 20 74 68 65 | 72 65 20 69 73 20 61 20 |g as the|re is a |
|00000f30| 64 69 66 66 65 72 65 6e | 74 20 74 6f 70 69 63 20 |differen|t topic |
|00000f40| 6e 61 6d 65 20 66 6f 72 | 20 65 61 63 68 20 63 6f |name for| each co|
|00000f50| 6e 6e 65 63 74 69 6f 6e | 2e 0a 0a 44 44 45 5f 44 |nnection|...DDE_D|
|00000f60| 49 53 43 4f 4e 4e 45 43 | 54 20 2d 20 52 65 63 65 |ISCONNEC|T - Rece|
|00000f70| 69 76 65 64 20 77 68 65 | 6e 20 61 20 63 6c 69 65 |ived whe|n a clie|
|00000f80| 6e 74 20 69 73 20 72 65 | 71 75 65 73 74 69 6e 67 |nt is re|questing|
|00000f90| 20 74 68 65 20 74 65 72 | 6d 69 6e 61 74 69 6f 6e | the ter|mination|
|00000fa0| 20 6f 66 20 61 20 63 6f | 6e 6e 65 63 74 69 6f 6e | of a co|nnection|
|00000fb0| 2c 20 6f 72 20 77 68 65 | 6e 20 57 69 6e 64 6f 77 |, or whe|n Window|
|00000fc0| 73 20 74 65 72 6d 69 6e | 61 74 65 73 20 74 68 65 |s termin|ates the|
|00000fd0| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 64 75 65 20 | connect|ion due |
|00000fe0| 74 6f 20 61 6e 20 69 6e | 74 65 72 6e 61 6c 20 65 |to an in|ternal e|
|00000ff0| 72 72 6f 72 2e 20 20 54 | 68 65 20 76 61 6c 75 65 |rror. T|he value|
|00001000| 20 6f 66 20 74 68 65 20 | 27 63 61 6c 6c 62 61 63 | of the |'callbac|
|00001010| 6b 44 61 74 61 27 20 70 | 61 72 61 6d 65 74 65 72 |kData' p|arameter|
|00001020| 20 69 73 20 75 6e 64 65 | 66 69 6e 65 64 2e 0a 0a | is unde|fined...|
|00001030| 44 44 45 5f 44 41 54 41 | 52 45 41 44 59 20 2d 20 |DDE_DATA|READY - |
|00001040| 52 65 63 65 69 76 65 64 | 20 77 68 65 6e 20 74 68 |Received| when th|
|00001050| 65 20 63 6c 69 65 6e 74 | 20 68 61 73 20 73 65 6e |e client| has sen|
|00001060| 74 20 64 61 74 61 20 76 | 69 61 20 44 44 45 20 74 |t data v|ia DDE t|
|00001070| 6f 20 74 68 65 20 73 65 | 72 76 65 72 2e 20 20 54 |o the se|rver. T|
|00001080| 68 65 20 27 74 6f 70 69 | 63 4e 61 6d 65 27 2c 20 |he 'topi|cName', |
|00001090| 27 69 74 65 6d 4e 61 6d | 65 27 2c 20 27 64 61 74 |'itemNam|e', 'dat|
|000010a0| 61 46 6d 74 27 2c 20 20 | 27 64 61 74 61 53 69 7a |aFmt', |'dataSiz|
|000010b0| 65 27 2c 20 61 6e 64 20 | 27 64 61 74 61 50 74 72 |e', and |'dataPtr|
|000010c0| 27 20 70 61 72 61 6d 65 | 74 65 72 73 20 63 6f 6e |' parame|ters con|
|000010d0| 74 61 69 6e 20 73 69 67 | 6e 69 66 69 63 61 6e 74 |tain sig|nificant|
|000010e0| 20 64 61 74 61 2e 0a 54 | 68 65 20 27 69 74 65 6d | data..T|he 'item|
|000010f0| 4e 61 6d 65 27 20 63 61 | 6e 20 62 65 20 75 73 65 |Name' ca|n be use|
|00001100| 64 20 74 6f 20 73 70 65 | 63 69 66 79 20 61 6e 20 |d to spe|cify an |
|00001110| 6f 62 6a 65 63 74 20 74 | 6f 20 77 68 69 63 68 20 |object t|o which |
|00001120| 74 68 65 20 64 61 74 61 | 20 72 65 66 65 72 73 2e |the data| refers.|
|00001130| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 69 | For ex|ample, i|
|00001140| 6e 20 45 78 63 65 6c 2c | 20 74 68 65 20 69 74 65 |n Excel,| the ite|
|00001150| 6d 20 6e 61 6d 65 20 73 | 70 65 63 69 66 69 65 73 |m name s|pecifies|
|00001160| 20 61 20 63 65 6c 6c 2e | 20 20 54 68 65 20 27 64 | a cell.| The 'd|
|00001170| 61 74 61 46 6d 74 27 20 | 69 73 20 6f 6e 65 20 6f |ataFmt' |is one o|
|00001180| 66 20 74 68 65 20 57 69 | 6e 64 6f 77 73 2d 64 65 |f the Wi|ndows-de|
|00001190| 66 69 6e 65 64 20 64 61 | 74 61 20 74 79 70 65 73 |fined da|ta types|
|000011a0| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 43 |, for ex|ample, C|
|000011b0| 46 5f 54 45 58 54 2e 20 | 20 54 68 65 20 27 64 61 |F_TEXT. | The 'da|
|000011c0| 74 61 53 69 7a 65 27 20 | 73 70 65 63 69 66 69 65 |taSize' |specifie|
|000011d0| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|000011e0| 62 79 74 65 73 20 69 6e | 20 74 68 65 20 64 61 74 |bytes in| the dat|
|000011f0| 61 20 70 6f 69 6e 74 65 | 64 20 74 6f 20 62 79 20 |a pointe|d to by |
|00001200| 27 64 61 74 61 50 74 72 | 27 2e 20 20 4e 4f 54 45 |'dataPtr|'. NOTE|
|00001210| 3a 20 54 68 65 20 64 61 | 74 61 53 69 7a 65 20 76 |: The da|taSize v|
|00001220| 61 6c 75 65 20 69 73 20 | 74 68 65 20 76 61 6c 75 |alue is |the valu|
|00001230| 65 20 43 56 49 20 72 65 | 63 65 69 76 65 73 20 66 |e CVI re|ceives f|
|00001240| 72 6f 6d 20 4d 53 20 57 | 69 6e 64 6f 77 73 2e 20 |rom MS W|indows. |
|00001250| 54 68 69 73 20 76 61 6c | 75 65 20 63 61 6e 20 62 |This val|ue can b|
|00001260| 65 20 6c 61 72 67 65 72 | 20 74 68 61 6e 20 74 68 |e larger| than th|
|00001270| 65 20 61 63 74 75 61 6c | 20 6e 75 6d 62 65 72 20 |e actual| number |
|00001280| 6f 66 20 62 79 74 65 73 | 20 77 72 69 74 74 65 6e |of bytes| written|
|00001290| 20 62 79 20 74 68 65 20 | 63 6c 69 65 6e 74 2e 20 | by the |client. |
|000012a0| 0a 0a 44 44 45 5f 52 45 | 51 55 45 53 54 20 2d 20 |..DDE_RE|QUEST - |
|000012b0| 52 65 63 65 69 76 65 64 | 20 77 68 65 6e 20 74 68 |Received| when th|
|000012c0| 65 20 63 6c 69 65 6e 74 | 20 69 73 20 72 65 71 75 |e client| is requ|
|000012d0| 65 73 74 69 6e 67 20 74 | 68 61 74 20 64 61 74 61 |esting t|hat data|
|000012e0| 20 62 65 20 73 65 6e 74 | 20 74 6f 20 69 74 20 76 | be sent| to it v|
|000012f0| 69 61 20 44 44 45 2e 20 | 20 54 68 65 20 63 6c 69 |ia DDE. | The cli|
|00001300| 65 6e 74 20 6d 61 79 20 | 63 68 6f 6f 73 65 20 74 |ent may |choose t|
|00001310| 6f 20 72 65 71 75 65 73 | 74 20 64 61 74 61 20 61 |o reques|t data a|
|00001320| 74 20 61 6e 79 20 74 69 | 6d 65 2e 20 20 41 20 74 |t any ti|me. A t|
|00001330| 79 70 69 63 61 6c 20 63 | 61 73 65 20 69 6e 20 77 |ypical c|ase in w|
|00001340| 68 69 63 68 20 79 6f 75 | 20 6d 61 79 20 72 65 63 |hich you| may rec|
|00001350| 65 69 76 65 20 74 68 69 | 73 20 6d 65 73 73 61 67 |eive thi|s messag|
|00001360| 65 20 69 73 20 61 66 74 | 65 72 20 79 6f 75 20 68 |e is aft|er you h|
|00001370| 61 76 65 20 61 64 76 69 | 73 65 64 20 77 61 72 6d |ave advi|sed warm|
|00001380| 2d 6c 69 6e 6b 65 64 20 | 63 6c 69 65 6e 74 73 20 |-linked |clients |
|00001390| 74 68 61 74 20 6e 65 77 | 20 64 61 74 61 20 69 73 |that new| data is|
|000013a0| 20 72 65 61 64 79 2e 20 | 20 54 68 65 20 27 69 74 | ready. | The 'it|
|000013b0| 65 6d 4e 61 6d 65 27 20 | 63 61 6e 20 62 65 20 75 |emName' |can be u|
|000013c0| 73 65 64 20 74 6f 20 73 | 70 65 63 69 66 79 20 61 |sed to s|pecify a|
|000013d0| 6e 20 6f 62 6a 65 63 74 | 20 74 6f 20 77 68 69 63 |n object| to whic|
|000013e0| 68 20 74 68 65 20 64 61 | 74 61 20 72 65 66 65 72 |h the da|ta refer|
|000013f0| 73 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |s. For |example,|
|00001400| 20 69 6e 20 45 78 63 65 | 6c 2c 20 74 68 65 20 69 | in Exce|l, the i|
|00001410| 74 65 6d 20 6e 61 6d 65 | 20 73 70 65 63 69 66 69 |tem name| specifi|
|00001420| 65 73 20 61 20 63 65 6c | 6c 2e 20 20 54 68 65 20 |es a cel|l. The |
|00001430| 27 64 61 74 61 46 6d 74 | 27 20 69 73 20 6f 6e 65 |'dataFmt|' is one|
|00001440| 20 6f 66 20 74 68 65 20 | 57 69 6e 64 6f 77 73 2d | of the |Windows-|
|00001450| 64 65 66 69 6e 65 64 20 | 64 61 74 61 20 74 79 70 |defined |data typ|
|00001460| 65 73 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |es, for |example,|
|00001470| 20 43 46 5f 54 45 58 54 | 2e 0a 0a 44 44 45 5f 41 | CF_TEXT|...DDE_A|
|00001480| 44 56 49 53 45 4c 4f 4f | 50 20 2d 20 52 65 63 65 |DVISELOO|P - Rece|
|00001490| 69 76 65 64 20 77 68 65 | 6e 20 74 68 65 20 63 6c |ived whe|n the cl|
|000014a0| 69 65 6e 74 20 69 73 20 | 72 65 71 75 65 73 74 69 |ient is |requesti|
|000014b0| 6e 67 20 61 20 68 6f 74 | 20 6f 72 20 77 61 72 6d |ng a hot| or warm|
|000014c0| 20 6c 69 6e 6b 20 28 61 | 64 76 69 73 6f 72 79 20 | link (a|dvisory |
|000014d0| 6c 6f 6f 70 29 20 6f 6e | 20 61 20 73 70 65 63 69 |loop) on| a speci|
|000014e0| 66 69 63 20 69 74 65 6d | 2e 20 20 57 68 65 6e 20 |fic item|. When |
|000014f0| 61 20 68 6f 74 20 6f 72 | 20 77 61 72 6d 20 6c 69 |a hot or| warm li|
|00001500| 6e 6b 20 69 73 20 69 6e | 20 65 66 66 65 63 74 2c |nk is in| effect,|
|00001510| 20 74 68 65 20 73 65 72 | 76 65 72 20 69 73 20 73 | the ser|ver is s|
|00001520| 75 70 70 6f 73 65 64 20 | 74 6f 20 6e 6f 74 69 66 |upposed |to notif|
|00001530| 79 20 74 68 65 20 63 6c | 69 65 6e 74 20 77 68 65 |y the cl|ient whe|
|00001540| 6e 65 76 65 72 20 74 68 | 65 20 73 70 65 63 69 66 |never th|e specif|
|00001550| 69 65 64 20 69 74 65 6d | 20 63 68 61 6e 67 65 73 |ied item| changes|
|00001560| 20 76 61 6c 75 65 2e 20 | 20 54 68 65 20 73 65 72 | value. | The ser|
|00001570| 76 65 72 20 6e 6f 74 69 | 66 69 65 73 20 74 68 65 |ver noti|fies the|
|00001580| 20 63 6c 69 65 6e 74 28 | 73 29 20 6f 66 20 74 68 | client(|s) of th|
|00001590| 65 20 63 68 61 6e 67 65 | 20 69 6e 20 76 61 6c 75 |e change| in valu|
|000015a0| 65 20 62 79 20 63 61 6c | 6c 69 6e 67 20 74 68 65 |e by cal|ling the|
|000015b0| 20 66 75 6e 63 74 69 6f | 6e 20 41 64 76 69 73 65 | functio|n Advise|
|000015c0| 44 44 45 44 61 74 61 52 | 65 61 64 79 20 6f 72 20 |DDEDataR|eady or |
|000015d0| 42 72 6f 61 64 63 61 73 | 74 44 44 45 44 61 74 61 |Broadcas|tDDEData|
|000015e0| 52 65 61 64 79 2e 20 20 | 54 68 65 20 27 69 74 65 |Ready. |The 'ite|
|000015f0| 6d 4e 61 6d 65 27 20 61 | 6e 64 20 27 64 61 74 61 |mName' a|nd 'data|
|00001600| 46 6d 74 27 20 70 61 72 | 61 6d 65 74 65 72 73 20 |Fmt' par|ameters |
|00001610| 63 6f 6e 74 61 69 6e 20 | 73 69 67 6e 69 66 69 63 |contain |signific|
|00001620| 61 6e 74 20 76 61 6c 75 | 65 73 2e 20 20 54 68 65 |ant valu|es. The|
|00001630| 20 27 69 74 65 6d 4e 61 | 6d 65 27 20 63 61 6e 20 | 'itemNa|me' can |
|00001640| 62 65 20 75 73 65 64 20 | 74 6f 20 73 70 65 63 69 |be used |to speci|
|00001650| 66 79 20 61 6e 20 6f 62 | 6a 65 63 74 20 74 6f 20 |fy an ob|ject to |
|00001660| 77 68 69 63 68 20 74 68 | 65 20 64 61 74 61 20 69 |which th|e data i|
|00001670| 74 65 6d 20 72 65 66 65 | 72 73 2e 20 20 46 6f 72 |tem refe|rs. For|
|00001680| 20 65 78 61 6d 70 6c 65 | 2c 20 69 6e 20 45 78 63 | example|, in Exc|
|00001690| 65 6c 2c 20 74 68 65 20 | 69 74 65 6d 20 6e 61 6d |el, the |item nam|
|000016a0| 65 20 73 70 65 63 69 66 | 69 65 73 20 61 20 63 65 |e specif|ies a ce|
|000016b0| 6c 6c 2e 20 20 54 68 65 | 20 27 64 61 74 61 46 6d |ll. The| 'dataFm|
|000016c0| 74 27 20 69 73 20 6f 6e | 65 20 6f 66 20 74 68 65 |t' is on|e of the|
|000016d0| 20 57 69 6e 64 6f 77 73 | 2d 64 65 66 69 6e 65 64 | Windows|-defined|
|000016e0| 20 64 61 74 61 20 74 79 | 70 65 73 2c 20 66 6f 72 | data ty|pes, for|
|000016f0| 20 65 78 61 6d 70 6c 65 | 2c 20 43 46 5f 54 45 58 | example|, CF_TEX|
|00001700| 54 2e 0a 0a 44 44 45 5f | 41 44 56 49 53 45 53 54 |T...DDE_|ADVISEST|
|00001710| 4f 50 20 2d 20 52 65 63 | 65 69 76 65 64 20 77 68 |OP - Rec|eived wh|
|00001720| 65 6e 20 74 68 65 20 63 | 6c 69 65 6e 74 20 69 73 |en the c|lient is|
|00001730| 20 72 65 71 75 65 73 74 | 69 6e 67 20 74 68 65 20 | request|ing the |
|00001740| 74 65 72 6d 69 6e 61 74 | 69 6f 6e 20 6f 66 20 61 |terminat|ion of a|
|00001750| 6e 20 61 64 76 69 73 6f | 72 79 20 6c 6f 6f 70 2e |n adviso|ry loop.|
|00001760| 20 20 20 54 68 65 20 27 | 69 74 65 6d 4e 61 6d 65 | The '|itemName|
|00001770| 27 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 73 |' contai|ns the s|
|00001780| 61 6d 65 20 76 61 6c 75 | 65 20 74 68 61 74 20 77 |ame valu|e that w|
|00001790| 61 73 20 75 73 65 64 20 | 74 6f 20 73 65 74 20 75 |as used |to set u|
|000017a0| 70 20 74 68 65 20 61 64 | 76 69 73 6f 72 79 20 6c |p the ad|visory l|
|000017b0| 6f 6f 70 2e 0a 0a 44 44 | 45 5f 45 58 45 43 55 54 |oop...DD|E_EXECUT|
|000017c0| 45 20 2d 20 52 65 63 65 | 69 76 65 64 20 77 68 65 |E - Rece|ived whe|
|000017d0| 6e 20 74 68 65 20 63 6c | 69 65 6e 74 20 72 65 71 |n the cl|ient req|
|000017e0| 75 65 73 74 73 20 74 68 | 65 20 65 78 65 63 75 74 |uests th|e execut|
|000017f0| 69 6f 6e 20 6f 66 20 61 | 20 63 6f 6d 6d 61 6e 64 |ion of a| command|
|00001800| 2e 20 20 54 68 65 20 27 | 69 74 65 6d 4e 61 6d 65 |. The '|itemName|
|00001810| 27 20 70 61 72 61 6d 65 | 74 65 72 20 63 6f 6e 74 |' parame|ter cont|
|00001820| 61 69 6e 73 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |ains the| command|
|00001830| 20 73 74 72 69 6e 67 2e | 20 20 54 68 65 20 73 65 | string.| The se|
|00001840| 74 20 6f 66 20 76 61 6c | 69 64 20 63 6f 6d 6d 61 |t of val|id comma|
|00001850| 6e 64 20 73 74 72 69 6e | 67 73 20 69 73 20 64 65 |nd strin|gs is de|
|00001860| 66 69 6e 65 64 20 62 79 | 20 74 68 65 20 73 65 72 |fined by| the ser|
|00001870| 76 65 72 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c |ver. Fo|r exampl|
|00001880| 65 2c 20 45 78 63 65 6c | 20 75 73 65 73 20 22 5b |e, Excel| uses "[|
|00001890| 53 61 76 65 28 29 5d 22 | 20 74 6f 20 73 61 76 65 |Save()]"| to save|
|000018a0| 20 61 20 66 69 6c 65 2e | 0a 0a 52 65 6d 61 72 6b | a file.|..Remark|
|000018b0| 73 3a 0a 2d 2d 2d 2d 2d | 2d 2d 2d 0a 54 68 65 20 |s:.-----|---.The |
|000018c0| 63 61 6c 6c 62 61 63 6b | 20 66 75 6e 63 74 69 6f |callback| functio|
|000018d0| 6e 20 73 68 6f 75 6c 64 | 20 72 65 74 75 72 6e 20 |n should| return |
|000018e0| 54 52 55 45 20 69 66 20 | 74 68 65 20 72 65 71 75 |TRUE if |the requ|
|000018f0| 65 73 74 20 69 73 20 73 | 75 63 63 65 73 73 66 75 |est is s|uccessfu|
|00001900| 6c 20 61 6e 64 20 72 65 | 74 75 72 6e 20 46 41 4c |l and re|turn FAL|
|00001910| 53 45 20 69 66 20 69 74 | 20 69 73 20 6e 6f 74 2e |SE if it| is not.|
|00001920| 20 20 0a 0a 54 68 65 20 | 63 61 6c 6c 62 61 63 6b | ..The |callback|
|00001930| 20 66 75 6e 63 74 69 6f | 6e 20 73 68 6f 75 6c 64 | functio|n should|
|00001940| 20 62 65 20 73 68 6f 72 | 74 20 61 6e 64 20 72 65 | be shor|t and re|
|00001950| 74 75 72 6e 20 61 73 20 | 73 6f 6f 6e 20 61 73 20 |turn as |soon as |
|00001960| 70 6f 73 73 69 62 6c 65 | 2e 0a 0a 54 68 65 20 76 |possible|...The v|
|00001970| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 64 61 74 61 |alue of |the data|
|00001980| 53 69 7a 65 20 70 61 72 | 61 6d 65 74 65 72 20 63 |Size par|ameter c|
|00001990| 61 6e 20 62 65 20 67 72 | 65 61 74 65 72 20 74 68 |an be gr|eater th|
|000019a0| 61 6e 20 74 68 65 20 61 | 63 74 75 61 6c 20 73 69 |an the a|ctual si|
|000019b0| 7a 65 20 6f 66 20 74 68 | 65 20 64 61 74 61 2e 20 |ze of th|e data. |
|000019c0| 49 74 20 69 73 20 72 65 | 63 6f 6d 6d 65 6e 64 65 |It is re|commende|
|000019d0| 64 20 74 68 61 74 20 79 | 6f 75 20 65 6e 63 6f 64 |d that y|ou encod|
|000019e0| 65 20 73 69 7a 65 20 69 | 6e 66 6f 72 6d 61 74 69 |e size i|nformati|
|000019f0| 6f 6e 20 69 6e 20 79 6f | 75 72 20 64 61 74 61 2e |on in yo|ur data.|
|00001a00| 00 00 00 00 0a e7 00 00 | 00 00 52 65 74 75 72 6e |........|..Return|
|00001a10| 20 76 61 6c 75 65 20 69 | 6e 64 69 63 61 74 69 6e | value i|ndicatin|
|00001a20| 67 20 77 68 65 74 68 65 | 72 20 74 68 65 20 66 75 |g whethe|r the fu|
|00001a30| 6e 63 74 69 6f 6e 20 77 | 61 73 20 73 75 63 63 65 |nction w|as succe|
|00001a40| 73 73 66 75 6c 2e 20 20 | 55 6e 6c 65 73 73 20 6f |ssful. |Unless o|
|00001a50| 74 68 65 72 77 69 73 65 | 20 73 74 61 74 65 64 20 |therwise| stated |
|00001a60| 69 6e 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |in the f|unction |
|00001a70| 68 65 6c 70 2c 20 7a 65 | 72 6f 20 72 65 70 72 65 |help, ze|ro repre|
|00001a80| 73 65 6e 74 73 20 73 75 | 63 63 65 73 73 66 75 6c |sents su|ccessful|
|00001a90| 20 65 78 65 63 75 74 69 | 6f 6e 20 61 6e 64 20 61 | executi|on and a|
|00001aa0| 20 6e 65 67 61 74 69 76 | 65 20 6e 75 6d 62 65 72 | negativ|e number|
|00001ab0| 20 72 65 70 72 65 73 65 | 6e 74 73 20 74 68 65 20 | represe|nts the |
|00001ac0| 65 72 72 6f 72 20 63 6f | 64 65 2e 20 20 20 0a 0a |error co|de. ..|
|00001ad0| 46 6f 72 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 68 |For func|tions th|
|00001ae0| 61 74 20 72 65 61 64 20 | 6f 72 20 77 72 69 74 65 |at read |or write|
|00001af0| 20 64 61 74 61 20 28 43 | 6c 69 65 6e 74 44 44 45 | data (C|lientDDE|
|00001b00| 52 65 61 64 2c 20 43 6c | 69 65 6e 74 44 44 45 57 |Read, Cl|ientDDEW|
|00001b10| 72 69 74 65 2c 20 53 65 | 72 76 65 72 44 44 45 57 |rite, Se|rverDDEW|
|00001b20| 72 69 74 65 2c 20 41 64 | 76 69 73 65 44 44 45 44 |rite, Ad|viseDDED|
|00001b30| 61 74 61 52 65 61 64 79 | 2c 20 20 42 72 6f 61 64 |ataReady|, Broad|
|00001b40| 63 61 73 74 44 44 45 44 | 61 74 61 52 65 61 64 79 |castDDED|ataReady|
|00001b50| 29 2c 20 69 66 20 74 68 | 65 20 66 75 6e 63 74 69 |), if th|e functi|
|00001b60| 6f 6e 20 77 61 73 20 73 | 75 63 63 65 73 73 66 75 |on was s|uccessfu|
|00001b70| 6c 2c 20 74 68 65 20 72 | 65 74 75 72 6e 20 76 61 |l, the r|eturn va|
|00001b80| 6c 75 65 20 69 73 20 74 | 68 65 20 6e 75 6d 62 65 |lue is t|he numbe|
|00001b90| 72 20 6f 66 20 62 79 74 | 65 73 20 74 72 61 6e 73 |r of byt|es trans|
|00001ba0| 66 65 72 72 65 64 2e 0a | 0a 54 68 65 20 66 6f 6c |ferred..|.The fol|
|00001bb0| 6c 6f 77 69 6e 67 20 65 | 6e 75 6d 65 72 61 74 65 |lowing e|numerate|
|00001bc0| 64 20 74 79 70 65 20 69 | 73 20 64 65 63 6c 61 72 |d type i|s declar|
|00001bd0| 65 64 20 69 6e 20 64 64 | 65 73 75 70 70 2e 68 2e |ed in dd|esupp.h.|
|00001be0| 20 20 0a 49 74 20 73 70 | 65 66 69 63 69 65 73 20 | .It sp|eficies |
|00001bf0| 74 68 65 20 61 62 73 6f | 6c 75 74 65 20 76 61 6c |the abso|lute val|
|00001c00| 75 65 73 20 6f 66 20 74 | 68 65 20 65 72 72 6f 72 |ues of t|he error|
|00001c10| 20 63 6f 64 65 73 2e 20 | 20 46 6f 72 20 69 6e 73 | codes. | For ins|
|00001c20| 74 61 6e 63 65 2c 20 69 | 66 20 61 6e 20 69 6e 76 |tance, i|f an inv|
|00001c30| 61 6c 69 64 20 70 61 72 | 61 6d 65 74 65 72 20 69 |alid par|ameter i|
|00001c40| 73 20 70 61 73 73 65 64 | 2c 20 2d 6b 44 44 45 5f |s passed|, -kDDE_|
|00001c50| 49 6e 76 61 6c 69 64 50 | 61 72 61 6d 65 74 65 72 |InvalidP|arameter|
|00001c60| 20 69 73 20 72 65 74 75 | 72 6e 65 64 2e 0a 20 20 | is retu|rned.. |
|00001c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c90| 20 20 20 20 20 20 20 20 | 0a 20 20 20 20 20 20 20 | |. |
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cc0| 20 20 20 20 20 20 20 76 | 61 6c 75 65 0a 20 20 20 | v|alue. |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cf0| 20 20 20 20 20 20 20 20 | 20 20 20 2d 2d 2d 2d 2d | | -----|
|00001d00| 0a 20 2d 6b 44 44 45 5f | 4e 6f 45 72 72 6f 72 20 |. -kDDE_|NoError |
|00001d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d30| 20 30 0a 20 2d 6b 44 44 | 45 5f 55 6e 61 62 6c 65 | 0. -kDD|E_Unable|
|00001d40| 54 6f 52 65 67 69 73 74 | 65 72 53 65 72 76 69 63 |ToRegist|erServic|
|00001d50| 65 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e | |
|00001d60| 20 20 2d 31 0a 20 2d 6b | 44 44 45 5f 45 78 69 73 | -1. -k|DDE_Exis|
|00001d70| 74 69 6e 67 53 65 72 76 | 65 72 20 20 20 20 20 20 |tingServ|er |
|00001d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d90| 20 20 20 20 2d 32 0a 20 | 2d 6b 44 44 45 5f 46 61 | -2. |-kDDE_Fa|
|00001da0| 69 6c 65 64 54 6f 43 6f | 6e 6e 65 63 74 20 20 20 |iledToCo|nnect |
|00001db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001dc0| 20 20 20 20 20 20 2d 33 | 0a 20 2d 6b 44 44 45 5f | -3|. -kDDE_|
|00001dd0| 53 65 72 76 65 72 4e 6f | 74 52 65 67 69 73 74 65 |ServerNo|tRegiste|
|00001de0| 72 65 64 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |red | |
|00001df0| 20 20 20 20 20 20 20 20 | 2d 34 0a 20 2d 6b 44 44 | |-4. -kDD|
|00001e00| 45 5f 54 6f 6f 4d 61 6e | 79 43 6f 6e 76 65 72 73 |E_TooMan|yConvers|
|00001e10| 61 74 69 6f 6e 73 20 20 | 20 20 20 20 20 20 20 20 |ations | |
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 2d 35 0a 20 2d 6b | | -5. -k|
|00001e30| 44 44 45 5f 52 65 61 64 | 46 61 69 6c 65 64 20 20 |DDE_Read|Failed |
|00001e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 2d 36 0a 20 | | -6. |
|00001e60| 2d 6b 44 44 45 5f 57 72 | 69 74 65 46 61 69 6c 65 |-kDDE_Wr|iteFaile|
|00001e70| 64 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d | |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 37 | | -7|
|00001e90| 0a 20 2d 6b 44 44 45 5f | 45 78 65 63 75 74 69 6f |. -kDDE_|Executio|
|00001ea0| 6e 46 61 69 6c 65 64 20 | 20 20 20 20 20 20 20 20 |nFailed | |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ec0| 2d 38 0a 20 2d 6b 44 44 | 45 5f 49 6e 76 61 6c 69 |-8. -kDD|E_Invali|
|00001ed0| 64 50 61 72 61 6d 65 74 | 65 72 20 20 20 20 20 20 |dParamet|er |
|00001ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ef0| 20 20 2d 39 0a 20 2d 6b | 44 44 45 5f 4f 75 74 4f | -9. -k|DDE_OutO|
|00001f00| 66 4d 65 6d 6f 72 79 20 | 20 20 20 20 20 20 20 20 |fMemory | |
|00001f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f20| 20 20 20 20 2d 31 30 0a | 20 2d 6b 44 44 45 5f 54 | -10.| -kDDE_T|
|00001f30| 69 6d 65 4f 75 74 45 72 | 72 20 20 20 20 20 20 20 |imeOutEr|r |
|00001f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f50| 20 20 20 20 20 20 20 2d | 31 31 0a 20 2d 6b 44 44 | -|11. -kDD|
|00001f60| 45 5f 4e 6f 43 6f 6e 6e | 65 63 74 69 6f 6e 45 73 |E_NoConn|ectionEs|
|00001f70| 74 61 62 6c 69 73 68 65 | 64 20 20 20 20 20 20 20 |tablishe|d |
|00001f80| 20 20 20 20 20 20 20 20 | 20 20 2d 31 32 0a 20 2d | | -12. -|
|00001f90| 6b 44 44 45 5f 46 61 69 | 6c 65 64 54 6f 53 65 74 |kDDE_Fai|ledToSet|
|00001fa0| 55 70 48 6f 74 4c 69 6e | 6b 20 20 20 20 20 20 20 |UpHotLin|k |
|00001fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2d 31 33 | | -13|
|00001fc0| 0a 20 2d 6b 44 44 45 5f | 46 61 69 6c 65 64 54 6f |. -kDDE_|FailedTo|
|00001fd0| 53 65 74 55 70 57 61 72 | 6d 4c 69 6e 6b 20 20 20 |SetUpWar|mLink |
|00001fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ff0| 2d 31 34 0a 20 2d 6b 44 | 44 45 5f 47 65 6e 65 72 |-14. -kD|DE_Gener|
|00002000| 61 6c 49 4f 45 72 72 20 | 20 20 20 20 20 20 20 20 |alIOErr | |
|00002010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002020| 20 20 20 2d 31 35 0a 20 | 2d 6b 44 44 45 5f 41 64 | -15. |-kDDE_Ad|
|00002030| 76 41 63 6b 54 69 6d 65 | 4f 75 74 20 20 20 20 20 |vAckTime|Out |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002050| 20 20 20 20 20 20 2d 31 | 36 0a 20 2d 6b 44 44 45 | -1|6. -kDDE|
|00002060| 5f 42 75 73 79 20 20 20 | 20 20 20 20 20 20 20 20 |_Busy | |
|00002070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002080| 20 20 20 20 20 20 20 20 | 20 2d 31 37 0a 20 2d 6b | | -17. -k|
|00002090| 44 44 45 5f 44 61 74 61 | 41 63 6b 54 69 6d 65 4f |DDE_Data|AckTimeO|
|000020a0| 75 74 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ut | |
|000020b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2d 31 38 0a | | -18.|
|000020c0| 20 2d 6b 44 44 45 5f 44 | 6c 6c 4e 6f 74 49 6e 69 | -kDDE_D|llNotIni|
|000020d0| 74 69 61 6c 69 7a 65 64 | 20 20 20 20 20 20 20 20 |tialized| |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|000020f0| 31 39 0a 20 2d 6b 44 44 | 45 5f 44 6c 6c 55 73 61 |19. -kDD|E_DllUsa|
|00002100| 67 65 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ge | |
|00002110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002120| 20 20 2d 32 30 0a 20 2d | 6b 44 44 45 5f 45 78 65 | -20. -|kDDE_Exe|
|00002130| 63 41 63 6b 54 69 6d 65 | 4f 75 74 20 20 20 20 20 |cAckTime|Out |
|00002140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002150| 20 20 20 20 20 2d 32 31 | 0a 20 2d 6b 44 44 45 5f | -21|. -kDDE_|
|00002160| 44 61 74 61 4d 69 73 6d | 61 74 63 68 20 20 20 20 |DataMism|atch |
|00002170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002180| 20 20 20 20 20 20 20 20 | 2d 32 32 0a 20 2d 6b 44 | |-22. -kD|
|00002190| 44 45 5f 4c 6f 77 4d 65 | 6d 6f 72 79 20 20 20 20 |DE_LowMe|mory |
|000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 20 2d 32 33 0a 20 | | -23. |
|000021c0| 2d 6b 44 44 45 5f 4d 65 | 6d 6f 72 79 45 72 72 6f |-kDDE_Me|moryErro|
|000021d0| 72 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |r | |
|000021e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 32 | | -2|
|000021f0| 34 0a 20 2d 6b 44 44 45 | 5f 4e 6f 74 50 72 6f 63 |4. -kDDE|_NotProc|
|00002200| 65 73 73 65 64 20 20 20 | 20 20 20 20 20 20 20 20 |essed | |
|00002210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002220| 20 2d 32 35 0a 20 2d 6b | 44 44 45 5f 4e 6f 43 6f | -25. -k|DDE_NoCo|
|00002230| 6e 76 45 73 74 61 62 6c | 69 73 68 65 64 20 20 20 |nvEstabl|ished |
|00002240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002250| 20 20 20 20 2d 32 36 0a | 20 2d 6b 44 44 45 5f 50 | -26.| -kDDE_P|
|00002260| 6f 6b 65 41 63 6b 54 69 | 6d 65 4f 75 74 20 20 20 |okeAckTi|meOut |
|00002270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002280| 20 20 20 20 20 20 20 2d | 32 37 0a 20 2d 6b 44 44 | -|27. -kDD|
|00002290| 45 5f 50 6f 73 74 4d 73 | 67 46 61 69 6c 65 64 20 |E_PostMs|gFailed |
|000022a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000022b0| 20 20 20 20 20 20 20 20 | 20 20 2d 32 38 0a 20 2d | | -28. -|
|000022c0| 6b 44 44 45 5f 52 65 65 | 6e 74 72 61 6e 63 79 20 |kDDE_Ree|ntrancy |
|000022d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000022e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2d 32 39 | | -29|
|000022f0| 0a 20 2d 6b 44 44 45 5f | 53 65 72 76 65 72 44 69 |. -kDDE_|ServerDi|
|00002300| 65 64 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ed | |
|00002310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002320| 2d 33 30 0a 20 2d 6b 44 | 44 45 5f 53 79 73 45 72 |-30. -kD|DE_SysEr|
|00002330| 72 6f 72 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ror | |
|00002340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002350| 20 20 20 2d 33 31 0a 20 | 2d 6b 44 44 45 5f 55 6e | -31. |-kDDE_Un|
|00002360| 61 64 76 41 63 6b 54 69 | 6d 65 4f 75 74 20 20 20 |advAckTi|meOut |
|00002370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002380| 20 20 20 20 20 20 2d 33 | 32 0a 20 2d 6b 44 44 45 | -3|2. -kDDE|
|00002390| 5f 55 6e 66 6f 75 6e 64 | 51 75 65 75 65 49 64 20 |_Unfound|QueueId |
|000023a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023b0| 20 20 20 20 20 20 20 20 | 20 2d 33 33 0a 0a 52 65 | | -33..Re|
|000023c0| 6d 61 72 6b 73 3a 0a 2d | 2d 2d 2d 2d 2d 2d 2d 0a |marks:.-|-------.|
|000023d0| 43 75 72 72 65 6e 74 6c | 79 2c 20 74 68 65 72 65 |Currentl|y, there|
|000023e0| 20 65 78 69 73 74 73 20 | 61 6e 20 75 70 70 65 72 | exists |an upper|
|000023f0| 20 6c 69 6d 69 74 20 6f | 66 20 32 35 35 20 63 6f | limit o|f 255 co|
|00002400| 6e 63 75 72 72 65 6e 74 | 20 63 6f 6e 76 65 72 73 |ncurrent| convers|
|00002410| 61 74 69 6f 6e 73 20 61 | 6c 6c 6f 77 65 64 20 61 |ations a|llowed a|
|00002420| 74 20 61 6e 79 20 6f 6e | 65 20 74 69 6d 65 2e 20 |t any on|e time. |
|00002430| 20 49 66 20 79 6f 75 20 | 65 78 63 65 65 64 20 74 | If you |exceed t|
|00002440| 68 69 73 0a 6c 69 6d 69 | 74 2c 20 2d 6b 44 44 45 |his.limi|t, -kDDE|
|00002450| 5f 54 6f 6f 4d 61 6e 79 | 43 6f 6e 76 65 72 73 61 |_TooMany|Conversa|
|00002460| 74 69 6f 6e 73 20 77 69 | 6c 6c 20 62 65 20 72 65 |tions wi|ll be re|
|00002470| 74 75 72 6e 65 64 2e 0a | 0a 45 72 72 6f 72 20 63 |turned..|.Error c|
|00002480| 6f 64 65 73 20 66 72 6f | 6d 20 2d 31 36 20 74 6f |odes fro|m -16 to|
|00002490| 20 2d 33 33 20 61 72 65 | 20 6e 61 74 69 76 65 20 | -33 are| native |
|000024a0| 44 44 45 4d 4c 20 65 72 | 72 6f 72 73 20 77 68 69 |DDEML er|rors whi|
|000024b0| 63 68 20 0a 63 6f 72 72 | 65 73 70 6f 6e 64 20 74 |ch .corr|espond t|
|000024c0| 6f 20 77 69 6e 64 6f 77 | 73 20 64 64 65 20 65 72 |o window|s dde er|
|000024d0| 72 6f 72 20 63 6f 64 65 | 73 20 73 74 61 72 74 69 |ror code|s starti|
|000024e0| 6e 67 20 66 72 6f 6d 20 | 30 78 34 30 30 30 2e 00 |ng from |0x4000..|
|000024f0| 00 00 00 03 6a 00 00 00 | 00 41 20 66 6f 75 72 2d |....j...|.A four-|
|00002500| 62 79 74 65 20 76 61 6c | 75 65 20 74 68 61 74 20 |byte val|ue that |
|00002510| 77 69 6c 6c 20 62 65 20 | 70 61 73 73 65 64 20 74 |will be |passed t|
|00002520| 6f 20 74 68 65 20 63 61 | 6c 6c 62 61 63 6b 20 66 |o the ca|llback f|
|00002530| 75 6e 63 74 69 6f 6e 20 | 65 61 63 68 20 74 69 6d |unction |each tim|
|00002540| 65 20 69 74 20 69 73 20 | 63 61 6c 6c 65 64 20 66 |e it is |called f|
|00002550| 6f 72 20 74 68 65 20 74 | 68 69 73 20 73 65 72 76 |or the t|his serv|
|00002560| 65 72 2e 0a 0a 49 74 20 | 69 73 20 75 70 20 74 6f |er...It |is up to|
|00002570| 20 79 6f 75 20 74 6f 20 | 64 65 66 69 6e 65 20 74 | you to |define t|
|00002580| 68 65 20 6d 65 61 6e 69 | 6e 67 20 6f 66 20 74 68 |he meani|ng of th|
|00002590| 65 20 63 61 6c 6c 62 61 | 63 6b 20 64 61 74 61 2e |e callba|ck data.|
|000025a0| 20 20 0a 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 | .The f|ollowing|
|000025b0| 20 61 72 65 20 65 78 61 | 6d 70 6c 65 73 20 6f 66 | are exa|mples of|
|000025c0| 20 68 6f 77 20 74 68 65 | 20 63 61 6c 6c 62 61 63 | how the| callbac|
|000025d0| 6b 20 64 61 74 61 20 63 | 61 6e 20 62 65 20 75 73 |k data c|an be us|
|000025e0| 65 64 3a 0a 0a 20 20 20 | 20 31 2e 20 20 59 6f 75 |ed:.. | 1. You|
|000025f0| 20 63 61 6e 20 72 65 67 | 69 73 74 65 72 20 79 6f | can reg|ister yo|
|00002600| 75 72 20 70 72 6f 67 72 | 61 6d 20 61 73 20 61 20 |ur progr|am as a |
|00002610| 44 44 45 20 73 65 72 76 | 65 72 20 6d 75 6c 74 69 |DDE serv|er multi|
|00002620| 70 6c 65 0a 20 20 20 20 | 20 20 20 20 74 69 6d 65 |ple. | time|
|00002630| 73 20 75 6e 64 65 72 20 | 64 69 66 66 65 72 65 6e |s under |differen|
|00002640| 74 20 6e 61 6d 65 73 2e | 20 20 59 6f 75 20 63 6f |t names.| You co|
|00002650| 75 6c 64 20 75 73 65 20 | 74 68 65 20 73 61 6d 65 |uld use |the same|
|00002660| 0a 20 20 20 20 20 20 20 | 20 63 61 6c 6c 62 61 63 |. | callbac|
|00002670| 6b 20 66 75 6e 63 74 69 | 6f 6e 20 66 6f 72 20 61 |k functi|on for a|
|00002680| 6c 6c 20 6f 66 20 74 68 | 65 20 73 65 72 76 65 72 |ll of th|e server|
|00002690| 20 69 6e 73 74 61 6e 63 | 65 73 20 62 79 0a 20 20 | instanc|es by. |
|000026a0| 20 20 20 20 20 20 75 73 | 69 6e 67 20 74 68 65 20 | us|ing the |
|000026b0| 63 61 6c 6c 62 61 63 6b | 20 64 61 74 61 20 74 6f |callback| data to|
|000026c0| 20 64 69 66 66 65 72 65 | 6e 74 69 61 74 65 20 62 | differe|ntiate b|
|000026d0| 65 74 77 65 65 6e 20 74 | 68 65 6d 2e 0a 0a 20 20 |etween t|hem... |
|000026e0| 20 20 32 2e 20 20 59 6f | 75 20 63 61 6e 20 75 73 | 2. Yo|u can us|
|000026f0| 65 20 74 68 65 20 63 61 | 6c 6c 62 61 63 6b 20 64 |e the ca|llback d|
|00002700| 61 74 61 20 74 6f 20 70 | 6f 69 6e 74 20 74 6f 20 |ata to p|oint to |
|00002710| 61 20 64 61 74 61 20 6f | 62 6a 65 63 74 0a 20 20 |a data o|bject. |
|00002720| 20 20 20 20 20 20 74 68 | 61 74 20 79 6f 75 20 6e | th|at you n|
|00002730| 65 65 64 20 74 6f 20 61 | 63 63 65 73 73 20 69 6e |eed to a|ccess in|
|00002740| 20 74 68 65 20 63 61 6c | 6c 62 61 63 6b 20 66 75 | the cal|lback fu|
|00002750| 6e 63 74 69 6f 6e 2e 20 | 20 49 6e 20 20 20 20 20 |nction. | In |
|00002760| 20 0a 20 20 20 20 20 20 | 20 20 74 68 69 73 20 77 | . | this w|
|00002770| 61 79 2c 20 79 6f 75 20 | 77 6f 75 6c 64 20 6e 6f |ay, you |would no|
|00002780| 74 20 6e 65 65 64 20 74 | 6f 20 64 65 63 6c 61 72 |t need t|o declar|
|00002790| 65 20 74 68 65 20 64 61 | 74 61 20 6f 62 6a 65 63 |e the da|ta objec|
|000027a0| 74 0a 20 20 20 20 20 20 | 20 20 61 73 20 61 20 67 |t. | as a g|
|000027b0| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 2e 0a |lobal va|riable..|
|000027c0| 0a 49 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 77 |.If you |do not w|
|000027d0| 61 6e 74 20 74 6f 20 75 | 73 65 20 74 68 65 20 63 |ant to u|se the c|
|000027e0| 61 6c 6c 62 61 63 6b 20 | 64 61 74 61 2c 20 79 6f |allback |data, yo|
|000027f0| 75 20 63 61 6e 20 70 61 | 73 73 20 30 2e 0a 0a 4e |u can pa|ss 0...N|
|00002800| 4f 54 45 3a 0a 0a 43 61 | 6c 6c 62 61 63 6b 20 64 |OTE:..Ca|llback d|
|00002810| 61 74 61 20 69 73 20 6e | 6f 74 20 61 76 61 69 6c |ata is n|ot avail|
|00002820| 61 62 6c 65 20 77 68 65 | 6e 20 78 54 79 70 65 20 |able whe|n xType |
|00002830| 44 44 45 5f 44 49 53 43 | 4f 4e 4e 45 43 54 20 69 |DDE_DISC|ONNECT i|
|00002840| 73 20 70 61 73 73 65 64 | 20 74 6f 20 74 68 65 20 |s passed| to the |
|00002850| 73 65 72 76 65 72 20 63 | 61 6c 6c 62 61 63 6b 2e |server c|allback.|
|00002860| 0a 00 00 00 00 07 e2 00 | 44 00 2e 00 00 00 0b 01 |........|D.......|
|00002870| 00 00 00 00 00 00 00 53 | 65 72 76 65 72 20 4e 61 |.......S|erver Na|
|00002880| 6d 65 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |me......|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 08 68 00 44 00 e5 00 |........|..h.D...|
|000028a0| 01 03 e8 01 00 00 00 00 | 00 00 00 43 61 6c 6c 62 |........|...Callb|
|000028b0| 61 63 6b 20 46 75 6e 63 | 74 69 6f 6e 00 00 00 00 |ack Func|tion....|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 1a 02 01 |........|........|
|000028d0| 13 01 b8 ff ff 00 00 06 | 00 00 00 00 00 00 00 53 |........|.......S|
|000028e0| 74 61 74 75 73 00 00 00 | 00 00 00 00 00 00 00 00 |tatus...|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 24 f1 00 44 01 9c 00 | 02 00 16 01 00 00 00 00 |.$..D...|........|
|00002910| 00 00 00 43 61 6c 6c 62 | 61 63 6b 20 44 61 74 61 |...Callb|ack Data|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 03 22 | 22 00 00 00 00 01 00 00 |......."|".......|
|00002940| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 00 00 02 |........|........|
|00002950| 30 00 00 00 03 67 00 00 | 00 00 54 68 69 73 20 66 |0....g..|..This f|
|00002960| 75 6e 63 74 69 6f 6e 20 | 61 6c 6c 6f 77 73 20 79 |unction |allows y|
|00002970| 6f 75 72 20 70 72 6f 67 | 72 61 6d 2c 20 61 63 74 |our prog|ram, act|
|00002980| 69 6e 67 20 61 73 20 61 | 20 44 44 45 20 73 65 72 |ing as a| DDE ser|
|00002990| 76 65 72 2c 20 74 6f 20 | 73 65 6e 64 20 64 61 74 |ver, to |send dat|
|000029a0| 61 20 74 6f 20 61 20 63 | 6c 69 65 6e 74 2e 20 20 |a to a c|lient. |
|000029b0| 0a 0a 59 6f 75 20 73 68 | 6f 75 6c 64 20 63 61 6c |..You sh|ould cal|
|000029c0| 6c 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |l this f|unction |
|000029d0| 6f 6e 6c 79 20 77 68 65 | 6e 20 79 6f 75 72 20 73 |only whe|n your s|
|000029e0| 65 72 76 65 72 20 63 61 | 6c 6c 62 61 63 6b 20 66 |erver ca|llback f|
|000029f0| 75 6e 63 74 69 6f 6e 20 | 72 65 63 65 69 76 65 73 |unction |receives|
|00002a00| 20 61 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 20 74 | a trans|action t|
|00002a10| 79 70 65 20 28 78 54 79 | 70 65 29 20 6f 66 20 44 |ype (xTy|pe) of D|
|00002a20| 44 45 5f 52 45 51 55 45 | 53 54 44 41 54 41 2e 20 |DE_REQUE|STDATA. |
|00002a30| 20 20 20 20 49 66 20 79 | 6f 75 20 63 61 6c 6c 20 | If y|ou call |
|00002a40| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 61 74 20 |the func|tion at |
|00002a50| 61 6e 79 20 6f 74 68 65 | 72 20 74 69 6d 65 2c 20 |any othe|r time, |
|00002a60| 74 68 65 20 64 61 74 61 | 20 69 73 20 73 74 6f 72 |the data| is stor|
|00002a70| 65 64 20 75 6e 74 69 6c | 20 74 68 65 20 63 6c 69 |ed until| the cli|
|00002a80| 65 6e 74 20 72 65 71 75 | 65 73 74 73 20 64 61 74 |ent requ|ests dat|
|00002a90| 61 2e 20 20 49 66 20 79 | 6f 75 20 63 61 6c 6c 20 |a. If y|ou call |
|00002aa0| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 6d 75 6c |the func|tion mul|
|00002ab0| 74 69 70 6c 65 20 74 69 | 6d 65 73 20 6f 6e 20 74 |tiple ti|mes on t|
|00002ac0| 68 65 20 73 61 6d 65 20 | 63 6f 6e 76 65 72 73 61 |he same |conversa|
|00002ad0| 74 69 6f 6e 20 62 65 66 | 6f 72 65 20 74 68 65 20 |tion bef|ore the |
|00002ae0| 63 6c 69 65 6e 74 20 72 | 65 71 75 65 73 74 73 20 |client r|equests |
|00002af0| 74 68 65 20 64 61 74 61 | 2c 20 74 68 65 20 65 61 |the data|, the ea|
|00002b00| 63 68 20 6e 65 77 20 64 | 61 74 61 20 73 65 74 20 |ch new d|ata set |
|00002b10| 69 73 20 61 70 70 65 6e | 64 65 64 20 74 6f 20 74 |is appen|ded to t|
|00002b20| 68 65 20 62 75 66 66 65 | 72 20 63 6f 6e 74 61 69 |he buffe|r contai|
|00002b30| 6e 69 6e 67 20 74 68 65 | 20 73 74 6f 72 65 64 20 |ning the| stored |
|00002b40| 64 61 74 61 2e 0a 0a 49 | 66 20 74 68 65 20 63 6c |data...I|f the cl|
|00002b50| 69 65 6e 74 20 68 61 73 | 20 73 65 74 20 75 70 20 |ient has| set up |
|00002b60| 61 20 68 6f 74 20 6f 72 | 20 77 61 72 6d 20 6c 69 |a hot or| warm li|
|00002b70| 6e 6b 2c 20 61 6e 64 20 | 79 6f 75 20 6e 65 65 64 |nk, and |you need|
|00002b80| 20 74 6f 20 73 65 6e 64 | 20 64 61 74 61 20 6f 74 | to send| data ot|
|00002b90| 68 65 72 20 74 68 61 6e | 20 69 6e 20 72 65 70 6f |her than| in repo|
|00002ba0| 6e 73 65 20 74 6f 20 61 | 20 44 44 45 5f 52 45 51 |nse to a| DDE_REQ|
|00002bb0| 55 45 53 54 44 41 54 41 | 20 74 72 61 6e 73 61 63 |UESTDATA| transac|
|00002bc0| 74 69 6f 6e 2c 20 75 73 | 65 20 74 68 65 20 41 64 |tion, us|e the Ad|
|00002bd0| 76 69 73 65 44 44 45 44 | 61 74 61 52 65 61 64 79 |viseDDED|ataReady|
|00002be0| 20 6f 72 20 42 72 6f 61 | 64 63 61 73 74 44 44 45 | or Broa|dcastDDE|
|00002bf0| 44 61 74 61 52 65 61 64 | 79 20 66 75 6e 63 74 69 |DataRead|y functi|
|00002c00| 6f 6e 2e 0a 0a 49 66 20 | 73 75 63 63 65 73 73 66 |on...If |successf|
|00002c10| 75 6c 2c 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |ul, this| functio|
|00002c20| 6e 20 72 65 74 75 72 6e | 73 20 74 68 65 20 6e 75 |n return|s the nu|
|00002c30| 6d 62 65 72 20 6f 66 20 | 62 79 74 65 73 20 77 72 |mber of |bytes wr|
|00002c40| 69 74 74 65 6e 2e 20 20 | 4f 74 68 65 72 77 69 73 |itten. |Otherwis|
|00002c50| 65 2c 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |e, this |function|
|00002c60| 20 72 65 74 75 72 6e 73 | 20 61 20 6e 65 67 61 74 | returns| a negat|
|00002c70| 69 76 65 20 65 72 72 6f | 72 20 63 6f 64 65 2e 20 |ive erro|r code. |
|00002c80| 20 53 65 65 20 74 68 65 | 20 68 65 6c 70 20 66 6f | See the| help fo|
|00002c90| 72 20 74 68 65 20 53 74 | 61 74 75 73 20 63 6f 6e |r the St|atus con|
|00002ca0| 74 72 6f 6c 20 66 6f 72 | 20 74 68 65 20 65 72 72 |trol for| the err|
|00002cb0| 6f 72 20 63 6f 64 65 20 | 76 61 6c 75 65 73 2e 00 |or code |values..|
|00002cc0| 00 00 00 00 65 00 00 00 | 00 54 68 65 20 63 6f 6e |....e...|.The con|
|00002cd0| 76 65 72 73 61 74 69 6f | 6e 20 68 61 6e 64 6c 65 |versatio|n handle|
|00002ce0| 20 74 68 61 74 20 75 6e | 69 71 75 65 6c 79 20 72 | that un|iquely r|
|00002cf0| 65 70 72 65 73 65 6e 74 | 73 20 74 68 65 20 63 6f |epresent|s the co|
|00002d00| 6e 6e 65 63 74 69 6f 6e | 20 62 65 74 77 65 65 6e |nnection| between|
|00002d10| 20 74 68 65 20 73 65 72 | 76 65 72 20 61 6e 64 20 | the ser|ver and |
|00002d20| 74 68 65 20 63 6c 69 65 | 6e 74 2e 20 00 00 00 00 |the clie|nt. ....|
|00002d30| 00 a3 00 00 00 00 54 68 | 65 20 6e 61 6d 65 20 69 |......Th|e name i|
|00002d40| 64 65 6e 74 69 66 79 69 | 6e 67 20 74 68 65 20 6f |dentifyi|ng the o|
|00002d50| 62 6a 65 63 74 20 74 6f | 20 77 68 69 63 68 20 74 |bject to| which t|
|00002d60| 68 65 20 64 61 74 61 20 | 72 65 66 65 72 73 2e 0a |he data |refers..|
|00002d70| 45 61 63 68 20 73 65 72 | 76 65 72 20 64 65 66 69 |Each ser|ver defi|
|00002d80| 6e 65 73 20 69 74 73 20 | 6f 77 6e 20 73 65 74 20 |nes its |own set |
|00002d90| 6f 66 20 76 61 6c 69 64 | 20 69 74 65 6d 20 6e 61 |of valid| item na|
|00002da0| 6d 65 73 2e 20 0a 0a 54 | 68 65 20 6e 61 6d 65 20 |mes. ..T|he name |
|00002db0| 6d 75 73 74 20 62 65 20 | 73 74 72 69 6e 67 20 6f |must be |string o|
|00002dc0| 66 20 6c 65 6e 67 74 68 | 20 66 72 6f 6d 20 31 20 |f length| from 1 |
|00002dd0| 74 6f 20 32 35 35 2e 00 | 00 00 00 01 bb 00 00 00 |to 255..|........|
|00002de0| 00 4f 6e 65 20 6f 66 20 | 74 68 65 20 64 61 74 61 |.One of |the data|
|00002df0| 20 66 6f 72 6d 61 74 73 | 20 72 65 63 6f 67 6e 69 | formats| recogni|
|00002e00| 7a 65 64 20 62 79 20 4d | 53 20 57 69 6e 64 6f 77 |zed by M|S Window|
|00002e10| 73 2e 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |s. The f|ollowing|
|00002e20| 20 61 72 65 20 74 68 65 | 20 76 61 6c 69 64 20 64 | are the| valid d|
|00002e30| 61 74 61 20 66 6f 72 6d | 61 74 73 20 73 75 70 70 |ata form|ats supp|
|00002e40| 6f 72 74 65 64 20 62 79 | 20 4d 53 20 57 69 6e 64 |orted by| MS Wind|
|00002e50| 6f 77 73 3a 0a 0a 43 46 | 5f 54 45 58 54 0a 43 46 |ows:..CF|_TEXT.CF|
|00002e60| 5f 42 49 54 4d 41 50 0a | 43 46 5f 4d 45 54 41 46 |_BITMAP.|CF_METAF|
|00002e70| 49 4c 45 50 49 43 54 0a | 43 46 5f 53 59 4c 4b 0a |ILEPICT.|CF_SYLK.|
|00002e80| 43 46 5f 44 49 46 0a 43 | 46 5f 54 49 46 46 0a 43 |CF_DIF.C|F_TIFF.C|
|00002e90| 46 5f 4f 45 4d 54 45 58 | 54 0a 43 46 5f 44 49 42 |F_OEMTEX|T.CF_DIB|
|00002ea0| 0a 43 46 5f 50 41 4c 45 | 54 54 45 0a 43 46 5f 50 |.CF_PALE|TTE.CF_P|
|00002eb0| 45 4e 44 41 54 41 0a 43 | 46 5f 52 49 46 46 0a 43 |ENDATA.C|F_RIFF.C|
|00002ec0| 46 5f 57 41 56 45 0a 43 | 46 5f 4f 57 4e 45 52 44 |F_WAVE.C|F_OWNERD|
|00002ed0| 49 53 50 4c 41 59 0a 43 | 46 5f 44 53 50 54 45 58 |ISPLAY.C|F_DSPTEX|
|00002ee0| 54 0a 43 46 5f 44 53 50 | 42 49 54 4d 41 50 0a 43 |T.CF_DSP|BITMAP.C|
|00002ef0| 46 5f 44 53 50 4d 45 54 | 41 46 49 4c 45 50 49 43 |F_DSPMET|AFILEPIC|
|00002f00| 54 0a 0a 63 6f 6d 6d 65 | 6e 74 73 0a 2d 2d 2d 2d |T..comme|nts.----|
|00002f10| 2d 2d 2d 2d 0a 50 6c 65 | 61 73 65 20 72 65 66 65 |----.Ple|ase refe|
|00002f20| 72 20 74 6f 20 4d 53 20 | 57 49 6e 64 6f 77 73 20 |r to MS |WIndows |
|00002f30| 33 2e 78 20 50 72 6f 67 | 72 61 6d 6d 65 72 27 73 |3.x Prog|rammer's|
|00002f40| 20 52 65 66 65 72 65 6e | 63 65 20 66 6f 72 20 69 | Referen|ce for i|
|00002f50| 6e 64 65 70 74 68 20 64 | 69 73 63 75 73 73 69 6f |ndepth d|iscussio|
|00002f60| 6e 20 6f 66 20 44 44 45 | 20 70 72 6f 67 72 61 6d |n of DDE| program|
|00002f70| 6d 69 6e 67 20 61 6e 64 | 20 6d 65 61 6e 69 6e 67 |ming and| meaning|
|00002f80| 20 6f 66 20 65 61 63 68 | 20 64 61 74 61 20 66 6f | of each| data fo|
|00002f90| 72 6d 61 74 20 74 79 70 | 65 2e 00 00 00 00 00 59 |rmat typ|e......Y|
|00002fa0| 00 00 00 00 54 68 65 20 | 70 6f 69 6e 74 65 72 20 |....The |pointer |
|00002fb0| 74 6f 20 74 68 65 20 64 | 61 74 61 20 74 6f 20 62 |to the d|ata to b|
|00002fc0| 65 20 77 72 69 74 74 65 | 6e 2e 20 0a 0a 4e 55 4c |e writte|n. ..NUL|
|00002fd0| 4c 20 69 73 20 6e 6f 74 | 20 61 6c 6c 6f 77 65 64 |L is not| allowed|
|00002fe0| 20 75 6e 6c 65 73 73 20 | 74 68 65 20 44 61 74 61 | unless |the Data|
|00002ff0| 20 53 69 7a 65 20 69 73 | 20 30 2e 00 00 00 00 00 | Size is| 0......|
|00003000| 88 00 00 00 00 54 68 65 | 20 6e 75 6d 62 65 72 20 |.....The| number |
|00003010| 6f 66 20 62 79 74 65 73 | 20 69 6e 20 74 68 65 20 |of bytes| in the |
|00003020| 64 61 74 61 20 74 6f 20 | 62 65 20 77 72 69 74 74 |data to |be writt|
|00003030| 65 6e 2e 0a 0a 4c 69 6d | 69 74 65 64 20 74 6f 20 |en...Lim|ited to |
|00003040| 36 34 6b 20 62 79 74 65 | 73 20 75 6e 64 65 72 20 |64k byte|s under |
|00003050| 57 69 6e 64 6f 77 73 20 | 33 2e 31 20 61 6e 64 20 |Windows |3.1 and |
|00003060| 57 69 6e 64 6f 77 73 20 | 39 35 2e 20 20 0a 4e 6f |Windows |95. .No|
|00003070| 74 20 6c 69 6d 69 74 65 | 64 20 75 6e 64 65 72 20 |t limite|d under |
|00003080| 57 69 6e 64 6f 77 73 20 | 4e 54 2e 00 00 00 00 00 |Windows |NT......|
|00003090| a9 00 00 00 00 54 68 65 | 20 6e 75 6d 62 65 72 20 |.....The| number |
|000030a0| 6f 66 20 6d 69 6c 6c 69 | 73 65 63 6f 6e 64 73 20 |of milli|seconds |
|000030b0| 74 6f 20 77 61 69 74 20 | 66 6f 72 20 61 20 44 44 |to wait |for a DD|
|000030c0| 45 20 72 65 61 64 20 6f | 72 20 77 72 69 74 65 20 |E read o|r write |
|000030d0| 6f 70 65 72 61 74 69 6f | 6e 20 74 6f 20 63 6f 6d |operatio|n to com|
|000030e0| 70 6c 65 74 65 2e 20 20 | 0a 0a 49 66 20 61 20 76 |plete. |..If a v|
|000030f0| 61 6c 75 65 20 6f 66 20 | 7a 65 72 6f 20 69 73 20 |alue of |zero is |
|00003100| 70 61 73 73 65 64 2c 20 | 74 68 65 6e 20 61 20 64 |passed, |then a d|
|00003110| 65 66 61 75 6c 74 20 74 | 69 6d 65 6f 75 74 20 6f |efault t|imeout o|
|00003120| 66 20 35 30 30 30 20 6d | 69 6c 6c 69 73 65 63 6f |f 5000 m|illiseco|
|00003130| 6e 64 73 20 69 73 20 75 | 73 65 64 2e 00 00 00 00 |nds is u|sed.....|
|00003140| 1a 02 01 13 01 b8 ff ff | 00 00 06 00 00 00 00 00 |........|........|
|00003150| 00 00 53 74 61 74 75 73 | 00 00 00 00 00 00 00 00 |..Status|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 2c c1 00 4e | 00 3e 00 00 00 04 01 00 |....,..N|.>......|
|00003180| 00 00 00 00 00 00 43 6f | 6e 76 65 72 73 61 74 69 |......Co|nversati|
|00003190| 6f 6e 20 48 61 6e 64 6c | 65 00 00 00 00 00 00 00 |on Handl|e.......|
|000031a0| 00 00 00 00 00 00 00 00 | 2d 2e 00 4e 00 de 00 01 |........|-..N....|
|000031b0| 00 0b 01 00 00 00 00 00 | 00 00 49 74 65 6d 20 4e |........|..Item N|
|000031c0| 61 6d 65 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ame.....|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 2d d9 00 4e |........|....-..N|
|000031e0| 01 7b 00 02 00 04 03 01 | 00 00 00 00 00 00 44 61 |.{......|......Da|
|000031f0| 74 61 20 46 6f 72 6d 61 | 74 00 00 00 00 00 00 00 |ta Forma|t.......|
|00003200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003210| 2f 9c 00 a4 00 3e 00 03 | 00 19 01 00 00 00 00 00 |/....>..|........|
|00003220| 00 00 44 61 74 61 20 50 | 6f 69 6e 74 65 72 00 00 |..Data P|ointer..|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 2f fd 00 a4 | 00 de 00 04 00 04 01 00 |..../...|........|
|00003250| 00 00 00 00 00 00 44 61 | 74 61 20 53 69 7a 65 00 |......Da|ta Size.|
|00003260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003270| 00 00 00 00 00 00 00 00 | 30 8d 00 a4 01 7c 00 05 |........|0....|..|
|00003280| 00 04 01 00 00 00 00 00 | 00 00 54 69 6d 65 20 4f |........|..Time O|
|00003290| 75 74 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ut......|........|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 09 00 00 |........|........|
|000032b0| 00 00 00 00 00 00 00 00 | 00 00 02 30 00 00 00 00 |........|...0....|
|000032c0| 03 22 22 00 00 00 00 00 | 00 00 00 00 00 00 00 10 |."".....|........|
|000032d0| 00 00 01 58 43 46 5f 54 | 45 58 54 00 43 46 5f 54 |...XCF_T|EXT.CF_T|
|000032e0| 45 58 54 00 43 46 5f 42 | 49 54 4d 41 50 00 43 46 |EXT.CF_B|ITMAP.CF|
|000032f0| 5f 42 49 54 4d 41 50 00 | 43 46 5f 4d 45 54 41 46 |_BITMAP.|CF_METAF|
|00003300| 49 4c 45 50 49 43 54 00 | 43 46 5f 4d 45 54 41 46 |ILEPICT.|CF_METAF|
|00003310| 49 4c 45 50 49 43 54 00 | 43 46 5f 53 59 4c 4b 00 |ILEPICT.|CF_SYLK.|
|00003320| 43 46 5f 53 59 4c 4b 00 | 43 46 5f 44 49 46 00 43 |CF_SYLK.|CF_DIF.C|
|00003330| 46 5f 44 49 46 00 43 46 | 5f 54 49 46 46 00 43 46 |F_DIF.CF|_TIFF.CF|
|00003340| 5f 54 49 46 46 00 43 46 | 5f 4f 45 4d 54 45 58 54 |_TIFF.CF|_OEMTEXT|
|00003350| 00 43 46 5f 4f 45 4d 54 | 45 58 54 00 43 46 5f 44 |.CF_OEMT|EXT.CF_D|
|00003360| 49 42 00 43 46 5f 44 49 | 42 00 43 46 5f 50 41 4c |IB.CF_DI|B.CF_PAL|
|00003370| 45 54 54 45 00 43 46 5f | 50 41 4c 45 54 54 45 00 |ETTE.CF_|PALETTE.|
|00003380| 43 46 5f 50 45 4e 44 41 | 54 41 00 43 46 5f 50 45 |CF_PENDA|TA.CF_PE|
|00003390| 4e 44 41 54 41 00 43 46 | 5f 52 49 46 46 00 43 46 |NDATA.CF|_RIFF.CF|
|000033a0| 5f 52 49 46 46 00 43 46 | 5f 57 41 56 45 00 43 46 |_RIFF.CF|_WAVE.CF|
|000033b0| 5f 57 41 56 45 00 43 46 | 5f 4f 57 4e 45 52 44 49 |_WAVE.CF|_OWNERDI|
|000033c0| 53 50 4c 41 59 00 43 46 | 5f 4f 57 4e 45 52 44 49 |SPLAY.CF|_OWNERDI|
|000033d0| 53 50 4c 41 59 00 43 46 | 5f 44 53 50 54 45 58 54 |SPLAY.CF|_DSPTEXT|
|000033e0| 00 43 46 5f 44 53 50 54 | 45 58 54 00 43 46 5f 44 |.CF_DSPT|EXT.CF_D|
|000033f0| 53 50 42 49 54 4d 41 50 | 00 43 46 5f 44 53 50 42 |SPBITMAP|.CF_DSPB|
|00003400| 49 54 4d 41 50 00 43 46 | 5f 44 53 50 4d 45 54 41 |ITMAP.CF|_DSPMETA|
|00003410| 46 49 4c 45 50 49 43 54 | 00 43 46 5f 44 53 50 4d |FILEPICT|.CF_DSPM|
|00003420| 45 54 41 46 49 4c 45 50 | 49 43 54 00 00 00 00 01 |ETAFILEP|ICT.....|
|00003430| 00 00 00 00 01 00 00 00 | 00 02 30 00 00 00 09 41 |........|..0....A|
|00003440| 00 00 00 00 54 68 69 73 | 20 66 75 6e 63 74 69 6f |....This| functio|
|00003450| 6e 20 61 6c 6c 6f 77 73 | 20 79 6f 75 72 20 70 72 |n allows| your pr|
|00003460| 6f 67 72 61 6d 2c 20 61 | 63 74 69 6e 67 20 61 73 |ogram, a|cting as|
|00003470| 20 61 20 44 44 45 20 73 | 65 72 76 65 72 2c 20 74 | a DDE s|erver, t|
|00003480| 6f 20 73 65 6e 64 20 64 | 61 74 61 20 74 6f 20 61 |o send d|ata to a|
|00003490| 20 63 6c 69 65 6e 74 20 | 74 68 61 74 20 68 61 73 | client |that has|
|000034a0| 20 73 65 74 20 75 70 20 | 61 20 68 6f 74 20 6f 72 | set up |a hot or|
|000034b0| 20 77 61 72 6d 20 6c 69 | 6e 6b 2e 0a 0a 57 68 65 | warm li|nk...Whe|
|000034c0| 6e 20 61 20 68 6f 74 20 | 6f 72 20 77 61 72 6d 20 |n a hot |or warm |
|000034d0| 6c 69 6e 6b 20 69 73 20 | 73 65 74 20 75 70 2c 20 |link is |set up, |
|000034e0| 79 6f 75 72 20 73 65 72 | 76 65 72 20 63 61 6c 6c |your ser|ver call|
|000034f0| 62 61 63 6b 20 66 75 6e | 63 74 69 6f 6e 20 72 65 |back fun|ction re|
|00003500| 63 65 69 76 65 73 20 61 | 20 44 44 45 5f 41 44 56 |ceives a| DDE_ADV|
|00003510| 49 53 45 4c 4f 4f 50 20 | 74 72 61 6e 73 61 63 74 |ISELOOP |transact|
|00003520| 69 6f 6e 20 74 79 70 65 | 20 28 78 54 79 70 65 29 |ion type| (xType)|
|00003530| 20 66 6f 72 20 61 20 70 | 61 72 74 69 63 75 6c 61 | for a p|articula|
|00003540| 72 20 64 61 74 61 20 6f | 62 6a 65 63 74 20 28 69 |r data o|bject (i|
|00003550| 64 65 6e 66 69 74 69 66 | 65 64 20 62 79 20 69 74 |denfitif|ed by it|
|00003560| 65 6d 4e 61 6d 65 29 2e | 20 20 57 68 65 6e 20 74 |emName).| When t|
|00003570| 68 65 20 68 6f 74 20 6f | 72 20 77 61 72 6d 20 6c |he hot o|r warm l|
|00003580| 69 6e 6b 20 69 73 20 74 | 65 72 6d 69 6e 61 74 65 |ink is t|erminate|
|00003590| 64 2c 20 79 6f 75 72 20 | 73 65 72 76 65 72 20 63 |d, your |server c|
|000035a0| 61 6c 6c 62 61 63 6b 20 | 66 75 6e 63 74 69 6f 6e |allback |function|
|000035b0| 20 72 65 63 65 69 76 65 | 73 20 61 20 44 44 45 5f | receive|s a DDE_|
|000035c0| 41 44 56 49 53 45 53 54 | 4f 50 20 74 72 61 6e 73 |ADVISEST|OP trans|
|000035d0| 61 63 74 69 6f 6e 20 74 | 79 70 65 20 66 6f 72 20 |action t|ype for |
|000035e0| 74 68 65 20 64 61 74 61 | 20 6f 62 6a 65 63 74 2e |the data| object.|
|000035f0| 0a 0a 44 75 72 69 6e 67 | 20 74 68 65 20 70 65 72 |..During| the per|
|00003600| 69 6f 64 20 77 68 65 6e | 20 74 68 65 20 68 6f 74 |iod when| the hot|
|00003610| 20 6f 72 20 77 61 72 6d | 20 6c 69 6e 6b 20 69 73 | or warm| link is|
|00003620| 20 69 6e 20 65 66 66 65 | 63 74 2c 20 79 6f 75 72 | in effe|ct, your|
|00003630| 20 73 65 72 76 65 72 20 | 70 72 6f 67 72 61 6d 20 | server |program |
|00003640| 69 73 20 72 65 73 70 6f | 6e 73 69 62 6c 65 20 66 |is respo|nsible f|
|00003650| 6f 72 20 6e 6f 74 69 66 | 79 69 6e 67 20 74 68 65 |or notif|ying the|
|00003660| 20 63 6c 69 65 6e 74 20 | 77 68 65 6e 65 76 65 72 | client |whenever|
|00003670| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00003680| 65 20 64 61 74 61 20 6f | 62 6a 65 63 74 20 63 68 |e data o|bject ch|
|00003690| 61 6e 67 65 73 2e 20 20 | 57 68 65 6e 20 74 68 65 |anges. |When the|
|000036a0| 20 64 61 74 61 20 6f 62 | 6a 65 63 74 27 73 20 76 | data ob|ject's v|
|000036b0| 61 6c 75 65 20 63 68 61 | 6e 67 65 73 2c 20 79 6f |alue cha|nges, yo|
|000036c0| 75 20 63 61 6e 20 63 61 | 6c 6c 20 74 68 69 73 20 |u can ca|ll this |
|000036d0| 66 75 6e 63 74 69 6f 6e | 2c 20 41 64 76 69 73 65 |function|, Advise|
|000036e0| 44 44 45 44 61 74 61 52 | 65 61 64 79 2c 20 6f 72 |DDEDataR|eady, or|
|000036f0| 20 42 72 6f 61 64 63 61 | 73 74 44 44 45 44 61 74 | Broadca|stDDEDat|
|00003700| 61 52 65 61 64 79 2e 0a | 0a 41 64 76 69 73 65 44 |aReady..|.AdviseD|
|00003710| 44 45 44 61 74 61 52 65 | 61 64 79 20 64 69 66 66 |DEDataRe|ady diff|
|00003720| 65 72 73 20 66 72 6f 6d | 20 42 72 6f 61 64 63 61 |ers from| Broadca|
|00003730| 73 74 44 44 45 44 61 74 | 61 52 65 61 64 79 20 69 |stDDEDat|aReady i|
|00003740| 6e 20 74 68 61 74 20 79 | 6f 75 20 73 70 65 63 69 |n that y|ou speci|
|00003750| 66 79 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |fy a par|ticular |
|00003760| 63 6f 6e 76 65 72 73 61 | 74 69 6f 6e 20 77 69 74 |conversa|tion wit|
|00003770| 68 20 61 20 63 6c 69 65 | 6e 74 2e 20 20 41 64 76 |h a clie|nt. Adv|
|00003780| 69 73 65 44 44 45 44 61 | 74 61 52 65 61 64 79 20 |iseDDEDa|taReady |
|00003790| 73 65 6e 64 73 20 74 68 | 65 20 64 61 74 61 20 6f |sends th|e data o|
|000037a0| 6e 6c 79 20 74 6f 20 74 | 68 65 20 73 70 65 63 69 |nly to t|he speci|
|000037b0| 66 69 65 64 20 63 6c 69 | 65 6e 74 2c 20 65 76 65 |fied cli|ent, eve|
|000037c0| 6e 20 69 66 20 6f 74 68 | 65 72 20 63 6c 69 65 6e |n if oth|er clien|
|000037d0| 74 73 20 68 61 76 65 20 | 68 6f 74 20 6f 72 20 77 |ts have |hot or w|
|000037e0| 61 72 6d 20 6c 69 6e 6b | 73 20 74 6f 20 74 68 65 |arm link|s to the|
|000037f0| 20 73 61 6d 65 20 69 74 | 65 6d 2e 20 20 41 64 76 | same it|em. Adv|
|00003800| 69 73 65 44 44 45 44 61 | 74 61 52 65 61 64 79 20 |iseDDEDa|taReady |
|00003810| 73 65 6e 64 73 20 74 68 | 65 20 64 61 74 61 20 77 |sends th|e data w|
|00003820| 69 74 68 6f 75 74 20 69 | 6e 76 6f 6b 69 6e 67 20 |ithout i|nvoking |
|00003830| 79 6f 75 72 20 73 65 72 | 76 65 72 20 63 61 6c 6c |your ser|ver call|
|00003840| 62 61 63 6b 20 66 75 6e | 63 74 69 6f 6e 2e 20 20 |back fun|ction. |
|00003850| 48 6f 77 65 76 65 72 2c | 20 69 66 20 74 68 65 72 |However,| if ther|
|00003860| 65 20 61 72 65 20 6f 74 | 68 65 72 20 63 6c 69 65 |e are ot|her clie|
|00003870| 6e 74 73 20 77 69 74 68 | 20 77 61 72 6d 20 6c 69 |nts with| warm li|
|00003880| 6e 6b 73 20 74 6f 20 74 | 68 65 20 73 61 6d 65 20 |nks to t|he same |
|00003890| 69 74 65 6d 2c 20 74 68 | 65 79 20 61 72 65 20 61 |item, th|ey are a|
|000038a0| 6c 6c 20 6e 6f 74 69 66 | 69 65 64 20 74 68 61 74 |ll notif|ied that|
|000038b0| 20 6e 65 77 20 64 61 74 | 61 20 69 73 20 61 76 61 | new dat|a is ava|
|000038c0| 69 6c 61 62 6c 65 2e 20 | 20 49 66 20 74 68 65 79 |ilable. | If they|
|000038d0| 20 72 65 71 75 65 73 74 | 20 74 68 65 20 6e 65 77 | request| the new|
|000038e0| 20 64 61 74 61 2c 20 79 | 6f 75 72 20 73 65 72 76 | data, y|our serv|
|000038f0| 65 72 20 63 61 6c 6c 62 | 61 63 6b 20 66 75 6e 63 |er callb|ack func|
|00003900| 74 69 6f 6e 20 69 73 20 | 69 6e 76 6f 6b 65 64 20 |tion is |invoked |
|00003910| 77 69 74 68 20 74 68 65 | 20 44 44 45 5f 52 45 51 |with the| DDE_REQ|
|00003920| 55 45 53 54 44 41 54 41 | 20 6d 65 73 73 61 67 65 |UESTDATA| message|
|00003930| 2e 20 20 49 66 20 79 6f | 75 20 64 6f 20 6e 6f 74 |. If yo|u do not|
|00003940| 20 77 61 6e 74 20 74 6f | 20 73 65 6e 64 20 74 68 | want to| send th|
|00003950| 65 20 64 61 74 61 20 74 | 6f 20 74 68 6f 73 65 20 |e data t|o those |
|00003960| 6f 74 68 65 72 20 63 6c | 69 65 6e 74 73 2c 20 79 |other cl|ients, y|
|00003970| 6f 75 20 6d 75 73 74 20 | 77 72 69 74 65 20 79 6f |ou must |write yo|
|00003980| 75 72 20 73 65 72 76 65 | 72 20 63 61 6c 6c 62 61 |ur serve|r callba|
|00003990| 63 6b 20 66 75 6e 63 74 | 69 6f 6e 20 73 6f 20 74 |ck funct|ion so t|
|000039a0| 68 61 74 20 69 74 20 64 | 6f 65 73 20 6e 6f 74 20 |hat it d|oes not |
|000039b0| 63 61 6c 6c 20 53 65 72 | 76 65 72 44 44 45 57 72 |call Ser|verDDEWr|
|000039c0| 69 74 65 20 69 6e 20 74 | 68 69 73 20 63 61 73 65 |ite in t|his case|
|000039d0| 2e 0a 0a 49 66 20 79 6f | 75 20 70 61 73 73 20 4e |...If yo|u pass N|
|000039e0| 55 4c 4c 20 28 30 29 20 | 61 73 20 74 68 65 20 44 |ULL (0) |as the D|
|000039f0| 61 74 61 20 50 6f 69 6e | 74 65 72 20 61 6e 64 20 |ata Poin|ter and |
|00003a00| 30 20 61 73 20 74 68 65 | 20 44 61 74 61 20 53 69 |0 as the| Data Si|
|00003a10| 7a 65 2c 20 6e 6f 20 64 | 61 74 61 20 69 73 20 73 |ze, no d|ata is s|
|00003a20| 65 6e 74 20 74 6f 20 74 | 68 65 20 73 70 65 63 69 |ent to t|he speci|
|00003a30| 66 69 65 64 20 63 6c 69 | 65 6e 74 2e 20 20 49 6e |fied cli|ent. In|
|00003a40| 73 74 65 61 64 2c 20 61 | 6c 6c 20 63 6c 69 65 6e |stead, a|ll clien|
|00003a50| 74 73 20 77 69 74 68 20 | 77 61 72 6d 20 6c 69 6e |ts with |warm lin|
|00003a60| 6b 73 20 74 6f 20 74 68 | 65 20 69 74 65 6d 20 61 |ks to th|e item a|
|00003a70| 72 65 20 6e 6f 74 69 66 | 69 65 64 2e 20 49 66 20 |re notif|ied. If |
|00003a80| 74 68 65 79 20 72 65 71 | 75 65 73 74 20 74 68 65 |they req|uest the|
|00003a90| 20 6e 65 77 20 64 61 74 | 61 2c 20 79 6f 75 72 20 | new dat|a, your |
|00003aa0| 73 65 72 76 65 72 20 63 | 61 6c 6c 62 61 63 6b 20 |server c|allback |
|00003ab0| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 69 6e 76 6f |function| is invo|
|00003ac0| 6b 65 64 20 77 69 74 68 | 20 74 68 65 20 44 44 45 |ked with| the DDE|
|00003ad0| 5f 52 45 51 55 45 53 54 | 44 41 54 41 20 6d 65 73 |_REQUEST|DATA mes|
|00003ae0| 73 61 67 65 2c 20 61 6e | 64 20 79 6f 75 20 63 61 |sage, an|d you ca|
|00003af0| 6e 20 75 73 65 20 74 68 | 65 20 53 65 72 76 65 72 |n use th|e Server|
|00003b00| 44 44 45 57 72 69 74 65 | 20 66 75 6e 63 74 69 6f |DDEWrite| functio|
|00003b10| 6e 20 74 6f 20 73 65 6e | 64 20 74 68 65 20 64 61 |n to sen|d the da|
|00003b20| 74 61 20 69 6e 20 72 65 | 73 70 6f 6e 73 65 2e 0a |ta in re|sponse..|
|00003b30| 0a 49 66 20 73 75 63 63 | 65 73 73 66 75 6c 2c 20 |.If succ|essful, |
|00003b40| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 72 65 |this fun|ction re|
|00003b50| 74 75 72 6e 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |turns th|e number|
|00003b60| 20 6f 66 20 62 79 74 65 | 73 20 73 65 6e 74 2e 20 | of byte|s sent. |
|00003b70| 20 4f 74 68 65 72 77 69 | 73 65 2c 20 74 68 69 73 | Otherwi|se, this|
|00003b80| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 74 75 72 6e | functio|n return|
|00003b90| 73 20 61 20 6e 65 67 61 | 74 69 76 65 20 65 72 72 |s a nega|tive err|
|00003ba0| 6f 72 20 63 6f 64 65 2e | 20 20 53 65 65 20 74 68 |or code.| See th|
|00003bb0| 65 20 68 65 6c 70 20 66 | 6f 72 20 74 68 65 20 53 |e help f|or the S|
|00003bc0| 74 61 74 75 73 20 63 6f | 6e 74 72 6f 6c 20 66 6f |tatus co|ntrol fo|
|00003bd0| 72 20 74 68 65 20 65 72 | 72 6f 72 20 63 6f 64 65 |r the er|ror code|
|00003be0| 20 76 61 6c 75 65 73 2e | 0a 0a 4e 4f 54 45 3a 20 | values.|..NOTE: |
|00003bf0| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 73 68 |This fun|ction sh|
|00003c00| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 63 61 6c 6c |ould not| be call|
|00003c10| 65 64 20 69 6e 20 61 20 | 74 69 67 68 74 20 6c 6f |ed in a |tight lo|
|00003c20| 6f 70 20 62 65 63 61 75 | 73 65 20 0a 20 20 20 20 |op becau|se . |
|00003c30| 20 20 69 74 20 77 69 6c | 6c 20 63 6f 6d 70 65 74 | it wil|l compet|
|00003c40| 65 20 77 69 74 68 20 75 | 73 65 72 20 69 6e 74 65 |e with u|ser inte|
|00003c50| 72 66 61 63 65 20 65 76 | 65 6e 74 73 20 66 6f 72 |rface ev|ents for|
|00003c60| 20 74 68 65 20 43 50 55 | 20 0a 20 20 20 20 20 20 | the CPU| . |
|00003c70| 74 69 6d 65 2e 20 54 68 | 69 73 20 66 75 6e 63 74 |time. Th|is funct|
|00003c80| 69 6f 6e 20 73 68 6f 75 | 6c 64 20 62 65 20 75 73 |ion shou|ld be us|
|00003c90| 65 64 20 73 70 61 72 69 | 6e 67 6c 79 2c 20 61 6e |ed spari|ngly, an|
|00003ca0| 64 20 6f 6e 6c 79 20 0a | 20 20 20 20 20 20 77 68 |d only .| wh|
|00003cb0| 65 6e 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |en the v|alue of |
|00003cc0| 74 68 65 20 68 6f 74 20 | 6f 72 20 77 61 72 6d 20 |the hot |or warm |
|00003cd0| 6c 69 6e 6b 65 64 20 64 | 61 74 61 20 6f 62 6a 65 |linked d|ata obje|
|00003ce0| 63 74 20 0a 20 20 20 20 | 20 20 63 68 61 6e 67 65 |ct . | change|
|00003cf0| 73 2e 20 49 6e 20 63 61 | 73 65 73 20 77 68 65 6e |s. In ca|ses when|
|00003d00| 20 6c 61 72 67 65 20 64 | 61 74 61 20 6f 62 6a 65 | large d|ata obje|
|00003d10| 63 74 73 20 61 72 65 20 | 74 6f 20 62 65 20 0a 20 |cts are |to be . |
|00003d20| 20 20 20 20 20 72 65 74 | 75 72 6e 65 64 20 66 72 | ret|urned fr|
|00003d30| 6f 6d 20 74 68 65 20 73 | 65 72 76 65 72 2c 20 69 |om the s|erver, i|
|00003d40| 74 20 73 68 6f 75 6c 64 | 20 6f 6e 6c 79 20 62 65 |t should| only be|
|00003d50| 20 63 61 6c 6c 65 64 20 | 77 68 65 6e 20 0a 20 20 | called |when . |
|00003d60| 20 20 20 20 74 68 65 20 | 75 73 65 72 20 69 6e 74 | the |user int|
|00003d70| 65 72 66 61 63 65 20 69 | 73 20 6e 6f 74 20 62 75 |erface i|s not bu|
|00003d80| 73 79 2e 00 00 00 00 00 | a4 00 00 00 00 54 68 65 |sy......|.....The|
|00003d90| 20 6e 61 6d 65 20 69 64 | 65 6e 74 69 66 79 69 6e | name id|entifyin|
|00003da0| 67 20 74 68 65 20 6f 62 | 6a 65 63 74 20 74 6f 20 |g the ob|ject to |
|00003db0| 77 68 69 63 68 20 74 68 | 65 20 64 61 74 61 20 72 |which th|e data r|
|00003dc0| 65 66 65 72 73 2e 20 20 | 45 61 63 68 20 73 65 72 |efers. |Each ser|
|00003dd0| 76 65 72 20 64 65 66 69 | 6e 65 73 20 69 74 73 20 |ver defi|nes its |
|00003de0| 6f 77 6e 20 73 65 74 20 | 6f 66 20 76 61 6c 69 64 |own set |of valid|
|00003df0| 20 69 74 65 6d 20 6e 61 | 6d 65 73 2e 20 0a 0a 54 | item na|mes. ..T|
|00003e00| 68 65 20 6e 61 6d 65 20 | 6d 75 73 74 20 62 65 20 |he name |must be |
|00003e10| 73 74 72 69 6e 67 20 6f | 66 20 6c 65 6e 67 74 68 |string o|f length|
|00003e20| 20 66 72 6f 6d 20 31 20 | 74 6f 20 32 35 35 2e 00 | from 1 |to 255..|
|00003e30| 00 00 00 01 0d 00 00 00 | 00 54 68 65 20 70 6f 69 |........|.The poi|
|00003e40| 6e 74 65 72 20 74 6f 20 | 74 68 65 20 64 61 74 61 |nter to |the data|
|00003e50| 20 74 6f 20 62 65 20 77 | 72 69 74 74 65 6e 2e 20 | to be w|ritten. |
|00003e60| 20 0a 0a 4e 55 4c 4c 20 | 69 73 20 61 6c 6c 6f 77 | ..NULL |is allow|
|00003e70| 65 64 20 6f 6e 6c 79 20 | 62 75 74 20 73 68 6f 75 |ed only |but shou|
|00003e80| 6c 64 20 62 65 20 75 73 | 65 64 20 6f 6e 6c 79 20 |ld be us|ed only |
|00003e90| 69 66 20 74 68 65 20 6c | 69 6e 6b 20 69 73 20 61 |if the l|ink is a|
|00003ea0| 20 77 61 72 6d 20 6c 69 | 6e 6b 2e 20 20 49 66 20 | warm li|nk. If |
|00003eb0| 4e 55 4c 4c 20 69 73 20 | 70 61 73 73 65 64 2c 20 |NULL is |passed, |
|00003ec0| 79 6f 75 72 20 73 65 72 | 76 65 72 20 63 61 6c 6c |your ser|ver call|
|00003ed0| 62 61 63 6b 20 72 65 63 | 65 69 76 65 73 20 61 20 |back rec|eives a |
|00003ee0| 44 44 45 5f 52 45 51 55 | 45 53 54 44 41 54 41 20 |DDE_REQU|ESTDATA |
|00003ef0| 6d 65 73 73 61 67 65 20 | 77 68 65 6e 20 74 68 65 |message |when the|
|00003f00| 20 63 6c 69 65 6e 74 20 | 61 73 6b 73 20 66 6f 72 | client |asks for|
|00003f10| 20 74 68 65 20 64 61 74 | 61 2e 20 20 59 6f 75 20 | the dat|a. You |
|00003f20| 6d 75 73 74 20 63 61 6c | 6c 20 53 65 72 76 65 72 |must cal|l Server|
|00003f30| 44 44 45 57 72 69 74 65 | 20 74 6f 20 73 65 6e 64 |DDEWrite| to send|
|00003f40| 20 69 74 2e 00 00 00 00 | 00 ce 00 00 00 00 54 68 | it.....|......Th|
|00003f50| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 79 74 65 |e number| of byte|
|00003f60| 73 20 69 6e 20 74 68 65 | 20 64 61 74 61 20 74 6f |s in the| data to|
|00003f70| 20 62 65 20 77 72 69 74 | 74 65 6e 2e 20 0a 0a 49 | be writ|ten. ..I|
|00003f80| 66 20 74 68 65 20 44 61 | 74 61 20 50 6f 69 6e 74 |f the Da|ta Point|
|00003f90| 65 72 20 70 61 72 61 6d | 65 74 65 72 20 69 73 20 |er param|eter is |
|00003fa0| 4e 55 4c 4c 2c 20 74 68 | 65 6e 20 44 61 74 61 20 |NULL, th|en Data |
|00003fb0| 53 69 7a 65 20 6d 75 73 | 74 20 62 65 20 7a 65 72 |Size mus|t be zer|
|00003fc0| 6f 2e 0a 0a 4c 69 6d 69 | 74 65 64 20 74 6f 20 36 |o...Limi|ted to 6|
|00003fd0| 34 6b 20 62 79 74 65 73 | 20 75 6e 64 65 72 20 57 |4k bytes| under W|
|00003fe0| 69 6e 64 6f 77 73 20 33 | 2e 31 20 61 6e 64 20 57 |indows 3|.1 and W|
|00003ff0| 69 6e 64 6f 77 73 20 39 | 35 2e 20 20 0a 4e 6f 74 |indows 9|5. .Not|
|00004000| 20 6c 69 6d 69 74 65 64 | 20 75 6e 64 65 72 20 57 | limited| under W|
|00004010| 69 6e 64 6f 77 73 20 4e | 54 2e 00 00 00 00 2c c1 |indows N|T.....,.|
|00004020| 00 40 00 37 00 00 00 04 | 01 00 00 00 00 00 00 00 |.@.7....|........|
|00004030| 43 6f 6e 76 65 72 73 61 | 74 69 6f 6e 20 48 61 6e |Conversa|tion Han|
|00004040| 64 6c 65 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |dle.....|........|
|00004050| 00 00 3d 85 00 40 00 db | 00 01 00 0b 01 00 00 00 |..=..@..|........|
|00004060| 00 00 00 00 49 74 65 6d | 20 4e 61 6d 65 00 00 00 |....Item| Name...|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004080| 00 00 00 00 00 00 3e 31 | 00 96 00 39 00 03 00 19 |......>1|...9....|
|00004090| 01 00 00 00 00 00 00 00 | 44 61 74 61 20 50 6f 69 |........|Data Poi|
|000040a0| 6e 74 65 72 00 00 00 00 | 00 00 00 00 00 00 00 00 |nter....|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 3f 46 00 96 00 d9 |........|..?F....|
|000040c0| 00 04 00 04 01 00 00 00 | 00 00 00 00 44 61 74 61 |........|....Data|
|000040d0| 20 53 69 7a 65 00 00 00 | 00 00 00 00 00 00 00 00 | Size...|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 30 8d |........|......0.|
|000040f0| 00 96 01 7a 00 05 00 04 | 01 00 00 00 00 00 00 00 |...z....|........|
|00004100| 54 69 6d 65 20 4f 75 74 | 00 00 00 00 00 00 00 00 |Time Out|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004120| 00 00 1a 02 01 13 01 b8 | ff ff 00 00 06 00 00 00 |........|........|
|00004130| 00 00 00 00 53 74 61 74 | 75 73 00 00 00 00 00 00 |....Stat|us......|
|00004140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004150| 00 00 00 00 00 00 2d d9 | 00 40 01 7a 00 02 00 04 |......-.|.@.z....|
|00004160| 03 01 00 00 00 00 00 00 | 44 61 74 61 20 46 6f 72 |........|Data For|
|00004170| 6d 61 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |mat.....|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 02 30 00 00 00 |........|....0...|
|00004190| 00 03 22 22 00 00 00 00 | 01 00 00 00 00 01 00 00 |..""....|........|
|000041a0| 00 00 02 30 00 00 00 00 | 09 00 00 00 00 00 00 00 |...0....|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 10 00 00 |........|........|
|000041c0| 01 58 43 46 5f 54 45 58 | 54 00 43 46 5f 54 45 58 |.XCF_TEX|T.CF_TEX|
|000041d0| 54 00 43 46 5f 42 49 54 | 4d 41 50 00 43 46 5f 42 |T.CF_BIT|MAP.CF_B|
|000041e0| 49 54 4d 41 50 00 43 46 | 5f 4d 45 54 41 46 49 4c |ITMAP.CF|_METAFIL|
|000041f0| 45 50 49 43 54 00 43 46 | 5f 4d 45 54 41 46 49 4c |EPICT.CF|_METAFIL|
|00004200| 45 50 49 43 54 00 43 46 | 5f 53 59 4c 4b 00 43 46 |EPICT.CF|_SYLK.CF|
|00004210| 5f 53 59 4c 4b 00 43 46 | 5f 44 49 46 00 43 46 5f |_SYLK.CF|_DIF.CF_|
|00004220| 44 49 46 00 43 46 5f 54 | 49 46 46 00 43 46 5f 54 |DIF.CF_T|IFF.CF_T|
|00004230| 49 46 46 00 43 46 5f 4f | 45 4d 54 45 58 54 00 43 |IFF.CF_O|EMTEXT.C|
|00004240| 46 5f 4f 45 4d 54 45 58 | 54 00 43 46 5f 44 49 42 |F_OEMTEX|T.CF_DIB|
|00004250| 00 43 46 5f 44 49 42 00 | 43 46 5f 50 41 4c 45 54 |.CF_DIB.|CF_PALET|
|00004260| 54 45 00 43 46 5f 50 41 | 4c 45 54 54 45 00 43 46 |TE.CF_PA|LETTE.CF|
|00004270| 5f 50 45 4e 44 41 54 41 | 00 43 46 5f 50 45 4e 44 |_PENDATA|.CF_PEND|
|00004280| 41 54 41 00 43 46 5f 52 | 49 46 46 00 43 46 5f 52 |ATA.CF_R|IFF.CF_R|
|00004290| 49 46 46 00 43 46 5f 57 | 41 56 45 00 43 46 5f 57 |IFF.CF_W|AVE.CF_W|
|000042a0| 41 56 45 00 43 46 5f 4f | 57 4e 45 52 44 49 53 50 |AVE.CF_O|WNERDISP|
|000042b0| 4c 41 59 00 43 46 5f 4f | 57 4e 45 52 44 49 53 50 |LAY.CF_O|WNERDISP|
|000042c0| 4c 41 59 00 43 46 5f 44 | 53 50 54 45 58 54 00 43 |LAY.CF_D|SPTEXT.C|
|000042d0| 46 5f 44 53 50 54 45 58 | 54 00 43 46 5f 44 53 50 |F_DSPTEX|T.CF_DSP|
|000042e0| 42 49 54 4d 41 50 00 43 | 46 5f 44 53 50 42 49 54 |BITMAP.C|F_DSPBIT|
|000042f0| 4d 41 50 00 43 46 5f 44 | 53 50 4d 45 54 41 46 49 |MAP.CF_D|SPMETAFI|
|00004300| 4c 45 50 49 43 54 00 43 | 46 5f 44 53 50 4d 45 54 |LEPICT.C|F_DSPMET|
|00004310| 41 46 49 4c 45 50 49 43 | 54 00 00 00 07 15 00 00 |AFILEPIC|T.......|
|00004320| 00 00 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |..This f|unction |
|00004330| 61 6c 6c 6f 77 73 20 79 | 6f 75 72 20 70 72 6f 67 |allows y|our prog|
|00004340| 72 61 6d 2c 20 61 63 74 | 69 6e 67 20 61 73 20 61 |ram, act|ing as a|
|00004350| 20 44 44 45 20 73 65 72 | 76 65 72 2c 20 74 6f 20 | DDE ser|ver, to |
|00004360| 73 65 6e 64 20 64 61 74 | 61 20 74 6f 20 61 6c 6c |send dat|a to all|
|00004370| 20 63 6c 69 65 6e 74 73 | 20 74 68 61 74 20 68 61 | clients| that ha|
|00004380| 76 65 20 73 65 74 20 75 | 70 20 68 6f 74 20 6f 72 |ve set u|p hot or|
|00004390| 20 77 61 72 6d 20 6c 69 | 6e 6b 73 20 6f 6e 20 74 | warm li|nks on t|
|000043a0| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 74 6f 70 |he speci|fied top|
|000043b0| 69 63 20 61 6e 64 20 69 | 74 65 6d 2e 0a 0a 57 68 |ic and i|tem...Wh|
|000043c0| 65 6e 20 61 20 68 6f 74 | 20 6f 72 20 77 61 72 6d |en a hot| or warm|
|000043d0| 20 6c 69 6e 6b 20 69 73 | 20 73 65 74 20 75 70 2c | link is| set up,|
|000043e0| 20 79 6f 75 72 20 73 65 | 72 76 65 72 20 63 61 6c | your se|rver cal|
|000043f0| 6c 62 61 63 6b 20 66 75 | 6e 63 74 69 6f 6e 20 72 |lback fu|nction r|
|00004400| 65 63 65 69 76 65 73 20 | 61 20 44 44 45 5f 41 44 |eceives |a DDE_AD|
|00004410| 56 49 53 45 4c 4f 4f 50 | 20 74 72 61 6e 73 61 63 |VISELOOP| transac|
|00004420| 74 69 6f 6e 20 74 79 70 | 65 20 28 78 54 79 70 65 |tion typ|e (xType|
|00004430| 29 20 66 6f 72 20 61 20 | 70 61 72 74 69 63 75 6c |) for a |particul|
|00004440| 61 72 20 64 61 74 61 20 | 6f 62 6a 65 63 74 20 28 |ar data |object (|
|00004450| 69 64 65 6e 66 69 74 69 | 66 65 64 20 62 79 20 69 |idenfiti|fed by i|
|00004460| 74 65 6d 4e 61 6d 65 29 | 2e 20 20 57 68 65 6e 20 |temName)|. When |
|00004470| 74 68 65 20 68 6f 74 20 | 6f 72 20 77 61 72 6d 20 |the hot |or warm |
|00004480| 6c 69 6e 6b 20 69 73 20 | 74 65 72 6d 69 6e 61 74 |link is |terminat|
|00004490| 65 64 2c 20 79 6f 75 72 | 20 73 65 72 76 65 72 20 |ed, your| server |
|000044a0| 63 61 6c 6c 62 61 63 6b | 20 66 75 6e 63 74 69 6f |callback| functio|
|000044b0| 6e 20 72 65 63 65 69 76 | 65 73 20 61 20 44 44 45 |n receiv|es a DDE|
|000044c0| 5f 41 44 56 49 53 45 53 | 54 4f 50 20 74 72 61 6e |_ADVISES|TOP tran|
|000044d0| 73 61 63 74 69 6f 6e 20 | 74 79 70 65 20 66 6f 72 |saction |type for|
|000044e0| 20 74 68 65 20 64 61 74 | 61 20 6f 62 6a 65 63 74 | the dat|a object|
|000044f0| 2e 0a 0a 44 75 72 69 6e | 67 20 74 68 65 20 70 65 |...Durin|g the pe|
|00004500| 72 69 6f 64 20 77 68 65 | 6e 20 74 68 65 20 68 6f |riod whe|n the ho|
|00004510| 74 20 6f 72 20 77 61 72 | 6d 20 6c 69 6e 6b 20 69 |t or war|m link i|
|00004520| 73 20 69 6e 20 65 66 66 | 65 63 74 2c 20 79 6f 75 |s in eff|ect, you|
|00004530| 72 20 73 65 72 76 65 72 | 20 70 72 6f 67 72 61 6d |r server| program|
|00004540| 20 69 73 20 72 65 73 70 | 6f 6e 73 69 62 6c 65 20 | is resp|onsible |
|00004550| 66 6f 72 20 6e 6f 74 69 | 66 79 69 6e 67 20 74 68 |for noti|fying th|
|00004560| 65 20 63 6c 69 65 6e 74 | 20 77 68 65 6e 65 76 65 |e client| wheneve|
|00004570| 72 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |r the va|lue of t|
|00004580| 68 65 20 64 61 74 61 20 | 6f 62 6a 65 63 74 20 63 |he data |object c|
|00004590| 68 61 6e 67 65 73 2e 20 | 20 57 68 65 6e 20 74 68 |hanges. | When th|
|000045a0| 65 20 64 61 74 61 20 6f | 62 6a 65 63 74 27 73 20 |e data o|bject's |
|000045b0| 76 61 6c 75 65 20 63 68 | 61 6e 67 65 73 2c 20 79 |value ch|anges, y|
|000045c0| 6f 75 20 73 68 6f 75 6c | 64 20 63 61 6c 6c 20 74 |ou shoul|d call t|
|000045d0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 2c 20 42 72 |his func|tion, Br|
|000045e0| 6f 61 64 63 61 73 74 44 | 44 45 44 61 74 61 52 65 |oadcastD|DEDataRe|
|000045f0| 61 64 79 2c 20 6f 72 20 | 41 64 76 69 73 65 44 44 |ady, or |AdviseDD|
|00004600| 45 44 61 74 61 52 65 61 | 64 79 2e 0a 0a 42 72 6f |EDataRea|dy...Bro|
|00004610| 61 64 63 61 73 74 44 44 | 45 44 61 74 61 52 65 61 |adcastDD|EDataRea|
|00004620| 64 79 20 64 69 66 66 65 | 72 73 20 66 72 6f 6d 20 |dy diffe|rs from |
|00004630| 41 64 76 69 73 65 44 44 | 45 44 61 74 61 52 65 61 |AdviseDD|EDataRea|
|00004640| 64 79 20 69 6e 20 74 68 | 61 74 20 69 74 20 69 73 |dy in th|at it is|
|00004650| 20 6e 6f 74 20 72 65 73 | 74 72 69 63 74 65 64 20 | not res|tricted |
|00004660| 74 6f 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |to a par|ticular |
|00004670| 63 6c 69 65 6e 74 2e 20 | 20 42 72 6f 61 64 63 61 |client. | Broadca|
|00004680| 73 74 44 44 45 44 61 74 | 61 52 65 61 64 79 20 73 |stDDEDat|aReady s|
|00004690| 65 6e 64 73 20 74 68 65 | 20 64 61 74 61 20 61 75 |ends the| data au|
|000046a0| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 74 6f 20 61 |tomatica|lly to a|
|000046b0| 6c 6c 20 63 6c 69 65 6e | 74 73 20 77 69 74 68 20 |ll clien|ts with |
|000046c0| 68 6f 74 20 6c 69 6e 6b | 73 20 74 6f 20 74 68 65 |hot link|s to the|
|000046d0| 20 69 74 65 6d 2e 20 20 | 42 72 6f 61 64 63 61 73 | item. |Broadcas|
|000046e0| 74 44 44 45 44 61 74 61 | 52 65 61 64 79 20 6e 6f |tDDEData|Ready no|
|000046f0| 74 69 66 69 65 73 20 61 | 6c 6c 20 63 6c 69 65 6e |tifies a|ll clien|
|00004700| 74 73 20 77 69 74 68 20 | 77 61 72 6d 20 6c 69 6e |ts with |warm lin|
|00004710| 6b 73 20 74 6f 20 74 68 | 65 20 69 74 65 6d 2e 20 |ks to th|e item. |
|00004720| 20 46 6f 72 20 65 61 63 | 68 20 77 61 72 6d 2d 6c | For eac|h warm-l|
|00004730| 69 6e 6b 65 64 20 63 6c | 69 65 6e 74 20 74 68 61 |inked cl|ient tha|
|00004740| 74 20 72 65 71 75 65 73 | 74 73 20 74 68 65 20 64 |t reques|ts the d|
|00004750| 61 74 61 2c 20 79 6f 75 | 72 20 73 65 72 76 65 72 |ata, you|r server|
|00004760| 20 63 61 6c 6c 62 61 63 | 6b 20 66 75 6e 63 74 69 | callbac|k functi|
|00004770| 6f 6e 20 69 73 20 69 6e | 76 6f 6b 65 64 20 77 69 |on is in|voked wi|
|00004780| 74 68 20 74 68 65 20 44 | 44 45 5f 52 45 51 55 45 |th the D|DE_REQUE|
|00004790| 53 54 44 41 54 41 20 6d | 65 73 73 61 67 65 2e 20 |STDATA m|essage. |
|000047a0| 20 59 6f 75 20 6d 75 73 | 74 20 63 61 6c 6c 20 53 | You mus|t call S|
|000047b0| 65 72 76 65 72 44 44 45 | 57 72 69 74 65 20 69 6e |erverDDE|Write in|
|000047c0| 20 74 68 65 20 63 61 6c | 6c 62 61 63 6b 20 74 6f | the cal|lback to|
|000047d0| 20 73 65 6e 64 20 74 68 | 65 20 64 61 74 61 2e 20 | send th|e data. |
|000047e0| 0a 0a 49 66 20 73 75 63 | 63 65 73 73 66 75 6c 2c |..If suc|cessful,|
|000047f0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 72 | this fu|nction r|
|00004800| 65 74 75 72 6e 73 20 74 | 68 65 20 6e 75 6d 62 65 |eturns t|he numbe|
|00004810| 72 20 6f 66 20 62 79 74 | 65 73 20 73 65 6e 74 2e |r of byt|es sent.|
|00004820| 20 20 4f 74 68 65 72 77 | 69 73 65 2c 20 74 68 69 | Otherw|ise, thi|
|00004830| 73 20 66 75 6e 63 74 69 | 6f 6e 20 72 65 74 75 72 |s functi|on retur|
|00004840| 6e 73 20 61 20 6e 65 67 | 61 74 69 76 65 20 65 72 |ns a neg|ative er|
|00004850| 72 6f 72 20 63 6f 64 65 | 2e 20 20 53 65 65 20 74 |ror code|. See t|
|00004860| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 65 20 |he help |for the |
|00004870| 53 74 61 74 75 73 20 63 | 6f 6e 74 72 6f 6c 20 66 |Status c|ontrol f|
|00004880| 6f 72 20 74 68 65 20 65 | 72 72 6f 72 20 63 6f 64 |or the e|rror cod|
|00004890| 65 20 76 61 6c 75 65 73 | 2e 0a 0a 4e 4f 54 45 3a |e values|...NOTE:|
|000048a0| 20 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 73 | This fu|nction s|
|000048b0| 68 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 63 61 6c |hould no|t be cal|
|000048c0| 6c 65 64 20 69 6e 20 61 | 20 74 69 67 68 74 20 6c |led in a| tight l|
|000048d0| 6f 6f 70 20 62 65 63 61 | 75 73 65 20 0a 20 20 20 |oop beca|use . |
|000048e0| 20 20 20 69 74 20 77 69 | 6c 6c 20 63 6f 6d 70 65 | it wi|ll compe|
|000048f0| 74 65 20 77 69 74 68 20 | 75 73 65 72 20 69 6e 74 |te with |user int|
|00004900| 65 72 66 61 63 65 20 65 | 76 65 6e 74 73 20 66 6f |erface e|vents fo|
|00004910| 72 20 74 68 65 20 43 50 | 55 20 0a 20 20 20 20 20 |r the CP|U . |
|00004920| 20 74 69 6d 65 2e 20 54 | 68 69 73 20 66 75 6e 63 | time. T|his func|
|00004930| 74 69 6f 6e 20 73 68 6f | 75 6c 64 20 62 65 20 75 |tion sho|uld be u|
|00004940| 73 65 64 20 73 70 61 72 | 69 6e 67 6c 79 2c 20 61 |sed spar|ingly, a|
|00004950| 6e 64 20 6f 6e 6c 79 20 | 0a 20 20 20 20 20 20 77 |nd only |. w|
|00004960| 68 65 6e 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |hen the |value of|
|00004970| 20 74 68 65 20 68 6f 74 | 20 6f 72 20 77 61 72 6d | the hot| or warm|
|00004980| 20 6c 69 6e 6b 65 64 20 | 64 61 74 61 20 6f 62 6a | linked |data obj|
|00004990| 65 63 74 20 20 0a 20 20 | 20 20 20 20 63 68 61 6e |ect . | chan|
|000049a0| 67 65 73 2e 20 49 6e 20 | 63 61 73 65 73 20 77 68 |ges. In |cases wh|
|000049b0| 65 6e 20 6c 61 72 67 65 | 20 64 61 74 61 20 6f 62 |en large| data ob|
|000049c0| 6a 65 63 74 73 20 61 72 | 65 20 74 6f 20 62 65 20 |jects ar|e to be |
|000049d0| 0a 20 20 20 20 20 20 72 | 65 74 75 72 6e 65 64 20 |. r|eturned |
|000049e0| 66 72 6f 6d 20 74 68 65 | 20 73 65 72 76 65 72 2c |from the| server,|
|000049f0| 20 69 74 20 73 68 6f 75 | 6c 64 20 6f 6e 6c 79 20 | it shou|ld only |
|00004a00| 62 65 20 63 61 6c 6c 65 | 64 20 77 68 65 6e 20 0a |be calle|d when .|
|00004a10| 20 20 20 20 20 20 74 68 | 65 20 75 73 65 72 20 69 | th|e user i|
|00004a20| 6e 74 65 72 66 61 63 65 | 20 69 73 20 6e 6f 74 20 |nterface| is not |
|00004a30| 62 75 73 79 2e 00 00 00 | 00 00 a4 00 00 00 00 54 |busy....|.......T|
|00004a40| 68 65 20 6e 61 6d 65 20 | 69 64 65 6e 74 69 66 79 |he name |identify|
|00004a50| 69 6e 67 20 74 68 65 20 | 6f 62 6a 65 63 74 20 74 |ing the |object t|
|00004a60| 6f 20 77 68 69 63 68 20 | 74 68 65 20 64 61 74 61 |o which |the data|
|00004a70| 20 72 65 66 65 72 73 2e | 20 20 45 61 63 68 20 73 | refers.| Each s|
|00004a80| 65 72 76 65 72 20 64 65 | 66 69 6e 65 73 20 69 74 |erver de|fines it|
|00004a90| 73 20 6f 77 6e 20 73 65 | 74 20 6f 66 20 76 61 6c |s own se|t of val|
|00004aa0| 69 64 20 69 74 65 6d 20 | 6e 61 6d 65 73 2e 20 0a |id item |names. .|
|00004ab0| 0a 54 68 65 20 6e 61 6d | 65 20 6d 75 73 74 20 62 |.The nam|e must b|
|00004ac0| 65 20 73 74 72 69 6e 67 | 20 6f 66 20 6c 65 6e 67 |e string| of leng|
|00004ad0| 74 68 20 66 72 6f 6d 20 | 31 20 74 6f 20 32 35 35 |th from |1 to 255|
|00004ae0| 2e 00 00 00 00 00 3f 00 | 00 00 00 54 68 65 20 70 |......?.|...The p|
|00004af0| 6f 69 6e 74 65 72 20 74 | 6f 20 74 68 65 20 64 61 |ointer t|o the da|
|00004b00| 74 61 20 74 6f 20 62 65 | 20 77 72 69 74 74 65 6e |ta to be| written|
|00004b10| 2e 20 0a 0a 4e 55 4c 4c | 20 69 73 20 6e 6f 74 20 |. ..NULL| is not |
|00004b20| 61 6c 6c 6f 77 65 64 2e | 00 00 00 00 00 89 00 00 |allowed.|........|
|00004b30| 00 00 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |..The nu|mber of |
|00004b40| 62 79 74 65 73 20 69 6e | 20 74 68 65 20 64 61 74 |bytes in| the dat|
|00004b50| 61 20 74 6f 20 62 65 20 | 77 72 69 74 74 65 6e 2e |a to be |written.|
|00004b60| 20 0a 0a 4c 69 6d 69 74 | 65 64 20 74 6f 20 36 34 | ..Limit|ed to 64|
|00004b70| 6b 20 62 79 74 65 73 20 | 75 6e 64 65 72 20 57 69 |k bytes |under Wi|
|00004b80| 6e 64 6f 77 73 20 33 2e | 31 20 61 6e 64 20 57 69 |ndows 3.|1 and Wi|
|00004b90| 6e 64 6f 77 73 20 39 35 | 2e 20 20 0a 4e 6f 74 20 |ndows 95|. .Not |
|00004ba0| 6c 69 6d 69 74 65 64 20 | 75 6e 64 65 72 20 57 69 |limited |under Wi|
|00004bb0| 6e 64 6f 77 73 20 4e 54 | 2e 00 00 00 00 00 6b 00 |ndows NT|......k.|
|00004bc0| 00 00 00 54 68 65 20 73 | 65 72 76 65 72 20 66 72 |...The s|erver fr|
|00004bd0| 6f 6d 20 77 68 69 63 68 | 20 79 6f 75 20 77 61 6e |om which| you wan|
|00004be0| 74 20 74 6f 20 62 72 6f | 61 64 63 61 73 74 20 44 |t to bro|adcast D|
|00004bf0| 44 45 20 64 61 74 61 2e | 0a 0a 54 68 65 20 6e 61 |DE data.|..The na|
|00004c00| 6d 65 20 6d 75 73 74 20 | 62 65 20 73 74 72 69 6e |me must |be strin|
|00004c10| 67 20 6f 66 20 6c 65 6e | 67 74 68 20 66 72 6f 6d |g of len|gth from|
|00004c20| 20 31 20 74 6f 20 32 35 | 35 2e 0a 0a 00 00 00 00 | 1 to 25|5.......|
|00004c30| 01 6a 00 00 00 00 54 6f | 70 69 63 20 6e 61 6d 65 |.j....To|pic name|
|00004c40| 20 6f 66 20 74 68 65 20 | 63 6f 6e 76 65 72 73 61 | of the |conversa|
|00004c50| 74 69 6f 6e 73 20 66 6f | 72 20 77 68 69 63 68 20 |tions fo|r which |
|00004c60| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 62 72 6f 61 |you want| to broa|
|00004c70| 64 63 61 73 74 20 74 68 | 65 20 64 61 74 61 2e 20 |dcast th|e data. |
|00004c80| 20 45 61 63 68 20 73 65 | 72 76 65 72 20 64 65 66 | Each se|rver def|
|00004c90| 69 6e 65 73 20 69 74 73 | 20 6f 77 6e 20 73 65 74 |ines its| own set|
|00004ca0| 20 6f 66 20 76 61 6c 69 | 64 20 74 6f 70 69 63 20 | of vali|d topic |
|00004cb0| 6e 61 6d 65 73 2e 20 20 | 54 68 65 20 74 6f 70 69 |names. |The topi|
|00004cc0| 63 20 6e 61 6d 65 73 20 | 61 72 65 20 73 70 65 63 |c names |are spec|
|00004cd0| 69 66 69 65 64 20 62 79 | 20 63 6c 69 65 6e 74 73 |ified by| clients|
|00004ce0| 20 77 68 65 6e 20 74 68 | 65 79 20 63 6f 6e 6e 65 | when th|ey conne|
|00004cf0| 63 74 20 74 6f 20 73 65 | 72 76 65 72 73 2e 20 20 |ct to se|rvers. |
|00004d00| 49 6e 20 74 68 69 73 20 | 63 61 73 65 2c 20 74 68 |In this |case, th|
|00004d10| 65 20 74 6f 70 69 63 20 | 6e 61 6d 65 20 73 68 6f |e topic |name sho|
|00004d20| 75 6c 64 20 6d 61 74 63 | 68 20 74 68 65 20 74 6f |uld matc|h the to|
|00004d30| 70 69 63 20 6e 61 6d 65 | 20 66 6f 72 20 61 74 20 |pic name| for at |
|00004d40| 6c 65 61 73 74 20 6f 6e | 65 20 61 63 74 69 76 65 |least on|e active|
|00004d50| 20 63 6f 6e 76 65 72 73 | 61 74 69 6f 6e 20 77 69 | convers|ation wi|
|00004d60| 74 68 20 61 20 63 6c 69 | 65 6e 74 2e 0a 0a 54 68 |th a cli|ent...Th|
|00004d70| 65 20 6e 61 6d 65 20 6d | 75 73 74 20 62 65 20 73 |e name m|ust be s|
|00004d80| 74 72 69 6e 67 20 6f 66 | 20 6c 65 6e 67 74 68 20 |tring of| length |
|00004d90| 66 72 6f 6d 20 31 20 74 | 6f 20 32 35 35 2e 00 00 |from 1 t|o 255...|
|00004da0| 00 00 4a 37 00 3f 01 97 | 00 02 00 0b 01 00 00 00 |..J7.?..|........|
|00004db0| 00 00 00 00 49 74 65 6d | 20 4e 61 6d 65 00 00 00 |....Item| Name...|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 4a e3 | 00 94 00 e6 00 04 00 19 |......J.|........|
|00004de0| 01 00 00 00 00 00 00 00 | 44 61 74 61 20 50 6f 69 |........|Data Poi|
|00004df0| 6e 74 65 72 00 00 00 00 | 00 00 00 00 00 00 00 00 |nter....|........|
|00004e00| 00 00 00 00 00 00 00 00 | 00 00 4b 2a 00 94 01 96 |........|..K*....|
|00004e10| 00 05 00 04 01 00 00 00 | 00 00 00 00 44 61 74 61 |........|....Data|
|00004e20| 20 53 69 7a 65 00 00 00 | 00 00 00 00 00 00 00 00 | Size...|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 1a 02 |........|........|
|00004e40| 01 13 01 b8 ff ff 00 00 | 06 00 00 00 00 00 00 00 |........|........|
|00004e50| 53 74 61 74 75 73 00 00 | 00 00 00 00 00 00 00 00 |Status..|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 2d d9 00 94 00 2a | 00 03 00 04 03 01 00 00 |..-....*|........|
|00004e80| 00 00 00 00 44 61 74 61 | 20 46 6f 72 6d 61 74 00 |....Data| Format.|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 00 00 00 00 00 4b bb | 00 3f 00 35 00 00 00 0b |......K.|.?.5....|
|00004eb0| 01 00 00 00 00 00 00 00 | 53 65 72 76 65 72 20 4e |........|Server N|
|00004ec0| 61 6d 65 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ame.....|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 4c 2e 00 3f 00 e6 |........|..L..?..|
|00004ee0| 00 01 00 0b 01 00 00 00 | 00 00 00 00 54 6f 70 69 |........|....Topi|
|00004ef0| 63 20 4e 61 6d 65 00 00 | 00 00 00 00 00 00 00 00 |c Name..|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00004f10| 22 22 00 00 00 00 01 00 | 00 00 00 01 00 00 00 00 |""......|........|
|00004f20| 09 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 10 00 00 | 01 58 43 46 5f 54 45 58 |........|.XCF_TEX|
|00004f40| 54 00 43 46 5f 54 45 58 | 54 00 43 46 5f 42 49 54 |T.CF_TEX|T.CF_BIT|
|00004f50| 4d 41 50 00 43 46 5f 42 | 49 54 4d 41 50 00 43 46 |MAP.CF_B|ITMAP.CF|
|00004f60| 5f 4d 45 54 41 46 49 4c | 45 50 49 43 54 00 43 46 |_METAFIL|EPICT.CF|
|00004f70| 5f 4d 45 54 41 46 49 4c | 45 50 49 43 54 00 43 46 |_METAFIL|EPICT.CF|
|00004f80| 5f 53 59 4c 4b 00 43 46 | 5f 53 59 4c 4b 00 43 46 |_SYLK.CF|_SYLK.CF|
|00004f90| 5f 44 49 46 00 43 46 5f | 44 49 46 00 43 46 5f 54 |_DIF.CF_|DIF.CF_T|
|00004fa0| 49 46 46 00 43 46 5f 54 | 49 46 46 00 43 46 5f 4f |IFF.CF_T|IFF.CF_O|
|00004fb0| 45 4d 54 45 58 54 00 43 | 46 5f 4f 45 4d 54 45 58 |EMTEXT.C|F_OEMTEX|
|00004fc0| 54 00 43 46 5f 44 49 42 | 00 43 46 5f 44 49 42 00 |T.CF_DIB|.CF_DIB.|
|00004fd0| 43 46 5f 50 41 4c 45 54 | 54 45 00 43 46 5f 50 41 |CF_PALET|TE.CF_PA|
|00004fe0| 4c 45 54 54 45 00 43 46 | 5f 50 45 4e 44 41 54 41 |LETTE.CF|_PENDATA|
|00004ff0| 00 43 46 5f 50 45 4e 44 | 41 54 41 00 43 46 5f 52 |.CF_PEND|ATA.CF_R|
|00005000| 49 46 46 00 43 46 5f 52 | 49 46 46 00 43 46 5f 57 |IFF.CF_R|IFF.CF_W|
|00005010| 41 56 45 00 43 46 5f 57 | 41 56 45 00 43 46 5f 4f |AVE.CF_W|AVE.CF_O|
|00005020| 57 4e 45 52 44 49 53 50 | 4c 41 59 00 43 46 5f 4f |WNERDISP|LAY.CF_O|
|00005030| 57 4e 45 52 44 49 53 50 | 4c 41 59 00 43 46 5f 44 |WNERDISP|LAY.CF_D|
|00005040| 53 50 54 45 58 54 00 43 | 46 5f 44 53 50 54 45 58 |SPTEXT.C|F_DSPTEX|
|00005050| 54 00 43 46 5f 44 53 50 | 42 49 54 4d 41 50 00 43 |T.CF_DSP|BITMAP.C|
|00005060| 46 5f 44 53 50 42 49 54 | 4d 41 50 00 43 46 5f 44 |F_DSPBIT|MAP.CF_D|
|00005070| 53 50 4d 45 54 41 46 49 | 4c 45 50 49 43 54 00 43 |SPMETAFI|LEPICT.C|
|00005080| 46 5f 44 53 50 4d 45 54 | 41 46 49 4c 45 50 49 43 |F_DSPMET|AFILEPIC|
|00005090| 54 00 00 00 00 03 22 22 | 00 00 00 00 03 22 22 00 |T.....""|....."".|
|000050a0| 00 00 01 3e 00 00 00 00 | 54 68 69 73 20 66 75 6e |...>....|This fun|
|000050b0| 63 74 69 6f 6e 20 72 65 | 6d 6f 76 65 73 20 79 6f |ction re|moves yo|
|000050c0| 75 72 20 70 72 6f 67 72 | 61 6d 20 66 72 6f 6d 20 |ur progr|am from |
|000050d0| 69 74 73 20 63 61 70 61 | 63 69 74 79 20 61 73 20 |its capa|city as |
|000050e0| 61 20 44 44 45 20 73 65 | 72 76 65 72 20 75 6e 64 |a DDE se|rver und|
|000050f0| 65 72 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |er the s|pecified|
|00005100| 20 73 65 72 76 65 72 20 | 6e 61 6d 65 2e 20 20 4e | server |name. N|
|00005110| 6f 20 66 75 72 74 68 65 | 72 20 73 65 72 76 69 63 |o furthe|r servic|
|00005120| 65 20 69 73 20 70 72 6f | 76 69 64 65 64 2e 20 20 |e is pro|vided. |
|00005130| 41 6c 6c 20 63 6f 6e 6e | 65 63 74 69 6f 6e 73 20 |All conn|ections |
|00005140| 77 69 74 68 20 63 6c 69 | 65 6e 74 73 20 61 72 65 |with cli|ents are|
|00005150| 20 63 6c 6f 73 65 64 2e | 20 20 54 68 65 20 73 65 | closed.| The se|
|00005160| 72 76 65 72 20 63 61 6c | 6c 62 61 63 6b 20 66 75 |rver cal|lback fu|
|00005170| 6e 63 74 69 6f 6e 20 69 | 73 20 6e 6f 20 6c 6f 6e |nction i|s no lon|
|00005180| 67 65 72 20 63 61 6c 6c | 65 64 20 66 6f 72 20 74 |ger call|ed for t|
|00005190| 68 69 73 20 73 65 72 76 | 65 72 20 6e 61 6d 65 2e |his serv|er name.|
|000051a0| 20 0a 0a 49 74 20 72 65 | 74 75 72 6e 73 20 7a 65 | ..It re|turns ze|
|000051b0| 72 6f 20 66 6f 72 20 73 | 75 63 63 65 73 73 20 6f |ro for s|uccess o|
|000051c0| 72 20 61 20 6e 65 67 61 | 74 69 76 65 20 65 72 72 |r a nega|tive err|
|000051d0| 6f 72 20 63 6f 64 65 20 | 66 6f 72 20 66 61 69 6c |or code |for fail|
|000051e0| 75 72 65 2e 00 00 00 00 | 00 73 00 00 00 00 54 68 |ure.....|.s....Th|
|000051f0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 73 65 |e name o|f the se|
|00005200| 72 76 65 72 20 74 6f 20 | 62 65 20 75 6e 72 65 67 |rver to |be unreg|
|00005210| 69 73 74 65 72 65 64 2e | 20 20 54 68 69 73 20 6d |istered.| This m|
|00005220| 75 73 74 20 6d 61 74 63 | 68 20 74 68 65 20 73 65 |ust matc|h the se|
|00005230| 72 76 65 72 20 6e 61 6d | 65 20 74 68 61 74 20 77 |rver nam|e that w|
|00005240| 61 73 20 70 61 73 73 65 | 64 20 74 6f 20 52 65 67 |as passe|d to Reg|
|00005250| 69 73 74 65 72 44 44 45 | 53 65 72 76 65 72 2e 00 |isterDDE|Server..|
|00005260| 00 00 00 51 e6 00 3e 00 | 37 00 00 00 0b 01 00 00 |...Q..>.|7.......|
|00005270| 00 00 00 00 00 53 65 72 | 76 65 72 20 4e 61 6d 65 |.....Ser|ver Name|
|00005280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005290| 00 00 00 00 00 00 00 1a | 02 01 13 01 b8 ff ff 00 |........|........|
|000052a0| 00 06 00 00 00 00 00 00 | 00 53 74 61 74 75 73 00 |........|.Status.|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 03 22 22 00 |........|....."".|
|000052d0| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|000052e0| 6d 00 00 00 00 54 68 69 | 73 20 66 75 6e 63 74 69 |m....Thi|s functi|
|000052f0| 6f 6e 20 65 73 74 61 62 | 6c 69 73 68 65 73 20 61 |on estab|lishes a|
|00005300| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 62 65 74 77 | connect|ion betw|
|00005310| 65 65 6e 20 79 6f 75 72 | 20 70 72 6f 67 72 61 6d |een your| program|
|00005320| 20 61 6e 64 20 61 20 6e | 61 6d 65 64 20 44 44 45 | and a n|amed DDE|
|00005330| 20 73 65 72 76 65 72 2e | 20 20 59 6f 75 72 20 70 | server.| Your p|
|00005340| 72 6f 67 72 61 6d 20 62 | 65 63 6f 6d 65 73 20 61 |rogram b|ecomes a|
|00005350| 20 44 44 45 20 63 6c 69 | 65 6e 74 2e 20 20 54 68 | DDE cli|ent. Th|
|00005360| 65 72 65 61 66 74 65 72 | 2c 20 61 6c 6c 20 6d 65 |ereafter|, all me|
|00005370| 73 73 61 67 65 73 20 66 | 72 6f 6d 20 74 68 65 20 |ssages f|rom the |
|00005380| 73 65 72 76 65 72 20 61 | 72 65 20 72 6f 75 74 65 |server a|re route|
|00005390| 64 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 73 70 |d throug|h the sp|
|000053a0| 65 63 69 66 69 65 64 20 | 63 6c 69 65 6e 74 20 63 |ecified |client c|
|000053b0| 61 6c 6c 62 61 63 6b 20 | 66 75 6e 63 74 69 6f 6e |allback |function|
|000053c0| 2e 20 0a 0a 54 68 69 73 | 20 66 75 6e 63 74 69 6f |. ..This| functio|
|000053d0| 6e 20 72 65 74 75 72 6e | 73 20 7a 65 72 6f 20 66 |n return|s zero f|
|000053e0| 6f 72 20 73 75 63 63 65 | 73 73 20 6f 72 20 61 20 |or succe|ss or a |
|000053f0| 6e 65 67 61 74 69 76 65 | 20 65 72 72 6f 72 20 63 |negative| error c|
|00005400| 6f 64 65 20 66 6f 72 20 | 66 61 69 6c 75 72 65 2e |ode for |failure.|
|00005410| 20 20 53 65 65 20 74 68 | 65 20 68 65 6c 70 20 66 | See th|e help f|
|00005420| 6f 72 20 74 68 65 20 53 | 74 61 74 75 73 20 63 6f |or the S|tatus co|
|00005430| 6e 74 72 6f 6c 20 66 6f | 72 20 74 68 65 20 65 72 |ntrol fo|r the er|
|00005440| 72 6f 72 20 63 6f 64 65 | 20 76 61 6c 75 65 73 2e |ror code| values.|
|00005450| 00 00 00 00 00 7b 00 00 | 00 00 4f 75 74 70 75 74 |.....{..|..Output|
|00005460| 20 70 61 72 61 6d 65 74 | 65 72 20 77 68 69 63 68 | paramet|er which|
|00005470| 20 72 65 74 75 72 6e 73 | 20 61 20 63 6f 6e 76 65 | returns| a conve|
|00005480| 72 73 61 74 69 6f 6e 20 | 68 61 6e 64 6c 65 20 74 |rsation |handle t|
|00005490| 68 61 74 20 75 6e 69 71 | 75 65 6c 79 20 72 65 70 |hat uniq|uely rep|
|000054a0| 72 65 73 65 6e 74 73 20 | 61 20 63 6f 6e 6e 65 63 |resents |a connec|
|000054b0| 74 69 6f 6e 20 62 65 74 | 77 65 65 6e 20 61 20 73 |tion bet|ween a s|
|000054c0| 65 72 76 65 72 20 61 6e | 64 20 61 20 63 6c 69 65 |erver an|d a clie|
|000054d0| 6e 74 2e 00 00 00 00 00 | 5c 00 00 00 00 54 68 65 |nt......|\....The|
|000054e0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 73 65 72 | name of| the ser|
|000054f0| 76 65 72 20 77 68 69 63 | 68 20 74 6f 20 63 6f 6e |ver whic|h to con|
|00005500| 6e 65 63 74 2e 0a 0a 54 | 68 65 20 6e 61 6d 65 20 |nect...T|he name |
|00005510| 6d 75 73 74 20 62 65 20 | 73 74 72 69 6e 67 20 6f |must be |string o|
|00005520| 66 20 6c 65 6e 67 74 68 | 20 66 72 6f 6d 20 31 20 |f length| from 1 |
|00005530| 74 6f 20 32 35 35 2e 00 | 00 00 00 01 3e 00 00 00 |to 255..|....>...|
|00005540| 00 54 6f 70 69 63 20 6e | 61 6d 65 20 6f 66 20 74 |.Topic n|ame of t|
|00005550| 68 65 20 63 6f 6e 76 65 | 72 73 61 74 69 6f 6e 20 |he conve|rsation |
|00005560| 74 6f 20 62 65 20 65 73 | 74 61 62 6c 69 73 68 65 |to be es|tablishe|
|00005570| 64 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 63 6c |d betwee|n the cl|
|00005580| 69 65 6e 74 20 61 6e 64 | 20 74 68 65 20 73 65 72 |ient and| the ser|
|00005590| 76 65 72 2e 20 20 45 61 | 63 68 20 73 65 72 76 65 |ver. Ea|ch serve|
|000055a0| 72 20 64 65 66 69 6e 65 | 73 20 69 74 73 20 6f 77 |r define|s its ow|
|000055b0| 6e 20 73 65 74 20 6f 66 | 20 76 61 6c 69 64 20 74 |n set of| valid t|
|000055c0| 6f 70 69 63 20 6e 61 6d | 65 73 2e 20 20 4d 75 6c |opic nam|es. Mul|
|000055d0| 74 69 70 6c 65 20 63 6f | 6e 6e 65 63 74 69 6f 6e |tiple co|nnection|
|000055e0| 73 20 63 61 6e 20 62 65 | 20 6d 61 64 65 20 62 65 |s can be| made be|
|000055f0| 74 77 65 65 6e 20 61 20 | 63 6c 69 65 6e 74 20 61 |tween a |client a|
|00005600| 6e 64 20 61 20 73 65 72 | 76 65 72 20 61 73 20 6c |nd a ser|ver as l|
|00005610| 6f 6e 67 20 61 73 20 74 | 68 65 72 65 20 69 73 20 |ong as t|here is |
|00005620| 61 20 64 69 66 66 65 72 | 65 6e 74 20 74 6f 70 69 |a differ|ent topi|
|00005630| 63 20 6e 61 6d 65 20 66 | 6f 72 20 65 61 63 68 20 |c name f|or each |
|00005640| 63 6f 6e 6e 65 63 74 69 | 6f 6e 2e 0a 0a 54 68 65 |connecti|on...The|
|00005650| 20 6e 61 6d 65 20 6d 75 | 73 74 20 62 65 20 73 74 | name mu|st be st|
|00005660| 72 69 6e 67 20 6f 66 20 | 6c 65 6e 67 74 68 20 66 |ring of |length f|
|00005670| 72 6f 6d 20 31 20 74 6f | 20 32 35 35 2e 00 00 00 |rom 1 to| 255....|
|00005680| 00 0a 69 00 00 00 00 54 | 68 65 20 6e 61 6d 65 20 |..i....T|he name |
|00005690| 6f 66 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |of the f|unction |
|000056a0| 74 6f 20 62 65 20 63 61 | 6c 6c 65 64 20 74 6f 20 |to be ca|lled to |
|000056b0| 70 72 6f 63 65 73 73 20 | 6d 65 73 73 61 67 65 73 |process |messages|
|000056c0| 20 74 6f 20 79 6f 75 72 | 20 70 72 6f 67 72 61 6d | to your| program|
|000056d0| 20 61 73 20 61 20 44 44 | 45 20 63 6c 69 65 6e 74 | as a DD|E client|
|000056e0| 2e 20 20 41 20 4e 55 4c | 4c 20 70 6f 69 6e 74 65 |. A NUL|L pointe|
|000056f0| 72 20 69 73 20 6e 6f 74 | 20 61 6c 6c 6f 77 65 64 |r is not| allowed|
|00005700| 2e 20 0a 0a 54 68 65 20 | 63 61 6c 6c 62 61 63 6b |. ..The |callback|
|00005710| 20 66 75 6e 63 74 69 6f | 6e 20 6d 75 73 74 20 62 | functio|n must b|
|00005720| 65 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e of the| followi|
|00005730| 6e 67 20 66 6f 72 6d 3a | 0a 0a 20 20 20 20 69 6e |ng form:|.. in|
|00005740| 74 20 28 2a 64 64 65 46 | 75 6e 63 50 74 72 29 20 |t (*ddeF|uncPtr) |
|00005750| 28 75 6e 73 69 67 6e 65 | 64 20 68 61 6e 64 6c 65 |(unsigne|d handle|
|00005760| 2c 20 63 68 61 72 20 2a | 74 6f 70 69 63 4e 61 6d |, char *|topicNam|
|00005770| 65 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e,. | |
|00005780| 20 20 20 20 20 20 20 20 | 20 20 63 68 61 72 20 2a | | char *|
|00005790| 69 74 65 6d 4e 61 6d 65 | 2c 20 69 6e 74 20 78 54 |itemName|, int xT|
|000057a0| 79 70 65 2c 20 69 6e 74 | 20 64 61 74 61 46 6d 74 |ype, int| dataFmt|
|000057b0| 2c 20 20 20 20 0a 20 20 | 20 20 20 20 20 20 20 20 |, . | |
|000057c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 6e 74 | | int|
|000057d0| 20 64 61 74 61 53 69 7a | 65 2c 20 76 6f 69 64 20 | dataSiz|e, void |
|000057e0| 2a 64 61 74 61 50 74 72 | 2c 0a 20 20 20 20 20 20 |*dataPtr|,. |
|000057f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005800| 20 76 6f 69 64 20 2a 63 | 61 6c 6c 62 61 63 6b 44 | void *c|allbackD|
|00005810| 61 74 61 29 3b 0a 0a 54 | 68 65 20 27 68 61 6e 64 |ata);..T|he 'hand|
|00005820| 6c 65 27 20 70 61 72 61 | 6d 65 74 65 72 20 63 6f |le' para|meter co|
|00005830| 6e 74 61 69 6e 73 20 61 | 20 76 61 6c 75 65 20 74 |ntains a| value t|
|00005840| 68 61 74 20 69 73 20 75 | 6e 69 71 75 65 20 74 6f |hat is u|nique to|
|00005850| 20 65 61 63 68 20 63 6c | 69 65 6e 74 2d 73 65 72 | each cl|ient-ser|
|00005860| 76 65 72 20 63 6f 6e 6e | 65 63 74 69 6f 6e 2e 0a |ver conn|ection..|
|00005870| 0a 54 68 65 20 27 63 61 | 6c 6c 62 61 63 6b 44 61 |.The 'ca|llbackDa|
|00005880| 74 61 27 20 70 61 72 61 | 6d 65 74 65 72 20 63 6f |ta' para|meter co|
|00005890| 6e 74 61 69 6e 73 20 74 | 68 65 20 76 61 6c 75 65 |ntains t|he value|
|000058a0| 20 70 61 73 73 65 64 20 | 61 73 20 74 68 65 20 43 | passed |as the C|
|000058b0| 61 6c 6c 62 61 63 6b 20 | 44 61 74 61 20 70 61 72 |allback |Data par|
|000058c0| 61 6d 65 74 65 72 20 69 | 6e 20 74 68 65 20 63 61 |ameter i|n the ca|
|000058d0| 6c 6c 20 74 6f 20 43 6f | 6e 6e 65 63 74 54 6f 44 |ll to Co|nnectToD|
|000058e0| 44 45 53 65 72 76 65 72 | 2e 20 20 28 49 6e 20 74 |DEServer|. (In t|
|000058f0| 68 65 20 63 61 73 65 20 | 6f 66 20 61 20 44 44 45 |he case |of a DDE|
|00005900| 5f 44 49 53 43 4f 4e 4e | 45 43 54 20 6d 65 73 73 |_DISCONN|ECT mess|
|00005910| 61 67 65 2c 20 74 68 65 | 20 76 61 6c 75 65 20 69 |age, the| value i|
|00005920| 73 20 75 6e 64 65 66 69 | 6e 65 64 2e 29 0a 20 0a |s undefi|ned.). .|
|00005930| 54 68 65 20 27 78 54 79 | 70 65 27 20 70 61 72 61 |The 'xTy|pe' para|
|00005940| 6d 65 74 65 72 20 63 6f | 6e 74 61 69 6e 73 20 74 |meter co|ntains t|
|00005950| 68 65 20 44 44 45 20 54 | 72 61 6e 73 61 63 74 69 |he DDE T|ransacti|
|00005960| 6f 6e 20 54 79 70 65 2e | 20 20 54 68 65 20 66 6f |on Type.| The fo|
|00005970| 6c 6c 6f 77 69 6e 67 20 | 6c 69 73 74 20 73 70 65 |llowing |list spe|
|00005980| 63 69 66 69 65 73 20 61 | 6c 6c 20 6f 66 20 74 68 |cifies a|ll of th|
|00005990| 65 20 74 72 61 6e 73 61 | 63 74 69 6f 6e 20 74 79 |e transa|ction ty|
|000059a0| 70 65 73 20 74 68 61 74 | 20 63 61 6e 20 62 65 20 |pes that| can be |
|000059b0| 72 65 63 65 69 76 65 64 | 20 62 79 20 63 6c 69 65 |received| by clie|
|000059c0| 6e 74 73 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |nts:. | |
|000059d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 0a 20 | | . |
|000059e0| 20 78 54 79 70 65 20 20 | 20 20 20 20 20 20 20 20 | xType | |
|000059f0| 20 20 20 20 20 20 20 20 | 20 20 20 0a 20 20 2d 2d | | . --|
|00005a00| 2d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |--- | |
|00005a10| 20 20 20 20 20 20 20 20 | 0a 20 20 44 44 45 5f 44 | |. DDE_D|
|00005a20| 49 53 43 4f 4e 4e 45 43 | 54 20 20 20 20 20 20 20 |ISCONNEC|T |
|00005a30| 20 20 20 20 20 0a 20 20 | 44 44 45 5f 44 41 54 41 | . |DDE_DATA|
|00005a40| 52 45 41 44 59 20 20 20 | 20 20 20 20 20 20 20 20 |READY | |
|00005a50| 20 20 20 20 0a 0a 54 68 | 65 20 6f 74 68 65 72 20 | ..Th|e other |
|00005a60| 70 61 72 61 6d 65 74 65 | 72 73 20 74 6f 20 74 68 |paramete|rs to th|
|00005a70| 65 20 66 75 6e 63 74 69 | 6f 6e 20 6d 61 79 20 6f |e functi|on may o|
|00005a80| 72 20 6d 61 79 20 6e 6f | 74 20 62 65 20 75 73 65 |r may no|t be use|
|00005a90| 64 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 74 |d depend|ing on t|
|00005aa0| 68 65 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 20 74 |he trans|action t|
|00005ab0| 79 70 65 2e 20 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |ype. Th|e follow|
|00005ac0| 69 6e 67 20 64 65 73 63 | 72 69 62 65 73 20 65 61 |ing desc|ribes ea|
|00005ad0| 63 68 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 20 74 |ch trans|action t|
|00005ae0| 79 70 65 20 61 6e 64 20 | 74 68 65 20 64 61 74 61 |ype and |the data|
|00005af0| 20 74 68 61 74 20 61 63 | 63 6f 6d 70 61 6e 69 65 | that ac|companie|
|00005b00| 73 20 69 74 3a 0a 0a 44 | 44 45 5f 44 49 53 43 4f |s it:..D|DE_DISCO|
|00005b10| 4e 4e 45 43 54 20 2d 20 | 52 65 63 65 69 76 65 64 |NNECT - |Received|
|00005b20| 20 77 68 65 6e 20 61 20 | 73 65 72 76 65 72 20 69 | when a |server i|
|00005b30| 73 20 72 65 71 75 65 73 | 74 69 6e 67 20 74 68 65 |s reques|ting the|
|00005b40| 20 74 65 72 6d 69 6e 61 | 74 69 6f 6e 20 6f 66 20 | termina|tion of |
|00005b50| 61 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 2c 20 6f 72 |a connec|tion, or|
|00005b60| 20 77 68 65 6e 20 57 69 | 6e 64 6f 77 73 20 74 65 | when Wi|ndows te|
|00005b70| 72 6d 69 6e 61 74 65 73 | 20 74 68 65 20 63 6f 6e |rminates| the con|
|00005b80| 6e 65 63 74 69 6f 6e 20 | 64 75 65 20 74 6f 20 61 |nection |due to a|
|00005b90| 6e 20 69 6e 74 65 72 6e | 61 6c 20 65 72 72 6f 72 |n intern|al error|
|00005ba0| 2e 20 20 54 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |. The v|alue of |
|00005bb0| 74 68 65 20 27 63 61 6c | 6c 62 61 63 6b 44 61 74 |the 'cal|lbackDat|
|00005bc0| 61 27 20 70 61 72 61 6d | 65 74 65 72 20 69 73 20 |a' param|eter is |
|00005bd0| 75 6e 64 65 66 69 6e 65 | 64 2e 0a 0a 44 44 45 5f |undefine|d...DDE_|
|00005be0| 44 41 54 41 52 45 41 44 | 59 20 2d 20 52 65 63 65 |DATAREAD|Y - Rece|
|00005bf0| 69 76 65 64 20 77 68 65 | 6e 20 79 6f 75 20 68 61 |ived whe|n you ha|
|00005c00| 76 65 20 61 6c 72 65 61 | 64 79 20 73 65 74 20 75 |ve alrea|dy set u|
|00005c10| 70 20 61 20 68 6f 74 20 | 6f 72 20 77 61 72 6d 20 |p a hot |or warm |
|00005c20| 6c 69 6e 6b 20 62 79 20 | 63 61 6c 6c 69 6e 67 20 |link by |calling |
|00005c30| 53 65 74 55 70 44 44 45 | 48 6f 74 4c 69 6e 6b 20 |SetUpDDE|HotLink |
|00005c40| 6f 72 20 53 65 74 55 70 | 44 44 45 57 61 72 6d 4c |or SetUp|DDEWarmL|
|00005c50| 69 6e 6b 2c 20 61 6e 64 | 20 74 68 65 20 73 65 72 |ink, and| the ser|
|00005c60| 76 65 72 20 6e 6f 74 69 | 66 69 65 73 20 79 6f 75 |ver noti|fies you|
|00005c70| 20 74 68 61 74 20 6e 65 | 77 20 64 61 74 61 20 69 | that ne|w data i|
|00005c80| 73 20 61 76 61 69 6c 61 | 62 6c 65 2e 20 20 28 49 |s availa|ble. (I|
|00005c90| 66 20 74 68 65 20 73 65 | 72 76 65 72 20 70 72 6f |f the se|rver pro|
|00005ca0| 67 72 61 6d 20 75 73 65 | 73 20 74 68 65 20 4c 61 |gram use|s the La|
|00005cb0| 62 57 69 6e 64 6f 77 73 | 2f 43 56 49 20 44 44 45 |bWindows|/CVI DDE|
|00005cc0| 20 4c 69 62 72 61 72 79 | 2c 20 69 74 20 6e 6f 74 | Library|, it not|
|00005cd0| 69 66 69 65 73 20 79 6f | 75 20 62 79 20 63 61 6c |ifies yo|u by cal|
|00005ce0| 6c 69 6e 67 20 41 64 76 | 69 73 65 44 44 45 44 61 |ling Adv|iseDDEDa|
|00005cf0| 74 61 52 65 61 64 79 20 | 6f 72 20 42 72 6f 61 64 |taReady |or Broad|
|00005d00| 63 61 73 74 44 44 45 44 | 61 74 61 52 65 61 64 79 |castDDED|ataReady|
|00005d10| 2e 29 20 20 54 68 65 20 | 64 61 74 61 20 69 73 20 |.) The |data is |
|00005d20| 72 65 63 65 69 76 65 64 | 20 69 6e 20 74 68 65 20 |received| in the |
|00005d30| 63 61 6c 6c 62 61 63 6b | 20 69 6e 20 74 68 65 20 |callback| in the |
|00005d40| 27 64 61 74 61 50 74 72 | 27 20 70 61 72 61 6d 65 |'dataPtr|' parame|
|00005d50| 74 65 72 2e 20 20 20 54 | 68 65 20 27 74 6f 70 69 |ter. T|he 'topi|
|00005d60| 63 4e 61 6d 65 27 2c 20 | 27 69 74 65 6d 4e 61 6d |cName', |'itemNam|
|00005d70| 65 27 2c 20 27 64 61 74 | 61 46 6d 74 27 2c 20 20 |e', 'dat|aFmt', |
|00005d80| 27 64 61 74 61 53 69 7a | 65 27 2c 20 61 6e 64 20 |'dataSiz|e', and |
|00005d90| 27 64 61 74 61 50 74 72 | 27 20 70 61 72 61 6d 65 |'dataPtr|' parame|
|00005da0| 74 65 72 73 20 63 6f 6e | 74 61 69 6e 20 73 69 67 |ters con|tain sig|
|00005db0| 6e 69 66 69 63 61 6e 74 | 20 64 61 74 61 2e 0a 0a |nificant| data...|
|00005dc0| 54 68 65 20 27 69 74 65 | 6d 4e 61 6d 65 27 20 63 |The 'ite|mName' c|
|00005dd0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 73 70 |an be us|ed to sp|
|00005de0| 65 63 69 66 79 20 61 6e | 20 6f 62 6a 65 63 74 20 |ecify an| object |
|00005df0| 74 6f 20 77 68 69 63 68 | 20 74 68 65 20 64 61 74 |to which| the dat|
|00005e00| 61 20 72 65 66 65 72 73 | 2e 20 20 46 6f 72 20 65 |a refers|. For e|
|00005e10| 78 61 6d 70 6c 65 2c 20 | 69 6e 20 45 78 63 65 6c |xample, |in Excel|
|00005e20| 2c 20 74 68 65 20 69 74 | 65 6d 20 6e 61 6d 65 20 |, the it|em name |
|00005e30| 73 70 65 63 69 66 69 65 | 73 20 61 20 63 65 6c 6c |specifie|s a cell|
|00005e40| 2e 20 20 54 68 65 20 27 | 64 61 74 61 46 6d 74 27 |. The '|dataFmt'|
|00005e50| 20 69 73 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 57 | is one |of the W|
|00005e60| 69 6e 64 6f 77 73 2d 64 | 65 66 69 6e 65 64 20 64 |indows-d|efined d|
|00005e70| 61 74 61 20 74 79 70 65 | 73 2c 20 66 6f 72 20 65 |ata type|s, for e|
|00005e80| 78 61 6d 70 6c 65 2c 20 | 43 46 5f 54 45 58 54 2e |xample, |CF_TEXT.|
|00005e90| 20 20 54 68 65 20 27 64 | 61 74 61 53 69 7a 65 27 | The 'd|ataSize'|
|00005ea0| 20 73 70 65 63 69 66 69 | 65 73 20 74 68 65 20 6e | specifi|es the n|
|00005eb0| 75 6d 62 65 72 20 6f 66 | 20 62 79 74 65 73 20 69 |umber of| bytes i|
|00005ec0| 6e 20 74 68 65 20 64 61 | 74 61 20 70 6f 69 6e 74 |n the da|ta point|
|00005ed0| 65 64 20 74 6f 20 62 79 | 20 27 64 61 74 61 50 74 |ed to by| 'dataPt|
|00005ee0| 72 27 2e 20 20 4e 4f 54 | 45 3a 20 54 68 65 20 64 |r'. NOT|E: The d|
|00005ef0| 61 74 61 53 69 7a 65 20 | 76 61 6c 75 65 20 69 73 |ataSize |value is|
|00005f00| 20 74 68 65 20 76 61 6c | 75 65 20 4c 61 62 57 69 | the val|ue LabWi|
|00005f10| 6e 64 6f 77 73 2f 43 56 | 49 20 72 65 63 65 69 76 |ndows/CV|I receiv|
|00005f20| 65 73 20 66 72 6f 6d 20 | 4d 53 20 57 69 6e 64 6f |es from |MS Windo|
|00005f30| 77 73 2e 20 54 68 69 73 | 20 76 61 6c 75 65 20 63 |ws. This| value c|
|00005f40| 61 6e 20 62 65 20 6c 61 | 72 67 65 72 20 74 68 61 |an be la|rger tha|
|00005f50| 6e 20 74 68 65 20 61 63 | 74 75 61 6c 20 6e 75 6d |n the ac|tual num|
|00005f60| 62 65 72 20 6f 66 20 62 | 79 74 65 73 20 77 72 69 |ber of b|ytes wri|
|00005f70| 74 74 65 6e 20 62 79 20 | 74 68 65 20 73 65 72 76 |tten by |the serv|
|00005f80| 65 72 2e 20 0a 0a 52 65 | 6d 61 72 6b 73 3a 0a 2d |er. ..Re|marks:.-|
|00005f90| 2d 2d 2d 2d 2d 2d 2d 0a | 54 68 65 20 63 61 6c 6c |-------.|The call|
|00005fa0| 62 61 63 6b 20 66 75 6e | 63 74 69 6f 6e 20 73 68 |back fun|ction sh|
|00005fb0| 6f 75 6c 64 20 72 65 74 | 75 72 6e 20 54 52 55 45 |ould ret|urn TRUE|
|00005fc0| 20 69 66 20 74 68 65 20 | 6d 65 73 73 61 67 65 20 | if the |message |
|00005fd0| 63 61 6e 20 62 65 20 70 | 72 6f 63 65 73 73 65 64 |can be p|rocessed|
|00005fe0| 20 73 75 63 63 65 73 73 | 66 75 6c 6c 79 2e 20 20 | success|fully. |
|00005ff0| 4f 74 68 65 72 77 69 73 | 65 2c 20 69 74 20 73 68 |Otherwis|e, it sh|
|00006000| 6f 75 6c 64 20 72 65 74 | 75 72 6e 20 46 41 4c 53 |ould ret|urn FALS|
|00006010| 45 2e 20 20 0a 0a 54 68 | 65 20 63 61 6c 6c 62 61 |E. ..Th|e callba|
|00006020| 63 6b 20 66 75 6e 63 74 | 69 6f 6e 20 73 68 6f 75 |ck funct|ion shou|
|00006030| 6c 64 20 62 65 20 73 68 | 6f 72 74 20 61 6e 64 20 |ld be sh|ort and |
|00006040| 72 65 74 75 72 6e 20 61 | 73 20 73 6f 6f 6e 20 61 |return a|s soon a|
|00006050| 73 20 70 6f 73 73 69 62 | 6c 65 2e 0a 0a 54 68 65 |s possib|le...The|
|00006060| 20 76 61 6c 75 65 20 6f | 66 20 74 68 65 20 64 61 | value o|f the da|
|00006070| 74 61 53 69 7a 65 20 70 | 61 72 61 6d 65 74 65 72 |taSize p|arameter|
|00006080| 20 63 61 6e 20 62 65 20 | 67 72 65 61 74 65 72 20 | can be |greater |
|00006090| 74 68 65 20 61 63 74 75 | 61 6c 20 73 69 7a 65 20 |the actu|al size |
|000060a0| 6f 66 20 74 68 65 20 64 | 61 74 61 2e 20 49 74 20 |of the d|ata. It |
|000060b0| 69 73 20 72 65 63 6f 6d | 6d 65 6e 64 65 64 20 74 |is recom|mended t|
|000060c0| 68 61 74 20 79 6f 75 20 | 65 6e 63 6f 64 65 20 73 |hat you |encode s|
|000060d0| 69 7a 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ize info|rmation |
|000060e0| 69 6e 20 79 6f 75 72 20 | 64 61 74 61 2e 0a 00 00 |in your |data....|
|000060f0| 00 00 01 b3 00 00 00 00 | 41 20 66 6f 75 72 2d 62 |........|A four-b|
|00006100| 79 74 65 20 76 61 6c 75 | 65 20 74 68 61 74 20 77 |yte valu|e that w|
|00006110| 69 6c 6c 20 62 65 20 70 | 61 73 73 65 64 20 74 6f |ill be p|assed to|
|00006120| 20 74 68 65 20 63 61 6c | 6c 62 61 63 6b 20 66 75 | the cal|lback fu|
|00006130| 6e 63 74 69 6f 6e 20 65 | 61 63 68 20 74 69 6d 65 |nction e|ach time|
|00006140| 20 69 74 20 69 73 20 63 | 61 6c 6c 65 64 20 66 6f | it is c|alled fo|
|00006150| 72 20 74 68 69 73 20 63 | 6c 69 65 6e 74 2e 0a 0a |r this c|lient...|
|00006160| 49 74 20 69 73 20 75 70 | 20 74 6f 20 79 6f 75 20 |It is up| to you |
|00006170| 74 6f 20 64 65 66 69 6e | 65 20 74 68 65 20 6d 65 |to defin|e the me|
|00006180| 61 6e 69 6e 67 20 6f 66 | 20 74 68 65 20 63 61 6c |aning of| the cal|
|00006190| 6c 62 61 63 6b 20 64 61 | 74 61 2e 20 20 0a 4f 6e |lback da|ta. .On|
|000061a0| 65 20 77 61 79 20 74 6f | 20 75 73 65 20 74 68 65 |e way to| use the|
|000061b0| 20 63 61 6c 6c 62 61 63 | 6b 20 64 61 74 61 20 69 | callbac|k data i|
|000061c0| 73 20 61 73 20 61 20 70 | 6f 69 6e 74 65 72 20 74 |s as a p|ointer t|
|000061d0| 6f 20 61 20 64 61 74 61 | 20 0a 6f 62 6a 65 63 74 |o a data| .object|
|000061e0| 20 74 68 61 74 20 79 6f | 75 20 6e 65 65 64 20 74 | that yo|u need t|
|000061f0| 6f 20 61 63 63 65 73 73 | 20 69 6e 20 74 68 65 20 |o access| in the |
|00006200| 63 61 6c 6c 62 61 63 6b | 20 66 75 6e 63 74 69 6f |callback| functio|
|00006210| 6e 2e 20 20 49 6e 20 20 | 20 20 20 20 0a 74 68 69 |n. In | .thi|
|00006220| 73 20 77 61 79 2c 20 79 | 6f 75 20 77 6f 75 6c 64 |s way, y|ou would|
|00006230| 20 6e 6f 74 20 6e 65 65 | 64 20 74 6f 20 64 65 63 | not nee|d to dec|
|00006240| 6c 61 72 65 20 74 68 65 | 20 64 61 74 61 20 6f 62 |lare the| data ob|
|00006250| 6a 65 63 74 20 61 73 20 | 61 20 67 6c 6f 62 61 6c |ject as |a global|
|00006260| 20 76 61 72 69 61 62 6c | 65 2e 0a 0a 49 66 20 79 | variabl|e...If y|
|00006270| 6f 75 20 64 6f 20 6e 6f | 74 20 77 61 6e 74 20 74 |ou do no|t want t|
|00006280| 6f 20 75 73 65 20 74 68 | 65 20 63 61 6c 6c 62 61 |o use th|e callba|
|00006290| 63 6b 20 64 61 74 61 2c | 20 79 6f 75 20 63 61 6e |ck data,| you can|
|000062a0| 20 70 61 73 73 20 30 2e | 20 00 00 00 00 1a 02 01 | pass 0.| .......|
|000062b0| 13 01 b8 ff ff 00 00 06 | 00 00 00 00 00 00 00 53 |........|.......S|
|000062c0| 74 61 74 75 73 00 00 00 | 00 00 00 00 00 00 00 00 |tatus...|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 54 52 00 3b 00 3f 00 | 00 00 04 02 00 00 00 00 |.TR.;.?.|........|
|000062f0| 00 00 00 43 6f 6e 76 65 | 72 73 61 74 69 6f 6e 20 |...Conve|rsation |
|00006300| 48 61 6e 64 6c 65 00 00 | 00 00 00 00 00 00 00 00 |Handle..|........|
|00006310| 00 00 00 00 00 54 d5 00 | 3b 00 e5 00 01 00 0b 01 |.....T..|;.......|
|00006320| 00 00 00 00 00 00 00 53 | 65 72 76 65 72 20 4e 61 |.......S|erver Na|
|00006330| 6d 65 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |me......|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 55 39 00 3b 01 8c 00 |........|.U9.;...|
|00006350| 02 00 0b 01 00 00 00 00 | 00 00 00 54 6f 70 69 63 |........|...Topic|
|00006360| 20 4e 61 6d 65 00 00 00 | 00 00 00 00 00 00 00 00 | Name...|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 56 7f 00 |........|.....V..|
|00006380| b0 00 42 00 03 03 e8 01 | 00 00 00 00 00 00 00 43 |..B.....|.......C|
|00006390| 61 6c 6c 62 61 63 6b 20 | 46 75 6e 63 74 69 6f 6e |allback |Function|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 60 f0 00 b0 00 e4 00 | 04 00 16 01 00 00 00 00 |.`......|........|
|000063c0| 00 00 00 43 61 6c 6c 62 | 61 63 6b 20 44 61 74 61 |...Callb|ack Data|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 09 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.