DnsRecordSetCopyEx function (windns.h)
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.
Syntax
PDNS_RECORD DnsRecordSetCopyEx(
[in] PDNS_RECORD pRecordSet,
[in] DNS_CHARSET CharSetIn,
[in] DNS_CHARSET CharSetOut
);
Parameters
[in] pRecordSet
A pointer to a DNS_RECORD structure that contains the resource record set to be copied.
[in] CharSetIn
A DNS_CHARSET value that specifies the character encoding of the source resource record set.
[in] CharSetOut
A DNS_CHARSET value that specifies the character encoding required of the destination record set.
Return value
Successful execution returns a pointer to the newly created destination record set. Otherwise, it returns null.
Remarks
The CharSetIn parameter is used only if the character encoding of the source resource record set is not specified in pRecordSet.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | windns.h |
Library | Dnsapi.lib |
DLL | Dnsapi.dll |