News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

IP_ADAPTER_INFO

Started by sonic, September 01, 2007, 03:25:56 PM

Previous topic - Next topic

sonic

Was playing with GetAdaptersInfo api and found that the IP_ADAPTER_INFO structure isn't defined. The ipi Api's are included but maybe structures are misisng?

http://msdn2.microsoft.com/en-us/library/aa366074.aspx

Regards

ToutEnMasm

Hello,
http://msdn2.microsoft.com/en-us/library/aa366062.aspx
Use the translator to have it translate.

Quote
IP_ADDRESS_STRING   STRUCT
   String BYTE 4 * 4 dup (?)

IP_ADDRESS_STRING      ENDS

Quote
IP_ADDR_STRING   STRUCT
   Next DWORD ?
   IpAddress IP_ADDRESS_STRING <>
   IpMask IP_MASK_STRING <>
   Context DWORD ?

IP_ADDR_STRING      ENDS

Quote
IP_ADAPTER_INFO   STRUCT
   Next DWORD ?
   ComboIndex DWORD ?
   AdapterName BYTE MAX_ADAPTER_NAME_LENGTH + 4 dup (?)
   Description BYTE MAX_ADAPTER_DESCRIPTION_LENGTH + 4 dup (?)
   AddressLength DWORD ?
   Address BYTE MAX_ADAPTER_ADDRESS_LENGTH dup (?)
   Index DWORD ?
   type1 DWORD ?
   DhcpEnabled DWORD ?
   CurrentIpAddress DWORD ?
   IpAddressList IP_ADDR_STRING <>
   GatewayList IP_ADDR_STRING <>
   DhcpServer IP_ADDR_STRING <>
   HaveWins DWORD ?
   PrimaryWinsServer IP_ADDR_STRING <>
   SecondaryWinsServer IP_ADDR_STRING <>
   LeaseObtained DWORD ?
   LeaseExpires DWORD ?

IP_ADAPTER_INFO      ENDS


   ToutEnmasm