DNS_QUERY_RAW_CANCEL structure (windns.h)
Important
Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a DNS raw query cancel handle (see DnsQueryRaw and DnsCancelQueryRaw).
This structure must persist until the query completion callback is made (see DNS_QUERY_RAW_COMPLETION_ROUTINE), and it can't be copied elsewhere after it's been passed into DnsQueryRaw. If the query completion callback hasn't been called by the time DnsCancelQueryRaw returns, then the query completion callback will lead to the callback being made with a queryStatus of ERROR_CANCELLED in the queryResults parameter. No special cleanup is required for this structure once the query is complete. Similar to the cancel structure used for DnsQueryEx; for more details, see DNS_QUERY_CANCEL.
Syntax
typedef struct _DNS_QUERY_RAW_CANCEL {
CHAR reserved[32];
} DNS_QUERY_RAW_CANCEL;
Members
reserved[32]
Type: CHAR[]
Opaque handle structure used for cancel.
Requirements
Requirement | Value |
---|---|
Header | windns.h |