dnsapi: Add some constants.

This commit is contained in:
Francois Gouget 2007-08-03 00:50:49 +02:00 committed by Alexandre Julliard
parent 68953ffd7d
commit c3b2258eee
1 changed files with 7 additions and 0 deletions

View File

@ -163,6 +163,13 @@ typedef struct
DWORD IP6Dword[4];
} IP6_ADDRESS, *PIP6_ADDRESS, DNS_IP6_ADDRESS, *PDNS_IP6_ADDRESS;
#define SIZEOF_IP4_ADDRESS 4
#define IP4_ADDRESS_STRING_LENGTH 16
#define IP6_ADDRESS_STRING_LENGTH 65
#define DNS_ADDRESS_STRING_LENGTH IP6_ADDRESS_STRING_LENGTH
#define IP4_ADDRESS_STRING_BUFFER_LENGTH IP4_ADDRESS_STRING_LENGTH
#define IP6_ADDRESS_STRING_BUFFER_LENGTH IP6_ADDRESS_STRING_LENGTH
typedef struct _IP4_ARRAY
{
DWORD AddrCount;