UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:windns.DnsNameCompare |
DnsNameCompare macro (windns.h) |
The DnsNameCompare function compares two DNS names. (DnsNameCompare_UTF8) |
|
dns\dnsnamecompare.htm |
DNS |
4a1512b3-8273-4632-9426-daa36456bce3 |
12/05/2018 |
DnsNameCompare, DnsNameCompare function [DNS], DnsNameCompare_A, DnsNameCompare_UTF8, DnsNameCompare_W, _dns_dnsnamecompare, dns.dnsnamecompare, windns/DnsNameCompare, windns/DnsNameCompare_A, windns/DnsNameCompare_UTF8, windns/DnsNameCompare_W |
windns.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
DnsNameCompare_W (Unicode) and DnsNameCompare_A (ANSI) |
Dnsapi.lib |
Dnsapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
The DnsNameCompare function compares two DNS names. Like many DNS functions, the DnsNameCompare function type is implemented in multiple forms to facilitate different character encoding. Based on the character encoding involved, use one of the following functions:
- DnsNameCompare_A (_A for ANSI encoding)
- DnsNameCompare_W (_W for Unicode encoding)
- DnsNameCompare_UTF8 (_UTF8 for Unicode encoding)
TBD
TBD
A pointer to a string that represents the first DNS name of the comparison pair.
A pointer to a string that represents the second DNS name of the comparison pair.
Name comparisons are not case sensitive, and trailing dots are ignored.
As with other DNS comparison functions, the DnsNameCompare function deems different encoding as an immediate indication of differing values, and as such, the same names with different characters encoding will not be reported identically.