[NETAPI32]
[reactos.git] / reactos / dll / win32 / netapi32 / obsolete.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: NetAPI DLL
4 * FILE: dll/win32/netapi32/obsolete.c
5 * PURPOSE: Obsolete functions
6 * PROGRAMMERS: Eric Kohl <eric.kohl@reactos.org>
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 #include "netapi32.h"
12 #include <lmalert.h>
13 #include <lmaudit.h>
14 #include <lmconfig.h>
15 #include <lmerrlog.h>
16 #include <lmmsg.h>
17 #include <lmsvc.h>
18
19 WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
20
21 /* FUNCTIONS *****************************************************************/
22
23 NET_API_STATUS
24 WINAPI
25 NetAlertRaise(
26 _In_ LPCWSTR AlertEventName,
27 _In_ LPVOID Buffer,
28 _In_ DWORD BufferSize)
29 {
30 return ERROR_NOT_SUPPORTED;
31 }
32
33
34 NET_API_STATUS
35 WINAPI
36 NetAlertRaiseEx(
37 _In_ LPCWSTR AlertEventName,
38 _In_ LPVOID VariableInfo,
39 _In_ DWORD VariableInfoSize,
40 _In_ LPCWSTR ServiceName)
41 {
42 return ERROR_NOT_SUPPORTED;
43 }
44
45
46 NET_API_STATUS
47 WINAPI
48 NetAuditClear(
49 _In_opt_ LPCWSTR server,
50 _In_opt_ LPCWSTR backupfile,
51 _In_opt_ LPCWSTR service)
52 {
53 return ERROR_NOT_SUPPORTED;
54 }
55
56
57 NET_API_STATUS
58 WINAPI
59 NetAuditRead(
60 _In_opt_ LPCWSTR server,
61 _In_opt_ LPCWSTR service,
62 _In_ LPHLOG auditloghandle,
63 _In_ DWORD offset,
64 _In_opt_ LPDWORD reserved1,
65 _In_ DWORD reserved2,
66 _In_ DWORD offsetflag,
67 _Out_ LPBYTE *bufptr,
68 _In_ DWORD prefmaxlen,
69 _Out_ LPDWORD bytesread,
70 _Out_ LPDWORD totalavailable)
71 {
72 return ERROR_NOT_SUPPORTED;
73 }
74
75
76 NET_API_STATUS
77 WINAPI
78 NetAuditWrite(
79 _In_ DWORD type,
80 _In_ LPBYTE buf,
81 _In_ DWORD numbytes,
82 _In_opt_ LPCWSTR service,
83 _In_opt_ LPBYTE reserved)
84 {
85 return ERROR_NOT_SUPPORTED;
86 }
87
88
89 NET_API_STATUS
90 WINAPI
91 NetConfigGet(
92 _In_opt_ LPCWSTR server,
93 _In_ LPCWSTR component,
94 _In_ LPCWSTR parameter,
95 _Out_ LPBYTE *bufptr)
96 {
97 return ERROR_NOT_SUPPORTED;
98 }
99
100
101 NET_API_STATUS
102 WINAPI
103 NetConfigGetAll(
104 _In_opt_ LPCWSTR server,
105 _In_ LPCWSTR component,
106 _Out_ LPBYTE *bufptr)
107 {
108 return ERROR_NOT_SUPPORTED;
109 }
110
111
112 NET_API_STATUS
113 WINAPI
114 NetConfigSet(
115 _In_opt_ LPCWSTR server,
116 _In_opt_ LPCWSTR reserved1,
117 _In_ LPCWSTR component,
118 _In_ DWORD level,
119 _In_ DWORD reserved2,
120 _In_ LPBYTE buf,
121 _In_ DWORD reserved3)
122 {
123 return ERROR_NOT_SUPPORTED;
124 }
125
126
127 NET_API_STATUS
128 WINAPI
129 NetErrorLogClear(
130 _In_opt_ LPCWSTR UncServerName,
131 _In_opt_ LPCWSTR BackupFile,
132 _In_opt_ LPBYTE Reserved)
133 {
134 return ERROR_NOT_SUPPORTED;
135 }
136
137
138 NET_API_STATUS
139 WINAPI
140 NetErrorLogRead(
141 _In_opt_ LPCWSTR UncServerName,
142 _In_opt_ LPWSTR Reserved1,
143 _In_ LPHLOG ErrorLogHandle,
144 _In_ DWORD Offset,
145 _In_opt_ LPDWORD Reserved2,
146 _In_ DWORD Reserved3,
147 _In_ DWORD OffsetFlag,
148 _Deref_out_ LPBYTE *BufPtr,
149 _In_ DWORD PrefMaxSize,
150 _Out_ LPDWORD BytesRead,
151 _Out_ LPDWORD TotalAvailable)
152 {
153 return ERROR_NOT_SUPPORTED;
154 }
155
156
157 NET_API_STATUS
158 WINAPI
159 NetErrorLogWrite(
160 _In_opt_ LPBYTE Reserved1,
161 _In_ DWORD Code,
162 _In_ LPCWSTR Component,
163 _In_ LPBYTE Buffer,
164 _In_ DWORD NumBytes,
165 _In_ LPBYTE MsgBuf,
166 _In_ DWORD StrCount,
167 _In_opt_ LPBYTE Reserved2)
168 {
169 return ERROR_NOT_SUPPORTED;
170 }
171
172
173 NET_API_STATUS
174 WINAPI
175 NetMessageBufferSend(
176 _In_ LPCWSTR servername,
177 _In_ LPCWSTR msgname,
178 _In_ LPCWSTR fromname,
179 _In_ LPBYTE buf,
180 _In_ DWORD buflen)
181 {
182 return ERROR_NOT_SUPPORTED;
183 }
184
185
186 NET_API_STATUS
187 WINAPI
188 NetMessageNameAdd(
189 _In_ LPCWSTR servername,
190 _In_ LPCWSTR msgname)
191 {
192 return ERROR_NOT_SUPPORTED;
193 }
194
195
196 NET_API_STATUS
197 WINAPI
198 NetMessageNameDel(
199 _In_ LPCWSTR servername,
200 _In_ LPCWSTR msgname)
201 {
202 return ERROR_NOT_SUPPORTED;
203 }
204
205
206 NET_API_STATUS
207 WINAPI
208 NetMessageNameEnum(
209 _In_ LPCWSTR servername,
210 _In_ DWORD level,
211 _Out_ LPBYTE *bufptr,
212 _In_ DWORD prefmaxlen,
213 _Out_ LPDWORD entriesread,
214 _Out_ LPDWORD totalentries,
215 _Inout_ LPDWORD resume_handle)
216 {
217 return ERROR_NOT_SUPPORTED;
218 }
219
220
221 NET_API_STATUS
222 WINAPI
223 NetMessageNameGetInfo(
224 _In_ LPCWSTR servername,
225 _In_ LPCWSTR msgname,
226 _In_ DWORD level,
227 _Out_ LPBYTE *bufptr)
228 {
229 return ERROR_NOT_SUPPORTED;
230 }
231
232
233 NET_API_STATUS
234 WINAPI
235 NetServiceControl(
236 __in_opt LPCWSTR servername,
237 __in LPCWSTR service,
238 __in DWORD opcode,
239 __in DWORD arg,
240 __deref_out LPBYTE *bufptr)
241 {
242 return ERROR_NOT_SUPPORTED;
243 }
244
245
246 NET_API_STATUS
247 WINAPI
248 NetServiceEnum(
249 __in_opt LPCWSTR servername,
250 __in DWORD level,
251 __deref_out LPBYTE *bufptr,
252 __in DWORD prefmaxlen,
253 __out LPDWORD entriesread,
254 __out LPDWORD totalentries,
255 __inout_opt LPDWORD resume_handle)
256 {
257 return ERROR_NOT_SUPPORTED;
258 }
259
260
261 NET_API_STATUS
262 WINAPI
263 NetServiceGetInfo(
264 __in_opt LPCWSTR servername,
265 __in LPCWSTR service,
266 __in DWORD level,
267 __deref_out LPBYTE *bufptr)
268 {
269 return ERROR_NOT_SUPPORTED;
270 }
271
272
273 NET_API_STATUS
274 WINAPI
275 NetServiceInstall(
276 __in_opt LPCWSTR servername,
277 __in LPCWSTR service,
278 __in DWORD argc,
279 __in_ecount(argc) LPCWSTR argv[],
280 __deref_out LPBYTE *bufptr)
281 {
282 return ERROR_NOT_SUPPORTED;
283 }
284
285 /* EOF */