Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Windns.h

Library

Dnsapi.lib

DLL

Dnsapi.dll

See also

DnsRecordSetCompare
DNS_RECORD

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.