Hi I'm using DnsQuery_A
From here : http://msdn.microsoft.com/library/de...s/dnsquery.aspCode:DnsQuery_A("hotmail.com" DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &pRecordList, NULL);
But it's still messed up in my mind.. how can I check for a success?Returns success confirmation upon successful completion. Otherwise, returns the appropriate DNS-specific error code as defined in Winerror.h.
Thanx