ReactOS  0.4.15-dev-2721-g5912c11
nspinstl.c
Go to the documentation of this file.
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
24  IN BOOL fEnable)
25 {
28  return SOCKET_ERROR;
29 }
30 
31 /*
32  * @unimplemented
33  */
34 INT
35 WSPAPI
36 WSCInstallNameSpace(IN LPWSTR lpszIdentifier,
37  IN LPWSTR lpszPathName,
38  IN DWORD dwNameSpace,
39  IN DWORD dwVersion,
40  IN LPGUID lpProviderId)
41 {
44  return SOCKET_ERROR;
45 }
46 
47 /*
48  * @unimplemented
49  */
50 INT
51 WSPAPI
53 {
56  return SOCKET_ERROR;
57 }
58 
59 /*
60  * @unimplemented
61  */
62 INT
63 WSPAPI
65  const WCHAR FAR * lpszProviderDllPath,
66  const LPWSAPROTOCOL_INFOW lpProtocolInfoList,
67  DWORD dwNumberOfEntries,
68  LPINT lpErrno)
69 {
72  return SOCKET_ERROR;
73 }
74 
75 /*
76  * @unimplemented
77  */
78 INT
79 WSPAPI
81  DWORD dwNumberOfEntries)
82 {
85  return SOCKET_ERROR;
86 }
#define SOCKET_ERROR
Definition: winsock.h:333
#define IN
Definition: typedefs.h:39
INT WSPAPI WSCUpdateProvider(LPGUID lpProviderId, const WCHAR FAR *lpszProviderDllPath, const LPWSAPROTOCOL_INFOW lpProtocolInfoList, DWORD dwNumberOfEntries, LPINT lpErrno)
Definition: nspinstl.c:64
#define WSAEINVAL
Definition: winerror.h:1946
INT WSPAPI WSCUnInstallNameSpace(IN LPGUID lpProviderId)
Definition: nspinstl.c:52
int32_t INT
Definition: typedefs.h:58
INT WSPAPI WSCWriteNameSpaceOrder(LPGUID lpProviderId, DWORD dwNumberOfEntries)
Definition: nspinstl.c:80
unsigned int BOOL
Definition: ntddk_ex.h:94
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned long DWORD
Definition: ntddk_ex.h:95
#define SetLastError(x)
Definition: compat.h:611
INT WSPAPI WSCInstallNameSpace(IN LPWSTR lpszIdentifier, IN LPWSTR lpszPathName, IN DWORD dwNameSpace, IN DWORD dwVersion, IN LPGUID lpProviderId)
Definition: nspinstl.c:36
#define UNIMPLEMENTED
Definition: debug.h:115
#define FAR
Definition: zlib.h:34
WCHAR * LPWSTR
Definition: xmlstorage.h:184
INT WSPAPI WSCEnableNSProvider(IN LPGUID lpProviderId, IN BOOL fEnable)
Definition: nspinstl.c:23
int * LPINT
Definition: windef.h:178
#define WSPAPI
Definition: ws2spi.h:39