ReactOS  0.4.15-dev-3456-g4a17d4b
obsolete.c
Go to the documentation of this file.
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 
13 #include <lmalert.h>
14 #include <lmaudit.h>
15 #include <lmconfig.h>
16 #include <lmerrlog.h>
17 #include <lmmsg.h>
18 #include <lmrepl.h>
19 #include <lmsvc.h>
20 
21 /* FUNCTIONS *****************************************************************/
22 
24 WINAPI
26  _In_ LPCWSTR AlertEventName,
29 {
30  return ERROR_NOT_SUPPORTED;
31 }
32 
33 
35 WINAPI
37  _In_ LPCWSTR AlertEventName,
38  _In_ LPVOID VariableInfo,
39  _In_ DWORD VariableInfoSize,
41 {
42  return ERROR_NOT_SUPPORTED;
43 }
44 
45 
47 WINAPI
50  _In_opt_ LPCWSTR backupfile,
51  _In_opt_ LPCWSTR service)
52 {
53  return ERROR_NOT_SUPPORTED;
54 }
55 
56 
58 WINAPI
61  _In_opt_ LPCWSTR service,
62  _In_ LPHLOG auditloghandle,
64  _In_opt_ LPDWORD reserved1,
66  _In_ DWORD offsetflag,
68  _In_ DWORD prefmaxlen,
69  _Out_ LPDWORD bytesread,
70  _Out_ LPDWORD totalavailable)
71 {
72  return ERROR_NOT_SUPPORTED;
73 }
74 
75 
77 WINAPI
79  _In_ DWORD type,
80  _In_ LPBYTE buf,
81  _In_ DWORD numbytes,
82  _In_opt_ LPCWSTR service,
84 {
85  return ERROR_NOT_SUPPORTED;
86 }
87 
88 
90 WINAPI
93  _In_ LPCWSTR component,
94  _In_ LPCWSTR parameter,
96 {
97  return ERROR_NOT_SUPPORTED;
98 }
99 
100 
102 WINAPI
105  _In_ LPCWSTR component,
107 {
108  return ERROR_NOT_SUPPORTED;
109 }
110 
111 
113 WINAPI
116  _In_opt_ LPCWSTR reserved1,
117  _In_ LPCWSTR component,
118  _In_ DWORD level,
120  _In_ LPBYTE buf,
122 {
123  return ERROR_NOT_SUPPORTED;
124 }
125 
126 
128 WINAPI
130  _In_opt_ LPCWSTR UncServerName,
131  _In_opt_ LPCWSTR BackupFile,
133 {
134  return ERROR_NOT_SUPPORTED;
135 }
136 
137 
139 WINAPI
141  _In_opt_ LPCWSTR UncServerName,
143  _In_ LPHLOG ErrorLogHandle,
144  _In_ DWORD Offset,
147  _In_ DWORD OffsetFlag,
148  _Deref_out_ LPBYTE *BufPtr,
149  _In_ DWORD PrefMaxSize,
151  _Out_ LPDWORD TotalAvailable)
152 {
153  return ERROR_NOT_SUPPORTED;
154 }
155 
156 
158 WINAPI
161  _In_ DWORD Code,
164  _In_ DWORD NumBytes,
165  _In_ LPBYTE MsgBuf,
166  _In_ DWORD StrCount,
168 {
169  return ERROR_NOT_SUPPORTED;
170 }
171 
172 
174 WINAPI
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 
187 WINAPI
189  _In_ LPCWSTR servername,
190  _In_ LPCWSTR msgname)
191 {
192  return ERROR_NOT_SUPPORTED;
193 }
194 
195 
197 WINAPI
199  _In_ LPCWSTR servername,
200  _In_ LPCWSTR msgname)
201 {
202  return ERROR_NOT_SUPPORTED;
203 }
204 
205 
207 WINAPI
209  _In_ LPCWSTR servername,
210  _In_ DWORD level,
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 
222 WINAPI
224  _In_ LPCWSTR servername,
225  _In_ LPCWSTR msgname,
226  _In_ DWORD level,
228 {
229  return ERROR_NOT_SUPPORTED;
230 }
231 
232 
234 WINAPI
236  _In_opt_ LPCWSTR servername,
237  _In_ DWORD level,
238  _In_ const LPBYTE buf,
239  _Out_opt_ LPDWORD parm_err)
240 {
241  return ERROR_NOT_SUPPORTED;
242 }
243 
244 
246 WINAPI
248  _In_opt_ LPCWSTR servername,
250 {
251  return ERROR_NOT_SUPPORTED;
252 }
253 
254 
256 WINAPI
258  _In_opt_ LPCWSTR servername,
259  _In_ DWORD level,
261  _In_ DWORD prefmaxlen,
262  _Out_ LPDWORD entriesread,
263  _Out_ LPDWORD totalentries,
264  _Inout_opt_ LPDWORD resumehandle)
265 {
266  return ERROR_NOT_SUPPORTED;
267 }
268 
269 
271 WINAPI
273  _In_opt_ LPCWSTR servername,
275  _In_ DWORD level,
277 {
278  return ERROR_NOT_SUPPORTED;
279 }
280 
281 
283 WINAPI
285  _In_opt_ LPCWSTR servername,
287 {
288  return ERROR_NOT_SUPPORTED;
289 }
290 
291 
293 WINAPI
295  _In_opt_ LPCWSTR servername,
297  _In_ DWORD level,
298  _In_ const LPBYTE buf,
299  _Out_opt_ LPDWORD parm_err)
300 {
301  return ERROR_NOT_SUPPORTED;
302 }
303 
304 
306 WINAPI
308  _In_opt_ LPCWSTR servername,
310  _In_ DWORD unlockforce)
311 {
312  return ERROR_NOT_SUPPORTED;
313 }
314 
315 
317 WINAPI
319  _In_opt_ LPCWSTR servername,
320  _In_ DWORD level,
322 {
323  return ERROR_NOT_SUPPORTED;
324 }
325 
326 
328 WINAPI
330  _In_opt_ LPCWSTR servername,
331  _In_ DWORD level,
332  _In_ const LPBYTE buf,
333  _Out_opt_ LPDWORD parm_err)
334 {
335  return ERROR_NOT_SUPPORTED;
336 }
337 
338 
340 WINAPI
342  _In_opt_ LPCWSTR servername,
344 {
345  return ERROR_NOT_SUPPORTED;
346 }
347 
348 
350 WINAPI
352  _In_opt_ LPCWSTR servername,
353  _In_ DWORD level,
355  _In_ DWORD prefmaxlen,
356  _Out_ LPDWORD entriesread,
357  _Out_ LPDWORD totalentries,
358  _Inout_opt_ LPDWORD resumehandle)
359 {
360  return ERROR_NOT_SUPPORTED;
361 }
362 
363 
365 WINAPI
367  _In_opt_ LPCWSTR servername,
369  _In_ DWORD level,
371 {
372  return ERROR_NOT_SUPPORTED;
373 }
374 
375 
377 WINAPI
379  _In_opt_ LPCWSTR servername,
381 {
382  return ERROR_NOT_SUPPORTED;
383 }
384 
385 
387 WINAPI
389  _In_opt_ LPCWSTR servername,
391  _In_ DWORD unlockforce)
392 {
393  return ERROR_NOT_SUPPORTED;
394 }
395 
396 
398 WINAPI
400  _In_opt_ LPCWSTR servername,
401  _In_ DWORD level,
402  _In_ const LPBYTE buf,
403  _Out_opt_ LPDWORD parm_err)
404 {
405  return ERROR_NOT_SUPPORTED;
406 }
407 
408 
410 WINAPI
412  __in_opt LPCWSTR servername,
413  __in LPCWSTR service,
414  __in DWORD opcode,
415  __in DWORD arg,
417 {
418  return ERROR_NOT_SUPPORTED;
419 }
420 
421 
423 WINAPI
425  __in_opt LPCWSTR servername,
426  __in DWORD level,
428  __in DWORD prefmaxlen,
429  __out LPDWORD entriesread,
430  __out LPDWORD totalentries,
431  __inout_opt LPDWORD resume_handle)
432 {
433  return ERROR_NOT_SUPPORTED;
434 }
435 
436 
438 WINAPI
440  __in_opt LPCWSTR servername,
441  __in LPCWSTR service,
442  __in DWORD level,
444 {
445  return ERROR_NOT_SUPPORTED;
446 }
447 
448 
450 WINAPI
452  __in_opt LPCWSTR servername,
453  __in LPCWSTR service,
454  __in DWORD argc,
457 {
458  return ERROR_NOT_SUPPORTED;
459 }
460 
461 /* EOF */
NET_API_STATUS WINAPI NetReplExportDirAdd(_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
Definition: obsolete.c:235
NET_API_STATUS WINAPI NetErrorLogWrite(_In_opt_ LPBYTE Reserved1, _In_ DWORD Code, _In_ LPCWSTR Component, _In_ LPBYTE Buffer, _In_ DWORD NumBytes, _In_ LPBYTE MsgBuf, _In_ DWORD StrCount, _In_opt_ LPBYTE Reserved2)
Definition: obsolete.c:159
static int argc
Definition: ServiceArgs.c:12
GLint level
Definition: gl.h:1546
#define _Deref_out_
Definition: ms_sal.h:1012
NET_API_STATUS WINAPI NetAlertRaiseEx(_In_ LPCWSTR AlertEventName, _In_ LPVOID VariableInfo, _In_ DWORD VariableInfoSize, _In_ LPCWSTR ServiceName)
Definition: obsolete.c:36
NET_API_STATUS WINAPI NetServiceGetInfo(__in_opt LPCWSTR servername, __in LPCWSTR service, __in DWORD level, __deref_out LPBYTE *bufptr)
Definition: obsolete.c:439
static rfbScreenInfoPtr server
Definition: vnc.c:74
NET_API_STATUS WINAPI NetMessageNameEnum(_In_ LPCWSTR servername, _In_ DWORD level, _Out_ LPBYTE *bufptr, _In_ DWORD prefmaxlen, _Out_ LPDWORD entriesread, _Out_ LPDWORD totalentries, _Inout_ LPDWORD resume_handle)
Definition: obsolete.c:208
#define _In_opt_
Definition: ms_sal.h:309
#define _Inout_
Definition: ms_sal.h:378
static unsigned int bufptr
Definition: tncon.cpp:77
NET_API_STATUS WINAPI NetReplImportDirLock(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
Definition: obsolete.c:378
NET_API_STATUS WINAPI NetMessageNameDel(_In_ LPCWSTR servername, _In_ LPCWSTR msgname)
Definition: obsolete.c:198
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define _Out_
Definition: ms_sal.h:345
NET_API_STATUS WINAPI NetReplImportDirEnum(_In_opt_ LPCWSTR servername, _In_ DWORD level, _Out_ LPBYTE *bufptr, _In_ DWORD prefmaxlen, _Out_ LPDWORD entriesread, _Out_ LPDWORD totalentries, _Inout_opt_ LPDWORD resumehandle)
Definition: obsolete.c:351
#define __in_opt
Definition: dbghelp.h:38
_In_ ULONG Component
Definition: potypes.h:496
NET_API_STATUS WINAPI NetReplImportDirAdd(_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
Definition: obsolete.c:329
NET_API_STATUS WINAPI NetAuditWrite(_In_ DWORD type, _In_ LPBYTE buf, _In_ DWORD numbytes, _In_opt_ LPCWSTR service, _In_opt_ LPBYTE reserved)
Definition: obsolete.c:78
__cdecl __MINGW_NOTHROW char * dirname(char *)
NET_API_STATUS WINAPI NetReplExportDirEnum(_In_opt_ LPCWSTR servername, _In_ DWORD level, _Out_ LPBYTE *bufptr, _In_ DWORD prefmaxlen, _Out_ LPDWORD entriesread, _Out_ LPDWORD totalentries, _Inout_opt_ LPDWORD resumehandle)
Definition: obsolete.c:257
#define __inout_opt
Definition: dbghelp.h:53
#define argv
Definition: mplay32.c:18
uint8_t reserved3
Definition: fsck.fat.h:61
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesRead
Definition: wdfiotarget.h:859
NET_API_STATUS WINAPI NetReplExportDirDel(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
Definition: obsolete.c:247
NET_API_STATUS WINAPI NetConfigSet(_In_opt_ LPCWSTR server, _In_opt_ LPCWSTR reserved1, _In_ LPCWSTR component, _In_ DWORD level, _In_ DWORD reserved2, _In_ LPBYTE buf, _In_ DWORD reserved3)
Definition: obsolete.c:114
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
unsigned char * LPBYTE
Definition: typedefs.h:53
NET_API_STATUS WINAPI NetReplExportDirSetInfo(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
Definition: obsolete.c:294
NET_API_STATUS WINAPI NetAuditClear(_In_opt_ LPCWSTR server, _In_opt_ LPCWSTR backupfile, _In_opt_ LPCWSTR service)
Definition: obsolete.c:48
NET_API_STATUS WINAPI NetAlertRaise(_In_ LPCWSTR AlertEventName, _In_ LPVOID Buffer, _In_ DWORD BufferSize)
Definition: obsolete.c:25
r reserved
Definition: btrfs.c:2940
#define __out
Definition: dbghelp.h:62
NET_API_STATUS WINAPI NetConfigGet(_In_opt_ LPCWSTR server, _In_ LPCWSTR component, _In_ LPCWSTR parameter, _Out_ LPBYTE *bufptr)
Definition: obsolete.c:91
#define _In_
Definition: ms_sal.h:308
NET_API_STATUS WINAPI NetServiceInstall(__in_opt LPCWSTR servername, __in LPCWSTR service, __in DWORD argc, __in_ecount(argc) LPCWSTR argv[], __deref_out LPBYTE *bufptr)
Definition: obsolete.c:451
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
Definition: bufpool.h:45
Definition: bcd.h:202
NET_API_STATUS WINAPI NetReplExportDirGetInfo(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
Definition: obsolete.c:272
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
NET_API_STATUS WINAPI NetConfigGetAll(_In_opt_ LPCWSTR server, _In_ LPCWSTR component, _Out_ LPBYTE *bufptr)
Definition: obsolete.c:103
NET_API_STATUS WINAPI NetReplImportDirUnlock(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD unlockforce)
Definition: obsolete.c:388
uint8_t reserved2[12]
Definition: fsck.fat.h:58
LPTSTR ServiceName
Definition: ServiceMain.c:15
GLintptr offset
Definition: glext.h:5920
NET_API_STATUS WINAPI NetReplGetInfo(_In_opt_ LPCWSTR servername, _In_ DWORD level, _Out_ LPBYTE *bufptr)
Definition: obsolete.c:318
#define WINAPI
Definition: msvc.h:6
NET_API_STATUS WINAPI NetReplImportDirGetInfo(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
Definition: obsolete.c:366
unsigned long DWORD
Definition: ntddk_ex.h:95
NET_API_STATUS WINAPI NetReplImportDirDel(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
Definition: obsolete.c:341
NET_API_STATUS WINAPI NetServiceControl(__in_opt LPCWSTR servername, __in LPCWSTR service, __in DWORD opcode, __in DWORD arg, __deref_out LPBYTE *bufptr)
Definition: obsolete.c:411
NET_API_STATUS WINAPI NetReplSetInfo(_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
Definition: obsolete.c:399
#define _Inout_opt_
Definition: ms_sal.h:379
_In_ UCHAR _In_ UCHAR _In_ ULONG Code
Definition: wdfdevice.h:1697
NET_API_STATUS WINAPI NetMessageNameGetInfo(_In_ LPCWSTR servername, _In_ LPCWSTR msgname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
Definition: obsolete.c:223
_Must_inspect_result_ __in WDFKEY __in PCUNICODE_STRING __in ULONG __in ULONG __in_ecount(ValueLength) PVOID Value)
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
NET_API_STATUS WINAPI NetAuditRead(_In_opt_ LPCWSTR server, _In_opt_ LPCWSTR service, _In_ LPHLOG auditloghandle, _In_ DWORD offset, _In_opt_ LPDWORD reserved1, _In_ DWORD reserved2, _In_ DWORD offsetflag, _Out_ LPBYTE *bufptr, _In_ DWORD prefmaxlen, _Out_ LPDWORD bytesread, _Out_ LPDWORD totalavailable)
Definition: obsolete.c:59
Definition: lmaudit.h:87
NET_API_STATUS WINAPI NetMessageNameAdd(_In_ LPCWSTR servername, _In_ LPCWSTR msgname)
Definition: obsolete.c:188
#define _Out_opt_
Definition: ms_sal.h:346
Definition: bcd.h:201
NET_API_STATUS WINAPI NetReplExportDirLock(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
Definition: obsolete.c:284
#define ERROR_NOT_SUPPORTED
Definition: compat.h:100
#define __deref_out
Definition: dbghelp.h:26
uint32_t * LPDWORD
Definition: typedefs.h:59
NET_API_STATUS WINAPI NetErrorLogClear(_In_opt_ LPCWSTR UncServerName, _In_opt_ LPCWSTR BackupFile, _In_opt_ LPBYTE Reserved)
Definition: obsolete.c:129
NET_API_STATUS WINAPI NetErrorLogRead(_In_opt_ LPCWSTR UncServerName, _In_opt_ LPWSTR Reserved1, _In_ LPHLOG ErrorLogHandle, _In_ DWORD Offset, _In_opt_ LPDWORD Reserved2, _In_ DWORD Reserved3, _In_ DWORD OffsetFlag, _Deref_out_ LPBYTE *BufPtr, _In_ DWORD PrefMaxSize, _Out_ LPDWORD BytesRead, _Out_ LPDWORD TotalAvailable)
Definition: obsolete.c:140
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
WCHAR * LPWSTR
Definition: xmlstorage.h:184
#define __in
Definition: dbghelp.h:35
NET_API_STATUS WINAPI NetReplExportDirUnlock(_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD unlockforce)
Definition: obsolete.c:307
NET_API_STATUS WINAPI NetMessageBufferSend(_In_ LPCWSTR servername, _In_ LPCWSTR msgname, _In_ LPCWSTR fromname, _In_ LPBYTE buf, _In_ DWORD buflen)
Definition: obsolete.c:175
NET_API_STATUS WINAPI NetServiceEnum(__in_opt LPCWSTR servername, __in DWORD level, __deref_out LPBYTE *bufptr, __in DWORD prefmaxlen, __out LPDWORD entriesread, __out LPDWORD totalentries, __inout_opt LPDWORD resume_handle)
Definition: obsolete.c:424
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:251