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

  1. -- $Source: /home/harp/1/proto/monoBANK/winnt/win32-wsnwlink.ads,v $ 
  2. -- $Revision: 1.10 $ $Date: 96/03/15 12:58:48 $ $Author: stm $ 
  3. -- See end of file for Copyright (c) information.
  4.  
  5. with Win32.Winnt;
  6.  
  7. package Win32.Wsnwlink is
  8.  
  9.     IPX_PTYPE                  : constant := 16#4000#;      -- wsnwlink.h:39
  10.     IPX_FILTERPTYPE            : constant := 16#4001#;      -- wsnwlink.h:50
  11.     IPX_STOPFILTERPTYPE        : constant := 16#4003#;      -- wsnwlink.h:58
  12.     IPX_DSTYPE                 : constant := 16#4002#;      -- wsnwlink.h:67
  13.     IPX_EXTENDED_ADDRESS       : constant := 16#4004#;      -- wsnwlink.h:85
  14.     IPX_RECVHDR                : constant := 16#4005#;      -- wsnwlink.h:94
  15.     IPX_MAXSIZE                : constant := 16#4006#;      -- wsnwlink.h:104
  16.     IPX_ADDRESS                : constant := 16#4007#;      -- wsnwlink.h:118
  17.     IPX_GETNETINFO             : constant := 16#4008#;      -- wsnwlink.h:140
  18.     IPX_GETNETINFO_NORIP       : constant := 16#4009#;      -- wsnwlink.h:162
  19.     IPX_SPXGETCONNECTIONSTATUS : constant := 16#400b#;      -- wsnwlink.h:173
  20.     IPX_ADDRESS_NOTIFY         : constant := 16#400c#;      -- wsnwlink.h:227
  21.     IPX_MAX_ADAPTER_NUM        : constant := 16#400d#;      -- wsnwlink.h:238
  22.     IPX_RERIPNETNUMBER         : constant := 16#400e#;      -- wsnwlink.h:249
  23.     IPX_RECEIVE_BROADCAST      : constant := 16#400f#;      -- wsnwlink.h:262
  24.     IPX_IMMEDIATESPXACK        : constant := 16#4010#;      -- wsnwlink.h:273
  25.  
  26.     type IPX_ADDRESS_DATA;                                  -- wsnwlink.h:120
  27.     type IPX_NETNUM_DATA;                                   -- wsnwlink.h:142
  28.     type IPX_SPXCONNSTATUS_DATA;                            -- wsnwlink.h:175
  29.  
  30.     type PIPX_ADDRESS_DATA is access all IPX_ADDRESS_DATA;  -- wsnwlink.h:128
  31.     type PIPX_NETNUM_DATA is access all IPX_NETNUM_DATA;    -- wsnwlink.h:150
  32.     type PIPX_SPXCONNSTATUS_DATA is access all IPX_SPXCONNSTATUS_DATA;
  33.                                                             -- wsnwlink.h:194
  34.  
  35.     type IPX_ADDRESS_DATA is                                -- wsnwlink.h:120
  36.         record
  37.             adapternum: Win32.INT;                          -- wsnwlink.h:121
  38.             netnum    : Win32.UCHAR_Array(0..3);            -- wsnwlink.h:122
  39.             nodenum   : Win32.UCHAR_Array(0..5);            -- wsnwlink.h:123
  40.             wan       : Win32.Winnt.BOOLEAN;                -- wsnwlink.h:124
  41.             status    : Win32.Winnt.BOOLEAN;                -- wsnwlink.h:125
  42.             maxpkt    : Win32.INT;                          -- wsnwlink.h:126
  43.             linkspeed : Win32.ULONG;                        -- wsnwlink.h:127
  44.         end record;
  45.  
  46.     type IPX_NETNUM_DATA is                                 -- wsnwlink.h:142
  47.         record
  48.             netnum  : Win32.BYTE_Array(0..3);               -- wsnwlink.h:143
  49.             hopcount: Win32.USHORT;                         -- wsnwlink.h:144
  50.             netdelay: Win32.USHORT;                         -- wsnwlink.h:145
  51.             cardnum : Win32.INT;                            -- wsnwlink.h:146
  52.             router  : Win32.UCHAR_Array(0..5);              -- wsnwlink.h:148
  53.         end record;                                        
  54.                                                            
  55.     type IPX_SPXCONNSTATUS_DATA is                          -- wsnwlink.h:175
  56.         record
  57.             ConnectionState        : Win32.UCHAR;           -- wsnwlink.h:176
  58.             WatchDogActive         : Win32.UCHAR;           -- wsnwlink.h:177
  59.             LocalConnectionId      : Win32.USHORT;          -- wsnwlink.h:178
  60.             RemoteConnectionId     : Win32.USHORT;          -- wsnwlink.h:179
  61.             LocalSequenceNumber    : Win32.USHORT;          -- wsnwlink.h:180
  62.             LocalAckNumber         : Win32.USHORT;          -- wsnwlink.h:181
  63.             LocalAllocNumber       : Win32.USHORT;          -- wsnwlink.h:182
  64.             RemoteAckNumber        : Win32.USHORT;          -- wsnwlink.h:183
  65.             RemoteAllocNumber      : Win32.USHORT;          -- wsnwlink.h:184
  66.             LocalSocket            : Win32.USHORT;          -- wsnwlink.h:185
  67.             ImmediateAddress       : Win32.UCHAR_Array(0..6);
  68.                                                             -- wsnwlink.h:186
  69.             RemoteNetwork          : Win32.UCHAR_Array(0..3);
  70.                                                             -- wsnwlink.h:187
  71.             RemoteNode             : Win32.UCHAR_Array(0..6);
  72.                                                             -- wsnwlink.h:188
  73.             RemoteSocket           : Win32.USHORT;          -- wsnwlink.h:189
  74.             RetransmissionCount    : Win32.USHORT;          -- wsnwlink.h:190
  75.             EstimatedRoundTripDelay: Win32.USHORT;          -- wsnwlink.h:191
  76.             RetransmittedPackets   : Win32.USHORT;          -- wsnwlink.h:192
  77.             SuppressedPacket       : Win32.USHORT;          -- wsnwlink.h:193
  78.         end record;
  79.  
  80. private
  81.  
  82.     pragma Convention(C, IPX_ADDRESS_DATA);                 -- wsnwlink.h:120
  83.     pragma Convention(C, IPX_NETNUM_DATA);                  -- wsnwlink.h:142
  84.     pragma Convention(C, IPX_SPXCONNSTATUS_DATA);           -- wsnwlink.h:175
  85.  
  86. -------------------------------------------------------------------------------
  87. --
  88. -- THIS FILE AND ANY ASSOCIATED DOCUMENTATION IS PROVIDED WITHOUT CHARGE
  89. -- "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
  90. -- BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
  91. -- FITNESS FOR A PARTICULAR PURPOSE.  The user assumes the entire risk as to
  92. -- the accuracy and the use of this file.  This file may be used, copied,
  93. -- modified and distributed only by licensees of Microsoft Corporation's
  94. -- WIN32 Software Development Kit in accordance with the terms of the 
  95. -- licensee's End-User License Agreement for Microsoft Software for the
  96. -- WIN32 Development Kit.
  97. --
  98. -- Copyright (c) Intermetrics, Inc. 1995
  99. -- Portions (c) 1985-1994 Microsoft Corporation with permission.
  100. -- Microsoft is a registered trademark and Windows and Windows NT are
  101. -- trademarks of Microsoft Corporation.
  102. --
  103. -------------------------------------------------------------------------------
  104.  
  105. end Win32.Wsnwlink;
  106.