GetDNSLookup
|
The GetDNSLookup function
returns IP and DNS information on IP address or domain name
addresses.
function
GetDNSLookup(
): WORD;
stdcall; |
|
|
Parameters
|
lpDnsLookupInfo
|
[in/out] Specifies the DNS
lookup record with IP and/or DNS information.
|
|
|
Return Values
|
Return any one of the following
values on error, otherwise ERROR_SUCCESS on success.
| Value |
Meaning |
| ERROR_BADSIZE |
The structure size was incorrect. |
| ERROR_UNKNOWNDNSSERVER |
Could not lookup the DNS server, or unresolveable. |
| ERROR_INVALIDIP |
IP address to lookup is invalid. |
|
|
Remarks
Requirements
|
Network Statistics 1.2
Full Header: declared in tnstat.pas. Header: declared
in nstatdll.pas. Library: nstat.dll |
|
See Also
|
|