Platform SDK: Network Management |
The DnsRecordCopyEx function creates a copy of a specified resource record. The DnsRecordCopyEx function is also capable of converting the character encoding during the copy operation.
PDNS_RECORD WINAPI DnsRecordCopyEx( PDNS_RECORD pRecord, DNS_CHARSET CharSetIn, DNS_CHARSET CharSetOut );
The CharSetIn parameter is used only if the character encoding of the source resource record is not specified in pRecord.
Successful execution returns a pointer to the (newly created) destination record. Otherwise, returns NULL.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Windns.h.
Library: Use Dnsapi.lib.