xref: /reactos/dll/win32/ws2_32/src/nspinstl.c (revision 682f85ad)
1 /*
2  * COPYRIGHT:   See COPYING in the top level directory
3  * PROJECT:     ReactOS WinSock 2 API
4  * FILE:        dll/win32/ws2_32/src/nspinstl.c
5  * PURPOSE:     Namespace Provider Installation
6  * PROGRAMMER:  Alex Ionescu (alex@relsoft.net)
7  */
8 
9 /* INCLUDES ******************************************************************/
10 
11 #include <ws2_32.h>
12 
13 #define NDEBUG
14 #include <debug.h>
15 
16 /* FUNCTIONS *****************************************************************/
17 
18 /*
19  * @unimplemented
20  */
21 INT
22 WSPAPI
WSCEnableNSProvider(IN LPGUID lpProviderId,IN BOOL fEnable)23 WSCEnableNSProvider(IN LPGUID lpProviderId,
24                     IN BOOL fEnable)
25 {
26     UNIMPLEMENTED;
27     SetLastError(WSAEINVAL);
28     return SOCKET_ERROR;
29 }
30 
31 /*
32  * @unimplemented
33  */
34 INT
35 WSPAPI
WSCInstallNameSpace(IN LPWSTR lpszIdentifier,IN LPWSTR lpszPathName,IN DWORD dwNameSpace,IN DWORD dwVersion,IN LPGUID lpProviderId)36 WSCInstallNameSpace(IN LPWSTR lpszIdentifier,
37                     IN LPWSTR lpszPathName,
38                     IN DWORD dwNameSpace,
39                     IN DWORD dwVersion,
40                     IN LPGUID lpProviderId)
41 {
42     UNIMPLEMENTED;
43     SetLastError(WSAEINVAL);
44     return SOCKET_ERROR;
45 }
46 
47 /*
48  * @unimplemented
49  */
50 INT
51 WSPAPI
WSCUnInstallNameSpace(IN LPGUID lpProviderId)52 WSCUnInstallNameSpace(IN LPGUID lpProviderId)
53 {
54     UNIMPLEMENTED;
55     SetLastError(WSAEINVAL);
56     return SOCKET_ERROR;
57 }
58 
59 /*
60  * @unimplemented
61  */
62 INT
63 WSPAPI
WSCUpdateProvider(LPGUID lpProviderId,const WCHAR FAR * lpszProviderDllPath,const LPWSAPROTOCOL_INFOW lpProtocolInfoList,DWORD dwNumberOfEntries,LPINT lpErrno)64 WSCUpdateProvider(LPGUID lpProviderId,
65                   const WCHAR FAR * lpszProviderDllPath,
66                   const LPWSAPROTOCOL_INFOW lpProtocolInfoList,
67                   DWORD dwNumberOfEntries,
68                   LPINT lpErrno)
69 {
70     UNIMPLEMENTED;
71     SetLastError(WSAEINVAL);
72     return SOCKET_ERROR;
73 }
74 
75 /*
76  * @unimplemented
77  */
78 INT
79 WSPAPI
WSCWriteNameSpaceOrder(LPGUID lpProviderId,DWORD dwNumberOfEntries)80 WSCWriteNameSpaceOrder(LPGUID lpProviderId,
81                        DWORD dwNumberOfEntries)
82 {
83     UNIMPLEMENTED;
84     SetLastError(WSAEINVAL);
85     return SOCKET_ERROR;
86 }
87