18 AddrResponse = QueryReply;
19 while( AddrResponse ) {
21 Addr =
ntohl( AddrResponse->Data.A.IpAddress );
22 printf(
"www.reactos.com == %d.%d.%d.%d\n",
23 (
int)(Addr >> 24) & 0xff,
24 (
int)(Addr >> 16) & 0xff,
25 (
int)(Addr >> 8) & 0xff,
28 AddrResponse = AddrResponse->pNext;
VOID WINAPI DnsRecordListFree(PDNS_RECORD list, DNS_FREE_TYPE type)
#define DNS_QUERY_STANDARD
#define DNS_ERROR_INVALID_NAME_CHAR
#define DNS_ERROR_INVALID_NAME