DnsRecordSetCompare function
The DnsRecordSetCompare function compares two RR sets.
Syntax
BOOL WINAPI DnsRecordSetCompare( _Inout_ PDNS_RECORD pRR1, _Inout_ PDNS_RECORD pRR2, _Out_opt_ PDNS_RECORD *ppDiff1, _Out_opt_ PDNS_RECORD *ppDiff2 );
Parameters
- pRR1 [in, out]
-
A pointer to a DNS_RECORD structure that contains the first DNS RR set of the comparison pair.
- pRR2 [in, out]
-
A pointer to a DNS_RECORD structure that contains the second DNS resource record set of the comparison pair.
- ppDiff1 [out, optional]
-
A pointer to a DNS_RECORD pointer that contains the list of resource records built as a result of the arithmetic performed on them: pRRSet1 minus pRRSet2.
- ppDiff2 [out, optional]
-
A pointer to a DNS_RECORD pointer that contains the list of resource records built as a result of the arithmetic performed on them: pRRSet2 minus pRRSet1.
Return value
Returns TRUE if the compared record sets are equivalent, FALSE if they are not.
Remarks
When comparing record sets, DNS resource records that are stored using different character encoding are treated by the DnsRecordSetCompare function as equivalent. Contrast this to the DnsRecordCompare function, in which equivalent records with different encoding are not returned as equivalent records.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also