DnsRecordCompare function
The DnsRecordCompare function compares two DNS resource records (RR).
Syntax
BOOL WINAPI DnsRecordCompare( _In_ PDNS_RECORD pRecord1, _In_ PDNS_RECORD pRecord2 );
Parameters
- pRecord1 [in]
-
A pointer to a DNS_RECORD structure that contains the first DNS RR of the comparison pair.
- pRecord2 [in]
-
A pointer to a DNS_RECORD structure that contains the second DNS RR of the comparison pair.
Return value
Returns TRUE if the compared records are equivalent, FALSE if they are not.
Remarks
When comparing records, DNS RRs that are stored using different character encoding are treated by the DnsRecordCompare function as different, even if the records are otherwise equivalent.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also