xref: /reactos/dll/win32/msafd/misc/stubs.c (revision cdf90707)
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
15 WSPCancelBlockingCall(
16     OUT LPINT lpErrno)
17 {
18     UNIMPLEMENTED;
19 
20     return 0;
21 }
22 
23 
24 BOOL
25 WSPAPI
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
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
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
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
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
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