2000-10-08 18:55:29 +02:00
|
|
|
#ifndef _IPTYPES_H
|
|
|
|
#define _IPTYPES_H
|
2006-07-19 23:24:42 +02:00
|
|
|
#if __GNUC__ >= 3
|
* include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h,
cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h,
dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h,
imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h,
ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h,
lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h,
lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h,
lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h,
lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h,
lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h,
mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h,
ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h,
ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h,
oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h,
raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h,
rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h,
rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h,
security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h,
sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h,
tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h,
wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h,
wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h,
winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h,
winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h,
wsnetbs.h, wtypes.h, zmouse.h: Add #pragma GCC system_header
if __GNUC__ >= 3.
* include/mapi.h: Change header guard name to _MAPI_H for
consistency.
2002-03-09 10:04:10 +01:00
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
|
|
|
|
2001-01-30 15:37:54 +01:00
|
|
|
#include <sys/types.h>
|
2000-10-01 23:57:57 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
|
2000-10-01 16:22:14 +02:00
|
|
|
#define DEFAULT_MINIMUM_ENTITIES 32
|
|
|
|
#define MAX_ADAPTER_ADDRESS_LENGTH 8
|
|
|
|
#define MAX_ADAPTER_DESCRIPTION_LENGTH 128
|
|
|
|
#define MAX_ADAPTER_NAME_LENGTH 256
|
|
|
|
#define MAX_DOMAIN_NAME_LEN 128
|
|
|
|
#define MAX_HOSTNAME_LEN 128
|
|
|
|
#define MAX_SCOPE_ID_LEN 256
|
|
|
|
#define BROADCAST_NODETYPE 1
|
|
|
|
#define PEER_TO_PEER_NODETYPE 2
|
|
|
|
#define MIXED_NODETYPE 4
|
|
|
|
#define HYBRID_NODETYPE 8
|
|
|
|
#define IF_OTHER_ADAPTERTYPE 0
|
|
|
|
#define IF_ETHERNET_ADAPTERTYPE 1
|
|
|
|
#define IF_TOKEN_RING_ADAPTERTYPE 2
|
|
|
|
#define IF_FDDI_ADAPTERTYPE 3
|
|
|
|
#define IF_PPP_ADAPTERTYPE 4
|
|
|
|
#define IF_LOOPBACK_ADAPTERTYPE 5
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
#if (_WIN32_WINNT >= 0x0501)
|
|
|
|
#define IP_ADAPTER_DDNS_ENABLED 0x00000001
|
|
|
|
#define IP_ADAPTER_REGISTER_ADAPTER_SUFFIX 0x00000002
|
|
|
|
#define IP_ADAPTER_DHCP_ENABLED 0x00000004
|
|
|
|
#define IP_ADAPTER_RECEIVE_ONLY 0x00000008
|
|
|
|
#define IP_ADAPTER_NO_MULTICAST 0x00000010
|
|
|
|
#define IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG 0x00000020
|
|
|
|
#define IP_ADAPTER_ADDRESS_DNS_ELIGIBLE 0x00000001
|
|
|
|
#define IP_ADAPTER_ADDRESS_TRANSIENT 0x00000002
|
|
|
|
#endif
|
|
|
|
|
2000-10-01 16:22:14 +02:00
|
|
|
typedef struct {
|
2000-10-09 11:51:46 +02:00
|
|
|
char String[16];
|
2000-10-08 18:55:29 +02:00
|
|
|
} IP_ADDRESS_STRING, *PIP_ADDRESS_STRING, IP_MASK_STRING, *PIP_MASK_STRING;
|
2000-10-09 11:51:46 +02:00
|
|
|
typedef struct _IP_ADDR_STRING {
|
2001-01-30 15:37:54 +01:00
|
|
|
struct _IP_ADDR_STRING* Next;
|
2000-10-01 16:22:14 +02:00
|
|
|
IP_ADDRESS_STRING IpAddress;
|
|
|
|
IP_MASK_STRING IpMask;
|
|
|
|
DWORD Context;
|
|
|
|
} IP_ADDR_STRING, *PIP_ADDR_STRING;
|
2000-10-09 11:51:46 +02:00
|
|
|
typedef struct _IP_ADAPTER_INFO {
|
2001-01-30 15:37:54 +01:00
|
|
|
struct _IP_ADAPTER_INFO* Next;
|
2000-10-01 16:22:14 +02:00
|
|
|
DWORD ComboIndex;
|
|
|
|
char AdapterName[MAX_ADAPTER_NAME_LENGTH+4];
|
|
|
|
char Description[MAX_ADAPTER_DESCRIPTION_LENGTH+4];
|
|
|
|
UINT AddressLength;
|
|
|
|
BYTE Address[MAX_ADAPTER_ADDRESS_LENGTH];
|
|
|
|
DWORD Index;
|
|
|
|
UINT Type;
|
|
|
|
UINT DhcpEnabled;
|
|
|
|
PIP_ADDR_STRING CurrentIpAddress;
|
|
|
|
IP_ADDR_STRING IpAddressList;
|
|
|
|
IP_ADDR_STRING GatewayList;
|
|
|
|
IP_ADDR_STRING DhcpServer;
|
|
|
|
BOOL HaveWins;
|
|
|
|
IP_ADDR_STRING PrimaryWinsServer;
|
|
|
|
IP_ADDR_STRING SecondaryWinsServer;
|
|
|
|
time_t LeaseObtained;
|
|
|
|
time_t LeaseExpires;
|
|
|
|
} IP_ADAPTER_INFO, *PIP_ADAPTER_INFO;
|
2001-12-03 Earnie Boyd <earnie@users.sf.net>
* include/accctrl.h: Change \r\n to \n.
2001-11-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.
2001-11-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.
2001-11-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.
2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
2001-11-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.
* include/winuser.h (IDC_STATIC): Protect against prior
definition.
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-12-03 20:59:34 +01:00
|
|
|
typedef struct _IP_PER_ADAPTER_INFO {
|
|
|
|
UINT AutoconfigEnabled;
|
|
|
|
UINT AutoconfigActive;
|
|
|
|
PIP_ADDR_STRING CurrentDnsServer;
|
|
|
|
IP_ADDR_STRING DnsServerList;
|
|
|
|
} IP_PER_ADAPTER_INFO, *PIP_PER_ADAPTER_INFO;
|
2000-10-09 11:51:46 +02:00
|
|
|
typedef struct _FIXED_INFO {
|
|
|
|
char HostName[MAX_HOSTNAME_LEN+4] ;
|
|
|
|
char DomainName[MAX_DOMAIN_NAME_LEN+4];
|
2000-10-01 16:22:14 +02:00
|
|
|
PIP_ADDR_STRING CurrentDnsServer;
|
|
|
|
IP_ADDR_STRING DnsServerList;
|
|
|
|
UINT NodeType;
|
2000-10-09 11:51:46 +02:00
|
|
|
char ScopeId[MAX_SCOPE_ID_LEN+4];
|
2000-10-01 16:22:14 +02:00
|
|
|
UINT EnableRouting;
|
|
|
|
UINT EnableProxy;
|
|
|
|
UINT EnableDns;
|
|
|
|
} FIXED_INFO, *PFIXED_INFO;
|
2006-04-06 14:16:49 +02:00
|
|
|
#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
typedef enum {
|
|
|
|
IfOperStatusUp = 1,
|
|
|
|
IfOperStatusDown,
|
|
|
|
IfOperStatusTesting,
|
|
|
|
IfOperStatusUnknown,
|
|
|
|
IfOperStatusDormant,
|
|
|
|
IfOperStatusNotPresent,
|
|
|
|
IfOperStatusLowerLayerDown
|
|
|
|
} IF_OPER_STATUS;
|
|
|
|
typedef enum {
|
|
|
|
IpDadStateInvalid = 0,
|
|
|
|
IpDadStateTentative,
|
|
|
|
IpDadStateDuplicate,
|
|
|
|
IpDadStateDeprecated,
|
|
|
|
IpDadStatePreferred
|
|
|
|
} IP_DAD_STATE;
|
|
|
|
typedef enum {
|
|
|
|
IpPrefixOriginOther = 0,
|
|
|
|
IpPrefixOriginManual,
|
|
|
|
IpPrefixOriginWellKnown,
|
|
|
|
IpPrefixOriginDhcp,
|
|
|
|
IpPrefixOriginRouterAdvertisement
|
|
|
|
} IP_PREFIX_ORIGIN;
|
|
|
|
typedef enum {
|
|
|
|
IpSuffixOriginOther = 0,
|
|
|
|
IpSuffixOriginManual,
|
|
|
|
IpSuffixOriginWellKnown,
|
|
|
|
IpSuffixOriginDhcp,
|
|
|
|
IpSuffixOriginLinkLayerAddress,
|
|
|
|
IpSuffixOriginRandom
|
|
|
|
} IP_SUFFIX_ORIGIN;
|
|
|
|
typedef enum {
|
|
|
|
ScopeLevelInterface = 1,
|
|
|
|
ScopeLevelLink = 2,
|
|
|
|
ScopeLevelSubnet = 3,
|
|
|
|
ScopeLevelAdmin = 4,
|
|
|
|
ScopeLevelSite = 5,
|
|
|
|
ScopeLevelOrganization = 8,
|
|
|
|
ScopeLevelGlobal = 14
|
|
|
|
} SCOPE_LEVEL;
|
|
|
|
typedef struct {
|
|
|
|
ULONG Index;
|
|
|
|
ULONG MediaType;
|
|
|
|
UCHAR ConnectionType;
|
|
|
|
UCHAR AccessType;
|
|
|
|
GUID DeviceGuid;
|
|
|
|
GUID InterfaceGuid;
|
|
|
|
} IP_INTERFACE_NAME_INFO,*PIP_INTERFACE_NAME_INFO;
|
|
|
|
typedef struct _IP_ADAPTER_ANYCAST_ADDRESS {
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_UNION union {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONGLONG Alignment;
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_STRUCT struct {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONG Length;
|
|
|
|
DWORD Flags;
|
2006-07-19 23:24:42 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
struct _IP_ADAPTER_ANYCAST_ADDRESS* Next;
|
|
|
|
SOCKET_ADDRESS Address;
|
|
|
|
} IP_ADAPTER_ANYCAST_ADDRESS,*PIP_ADAPTER_ANYCAST_ADDRESS;
|
|
|
|
typedef struct _IP_ADAPTER_MULTICAST_ADDRESS {
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_UNION union {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONGLONG Alignment;
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_STRUCT struct {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONG Length;
|
|
|
|
DWORD Flags;
|
2006-07-19 23:24:42 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
struct _IP_ADAPTER_MULTICAST_ADDRESS* Next;
|
|
|
|
SOCKET_ADDRESS Address;
|
|
|
|
} IP_ADAPTER_MULTICAST_ADDRESS,*PIP_ADAPTER_MULTICAST_ADDRESS;
|
|
|
|
typedef struct _IP_ADAPTER_UNICAST_ADDRESS {
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_UNION union {
|
|
|
|
ULONGLONG Alignment;
|
|
|
|
_ANONYMOUS_STRUCT struct {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONG Length;
|
|
|
|
DWORD Flags;
|
2006-07-19 23:24:42 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
struct _IP_ADAPTER_UNICAST_ADDRESS* Next;
|
|
|
|
SOCKET_ADDRESS Address;
|
|
|
|
IP_PREFIX_ORIGIN PrefixOrigin;
|
|
|
|
IP_SUFFIX_ORIGIN SuffixOrigin;
|
|
|
|
IP_DAD_STATE DadState;
|
|
|
|
ULONG ValidLifetime;
|
|
|
|
ULONG PreferredLifetime;
|
|
|
|
ULONG LeaseLifetime;
|
|
|
|
} IP_ADAPTER_UNICAST_ADDRESS,*PIP_ADAPTER_UNICAST_ADDRESS;
|
|
|
|
typedef struct _IP_ADAPTER_DNS_SERVER_ADDRESS {
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_UNION union {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONGLONG Alignment;
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_STRUCT struct {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONG Length;
|
|
|
|
DWORD Reserved;
|
2006-07-19 23:24:42 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
struct _IP_ADAPTER_DNS_SERVER_ADDRESS* Next;
|
|
|
|
SOCKET_ADDRESS Address;
|
|
|
|
} IP_ADAPTER_DNS_SERVER_ADDRESS,*PIP_ADAPTER_DNS_SERVER_ADDRESS;
|
|
|
|
typedef struct _IP_ADAPTER_PREFIX {
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_UNION union {
|
|
|
|
ULONGLONG Alignment;
|
|
|
|
_ANONYMOUS_STRUCT struct {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONG Length;
|
|
|
|
DWORD Flags;
|
2006-07-19 23:24:42 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
struct _IP_ADAPTER_PREFIX* Next;
|
|
|
|
SOCKET_ADDRESS Address;
|
|
|
|
ULONG PrefixLength;
|
|
|
|
} IP_ADAPTER_PREFIX,*PIP_ADAPTER_PREFIX;
|
|
|
|
typedef struct _IP_ADAPTER_ADDRESSES {
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_UNION union {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONGLONG Alignment;
|
2006-07-19 23:24:42 +02:00
|
|
|
_ANONYMOUS_STRUCT struct {
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
ULONG Length;
|
|
|
|
DWORD IfIndex;
|
2006-07-19 23:24:42 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 17:53:58 +02:00
|
|
|
struct _IP_ADAPTER_ADDRESSES* Next;
|
|
|
|
PCHAR AdapterName;
|
|
|
|
PIP_ADAPTER_UNICAST_ADDRESS FirstUnicastAddress;
|
|
|
|
PIP_ADAPTER_ANYCAST_ADDRESS FirstAnycastAddress;
|
|
|
|
PIP_ADAPTER_MULTICAST_ADDRESS FirstMulticastAddress;
|
|
|
|
PIP_ADAPTER_DNS_SERVER_ADDRESS FirstDnsServerAddress;
|
|
|
|
PWCHAR DnsSuffix;
|
|
|
|
PWCHAR Description;
|
|
|
|
PWCHAR FriendlyName;
|
|
|
|
BYTE PhysicalAddress[MAX_ADAPTER_ADDRESS_LENGTH];
|
|
|
|
DWORD PhysicalAddressLength;
|
|
|
|
DWORD Flags;
|
|
|
|
DWORD Mtu;
|
|
|
|
DWORD IfType;
|
|
|
|
IF_OPER_STATUS OperStatus;
|
|
|
|
DWORD Ipv6IfIndex;
|
|
|
|
DWORD ZoneIndices[16];
|
|
|
|
PIP_ADAPTER_PREFIX FirstPrefix;
|
|
|
|
} IP_ADAPTER_ADDRESSES,*PIP_ADAPTER_ADDRESSES;
|
|
|
|
#endif
|
2001-12-03 Earnie Boyd <earnie@users.sf.net>
* include/accctrl.h: Change \r\n to \n.
2001-11-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.
2001-11-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.
2001-11-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.
2001-11-19 Pierre Muller <muller@ics.u-strasbg.fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
2001-11-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.
* include/winuser.h (IDC_STATIC): Protect against prior
definition.
2001-11-12 Corinna Vinschen <corinna@vinschen.de>
* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.
2001-11-09 Robert Collins <rbtcollins@hotmail.com>
* include/winnt.h: Backout last change.
2001-12-03 20:59:34 +01:00
|
|
|
|
2000-10-01 23:57:57 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2000-10-08 18:55:29 +02:00
|
|
|
#endif /* _IPTYPES_H */
|