DnsRecordSetDetach function (windns.h)

The DnsRecordSetDetach function detaches the first record set from a specified list of DNS records.

Syntax

PDNS_RECORD DnsRecordSetDetach(
  [in, out] PDNS_RECORD pRecordList
);

Parameters

[in, out] pRecordList

A pointer, on input, to a DNS_RECORD structure that contains the list prior to the detachment of the first DNS record in the list of DNS records. A pointer, on output to a DNS_RECORD structure that contains the list subsequent to the detachment of the DNS record.

Return value

On return, the DnsRecordSetDetach function points to the detached DNS record set.

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

See also

DNS_RECORD

DnsQuery

DnsRecordCompare

DnsRecordSetCompare