DnsServiceRegisterCancel function (windns.h)
Used to cancel a pending registration operation.
Syntax
DWORD DnsServiceRegisterCancel(
PDNS_SERVICE_CANCEL pCancelHandle
);
Parameters
pCancelHandle
A pointer to the DNS_SERVICE_CANCEL structure that was passed to the DnsServiceRegister call that is to be cancelled.
Return value
If successful, returns ERROR_SUCCESS. Returns ERROR_CANCELLED if the operation was already cancelled, or ERROR_INVALID_PARAMETER if the handle is invalid.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Target Platform | Windows |
Header | windns.h |
Library | dnsapi.lib |
DLL | dnsapi.dll |