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