|
Navigation
- Home
- Community
- Development
- myReactOS
- Fundraiser 2012
Doxygen
- Main Page
- Alphabetical List
- Data Structures
- Directories
- File List
- Data Fields
- Globals
- Related Pages
Search
|
|
|
Definition at line 47 of file ioctl.c.
{
PWSSOCKET Socket;
INT Status;
INT ErrorCode;
LPWSATHREADID ThreadId;
DPRINT("WSAIoctl: %lx, %lx\n", s, dwIoControlCode);
if ((ErrorCode = WsQuickPrologTid(&ThreadId)) == ERROR_SUCCESS)
{
if ((Socket = WsSockGetSocket(s)))
{
Status = Socket->Provider->Service.lpWSPIoctl(s,
dwIoControlCode,
lpvInBuffer,
cbInBuffer,
lpvOutBuffer,
cbOutBuffer,
lpcbBytesReturned,
lpOverlapped,
lpCompletionRoutine,
ThreadId,
&ErrorCode);
WsSockDereference(Socket);
if (Status == ERROR_SUCCESS) return Status;
}
else
{
ErrorCode = WSAENOTSOCK;
}
}
SetLastError(ErrorCode);
return SOCKET_ERROR;
}
|
Generated on Fri May 25 2012 05:19:24 for ReactOS by
1.7.6.1
|