ReactOS  0.4.14-dev-293-g2b39b42
stubs.c
Go to the documentation of this file.
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
16  OUT LPINT lpErrno)
17 {
19 
20  return 0;
21 }
22 
23 
24 BOOL
25 WSPAPI
27  IN SOCKET s,
28  IN OUT LPWSABUF lpQOSName,
29  OUT LPQOS lpQOS,
30  OUT LPINT lpErrno)
31 {
33 
34  return FALSE;
35 }
36 
37 
38 SOCKET
39 WSPAPI
41  IN SOCKET s,
43  IN INT namelen,
44  IN LPWSABUF lpCallerData,
45  OUT LPWSABUF lpCalleeData,
46  IN LPQOS lpSQOS,
47  IN LPQOS lpGQOS,
49  OUT LPINT lpErrno)
50 {
52 
53  return (SOCKET)0;
54 }
55 
56 BOOL
57 WSPAPI
59  IN SOCKET sListenSocket,
61  OUT PVOID lpOutputBuffer,
67 {
69 
70  return FALSE;
71 }
72 
73 BOOL
74 WSPAPI
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,
83 {
85 
86  return FALSE;
87 }
88 
89 BOOL
90 WSPAPI
92  IN SOCKET hSocket,
96 {
98 
99  return FALSE;
100 }
101 
102 VOID
103 WSPAPI
105  IN PVOID lpOutputBuffer,
109  OUT struct sockaddr **LocalSockaddr,
111  OUT struct sockaddr **RemoteSockaddr,
113 {
115 }
116 
117 /* EOF */
_In_ DWORD _In_ DWORD _In_ DWORD _Outptr_result_bytebuffer_ LocalSockaddrLength struct sockaddr ** LocalSockaddr
Definition: mswsock.h:114
#define IN
Definition: typedefs.h:38
_In_ SOCKET _In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD lpdwBytesReceived
Definition: mswsock.h:102
BOOL 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)
Definition: stubs.c:58
_In_ DWORD _In_ DWORD _In_ DWORD _Outptr_result_bytebuffer_ LocalSockaddrLength struct sockaddr _Out_ LPINT LocalSockaddrLength
Definition: mswsock.h:114
BOOL WSPAPI WSPGetQOSByName(IN SOCKET s, IN OUT LPWSABUF lpQOSName, OUT LPQOS lpQOS, OUT LPINT lpErrno)
Definition: stubs.c:26
_In_ DWORD _In_ DWORD _In_ DWORD _Outptr_result_bytebuffer_ LocalSockaddrLength struct sockaddr _Out_ LPINT _Outptr_result_bytebuffer_ RemoteSockaddrLength struct sockaddr ** RemoteSockaddr
Definition: mswsock.h:116
#define UNIMPLEMENTED
Definition: stubs.c:20
GLint namelen
Definition: glext.h:7232
int32_t INT
Definition: typedefs.h:56
INT WSPAPI WSPCancelBlockingCall(OUT LPINT lpErrno)
Definition: stubs.c:15
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_ SOCKET _In_ DWORD _In_ DWORD _In_ DWORD dwRemoteAddressLength
Definition: mswsock.h:102
r reserved
Definition: btrfs.c:2893
SOCKET 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)
Definition: stubs.c:40
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ SOCKET sAcceptSocket
Definition: mswsock.h:100
VOID 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)
Definition: stubs.c:104
_In_ SOCKET _In_ DWORD _In_ DWORD dwLocalAddressLength
Definition: mswsock.h:102
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
GLdouble s
Definition: gl.h:2039
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED lpOverlapped
Definition: mswsock.h:90
_In_ SOCKET _In_ DWORD dwReceiveDataLength
Definition: mswsock.h:102
BOOL 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)
Definition: stubs.c:75
Definition: name.c:36
#define OUT
Definition: typedefs.h:39
uint32_t * LPDWORD
Definition: typedefs.h:57
UINT_PTR SOCKET
Definition: winsock.h:47
_In_ DWORD _In_ DWORD _In_ DWORD _Outptr_result_bytebuffer_ LocalSockaddrLength struct sockaddr _Out_ LPINT _Outptr_result_bytebuffer_ RemoteSockaddrLength struct sockaddr _Out_ LPINT RemoteSockaddrLength
Definition: mswsock.h:116
#define CONST
Definition: pedump.c:81
BOOL WSPAPI WSPDisconnectEx(IN SOCKET hSocket, IN LPOVERLAPPED lpOverlapped, IN DWORD dwFlags, IN DWORD reserved)
Definition: stubs.c:91
int * LPINT
Definition: windef.h:178
#define WSPAPI
Definition: ws2spi.h:39