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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for