2000-10-08 18:55:29 +02:00
|
|
|
#ifndef _IPEXPORT_H
|
|
|
|
#define _IPEXPORT_H
|
2000-10-01 23:57:57 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2000-10-01 16:22:14 +02:00
|
|
|
#ifndef ANY_SIZE
|
|
|
|
#define ANY_SIZE 1
|
|
|
|
#endif
|
|
|
|
#define MAX_ADAPTER_NAME 128
|
|
|
|
typedef unsigned long IPAddr, IPMask, IP_STATUS;
|
|
|
|
typedef struct {
|
|
|
|
ULONG Index;
|
|
|
|
WCHAR Name[MAX_ADAPTER_NAME];
|
|
|
|
} IP_ADAPTER_INDEX_MAP, *PIP_ADAPTER_INDEX_MAP;
|
|
|
|
typedef struct {
|
|
|
|
LONG NumAdapters;
|
|
|
|
IP_ADAPTER_INDEX_MAP Adapter[ANY_SIZE];
|
|
|
|
} IP_INTERFACE_INFO, *PIP_INTERFACE_INFO;
|
2000-10-01 23:57:57 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2000-10-08 18:55:29 +02:00
|
|
|
#endif /* _IPEXPORT_H */
|