DNS_QUERY_COMPLETION_ROUTINE callback function (windns.h)
The DNS_QUERY_COMPLETION_ROUTINE callback is used to asynchronously return the results of a DNS query.
Syntax
DNS_QUERY_COMPLETION_ROUTINE DnsQueryCompletionRoutine;
void DnsQueryCompletionRoutine(
[in] PVOID pQueryContext,
[in, out] PDNS_QUERY_RESULT pQueryResults
)
{...}
Parameters
[in] pQueryContext
A pointer to a user context.
[in, out] pQueryResults
A pointer to a DNS_QUERY_RESULT structure that contains the DNS query results from a call to DnsQueryEx.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | windns.h |