Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure is used to set flags for use in the DNS_RECORDstructure.

Syntax

typedef struct _DnsRecordFlags {
  DWORD 
Section :2;
  DWORD 
Delete :1;
  DWORD 
CharSet :2;
  DWORD 
Unused :3;
  DWORD 
Reserved :24;
} DNS_RECORD_FLAGS;

Members

Section

[in] Specifies the section of interest returned from the DnsQuery function call. The Section member is returned as one of the following:

  • DNSREC_QUESTION

  • DNSREC_ANSWER

  • DNSREC_AUTHORITY

  • DNSREC_ADDITIONAL

Delete

[in] Reserved. Do not use this member.

CharSet

[in] Specifies the character set used in the associated function call. The CharSet member is returned as one of the following:

  • DnsCharSetUnicode

  • DnsCharSetUtf8

  • DnsCharSetAnsi

Unused

[in] This member is not used.

Reserved

Reserved for future use.

Remarks

None.

Requirements

Header windns.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DNS Structures