1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Ancillary Function Driver DLL
4 * FILE: dll/win32/msafd/misc/stubs.c
5 * PURPOSE: Stubs
6 * PROGRAMMERS: Casper S. Hornstrup (chorns@users.sourceforge.net)
7 * REVISIONS:
8 * CSH 01/09-2000 Created
9 */
10
11 #include <msafd.h>
12
13 INT
14 WSPAPI
WSPCancelBlockingCall(OUT LPINT lpErrno)15 WSPCancelBlockingCall(
16 OUT LPINT lpErrno)
17 {
18 UNIMPLEMENTED;
19
20 return 0;
21 }
22
23
24 BOOL
25 WSPAPI
WSPGetQOSByName(IN SOCKET s,IN OUT LPWSABUF lpQOSName,OUT LPQOS lpQOS,OUT LPINT lpErrno)26 WSPGetQOSByName(
27 IN SOCKET s,
28 IN OUT LPWSABUF lpQOSName,
29 OUT LPQOS lpQOS,
30 OUT LPINT lpErrno)
31 {
32 UNIMPLEMENTED;
33
34 return FALSE;
35 }
36
37
38 SOCKET
39 WSPAPI
WSPJoinLeaf(IN SOCKET s,IN CONST SOCKADDR * name,IN INT namelen,IN LPWSABUF lpCallerData,OUT LPWSABUF lpCalleeData,IN LPQOS lpSQOS,IN LPQOS lpGQOS,IN DWORD dwFlags,OUT LPINT lpErrno)40 WSPJoinLeaf(
41 IN SOCKET s,
42 IN CONST SOCKADDR *name,
43 IN INT namelen,
44 IN LPWSABUF lpCallerData,
45 OUT LPWSABUF lpCalleeData,
46 IN LPQOS lpSQOS,
47 IN LPQOS lpGQOS,
48 IN DWORD dwFlags,
49 OUT LPINT lpErrno)
50 {
51 UNIMPLEMENTED;
52
53 return (SOCKET)0;
54 }
55
56 BOOL
57 WSPAPI
WSPAcceptEx(IN SOCKET sListenSocket,IN SOCKET sAcceptSocket,OUT PVOID lpOutputBuffer,IN DWORD dwReceiveDataLength,IN DWORD dwLocalAddressLength,IN DWORD dwRemoteAddressLength,OUT LPDWORD lpdwBytesReceived,IN OUT LPOVERLAPPED lpOverlapped)58 WSPAcceptEx(
59 IN SOCKET sListenSocket,
60 IN SOCKET sAcceptSocket,
61 OUT PVOID lpOutputBuffer,
62 IN DWORD dwReceiveDataLength,
63 IN DWORD dwLocalAddressLength,
64 IN DWORD dwRemoteAddressLength,
65 OUT LPDWORD lpdwBytesReceived,
66 IN OUT LPOVERLAPPED lpOverlapped)
67 {
68 UNIMPLEMENTED;
69
70 return FALSE;
71 }
72
73 BOOL
74 WSPAPI
WSPConnectEx(IN SOCKET s,IN const struct sockaddr * name,IN int namelen,IN PVOID lpSendBuffer,IN DWORD dwSendDataLength,OUT LPDWORD lpdwBytesSent,IN OUT LPOVERLAPPED lpOverlapped)75 WSPConnectEx(
76 IN SOCKET s,
77 IN const struct sockaddr *name,
78 IN int namelen,
79 IN PVOID lpSendBuffer,
80 IN DWORD dwSendDataLength,
81 OUT LPDWORD lpdwBytesSent,
82 IN OUT LPOVERLAPPED lpOverlapped)
83 {
84 UNIMPLEMENTED;
85
86 return FALSE;
87 }
88
89 BOOL
90 WSPAPI
WSPDisconnectEx(IN SOCKET hSocket,IN LPOVERLAPPED lpOverlapped,IN DWORD dwFlags,IN DWORD reserved)91 WSPDisconnectEx(
92 IN SOCKET hSocket,
93 IN LPOVERLAPPED lpOverlapped,
94 IN DWORD dwFlags,
95 IN DWORD reserved)
96 {
97 UNIMPLEMENTED;
98
99 return FALSE;
100 }
101
102 VOID
103 WSPAPI
WSPGetAcceptExSockaddrs(IN PVOID lpOutputBuffer,IN DWORD dwReceiveDataLength,IN DWORD dwLocalAddressLength,IN DWORD dwRemoteAddressLength,OUT struct sockaddr ** LocalSockaddr,OUT LPINT LocalSockaddrLength,OUT struct sockaddr ** RemoteSockaddr,OUT LPINT RemoteSockaddrLength)104 WSPGetAcceptExSockaddrs(
105 IN PVOID lpOutputBuffer,
106 IN DWORD dwReceiveDataLength,
107 IN DWORD dwLocalAddressLength,
108 IN DWORD dwRemoteAddressLength,
109 OUT struct sockaddr **LocalSockaddr,
110 OUT LPINT LocalSockaddrLength,
111 OUT struct sockaddr **RemoteSockaddr,
112 OUT LPINT RemoteSockaddrLength)
113 {
114 UNIMPLEMENTED;
115 }
116
117 /* EOF */
118