Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 853 Bytes

DnsValidateName.md

File metadata and controls

44 lines (31 loc) · 853 Bytes

Home

Function name : DnsValidateName

Group: DNS Functions - Library: dnsapi


Validates the status of a specified DNS name.


Declaration:

DNS_STATUS WINAPI DnsValidateName(
  _In_ PCTSTR          pszName,
  _In_ DNS_NAME_FORMAT Format
);  

FoxPro declaration:

DECLARE INTEGER DnsValidateName_A IN dnsapi;
AS DnsValidateName;
	STRING pszName,;
	INTEGER NameFormat  

Parameters:

pszName [in] A pointer to a string that represents the DNS name to be examined.

Format [in] A DNS_NAME_FORMAT value that specifies the format of the name to be examined.


Return value:

Returns ERROR_SUCCESS (0) on success.