DNS_SERVICE_REGISTER_COMPLETE callback function (windns.h)
Used to notify your application that service registration has completed.
Syntax
DNS_SERVICE_REGISTER_COMPLETE DnsServiceRegisterComplete;
void DnsServiceRegisterComplete(
DWORD Status,
PVOID pQueryContext,
PDNS_SERVICE_INSTANCE pInstance
)
{...}
Parameters
Status
A value that contains the status of the registration.
pQueryContext
A pointer to the user context that was passed to DnsServiceRegister.
pInstance
A pointer to a DNS_SERVICE_INSTANCE structure that describes the service that was registered. If not nullptr
, then you are responsible for freeing the data using DnsServiceFreeInstance.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Target Platform | Windows |
Header | windns.h |