GetAddrInfoExOverlappedResult function
The GetAddrInfoExOverlappedResult function gets the return code for an OVERLAPPED structure used by an asynchronous operation for the GetAddrInfoEx function.
Syntax
int WSAAPI GetAddrInfoExOverlappedResult(
LPOVERLAPPED lpOverlapped
);
Parameters
- lpOverlapped
-
A pointer to an OVERLAPPED structure for the asynchronous operation.
Return value
On success, the GetAddrInfoExOverlappedResult function returns NO_ERROR (0). When the underlying operation hasn't yet completed, the GetAddrInfoExOverlappedResult function returns WSAEINPROGRESS. On failure, the GetAddrInfoExOverlappedResult function returns WSAEINVAL.
Remarks
The GetAddrInfoExOverlappedResult function is used with the GetAddrInfoEx function for asynchronous operations.
If the GetAddrInfoExOverlappedResult function returns WSAEINVAL, the only way to distinguish whether GetAddrInfoExOverlappedResult function or the asynchronous operation returned the error is to check that the lpOverlapped parameter was not NULL. If the lpOverlapped parameter was NULL, then the GetAddrInfoExOverlappedResult function was passed a NULL pointer and failed.
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012