Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 533 of file sockctrl.c.
{ PWSSOCKET Socket; INT Status; INT ErrorCode; DPRINT("WSAGetOverlappedResult: %lx, %lx\n", s, lpOverlapped); /* Check for WSAStartup */ if ((ErrorCode = WsQuickProlog()) == ERROR_SUCCESS) { /* Get the Socket Context */ if ((Socket = WsSockGetSocket(s))) { /* Make the call */ Status = Socket->Provider->Service.lpWSPGetOverlappedResult(s, lpOverlapped, lpcbTransfer, fWait, lpdwFlags, &ErrorCode); /* Deference the Socket Context */ WsSockDereference(Socket); /* Return Provider Value */ if (Status) return Status; } else { /* No Socket Context Found */ ErrorCode = WSAENOTSOCK; } } /* Return with an Error */ SetLastError(ErrorCode); return FALSE; }