Platform SDK: Network Management

DnsRecordSetCopyEx

The DnsRecordSetCopyEx function creates a copy of a specified resource record set. The DnsRecordSetCopyEx function is also capable of converting the character encoding during the copy operation.

PDNS_RECORD WINAPI DnsRecordSetCopyEx(
  PDNS_RECORD pRecordSet,
  DNS_CHARSET CharSetIn,
  DNS_CHARSET CharSetOut
);

Parameters

pRecordSet
[in] Pointer to the resource record set to be copied.
CharSetIn
[in] Character encoding of the source resource record set.
CharSetOut
[in] Character encoding required of the destination record set.

Remarks

The CharSetIn parameter is used only if the character encoding of the source resource record set is not specified in pRecordSet.

Return Values

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

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Windns.h.
  Library: Use Dnsapi.lib.

See Also

DnsRecordCopyEx