- This function is used to abort a pending resolution request. \r
- After calling this function, Token.Status will be set to EFI_ABORTED and then Token.\r
-\r
- @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.\r
- @param[in] Token Pointer to a token that has been issued by EFI_DNS6_PROTOCOL.HostNameToIp(), \r
- EFI_DNS6_PROTOCOL.IpToHostName() or EFI_DNS6_PROTOCOL.GeneralLookup(). \r
- If NULL, all pending tokens are aborted.\r
-\r
- @retval EFI_SUCCESS Incoming or outgoing data was processed.\r
- @retval EFI_INVALID_PARAMETER This is NULL. \r
- @retval EFI_NOT_STARTED This EFI DNS Protocol instance has not been started. \r
- @retval EFI_NOT_FOUND When Token is not NULL, and the asynchronous DNS operation was not found in the transmit queue. \r
- It was either completed or was not issued by HostNameToIp(), IpToHostName() or GeneralLookup().\r
- \r
+ Abort an asynchronous DNS operation, including translation between IP and Host, and\r
+ general look up behavior.\r
+\r
+ The Cancel() function is used to abort a pending resolution request. After calling\r
+ this function, Token.Status will be set to EFI_ABORTED and then Token.Event will be\r
+ signaled. If the token is not in one of the queues, which usually means that the\r
+ asynchronous operation has completed, this function will not signal the token and\r
+ EFI_NOT_FOUND is returned.\r
+\r
+ @param[in] This Pointer to EFI_DNS6_PROTOCOL instance.\r
+ @param[in] Token Pointer to a token that has been issued by\r
+ EFI_DNS6_PROTOCOL.HostNameToIp (),\r
+ EFI_DNS6_PROTOCOL.IpToHostName() or\r
+ EFI_DNS6_PROTOCOL.GeneralLookup().\r
+ If NULL, all pending tokens are aborted.\r
+\r
+ @retval EFI_SUCCESS Incoming or outgoing data was processed.\r
+ @retval EFI_NOT_STARTED This EFI DNS6 Protocol instance has not been started.\r
+ @retval EFI_INVALID_PARAMETER This is NULL.\r
+ @retval EFI_NO_MAPPING There's no source address is available for use.\r
+ @retval EFI_NOT_FOUND When Token is not NULL, and the asynchronous DNS\r
+ operation was not found in the transmit queue. It\r
+ was either completed or was not issued by\r
+ HostNameToIp(), IpToHostName() or GeneralLookup().\r