C language function:DnsCancelQuery sample codes

Search sample code in the internet.It is the result.


TITLE : Windows-classic-samples/DnsQueryEx.cpp at master Microsoft/Windows-classic-samples GitHub
DnsCancelQuery(&QueryContext->QueryCancelContext);.......
http://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/DNSAsyncQuery/cpp/DnsQueryEx.cpp


TITLE : pinvoke.net: dnsquery (dnsapi)
resCode = DnsCancelQuery(cancelBuffer);.......
http://www.pinvoke.net/default.aspx/dnsapi.dnsquery
TITLE : pinvoke.net: dnsquery (dnsapi)
private static extern int DnsCancelQuery(IntPtr cancelHandle);.......
http://www.pinvoke.net/default.aspx/dnsapi.dnsquery
search Google

https://www.google.com/#q=DnsCancelQuery