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

  1. -- $Source: /home/harp/1/proto/monoBANK/winnt/win32-winnetwk.ads,v $ 
  2. -- $Revision: 1.10 $ $Date: 96/03/15 12:57:43 $ $Author: stm $ 
  3. -- See end of file for Copyright (c) information.
  4.  
  5. with Win32.Windef;
  6. with Win32.Winnt;
  7.  
  8. package Win32.Winnetwk is
  9.  
  10.     RESOURCE_CONNECTED         : constant := 16#1#;         -- winnetwk.h:66
  11.     RESOURCE_GLOBALNET         : constant := 16#2#;         -- winnetwk.h:67
  12.     RESOURCE_REMEMBERED        : constant := 16#3#;         -- winnetwk.h:68
  13.     RESOURCETYPE_ANY           : constant := 16#0#;         -- winnetwk.h:71
  14.     RESOURCETYPE_DISK          : constant := 16#1#;         -- winnetwk.h:72
  15.     RESOURCETYPE_PRINT         : constant := 16#2#;         -- winnetwk.h:73
  16.     RESOURCETYPE_UNKNOWN       : constant := 16#ffffffff#;  -- winnetwk.h:74
  17.     RESOURCEUSAGE_CONNECTABLE  : constant := 16#1#;         -- winnetwk.h:76
  18.     RESOURCEUSAGE_CONTAINER    : constant := 16#2#;         -- winnetwk.h:77
  19.     RESOURCEUSAGE_RESERVED     : constant := 16#80000000#;  -- winnetwk.h:78
  20.     RESOURCEDISPLAYTYPE_GENERIC: constant := 16#0#;         -- winnetwk.h:80
  21.     RESOURCEDISPLAYTYPE_DOMAIN : constant := 16#1#;         -- winnetwk.h:81
  22.     RESOURCEDISPLAYTYPE_SERVER : constant := 16#2#;         -- winnetwk.h:82
  23.     RESOURCEDISPLAYTYPE_SHARE  : constant := 16#3#;         -- winnetwk.h:83
  24.     RESOURCEDISPLAYTYPE_FILE   : constant := 16#4#;         -- winnetwk.h:84
  25.     RESOURCEDISPLAYTYPE_GROUP  : constant := 16#5#;         -- winnetwk.h:85
  26.     RESOURCEDISPLAYTYPE_TREE   : constant := 16#a#;         -- winnetwk.h:86
  27.     UNIVERSAL_NAME_INFO_LEVEL  : constant := 16#1#;         -- winnetwk.h:91
  28.     REMOTE_NAME_INFO_LEVEL     : constant := 16#2#;         -- winnetwk.h:92
  29.     NETPROPERTY_PERSISTENT     : constant := 1;             -- winnetwk.h:163
  30.     CONNECT_UPDATE_PROFILE     : constant := 16#1#;         -- winnetwk.h:169
  31.     CONNECT_UPDATE_RECENT      : constant := 16#2#;         -- winnetwk.h:170
  32.     CONNECT_TEMPORARY          : constant := 16#4#;         -- winnetwk.h:171
  33.     CONNECT_INTERACTIVE        : constant := 16#8#;         -- winnetwk.h:172
  34.     CONNECT_PROMPT             : constant := 16#10#;        -- winnetwk.h:173
  35.     CONNECT_NEED_DRIVE         : constant := 16#20#;        -- winnetwk.h:174
  36.     WN_SUCCESS                 : constant := 0;             -- winnetwk.h:432
  37.     WN_NOT_SUPPORTED           : constant := 50;            -- winnetwk.h:433
  38.     WN_NET_ERROR               : constant := 59;            -- winnetwk.h:434
  39.     WN_MORE_DATA               : constant := 234;           -- winnetwk.h:435
  40.     WN_BAD_POINTER             : constant := 487;           -- winnetwk.h:436
  41.     WN_BAD_VALUE               : constant := 87;            -- winnetwk.h:437
  42.     WN_BAD_PASSWORD            : constant := 86;            -- winnetwk.h:438
  43.     WN_ACCESS_DENIED           : constant := 5;             -- winnetwk.h:439
  44.     WN_FUNCTION_BUSY           : constant := 170;           -- winnetwk.h:440
  45.     WN_WINDOWS_ERROR           : constant := 59;            -- winnetwk.h:441
  46.     WN_BAD_USER                : constant := 2202;          -- winnetwk.h:442
  47.     WN_OUT_OF_MEMORY           : constant := 8;             -- winnetwk.h:443
  48.     WN_NO_NETWORK              : constant := 1222;          -- winnetwk.h:444
  49.     WN_EXTENDED_ERROR          : constant := 1208;          -- winnetwk.h:445
  50.     WN_NOT_CONNECTED           : constant := 2250;          -- winnetwk.h:450
  51.     WN_OPEN_FILES              : constant := 2401;          -- winnetwk.h:451
  52.     WN_DEVICE_IN_USE           : constant := 2404;          -- winnetwk.h:452
  53.     WN_BAD_NETNAME             : constant := 67;            -- winnetwk.h:453
  54.     WN_BAD_LOCALNAME           : constant := 1200;          -- winnetwk.h:454
  55.     WN_ALREADY_CONNECTED       : constant := 85;            -- winnetwk.h:455
  56.     WN_DEVICE_ERROR            : constant := 31;            -- winnetwk.h:456
  57.     WN_CONNECTION_CLOSED       : constant := 1201;          -- winnetwk.h:457
  58.     WN_NO_NET_OR_BAD_PATH      : constant := 1203;          -- winnetwk.h:458
  59.     WN_BAD_PROVIDER            : constant := 1204;          -- winnetwk.h:459
  60.     WN_CANNOT_OPEN_PROFILE     : constant := 1205;          -- winnetwk.h:460
  61.     WN_BAD_PROFILE             : constant := 1206;          -- winnetwk.h:461
  62.     WN_CANCEL                  : constant := 1223;          -- winnetwk.h:462
  63.     WN_RETRY                   : constant := 1237;          -- winnetwk.h:463
  64.     WN_BAD_HANDLE              : constant := 6;             -- winnetwk.h:467
  65.     WN_NO_MORE_ENTRIES         : constant := 259;           -- winnetwk.h:468
  66.     WN_NOT_CONTAINER           : constant := 1207;          -- winnetwk.h:469
  67.     WN_NO_ERROR                : constant := 0;             -- winnetwk.h:471
  68.  
  69.     type UNIVERSAL_NAME_INFOA;                              -- winnetwk.h:98
  70.     type UNIVERSAL_NAME_INFOW;                              -- winnetwk.h:101
  71.     type REMOTE_NAME_INFOA;                                 -- winnetwk.h:112
  72.     type REMOTE_NAME_INFOW;                                 -- winnetwk.h:117
  73.     type NETRESOURCEA;                                      -- winnetwk.h:130
  74.     type NETRESOURCEW;                                      -- winnetwk.h:140
  75.  
  76.     type LPUNIVERSAL_NAME_INFOA is access all UNIVERSAL_NAME_INFOA;
  77.                                                             -- winnetwk.h:100
  78.     subtype LPUNIVERSAL_NAME_INFO is LPUNIVERSAL_NAME_INFOA;
  79.                                                             -- winnetwk.h:109
  80.     type LPUNIVERSAL_NAME_INFOW is access all UNIVERSAL_NAME_INFOW;
  81.                                                             -- winnetwk.h:103
  82.     type LPREMOTE_NAME_INFOA is access all REMOTE_NAME_INFOA;
  83.                                                             -- winnetwk.h:116
  84.     subtype LPREMOTE_NAME_INFO is LPREMOTE_NAME_INFOA;      -- winnetwk.h:127
  85.     type LPREMOTE_NAME_INFOW is access all REMOTE_NAME_INFOW;
  86.                                                             -- winnetwk.h:121
  87.     type LPNETRESOURCEA is access all NETRESOURCEA;         -- winnetwk.h:139
  88.     subtype LPNETRESOURCE is LPNETRESOURCEA;                -- winnetwk.h:155
  89.     type LPNETRESOURCEW is access all NETRESOURCEW;         -- winnetwk.h:149
  90.  
  91.     type UNIVERSAL_NAME_INFOA is                            -- winnetwk.h:98
  92.         record
  93.             lpUniversalName: Win32.LPSTR;                   -- winnetwk.h:99
  94.         end record;
  95.  
  96.     type UNIVERSAL_NAME_INFOW is                            -- winnetwk.h:101
  97.         record
  98.             lpUniversalName: Win32.LPWSTR;                  -- winnetwk.h:102
  99.         end record;
  100.  
  101.     subtype UNIVERSAL_NAME_INFO is UNIVERSAL_NAME_INFOA;    -- winnetwk.h:108
  102.  
  103.     type REMOTE_NAME_INFOA is                               -- winnetwk.h:112
  104.         record
  105.             lpUniversalName : Win32.LPSTR;                  -- winnetwk.h:113
  106.             lpConnectionName: Win32.LPSTR;                  -- winnetwk.h:114
  107.             lpRemainingPath : Win32.LPSTR;                  -- winnetwk.h:115
  108.         end record;
  109.  
  110.     type REMOTE_NAME_INFOW is                               -- winnetwk.h:117
  111.         record
  112.             lpUniversalName : Win32.LPWSTR;                 -- winnetwk.h:118
  113.             lpConnectionName: Win32.LPWSTR;                 -- winnetwk.h:119
  114.             lpRemainingPath : Win32.LPWSTR;                 -- winnetwk.h:120
  115.         end record;
  116.  
  117.     subtype REMOTE_NAME_INFO is REMOTE_NAME_INFOA;          -- winnetwk.h:126
  118.  
  119.     type NETRESOURCEA is                                    -- winnetwk.h:130
  120.         record
  121.             dwScope      : Win32.DWORD;                     -- winnetwk.h:131
  122.             dwType       : Win32.DWORD;                     -- winnetwk.h:132
  123.             dwDisplayType: Win32.DWORD;                     -- winnetwk.h:133
  124.             dwUsage      : Win32.DWORD;                     -- winnetwk.h:134
  125.             lpLocalName  : Win32.LPSTR;                     -- winnetwk.h:135
  126.             lpRemoteName : Win32.LPSTR;                     -- winnetwk.h:136
  127.             lpComment    : Win32.LPSTR;                     -- winnetwk.h:137
  128.             lpProvider   : Win32.LPSTR;                     -- winnetwk.h:138
  129.         end record;
  130.  
  131.     type NETRESOURCEW is                                    -- winnetwk.h:140
  132.         record
  133.             dwScope      : Win32.DWORD;                     -- winnetwk.h:141
  134.             dwType       : Win32.DWORD;                     -- winnetwk.h:142
  135.             dwDisplayType: Win32.DWORD;                     -- winnetwk.h:143
  136.             dwUsage      : Win32.DWORD;                     -- winnetwk.h:144
  137.             lpLocalName  : Win32.LPWSTR;                    -- winnetwk.h:145
  138.             lpRemoteName : Win32.LPWSTR;                    -- winnetwk.h:146
  139.             lpComment    : Win32.LPWSTR;                    -- winnetwk.h:147
  140.             lpProvider   : Win32.LPWSTR;                    -- winnetwk.h:148
  141.         end record;
  142.  
  143.     subtype NETRESOURCE is NETRESOURCEA;                    -- winnetwk.h:154
  144.  
  145.     function WNETADDCONNECTIONA(lpRemoteName: Win32.LPCSTR;
  146.                                 lpPassword  : Win32.LPCSTR;
  147.                                 lpLocalName : Win32.LPCSTR)
  148.         return Win32.DWORD;                                 -- winnetwk.h:177
  149.  
  150.     function WNETADDCONNECTIONW(lpRemoteName: Win32.LPCWSTR;
  151.                                 lpPassword  : Win32.LPCWSTR;
  152.                                 lpLocalName : Win32.LPCWSTR)
  153.         return Win32.DWORD;                                 -- winnetwk.h:183
  154.  
  155.     function WNETADDCONNECTION(lpRemoteName: Win32.LPCSTR;
  156.                                lpPassword  : Win32.LPCSTR;
  157.                                lpLocalName : Win32.LPCSTR)
  158.         return Win32.DWORD renames WNETADDCONNECTIONA;      -- winnetwk.h:191
  159.  
  160.     function WNETADDCONNECTION2A(lpNetResource: access NETRESOURCEA;
  161.                                  lpPassword   : Win32.LPCSTR;
  162.                                  lpUserName   : Win32.LPCSTR;
  163.                                  dwFlags      : Win32.DWORD)
  164.         return Win32.DWORD;                                 -- winnetwk.h:196
  165.  
  166.     function WNETADDCONNECTION2W(lpNetResource: access NETRESOURCEW;
  167.                                  lpPassword   : Win32.LPCWSTR;
  168.                                  lpUserName   : Win32.LPCWSTR;
  169.                                  dwFlags      : Win32.DWORD)
  170.         return Win32.DWORD;                                 -- winnetwk.h:203
  171.  
  172.     function WNETADDCONNECTION2 (lpNetResource: access NETRESOURCEA;
  173.                                  lpPassword   : Win32.LPCSTR;
  174.                                  lpUserName   : Win32.LPCSTR;
  175.                                  dwFlags      : Win32.DWORD)
  176.         return Win32.DWORD renames WNETADDCONNECTION2A;     -- winnetwk.h:212
  177.  
  178.     function WNETADDCONNECTION3A(hwndOwner    : Win32.Windef.HWND;
  179.                                  lpNetResource: access NETRESOURCEA;
  180.                                  lpPassword   : Win32.LPCSTR;
  181.                                  lpUserName   : Win32.LPCSTR;
  182.                                  dwFlags      : Win32.DWORD)
  183.         return Win32.DWORD;                                 -- winnetwk.h:216
  184.  
  185.     function WNETADDCONNECTION3W(hwndOwner    : Win32.Windef.HWND;
  186.                                  lpNetResource: access NETRESOURCEW;
  187.                                  lpPassword   : Win32.LPCWSTR;
  188.                                  lpUserName   : Win32.LPCWSTR;
  189.                                  dwFlags      : Win32.DWORD)
  190.         return Win32.DWORD;                                 -- winnetwk.h:224
  191.  
  192.     function WNETADDCONNECTION3 (hwndOwner    : Win32.Windef.HWND;
  193.                                  lpNetResource: access NETRESOURCEA;
  194.                                  lpPassword   : Win32.LPCSTR;
  195.                                  lpUserName   : Win32.LPCSTR;
  196.                                  dwFlags      : Win32.DWORD)
  197.         return Win32.DWORD renames WNETADDCONNECTION3A;     -- winnetwk.h:234
  198.  
  199.     function WNETCANCELCONNECTIONA(lpName: Win32.LPCSTR;
  200.                                    fForce: Win32.BOOL)
  201.         return Win32.DWORD;                                 -- winnetwk.h:238
  202.  
  203.     function WNETCANCELCONNECTIONW(lpName: Win32.LPCWSTR;
  204.                                    fForce: Win32.BOOL)
  205.         return Win32.DWORD;                                 -- winnetwk.h:243
  206.  
  207.     function WNETCANCELCONNECTION (lpName: Win32.LPCSTR;
  208.                                    fForce: Win32.BOOL)
  209.         return Win32.DWORD renames WNETCANCELCONNECTIONA;   -- winnetwk.h:250
  210.  
  211.     function WNETCANCELCONNECTION2A(lpName : Win32.LPCSTR;
  212.                                     dwFlags: Win32.DWORD;
  213.                                     fForce : Win32.BOOL)
  214.         return Win32.DWORD;                                 -- winnetwk.h:254
  215.  
  216.     function WNETCANCELCONNECTION2W(lpName : Win32.LPCWSTR;
  217.                                     dwFlags: Win32.DWORD;
  218.                                     fForce : Win32.BOOL)
  219.         return Win32.DWORD;                                 -- winnetwk.h:260
  220.  
  221.     function WNETCANCELCONNECTION2 (lpName : Win32.LPCSTR;
  222.                                     dwFlags: Win32.DWORD;
  223.                                     fForce : Win32.BOOL)
  224.         return Win32.DWORD renames WNETCANCELCONNECTION2A;  -- winnetwk.h:268
  225.  
  226.     function WNETGETCONNECTIONA(lpLocalName : Win32.LPCSTR;
  227.                                 lpRemoteName: Win32.LPSTR;
  228.                                 lpnLength   : Win32.LPDWORD)
  229.         return Win32.DWORD;                                 -- winnetwk.h:273
  230.  
  231.     function WNETGETCONNECTIONW(lpLocalName : Win32.LPCWSTR;
  232.                                 lpRemoteName: Win32.LPWSTR;
  233.                                 lpnLength   : Win32.LPDWORD)
  234.         return Win32.DWORD;                                 -- winnetwk.h:279
  235.  
  236.     function WNETGETCONNECTION (lpLocalName : Win32.LPCSTR;
  237.                                 lpRemoteName: Win32.LPSTR;
  238.                                 lpnLength   : Win32.LPDWORD)
  239.         return Win32.DWORD renames WNETGETCONNECTIONA;      -- winnetwk.h:287
  240.  
  241.     function WNETGETUNIVERSALNAMEA(lpLocalPath : Win32.LPCSTR;
  242.                                    dwInfoLevel : Win32.DWORD;
  243.                                    lpBuffer    : Win32.LPVOID;
  244.                                    lpBufferSize: Win32.LPDWORD)
  245.         return Win32.DWORD;                                 -- winnetwk.h:291
  246.  
  247.     function WNETGETUNIVERSALNAMEW(lpLocalPath : Win32.LPCWSTR;
  248.                                    dwInfoLevel : Win32.DWORD;
  249.                                    lpBuffer    : Win32.LPVOID;
  250.                                    lpBufferSize: Win32.LPDWORD)
  251.         return Win32.DWORD;                                 -- winnetwk.h:298
  252.  
  253.     function WNETGETUNIVERSALNAME (lpLocalPath : Win32.LPCSTR;
  254.                                    dwInfoLevel : Win32.DWORD;
  255.                                    lpBuffer    : Win32.LPVOID;
  256.                                    lpBufferSize: Win32.LPDWORD)
  257.         return Win32.DWORD renames WNETGETUNIVERSALNAMEA;   -- winnetwk.h:307
  258.  
  259.     function WNETOPENENUMA(dwScope      : Win32.DWORD;
  260.                            dwType       : Win32.DWORD;
  261.                            dwUsage      : Win32.DWORD;
  262.                            lpNetResource: access NETRESOURCEA;
  263.                            lphEnum      : Win32.Windef.LPHANDLE)
  264.         return Win32.DWORD;                                 -- winnetwk.h:312
  265.  
  266.     function WNETOPENENUMW(dwScope      : Win32.DWORD;
  267.                            dwType       : Win32.DWORD;
  268.                            dwUsage      : Win32.DWORD;
  269.                            lpNetResource: access NETRESOURCEW;
  270.                            lphEnum      : Win32.Windef.LPHANDLE)
  271.         return Win32.DWORD;                                 -- winnetwk.h:320
  272.  
  273.     function WNETOPENENUM (dwScope      : Win32.DWORD;
  274.                            dwType       : Win32.DWORD;
  275.                            dwUsage      : Win32.DWORD;
  276.                            lpNetResource: access NETRESOURCEA;
  277.                            lphEnum      : Win32.Windef.LPHANDLE)
  278.         return Win32.DWORD renames WNETOPENENUMA;           -- winnetwk.h:330
  279.  
  280.     function WNETENUMRESOURCEA(hEnum       : Win32.Winnt.HANDLE;
  281.                                lpcCount    : Win32.LPDWORD;
  282.                                lpBuffer    : Win32.LPVOID;
  283.                                lpBufferSize: Win32.LPDWORD)
  284.         return Win32.DWORD;                                 -- winnetwk.h:334
  285.  
  286.     function WNETENUMRESOURCEW(hEnum       : Win32.Winnt.HANDLE;
  287.                                lpcCount    : Win32.LPDWORD;
  288.                                lpBuffer    : Win32.LPVOID;
  289.                                lpBufferSize: Win32.LPDWORD)
  290.         return Win32.DWORD;                                 -- winnetwk.h:341
  291.  
  292.     function WNETENUMRESOURCE (hEnum       : Win32.Winnt.HANDLE;
  293.                                lpcCount    : Win32.LPDWORD;
  294.                                lpBuffer    : Win32.LPVOID;
  295.                                lpBufferSize: Win32.LPDWORD)
  296.         return Win32.DWORD renames WNETENUMRESOURCEA;       -- winnetwk.h:350
  297.  
  298.     function WNETCLOSEENUM(hEnum: Win32.Winnt.HANDLE) 
  299.         return Win32.DWORD;                                 -- winnetwk.h:354
  300.  
  301.     function WNETGETUSERA(lpName    : Win32.LPCSTR;
  302.                           lpUserName: Win32.LPSTR;
  303.                           lpnLength : Win32.LPDWORD)
  304.         return Win32.DWORD;                                 -- winnetwk.h:363
  305.  
  306.     function WNETGETUSERW(lpName    : Win32.LPCWSTR;
  307.                           lpUserName: Win32.LPWSTR;
  308.                           lpnLength : Win32.LPDWORD)
  309.         return Win32.DWORD;                                 -- winnetwk.h:369
  310.  
  311.     function WNETGETUSER (lpName    : Win32.LPCSTR;
  312.                           lpUserName: Win32.LPSTR;
  313.                           lpnLength : Win32.LPDWORD)
  314.         return Win32.DWORD renames WNETGETUSERA;            -- winnetwk.h:377
  315.  
  316.     function WNETCONNECTIONDIALOG(hwnd  : Win32.Windef.HWND;
  317.                                   dwType: Win32.DWORD)
  318.         return Win32.DWORD;                                 -- winnetwk.h:384
  319.  
  320.     function WNETDISCONNECTDIALOG(hwnd  : Win32.Windef.HWND;
  321.                                   dwType: Win32.DWORD)
  322.         return Win32.DWORD;                                 -- winnetwk.h:389
  323.  
  324.     function WNETGETLASTERRORA(lpError      : Win32.LPDWORD;
  325.                                lpErrorBuf   : Win32.LPSTR;
  326.                                nErrorBufSize: Win32.DWORD;
  327.                                lpNameBuf    : Win32.LPSTR;
  328.                                nNameBufSize : Win32.DWORD)
  329.         return Win32.DWORD;                                 -- winnetwk.h:401
  330.  
  331.     function WNETGETLASTERRORW(lpError      : Win32.LPDWORD;
  332.                                lpErrorBuf   : Win32.LPWSTR;
  333.                                nErrorBufSize: Win32.DWORD;
  334.                                lpNameBuf    : Win32.LPWSTR;
  335.                                nNameBufSize : Win32.DWORD)
  336.         return Win32.DWORD;                                 -- winnetwk.h:409
  337.  
  338.     function WNETGETLASTERROR (lpError      : Win32.LPDWORD;
  339.                                lpErrorBuf   : Win32.LPSTR;
  340.                                nErrorBufSize: Win32.DWORD;
  341.                                lpNameBuf    : Win32.LPSTR;
  342.                                nNameBufSize : Win32.DWORD)
  343.         return Win32.DWORD renames WNETGETLASTERRORA;       -- winnetwk.h:419
  344.  
  345. private
  346.  
  347.     pragma Convention(C, UNIVERSAL_NAME_INFOA);             -- winnetwk.h:98
  348.     pragma Convention(C, UNIVERSAL_NAME_INFOW);             -- winnetwk.h:101
  349.     pragma Convention(C, REMOTE_NAME_INFOA);                -- winnetwk.h:112
  350.     pragma Convention(C, REMOTE_NAME_INFOW);                -- winnetwk.h:117
  351.     pragma Convention(C, NETRESOURCEA);                     -- winnetwk.h:130
  352.     pragma Convention(C, NETRESOURCEW);                     -- winnetwk.h:140
  353.  
  354.     pragma Import(Stdcall, WNETADDCONNECTIONA, "WNetAddConnectionA"); 
  355.                                                             -- winnetwk.h:177
  356.     pragma Import(Stdcall, WNETADDCONNECTIONW, "WNetAddConnectionW"); 
  357.                                                             -- winnetwk.h:183
  358.     pragma Import(Stdcall, WNETADDCONNECTION2A, "WNetAddConnection2A");
  359.                                                             -- winnetwk.h:196
  360.     pragma Import(Stdcall, WNETADDCONNECTION2W, "WNetAddConnection2W");
  361.                                                             -- winnetwk.h:203
  362.     pragma Import(Stdcall, WNETADDCONNECTION3A, "WNetAddConnection3A");
  363.                                                             -- winnetwk.h:216
  364.     pragma Import(Stdcall, WNETADDCONNECTION3W, "WNetAddConnection3W");
  365.                                                             -- winnetwk.h:224
  366.     pragma Import(Stdcall, WNETCANCELCONNECTIONA, "WNetCancelConnectionA");
  367.                                                             -- winnetwk.h:238
  368.     pragma Import(Stdcall, WNETCANCELCONNECTIONW, "WNetCancelConnectionW");
  369.                                                             -- winnetwk.h:243
  370.     pragma Import(Stdcall, WNETCANCELCONNECTION2A, "WNetCancelConnection2A");
  371.                                                             -- winnetwk.h:254
  372.     pragma Import(Stdcall, WNETCANCELCONNECTION2W, "WNetCancelConnection2W");
  373.                                                             -- winnetwk.h:260
  374.     pragma Import(Stdcall, WNETGETCONNECTIONA, "WNetGetConnectionA"); 
  375.                                                             -- winnetwk.h:273
  376.     pragma Import(Stdcall, WNETGETCONNECTIONW, "WNetGetConnectionW"); 
  377.                                                             -- winnetwk.h:279
  378.     pragma Import(Stdcall, WNETGETUNIVERSALNAMEA, "WNetGetUniversalNameA");
  379.                                                             -- winnetwk.h:291
  380.     pragma Import(Stdcall, WNETGETUNIVERSALNAMEW, "WNetGetUniversalNameW");
  381.                                                             -- winnetwk.h:298
  382.     pragma Import(Stdcall, WNETOPENENUMA, "WNetOpenEnumA");       -- winnetwk.h:312
  383.     pragma Import(Stdcall, WNETOPENENUMW, "WNetOpenEnumW");       -- winnetwk.h:320
  384.     pragma Import(Stdcall, WNETENUMRESOURCEA, "WNetEnumResourceA");
  385.                                                             -- winnetwk.h:334
  386.     pragma Import(Stdcall, WNETENUMRESOURCEW, "WNetEnumResourceW");
  387.                                                             -- winnetwk.h:341
  388.     pragma Import(Stdcall, WNETCLOSEENUM, "WNetCloseEnum");       -- winnetwk.h:354
  389.     pragma Import(Stdcall, WNETGETUSERA, "WNetGetUserA");         -- winnetwk.h:363
  390.     pragma Import(Stdcall, WNETGETUSERW, "WNetGetUserW");         -- winnetwk.h:369
  391.     pragma Import(Stdcall, WNETCONNECTIONDIALOG, "WNetConnectionDialog");
  392.                                                             -- winnetwk.h:384
  393.     pragma Import(Stdcall, WNETDISCONNECTDIALOG, "WNetDisconnectDialog");
  394.                                                             -- winnetwk.h:389
  395.     pragma Import(Stdcall, WNETGETLASTERRORA, "WNetGetLastErrorA");
  396.                                                             -- winnetwk.h:401
  397.     pragma Import(Stdcall, WNETGETLASTERRORW, "WNetGetLastErrorW");
  398.                                                             -- winnetwk.h:409
  399.  
  400. -------------------------------------------------------------------------------
  401. --
  402. -- THIS FILE AND ANY ASSOCIATED DOCUMENTATION IS PROVIDED WITHOUT CHARGE
  403. -- "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
  404. -- BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
  405. -- FITNESS FOR A PARTICULAR PURPOSE.  The user assumes the entire risk as to
  406. -- the accuracy and the use of this file.  This file may be used, copied,
  407. -- modified and distributed only by licensees of Microsoft Corporation's
  408. -- WIN32 Software Development Kit in accordance with the terms of the 
  409. -- licensee's End-User License Agreement for Microsoft Software for the
  410. -- WIN32 Development Kit.
  411. --
  412. -- Copyright (c) Intermetrics, Inc. 1995
  413. -- Portions (c) 1985-1994 Microsoft Corporation with permission.
  414. -- Microsoft is a registered trademark and Windows and Windows NT are
  415. -- trademarks of Microsoft Corporation.
  416. --
  417. -------------------------------------------------------------------------------
  418.  
  419. end Win32.Winnetwk;
  420.