Group: DNS Functions - Library: dnsapi
DNS_STATUS WINAPI DnsValidateName(
_In_ PCTSTR pszName,
_In_ DNS_NAME_FORMAT Format
);
DECLARE INTEGER DnsValidateName_A IN dnsapi;
AS DnsValidateName;
STRING pszName,;
INTEGER NameFormat
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.
Returns ERROR_SUCCESS (0) on success.