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

DnsRecordCopyEx function

The DnsRecordCopyEx function creates a copy of a specified resource record (RR). The DnsRecordCopyEx function is also capable of converting the character encoding during the copy operation.

Syntax


PDNS_RECORD WINAPI DnsRecordCopyEx(
  _In_  PDNS_RECORD pRecord,
  _In_  DNS_CHARSET CharSetIn,
  _In_  DNS_CHARSET CharSetOut
);

Parameters

pRecord [in]

A pointer to a DNS_RECORD structure that contains the RR to be copied.

CharSetIn [in]

A DNS_CHARSET value that specifies the character encoding of the source RR.

CharSetOut [in]

A DNS_CHARSET value that specifies the character encoding required of the destination record.

Return value

Successful execution returns a pointer to the (newly created) destination record. Otherwise, returns null.

Remarks

The CharSetIn parameter is used only if the character encoding of the source RR is not specified in pRecord.

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

DnsRecordSetCopyEx
DNS_RECORD

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.