home *** CD-ROM | disk | FTP | other *** search
/ Solo Programadores 22 / SOLO_22.iso / packages / win32ada / data.z / win32-ddeml.ads < prev    next >
Encoding:
Text File  |  1996-03-15  |  37.0 KB  |  618 lines

  1. -- $Source: /home/harp/1/proto/monoBANK/winnt/win32-ddeml.ads,v $ 
  2. -- $Revision: 1.11 $ $Date: 96/03/15 12:51:53 $ $Author: stm $ 
  3. -- See end of file for Copyright (c) information.
  4.  
  5. with Win32.Windef;
  6. with Win32.Winnt;
  7.  
  8. package Win32.Ddeml is
  9.  
  10.     use type Interfaces.C.Char_Array;
  11.  
  12.     XST_NULL                       : constant := 0;         -- ddeml.h:74
  13.     XST_INCOMPLETE                 : constant := 1;         -- ddeml.h:75
  14.     XST_CONNECTED                  : constant := 2;         -- ddeml.h:76
  15.     XST_INIT1                      : constant := 3;         -- ddeml.h:77
  16.     XST_INIT2                      : constant := 4;         -- ddeml.h:78
  17.     XST_REQSENT                    : constant := 5;         -- ddeml.h:79
  18.     XST_DATARCVD                   : constant := 6;         -- ddeml.h:80
  19.     XST_POKESENT                   : constant := 7;         -- ddeml.h:81
  20.     XST_POKEACKRCVD                : constant := 8;         -- ddeml.h:82
  21.     XST_EXECSENT                   : constant := 9;         -- ddeml.h:83
  22.     XST_EXECACKRCVD                : constant := 10;        -- ddeml.h:84
  23.     XST_ADVSENT                    : constant := 11;        -- ddeml.h:85
  24.     XST_UNADVSENT                  : constant := 12;        -- ddeml.h:86
  25.     XST_ADVACKRCVD                 : constant := 13;        -- ddeml.h:87
  26.     XST_UNADVACKRCVD               : constant := 14;        -- ddeml.h:88
  27.     XST_ADVDATASENT                : constant := 15;        -- ddeml.h:89
  28.     XST_ADVDATAACKRCVD             : constant := 16;        -- ddeml.h:90
  29.     CADV_LATEACK                   : constant := 16#ffff#;  -- ddeml.h:93
  30.     ST_CONNECTED                   : constant := 16#1#;     -- ddeml.h:97
  31.     ST_ADVISE                      : constant := 16#2#;     -- ddeml.h:98
  32.     ST_ISLOCAL                     : constant := 16#4#;     -- ddeml.h:99
  33.     ST_BLOCKED                     : constant := 16#8#;     -- ddeml.h:100
  34.     ST_CLIENT                      : constant := 16#10#;    -- ddeml.h:101
  35.     ST_TERMINATED                  : constant := 16#20#;    -- ddeml.h:102
  36.     ST_INLIST                      : constant := 16#40#;    -- ddeml.h:103
  37.     ST_BLOCKNEXT                   : constant := 16#80#;    -- ddeml.h:104
  38.     ST_ISSELF                      : constant := 16#100#;   -- ddeml.h:105
  39.     DDE_FACK                       : constant := 16#8000#;  -- ddeml.h:110
  40.     DDE_FBUSY                      : constant := 16#4000#;  -- ddeml.h:111
  41.     DDE_FDEFERUPD                  : constant := 16#4000#;  -- ddeml.h:112
  42.     DDE_FACKREQ                    : constant := 16#8000#;  -- ddeml.h:113
  43.     DDE_FRELEASE                   : constant := 16#2000#;  -- ddeml.h:114
  44.     DDE_FREQUESTED                 : constant := 16#1000#;  -- ddeml.h:115
  45.     DDE_FAPPSTATUS                 : constant := 16#ff#;    -- ddeml.h:116
  46.     DDE_FNOTPROCESSED              : constant := 16#0#;     -- ddeml.h:117
  47.     DDE_FACKRESERVED               : constant := 16#ffff3f00#;
  48.                                                             -- ddeml.h:119
  49.     DDE_FADVRESERVED               : constant := 16#ffff3fff#;
  50.                                                             -- ddeml.h:120
  51.     DDE_FDATRESERVED               : constant := 16#ffff4fff#;
  52.                                                             -- ddeml.h:121
  53.     DDE_FPOKRESERVED               : constant := 16#ffffdfff#;
  54.                                                             -- ddeml.h:122
  55.     MSGF_DDEMGR                    : constant := 16#8001#;  -- ddeml.h:126
  56.     CP_WINANSI                     : constant := 1004;      -- ddeml.h:130
  57.     CP_WINUNICODE                  : constant := 1200;      -- ddeml.h:131
  58.     XTYPF_NOBLOCK                  : constant := 16#2#;     -- ddeml.h:135
  59.     XTYPF_NODATA                   : constant := 16#4#;     -- ddeml.h:136
  60.     XTYPF_ACKREQ                   : constant := 16#8#;     -- ddeml.h:137
  61.     XCLASS_MASK                    : constant := 16#fc00#;  -- ddeml.h:139
  62.     XCLASS_BOOL                    : constant := 16#1000#;  -- ddeml.h:140
  63.     XCLASS_DATA                    : constant := 16#2000#;  -- ddeml.h:141
  64.     XCLASS_FLAGS                   : constant := 16#4000#;  -- ddeml.h:142
  65.     XCLASS_NOTIFICATION            : constant := 16#8000#;  -- ddeml.h:143
  66.     XTYP_ERROR                     : constant := 16#8002#;  -- ddeml.h:145
  67.     XTYP_ADVDATA                   : constant := 16#4010#;  -- ddeml.h:146
  68.     XTYP_ADVREQ                    : constant := 16#2022#;  -- ddeml.h:147
  69.     XTYP_ADVSTART                  : constant := 16#1030#;  -- ddeml.h:148
  70.     XTYP_ADVSTOP                   : constant := 16#8040#;  -- ddeml.h:149
  71.     XTYP_EXECUTE                   : constant := 16#4050#;  -- ddeml.h:150
  72.     XTYP_CONNECT                   : constant := 16#1062#;  -- ddeml.h:151
  73.     XTYP_CONNECT_CONFIRM           : constant := 16#8072#;  -- ddeml.h:152
  74.     XTYP_XACT_COMPLETE             : constant := 16#8080#;  -- ddeml.h:153
  75.     XTYP_POKE                      : constant := 16#4090#;  -- ddeml.h:154
  76.     XTYP_REGISTER                  : constant := 16#80a2#;  -- ddeml.h:155
  77.     XTYP_REQUEST                   : constant := 16#20b0#;  -- ddeml.h:156
  78.     XTYP_DISCONNECT                : constant := 16#80c2#;  -- ddeml.h:157
  79.     XTYP_UNREGISTER                : constant := 16#80d2#;  -- ddeml.h:158
  80.     XTYP_WILDCONNECT               : constant := 16#20e2#;  -- ddeml.h:159
  81.     XTYP_MASK                      : constant := 16#f0#;    -- ddeml.h:161
  82.     XTYP_SHIFT                     : constant := 4;         -- ddeml.h:162
  83.     TIMEOUT_ASYNC                  : constant := 16#ffffffff#;
  84.                                                             -- ddeml.h:166
  85.     QID_SYNC                       : constant := 16#ffffffff#;
  86.                                                             -- ddeml.h:170
  87.     SZDDESYS_TOPIC                 : constant CHAR_Array := "System" & Nul;
  88.                                                             -- ddeml.h:184
  89.     SZDDESYS_ITEM_TOPICS           : constant CHAR_Array := "Topics" & Nul;
  90.                                                             -- ddeml.h:185
  91.     SZDDESYS_ITEM_SYSITEMS         : constant CHAR_Array := "SysItems" & Nul;
  92.                                                             -- ddeml.h:186
  93.     SZDDESYS_ITEM_RTNMSG           : constant CHAR_Array := 
  94.                      "ReturnMessage" & Nul;
  95.                                                             -- ddeml.h:187
  96.     SZDDESYS_ITEM_STATUS           : constant CHAR_Array := "Status" & Nul;
  97.                                                             -- ddeml.h:188
  98.     SZDDESYS_ITEM_FORMATS          : constant CHAR_Array := "Formats" & Nul;
  99.                                                             -- ddeml.h:189
  100.     SZDDESYS_ITEM_HELP             : constant CHAR_Array := "Help" & Nul;
  101.                                                             -- ddeml.h:190
  102.     SZDDE_ITEM_ITEMLIST            : constant CHAR_Array := 
  103.                      "TopicItemList" & Nul;
  104.                                                             -- ddeml.h:191
  105.     CBR_BLOCK                      : constant := 16#ffffffff#;
  106.                                                             -- ddeml.h:202
  107.     CBF_FAIL_SELFCONNECTIONS       : constant := 16#1000#;  -- ddeml.h:220
  108.     CBF_FAIL_CONNECTIONS           : constant := 16#2000#;  -- ddeml.h:221
  109.     CBF_FAIL_ADVISES               : constant := 16#4000#;  -- ddeml.h:222
  110.     CBF_FAIL_EXECUTES              : constant := 16#8000#;  -- ddeml.h:223
  111.     CBF_FAIL_POKES                 : constant := 16#10000#; -- ddeml.h:224
  112.     CBF_FAIL_REQUESTS              : constant := 16#20000#; -- ddeml.h:225
  113.     CBF_FAIL_ALLSVRXACTIONS        : constant := 16#3f000#; -- ddeml.h:226
  114.     CBF_SKIP_CONNECT_CONFIRMS      : constant := 16#40000#; -- ddeml.h:228
  115.     CBF_SKIP_REGISTRATIONS         : constant := 16#80000#; -- ddeml.h:229
  116.     CBF_SKIP_UNREGISTRATIONS       : constant := 16#100000#;-- ddeml.h:230
  117.     CBF_SKIP_DISCONNECTS           : constant := 16#200000#;-- ddeml.h:231
  118.     CBF_SKIP_ALLNOTIFICATIONS      : constant := 16#3c0000#;-- ddeml.h:232
  119.     APPCMD_CLIENTONLY              : constant := 16#10#;    -- ddeml.h:237
  120.     APPCMD_FILTERINITS             : constant := 16#20#;    -- ddeml.h:238
  121.     APPCMD_MASK                    : constant := 16#ff0#;   -- ddeml.h:239
  122.     APPCLASS_STANDARD              : constant := 16#0#;     -- ddeml.h:244
  123.     APPCLASS_MASK                  : constant := 16#f#;     -- ddeml.h:245
  124.     EC_ENABLEALL                   : constant := 0;         -- ddeml.h:281
  125.     EC_ENABLEONE                   : constant := 16#80#;    -- ddeml.h:282
  126.     EC_DISABLE                     : constant := 16#8#;     -- ddeml.h:283
  127.     EC_QUERYWAITING                : constant := 2;         -- ddeml.h:284
  128.     DNS_REGISTER                   : constant := 16#1#;     -- ddeml.h:289
  129.     DNS_UNREGISTER                 : constant := 16#2#;     -- ddeml.h:290
  130.     DNS_FILTERON                   : constant := 16#4#;     -- ddeml.h:291
  131.     DNS_FILTEROFF                  : constant := 16#8#;     -- ddeml.h:292
  132.     HDATA_APPOWNED                 : constant := 16#1#;     -- ddeml.h:314
  133.     DMLERR_NO_ERROR                : constant := 0;         -- ddeml.h:319
  134.     DMLERR_FIRST                   : constant := 16#4000#;  -- ddeml.h:321
  135.     DMLERR_ADVACKTIMEOUT           : constant := 16#4000#;  -- ddeml.h:323
  136.     DMLERR_BUSY                    : constant := 16#4001#;  -- ddeml.h:324
  137.     DMLERR_DATAACKTIMEOUT          : constant := 16#4002#;  -- ddeml.h:325
  138.     DMLERR_DLL_NOT_INITIALIZED     : constant := 16#4003#;  -- ddeml.h:326
  139.     DMLERR_DLL_USAGE               : constant := 16#4004#;  -- ddeml.h:327
  140.     DMLERR_EXECACKTIMEOUT          : constant := 16#4005#;  -- ddeml.h:328
  141.     DMLERR_INVALIDPARAMETER        : constant := 16#4006#;  -- ddeml.h:329
  142.     DMLERR_LOW_MEMORY              : constant := 16#4007#;  -- ddeml.h:330
  143.     DMLERR_MEMORY_ERROR            : constant := 16#4008#;  -- ddeml.h:331
  144.     DMLERR_NOTPROCESSED            : constant := 16#4009#;  -- ddeml.h:332
  145.     DMLERR_NO_CONV_ESTABLISHED     : constant := 16#400a#;  -- ddeml.h:333
  146.     DMLERR_POKEACKTIMEOUT          : constant := 16#400b#;  -- ddeml.h:334
  147.     DMLERR_POSTMSG_FAILED          : constant := 16#400c#;  -- ddeml.h:335
  148.     DMLERR_REENTRANCY              : constant := 16#400d#;  -- ddeml.h:336
  149.     DMLERR_SERVER_DIED             : constant := 16#400e#;  -- ddeml.h:337
  150.     DMLERR_SYS_ERROR               : constant := 16#400f#;  -- ddeml.h:338
  151.     DMLERR_UNADVACKTIMEOUT         : constant := 16#4010#;  -- ddeml.h:339
  152.     DMLERR_UNFOUND_QUEUE_ID        : constant := 16#4011#;  -- ddeml.h:340
  153.     DMLERR_LAST                    : constant := 16#4011#;  -- ddeml.h:342
  154.     MH_CREATE                      : constant := 1;         -- ddeml.h:429
  155.     MH_KEEP                        : constant := 2;         -- ddeml.h:430
  156.     MH_DELETE                      : constant := 3;         -- ddeml.h:431
  157.     MH_CLEANUP                     : constant := 4;         -- ddeml.h:432
  158.     MAX_MONITORS                   : constant := 4;         -- ddeml.h:467
  159.     APPCLASS_MONITOR               : constant := 16#1#;     -- ddeml.h:468
  160.     XTYP_MONITOR                   : constant := 16#80f2#;  -- ddeml.h:469
  161.     MF_HSZ_INFO                    : constant := 16#1000000#;
  162.                                                             -- ddeml.h:475
  163.     MF_SENDMSGS                    : constant := 16#2000000#;
  164.                                                             -- ddeml.h:476
  165.     MF_POSTMSGS                    : constant := 16#4000000#;
  166.                                                             -- ddeml.h:477
  167.     MF_CALLBACKS                   : constant := 16#8000000#;
  168.                                                             -- ddeml.h:478
  169.     MF_ERRORS                      : constant := 16#10000000#;
  170.                                                             -- ddeml.h:479
  171.     MF_LINKS                       : constant := 16#20000000#;
  172.                                                             -- ddeml.h:480
  173.     MF_CONV                        : constant := 16#40000000#;
  174.                                                             -- ddeml.h:481
  175.     MF_MASK                        : constant := 16#ff000000#;
  176.                                                             -- ddeml.h:483
  177.  
  178.     type HCONVLIST is new Win32.DWORD;                      -- ddeml.h:21
  179.     type HCONV is new Win32.DWORD;                          -- ddeml.h:22
  180.     type HSZ is new Win32.DWORD;                            -- ddeml.h:23
  181.     type HDDEDATA is new Win32.DWORD;                       -- ddeml.h:24
  182.  
  183.     type HSZPAIR;                                           -- ddeml.h:29
  184.     type CONVCONTEXT;                                       -- ddeml.h:38
  185.     type CONVINFO;                                          -- ddeml.h:52
  186.     type DDEML_MSG_HOOK_DATA;                               -- ddeml.h:368
  187.     type MONMSGSTRUCT;                                      -- ddeml.h:376
  188.     type MONCBSTRUCT;                                       -- ddeml.h:387
  189.     type MONHSZSTRUCTA;                                     -- ddeml.h:405
  190.     type MONHSZSTRUCTW;                                     -- ddeml.h:413
  191.     type MONERRSTRUCT;                                      -- ddeml.h:434
  192.     type MONLINKSTRUCT;                                     -- ddeml.h:441
  193.     type MONCONVSTRUCT;                                     -- ddeml.h:456
  194.  
  195.     type PHSZPAIR is access all HSZPAIR;                    -- ddeml.h:33
  196.     type PCONVCONTEXT is access all CONVCONTEXT;            -- ddeml.h:47
  197.     type PCONVINFO is access all CONVINFO;                  -- ddeml.h:70
  198.     type PDDEML_MSG_HOOK_DATA is access all DDEML_MSG_HOOK_DATA;
  199.                                                             -- ddeml.h:373
  200.     type PMONMSGSTRUCT is access all MONMSGSTRUCT;          -- ddeml.h:385
  201.     type PMONCBSTRUCT is access all MONCBSTRUCT;            -- ddeml.h:403
  202.     type PMONHSZSTRUCTA is access all MONHSZSTRUCTA;        -- ddeml.h:412
  203.     type PMONHSZSTRUCTW is access all MONHSZSTRUCTW;        -- ddeml.h:420
  204.     type PMONHSZSTRUCT is access all MONHSZSTRUCTA;         -- ddeml.h:426
  205.     type PMONERRSTRUCT is access all MONERRSTRUCT;          -- ddeml.h:439
  206.     type PMONLINKSTRUCT is access all MONLINKSTRUCT;        -- ddeml.h:454
  207.     type PMONCONVSTRUCT is access all MONCONVSTRUCT;        -- ddeml.h:465
  208.  
  209.     type HSZPAIR is                                         -- ddeml.h:29
  210.         record
  211.             hszSvc  : HSZ;                                  -- ddeml.h:30
  212.             hszTopic: HSZ;                                  -- ddeml.h:31
  213.         end record;
  214.  
  215.     type CONVCONTEXT is                                     -- ddeml.h:38
  216.         record
  217.             cb        : Win32.UINT;                         -- ddeml.h:39
  218.             wFlags    : Win32.UINT;                         -- ddeml.h:40
  219.             wCountryID: Win32.UINT;                         -- ddeml.h:41
  220.             iCodePage : Win32.INT;                          -- ddeml.h:42
  221.             dwLangID  : Win32.DWORD;                        -- ddeml.h:43
  222.             dwSecurity: Win32.DWORD;                        -- ddeml.h:44
  223.             qos       : Win32.Winnt.SECURITY_QUALITY_OF_SERVICE;    
  224.                                                             -- ddeml.h:45
  225.         end record;
  226.  
  227.     type CONVINFO is                                        -- ddeml.h:52
  228.         record
  229.             cb           : Win32.DWORD;                     -- ddeml.h:53
  230.             hUser        : Win32.DWORD;                     -- ddeml.h:54
  231.             hConvPartner : HCONV;                           -- ddeml.h:55
  232.             hszSvcPartner: HSZ;                             -- ddeml.h:56
  233.             hszServiceReq: HSZ;                             -- ddeml.h:57
  234.             hszTopic     : HSZ;                             -- ddeml.h:58
  235.             hszItem      : HSZ;                             -- ddeml.h:59
  236.             wFmt         : Win32.UINT;                      -- ddeml.h:60
  237.             wType        : Win32.UINT;                      -- ddeml.h:61
  238.             wStatus      : Win32.UINT;                      -- ddeml.h:62
  239.             wConvst      : Win32.UINT;                      -- ddeml.h:63
  240.             wLastError   : Win32.UINT;                      -- ddeml.h:64
  241.             hConvList    : Win32.Ddeml.HCONVLIST;           -- ddeml.h:65
  242.             ConvCtxt     : CONVCONTEXT;                     -- ddeml.h:66
  243.             hwnd         : Win32.Windef.HWND;               -- ddeml.h:67
  244.             hwndPartner  : Win32.Windef.HWND;               -- ddeml.h:68
  245.         end record;
  246.  
  247.     type PFNCALLBACK is access function (wType  : Win32.UINT;
  248.                                          wFmt   : Win32.UINT;
  249.                                          hConv  : Win32.Ddeml.HCONV;
  250.                                          hsz1   : HSZ;
  251.                                          hsz2   : HSZ;
  252.                                          hData  : HDDEDATA;
  253.                                          dwData1: Win32.DWORD;
  254.                                          dwData2: Win32.DWORD)
  255.                                                   return HDDEDATA;
  256.     pragma Convention(Stdcall, PFNCALLBACK);
  257.                                                             -- ddeml.h:199
  258.  
  259.     type DDEML_MSG_HOOK_DATA is                             -- ddeml.h:368
  260.         record
  261.             uiLo  : Win32.UINT;                             -- ddeml.h:369
  262.             uiHi  : Win32.UINT;                             -- ddeml.h:370
  263.             cbData: Win32.DWORD;                            -- ddeml.h:371
  264.             Data  : Win32.DWORD_Array(0..7);                -- ddeml.h:372
  265.         end record;
  266.  
  267.     type MONMSGSTRUCT is                                    -- ddeml.h:376
  268.         record
  269.             cb    : Win32.UINT;                             -- ddeml.h:377
  270.             hwndTo: Win32.Windef.HWND;                      -- ddeml.h:378
  271.             dwTime: Win32.DWORD;                            -- ddeml.h:379
  272.             hTask : Win32.Winnt.HANDLE;                     -- ddeml.h:380
  273.             wMsg  : Win32.UINT;                             -- ddeml.h:381
  274.             wParam: Win32.WPARAM;                           -- ddeml.h:382
  275.             lParam: Win32.LPARAM;                           -- ddeml.h:383
  276.             dmhd  : DDEML_MSG_HOOK_DATA;                    -- ddeml.h:384
  277.         end record;
  278.  
  279.     type MONCBSTRUCT is                                     -- ddeml.h:387
  280.         record
  281.             cb     : Win32.UINT;                            -- ddeml.h:388
  282.             dwTime : Win32.DWORD;                           -- ddeml.h:389
  283.             hTask  : Win32.Winnt.HANDLE;                    -- ddeml.h:390
  284.             dwRet  : Win32.DWORD;                           -- ddeml.h:391
  285.             wType  : Win32.UINT;                            -- ddeml.h:392
  286.             wFmt   : Win32.UINT;                            -- ddeml.h:393
  287.             hConv  : Win32.Ddeml.HCONV;                     -- ddeml.h:394
  288.             hsz1   : HSZ;                                   -- ddeml.h:395
  289.             hsz2   : HSZ;                                   -- ddeml.h:396
  290.             hData  : HDDEDATA;                              -- ddeml.h:397
  291.             dwData1: Win32.DWORD;                           -- ddeml.h:398
  292.             dwData2: Win32.DWORD;                           -- ddeml.h:399
  293.             cc     : CONVCONTEXT;                           -- ddeml.h:400
  294.             cbData : Win32.DWORD;                           -- ddeml.h:401
  295.             Data   : Win32.DWORD_Array(0..7);               -- ddeml.h:402
  296.         end record;
  297.  
  298.     type MONHSZSTRUCTA is                                   -- ddeml.h:405
  299.         record
  300.             cb      : Win32.UINT;                           -- ddeml.h:406
  301.             fsAction: Win32.BOOL;                           -- ddeml.h:407
  302.             dwTime  : Win32.DWORD;                          -- ddeml.h:408
  303.             hsz     : Win32.Ddeml.HSZ;                      -- ddeml.h:409
  304.             hTask   : Win32.Winnt.HANDLE;                   -- ddeml.h:410
  305.             str     : Win32.CHAR_Array(0..ANYSIZE_ARRAY);   -- ddeml.h:411
  306.         end record;
  307.  
  308.     type MONHSZSTRUCTW is                                   -- ddeml.h:413
  309.         record
  310.             cb      : Win32.UINT;                           -- ddeml.h:414
  311.             fsAction: Win32.BOOL;                           -- ddeml.h:415
  312.             dwTime  : Win32.DWORD;                          -- ddeml.h:416
  313.             hsz     : Win32.Ddeml.HSZ;                      -- ddeml.h:417
  314.             hTask   : Win32.Winnt.HANDLE;                   -- ddeml.h:418
  315.             str     : Win32.WCHAR_Array(0..Win32.ANYSIZE_ARRAY);
  316.                                                             -- ddeml.h:419
  317.         end record;
  318.  
  319.     subtype MONHSZSTRUCT is MONHSZSTRUCTA;                  -- ddeml.h:425
  320.  
  321.     type MONERRSTRUCT is                                    -- ddeml.h:434
  322.         record
  323.             cb        : Win32.UINT;                         -- ddeml.h:435
  324.             wLastError: Win32.UINT;                         -- ddeml.h:436
  325.             dwTime    : Win32.DWORD;                        -- ddeml.h:437
  326.             hTask     : Win32.Winnt.HANDLE;                 -- ddeml.h:438
  327.         end record;
  328.  
  329.     type MONLINKSTRUCT is                                   -- ddeml.h:441
  330.         record
  331.             cb          : Win32.UINT;                       -- ddeml.h:442
  332.             dwTime      : Win32.DWORD;                      -- ddeml.h:443
  333.             hTask       : Win32.Winnt.HANDLE;               -- ddeml.h:444
  334.             fEstablished: Win32.BOOL;                       -- ddeml.h:445
  335.             fNoData     : Win32.BOOL;                       -- ddeml.h:446
  336.             hszSvc      : HSZ;                              -- ddeml.h:447
  337.             hszTopic    : HSZ;                              -- ddeml.h:448
  338.             hszItem     : HSZ;                              -- ddeml.h:449
  339.             wFmt        : Win32.UINT;                       -- ddeml.h:450
  340.             fServer     : Win32.BOOL;                       -- ddeml.h:451
  341.             hConvServer : HCONV;                            -- ddeml.h:452
  342.             hConvClient : HCONV;                            -- ddeml.h:453
  343.         end record;
  344.  
  345.     type MONCONVSTRUCT is                                   -- ddeml.h:456
  346.         record
  347.             cb         : Win32.UINT;                        -- ddeml.h:457
  348.             fConnect   : Win32.BOOL;                        -- ddeml.h:458
  349.             dwTime     : Win32.DWORD;                       -- ddeml.h:459
  350.             hTask      : Win32.Winnt.HANDLE;                -- ddeml.h:460
  351.             hszSvc     : HSZ;                               -- ddeml.h:461
  352.             hszTopic   : HSZ;                               -- ddeml.h:462
  353.             hConvClient: HCONV;                             -- ddeml.h:463
  354.             hConvServer: HCONV;                             -- ddeml.h:464
  355.         end record;
  356.  
  357.     function DdeInitializeA(pidInst    : Win32.LPDWORD;
  358.                             pfnCallback: Win32.Ddeml.PFNCALLBACK;
  359.                             afCmd      : Win32.DWORD;
  360.                             ulRes      : Win32.DWORD)
  361.                                          return Win32.UINT; -- ddeml.h:206
  362.  
  363.     function DdeInitialize(pidInst    : Win32.LPDWORD;
  364.                            pfnCallback: Win32.Ddeml.PFNCALLBACK;
  365.                            afCmd      : Win32.DWORD;
  366.                            ulRes      : Win32.DWORD)
  367.                                         return Win32.UINT
  368.                                         renames DdeInitializeA;
  369.                                                             -- ddeml.h:206
  370.  
  371.     function DdeInitializeW(pidInst    : Win32.LPDWORD;
  372.                             pfnCallback: Win32.Ddeml.PFNCALLBACK;
  373.                             afCmd      : Win32.DWORD;
  374.                             ulRes      : Win32.DWORD)
  375.                                          return Win32.UINT; -- ddeml.h:208
  376.  
  377.     function DdeUninitialize(idInst: Win32.DWORD) return Win32.BOOL;
  378.                                                             -- ddeml.h:249
  379.  
  380.     function DdeConnectList(idInst    : Win32.DWORD;
  381.                             hszService: HSZ;
  382.                             hszTopic  : HSZ;
  383.                             hConvList : Win32.Ddeml.HCONVLIST;
  384.                             pCC       : PCONVCONTEXT)
  385.                                         return HCONVLIST;   -- ddeml.h:255
  386.  
  387.     function DdeQueryNextServer(hConvList: Win32.Ddeml.HCONVLIST;
  388.                                 hConvPrev: HCONV)
  389.                                            return HCONV;    -- ddeml.h:257
  390.  
  391.     function DdeDisconnectList(hConvList: Win32.Ddeml.HCONVLIST) 
  392.         return Win32.BOOL;                                  -- ddeml.h:258
  393.  
  394.     function DdeConnect(idInst    : Win32.DWORD;
  395.                         hszService: HSZ;
  396.                         hszTopic  : HSZ;
  397.                         pCC       : PCONVCONTEXT)
  398.                                     return HCONV;           -- ddeml.h:264
  399.  
  400.     function DdeDisconnect(hConv: Win32.Ddeml.HCONV) return Win32.BOOL;
  401.                                                             -- ddeml.h:266
  402.  
  403.     function DdeReconnect(hConv: Win32.Ddeml.HCONV) return Win32.Ddeml.HCONV;
  404.                                                             -- ddeml.h:267
  405.  
  406.     function DdeQueryConvInfo(hConv        : Win32.Ddeml.HCONV;
  407.                               idTransaction: Win32.DWORD;
  408.                               pConvInfo    : Win32.Ddeml.PCONVINFO)
  409.                                              return Win32.UINT;
  410.                                                             -- ddeml.h:268
  411.  
  412.     function DdeSetUserHandle(hConv: Win32.Ddeml.HCONV;
  413.                               id   : Win32.DWORD;
  414.                               hUser: Win32.DWORD)
  415.                                      return Win32.BOOL;     -- ddeml.h:269
  416.  
  417.     function DdeAbandonTransaction(idInst       : Win32.DWORD;
  418.                                    hConv        : Win32.Ddeml.HCONV;
  419.                                    idTransaction: Win32.DWORD)
  420.                                                   return Win32.BOOL;
  421.                                                             -- ddeml.h:270
  422.  
  423.     function DdePostAdvise(idInst  : Win32.DWORD;
  424.                            hszTopic: HSZ;
  425.                            hszItem : HSZ)
  426.                                      return Win32.BOOL;     -- ddeml.h:277
  427.  
  428.     function DdeEnableCallback(idInst: Win32.DWORD;
  429.                                hConv : Win32.Ddeml.HCONV;
  430.                                wCmd  : Win32.UINT)
  431.                                        return Win32.BOOL;   -- ddeml.h:278
  432.  
  433.     function DdeImpersonateClient(hConv: Win32.Ddeml.HCONV) return Win32.BOOL;
  434.                                                             -- ddeml.h:279
  435.  
  436.     function DdeNameService(idInst: Win32.DWORD;
  437.                             hsz1  : HSZ;
  438.                             hsz2  : HSZ;
  439.                             afCmd : Win32.UINT)
  440.                                     return HDDEDATA;        -- ddeml.h:287
  441.  
  442.     function DdeClientTransaction(pData    : Win32.LPBYTE;
  443.                                   cbData   : Win32.DWORD;
  444.                                   hConv    : Win32.Ddeml.HCONV;
  445.                                   hszItem  : HSZ;
  446.                                   wFmt     : Win32.UINT;
  447.                                   wType    : Win32.UINT;
  448.                                   dwTimeout: Win32.DWORD;
  449.                                   pdwResult: Win32.LPDWORD)
  450.                                              return HDDEDATA;
  451.                                                             -- ddeml.h:298
  452.  
  453.     function DdeCreateDataHandle(idInst : Win32.DWORD;
  454.                                  pSrc   : Win32.LPBYTE;
  455.                                  cb     : Win32.DWORD;
  456.                                  cbOff  : Win32.DWORD;
  457.                                  hszItem: HSZ;
  458.                                  wFmt   : Win32.UINT;
  459.                                  afCmd  : Win32.UINT)
  460.                                           return HDDEDATA;  -- ddeml.h:306
  461.  
  462.     function DdeAddData(hData: HDDEDATA;
  463.                         pSrc : Win32.LPBYTE;
  464.                         cb   : Win32.DWORD;
  465.                         cbOff: Win32.DWORD)
  466.                                return HDDEDATA;             -- ddeml.h:308
  467.  
  468.     function DdeGetData(hData: HDDEDATA;
  469.                         pDst : Win32.LPBYTE;
  470.                         cbMax: Win32.DWORD;
  471.                         cbOff: Win32.DWORD)
  472.                                return Win32.DWORD;          -- ddeml.h:309
  473.  
  474.     function DdeAccessData(hData      : HDDEDATA;
  475.                            pcbDataSize: Win32.LPDWORD)
  476.                                         return Win32.LPBYTE;-- ddeml.h:310
  477.  
  478.     function DdeUnaccessData(hData: HDDEDATA) return Win32.BOOL;
  479.                                                             -- ddeml.h:311
  480.  
  481.     function DdeFreeDataHandle(hData: HDDEDATA) return Win32.BOOL;
  482.                                                             -- ddeml.h:312
  483.  
  484.     function DdeGetLastError(idInst: Win32.DWORD) return Win32.UINT;
  485.                                                             -- ddeml.h:317
  486.  
  487.     function DdeCreateStringHandleA(idInst   : Win32.DWORD;
  488.                                     psz      : Win32.LPSTR;
  489.                                     iCodePage: Win32.INT)
  490.                                                return HSZ;  -- ddeml.h:344
  491.  
  492.     function DdeCreateStringHandle(idInst   : Win32.DWORD;
  493.                                    psz      : Win32.LPSTR;
  494.                                    iCodePage: Win32.INT)
  495.                                               return HSZ
  496.                                               renames DdeCreateStringHandleA;
  497.                                                             -- ddeml.h:344
  498.  
  499.     function DdeCreateStringHandleW(idInst   : Win32.DWORD;
  500.                                     psz      : Win32.LPWSTR;
  501.                                     iCodePage: Win32.INT)
  502.                                                return HSZ;  -- ddeml.h:345
  503.  
  504.     function DdeQueryStringA(idInst   : Win32.DWORD;
  505.                              hsz      : Win32.Ddeml.HSZ;
  506.                              psz      : Win32.LPSTR;
  507.                              cchMax   : Win32.DWORD;
  508.                              iCodePage: Win32.INT)
  509.                                         return Win32.DWORD; -- ddeml.h:351
  510.  
  511.     function DdeQueryString(idInst   : Win32.DWORD;
  512.                             hsz      : Win32.Ddeml.HSZ;
  513.                             psz      : Win32.LPSTR;
  514.                             cchMax   : Win32.DWORD;
  515.                             iCodePage: Win32.INT)
  516.                                        return Win32.DWORD
  517.                                        renames DdeQueryStringA;
  518.                                                             -- ddeml.h:351
  519.  
  520.     function DdeQueryStringW(idInst   : Win32.DWORD;
  521.                              hsz      : Win32.Ddeml.HSZ;
  522.                              psz      : Win32.LPWSTR;
  523.                              cchMax   : Win32.DWORD;
  524.                              iCodePage: Win32.INT)
  525.                                         return Win32.DWORD; -- ddeml.h:352
  526.  
  527.     function DdeFreeStringHandle(idInst: Win32.DWORD;
  528.                                  hsz   : Win32.Ddeml.HSZ)
  529.                                          return Win32.BOOL; -- ddeml.h:358
  530.  
  531.     function DdeKeepStringHandle(idInst: Win32.DWORD;
  532.                                  hsz   : Win32.Ddeml.HSZ)
  533.                                          return Win32.BOOL; -- ddeml.h:359
  534.  
  535.     function DdeCmpStringHandles(hsz1: HSZ;
  536.                                  hsz2: HSZ)
  537.                                        return Win32.INT;    -- ddeml.h:360
  538.  
  539. private
  540.  
  541.     pragma Convention(C, HSZPAIR);                          -- ddeml.h:29
  542.     pragma Convention(C, CONVCONTEXT);                      -- ddeml.h:38
  543.     pragma Convention(C, CONVINFO);                         -- ddeml.h:52
  544.     pragma Convention(C, DDEML_MSG_HOOK_DATA);              -- ddeml.h:368
  545.     pragma Convention(C, MONMSGSTRUCT);                     -- ddeml.h:376
  546.     pragma Convention(C, MONCBSTRUCT);                      -- ddeml.h:387
  547.     pragma Convention(C, MONHSZSTRUCTA);                    -- ddeml.h:405
  548.     pragma Convention(C, MONHSZSTRUCTW);                    -- ddeml.h:413
  549.     pragma Convention(C, MONERRSTRUCT);                     -- ddeml.h:434
  550.     pragma Convention(C, MONLINKSTRUCT);                    -- ddeml.h:441
  551.     pragma Convention(C, MONCONVSTRUCT);                    -- ddeml.h:456
  552.  
  553.     pragma Import(Stdcall, DdeInitializeA, "DdeInitializeA");     -- ddeml.h:206
  554.     pragma Import(Stdcall, DdeInitializeW, "DdeInitializeW");     -- ddeml.h:208
  555.     pragma Import(Stdcall, DdeUninitialize, "DdeUninitialize");   -- ddeml.h:249
  556.     pragma Import(Stdcall, DdeConnectList, "DdeConnectList");     -- ddeml.h:255
  557.     pragma Import(Stdcall, DdeQueryNextServer, "DdeQueryNextServer");
  558.                                                             -- ddeml.h:257
  559.     pragma Import(Stdcall, DdeDisconnectList, "DdeDisconnectList");
  560.                                                             -- ddeml.h:258
  561.     pragma Import(Stdcall, DdeConnect, "DdeConnect");             -- ddeml.h:264
  562.     pragma Import(Stdcall, DdeDisconnect, "DdeDisconnect");       -- ddeml.h:266
  563.     pragma Import(Stdcall, DdeReconnect, "DdeReconnect");         -- ddeml.h:267
  564.     pragma Import(Stdcall, DdeQueryConvInfo, "DdeQueryConvInfo"); -- ddeml.h:268
  565.     pragma Import(Stdcall, DdeSetUserHandle, "DdeSetUserHandle"); -- ddeml.h:269
  566.     pragma Import(Stdcall, DdeAbandonTransaction, "DdeAbandonTransaction");
  567.                                                             -- ddeml.h:270
  568.     pragma Import(Stdcall, DdePostAdvise, "DdePostAdvise");       -- ddeml.h:277
  569.     pragma Import(Stdcall, DdeEnableCallback, "DdeEnableCallback");
  570.                                                             -- ddeml.h:278
  571.     pragma Import(Stdcall, DdeImpersonateClient, "DdeImpersonateClient");
  572.                                                             -- ddeml.h:279
  573.     pragma Import(Stdcall, DdeNameService, "DdeNameService");     -- ddeml.h:287
  574.     pragma Import(Stdcall, DdeClientTransaction, "DdeClientTransaction");
  575.                                                             -- ddeml.h:298
  576.     pragma Import(Stdcall, DdeCreateDataHandle, "DdeCreateDataHandle");
  577.                                                             -- ddeml.h:306
  578.     pragma Import(Stdcall, DdeAddData, "DdeAddData");             -- ddeml.h:308
  579.     pragma Import(Stdcall, DdeGetData, "DdeGetData");             -- ddeml.h:309
  580.     pragma Import(Stdcall, DdeAccessData, "DdeAccessData");       -- ddeml.h:310
  581.     pragma Import(Stdcall, DdeUnaccessData, "DdeUnaccessData");   -- ddeml.h:311
  582.     pragma Import(Stdcall, DdeFreeDataHandle, "DdeFreeDataHandle");
  583.                                                             -- ddeml.h:312
  584.     pragma Import(Stdcall, DdeGetLastError, "DdeGetLastError");   -- ddeml.h:317
  585.     pragma Import(Stdcall, DdeCreateStringHandleA, "DdeCreateStringHandleA");
  586.                                                             -- ddeml.h:344
  587.     pragma Import(Stdcall, DdeCreateStringHandleW, "DdeCreateStringHandleW");
  588.                                                             -- ddeml.h:345
  589.     pragma Import(Stdcall, DdeQueryStringA, "DdeQueryStringA");   -- ddeml.h:351
  590.     pragma Import(Stdcall, DdeQueryStringW, "DdeQueryStringW");   -- ddeml.h:352
  591.     pragma Import(Stdcall, DdeFreeStringHandle, "DdeFreeStringHandle");
  592.                                                             -- ddeml.h:358
  593.     pragma Import(Stdcall, DdeKeepStringHandle, "DdeKeepStringHandle");
  594.                                                             -- ddeml.h:359
  595.     pragma Import(Stdcall, DdeCmpStringHandles, "DdeCmpStringHandles");
  596.                                                             -- ddeml.h:360
  597.  
  598. -------------------------------------------------------------------------------
  599. --
  600. -- THIS FILE AND ANY ASSOCIATED DOCUMENTATION IS PROVIDED WITHOUT CHARGE
  601. -- "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
  602. -- BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
  603. -- FITNESS FOR A PARTICULAR PURPOSE.  The user assumes the entire risk as to
  604. -- the accuracy and the use of this file.  This file may be used, copied,
  605. -- modified and distributed only by licensees of Microsoft Corporation's
  606. -- WIN32 Software Development Kit in accordance with the terms of the 
  607. -- licensee's End-User License Agreement for Microsoft Software for the
  608. -- WIN32 Development Kit.
  609. --
  610. -- Copyright (c) Intermetrics, Inc. 1995
  611. -- Portions (c) 1985-1994 Microsoft Corporation with permission.
  612. -- Microsoft is a registered trademark and Windows and Windows NT are
  613. -- trademarks of Microsoft Corporation.
  614. --
  615. -------------------------------------------------------------------------------
  616.  
  617. end Win32.Ddeml;
  618.