Developer

API Reference

IDNS_Start()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IDNS
Description
Starts the query, and schedules a callback to be called.
In order to prevent the callback from firing, and to cancel the operation, the user should release all references to the IDNS.
IDNS_Start() should not be called twice.
Parameters
  • pIDNS
    []:
    The IDNS interface pointer
  • pfn
    []:
    The function to be called after the operation completes. This will only be called if the operation starts successfully (that is, when IDNS_Start() has returned AEE_SUCCESS).
  • pcxt
    []:
    A void pointer to be passed to the function specified by pfn, when it is called.
Interface
Prototype
IDNS_Start(IDNS *pIDNS, CallbackNotifyFunc pfn, void *pcxt);
Return
AEE_SUCCESS: The operation started. This should always succeed when called the first time. AEE_NET_EINVAL: IDNS_Start() was called more than once.
Side Effect
None.
Comment
Releasing all references to the IDNS object will cancel the operation and prevent the callback from being called.
  • Follow