ReactOS 0.4.15-dev-7958-gcd0bb1a
obsolete.c File Reference
#include "netapi32.h"
#include <lmalert.h>
#include <lmaudit.h>
#include <lmconfig.h>
#include <lmerrlog.h>
#include <lmmsg.h>
#include <lmrepl.h>
#include <lmsvc.h>
Include dependency graph for obsolete.c:

Go to the source code of this file.

Functions

NET_API_STATUS WINAPI NetAlertRaise (_In_ LPCWSTR AlertEventName, _In_ LPVOID Buffer, _In_ DWORD BufferSize)
 
NET_API_STATUS WINAPI NetAlertRaiseEx (_In_ LPCWSTR AlertEventName, _In_ LPVOID VariableInfo, _In_ DWORD VariableInfoSize, _In_ LPCWSTR ServiceName)
 
NET_API_STATUS WINAPI NetAuditClear (_In_opt_ LPCWSTR server, _In_opt_ LPCWSTR backupfile, _In_opt_ LPCWSTR service)
 
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)
 
NET_API_STATUS WINAPI NetAuditWrite (_In_ DWORD type, _In_ LPBYTE buf, _In_ DWORD numbytes, _In_opt_ LPCWSTR service, _In_opt_ LPBYTE reserved)
 
NET_API_STATUS WINAPI NetConfigGet (_In_opt_ LPCWSTR server, _In_ LPCWSTR component, _In_ LPCWSTR parameter, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS WINAPI NetConfigGetAll (_In_opt_ LPCWSTR server, _In_ LPCWSTR component, _Out_ LPBYTE *bufptr)
 
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)
 
NET_API_STATUS WINAPI NetErrorLogClear (_In_opt_ LPCWSTR UncServerName, _In_opt_ LPCWSTR BackupFile, _In_opt_ LPBYTE Reserved)
 
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)
 
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)
 
NET_API_STATUS WINAPI NetMessageBufferSend (_In_ LPCWSTR servername, _In_ LPCWSTR msgname, _In_ LPCWSTR fromname, _In_ LPBYTE buf, _In_ DWORD buflen)
 
NET_API_STATUS WINAPI NetMessageNameAdd (_In_ LPCWSTR servername, _In_ LPCWSTR msgname)
 
NET_API_STATUS WINAPI NetMessageNameDel (_In_ LPCWSTR servername, _In_ LPCWSTR msgname)
 
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)
 
NET_API_STATUS WINAPI NetMessageNameGetInfo (_In_ LPCWSTR servername, _In_ LPCWSTR msgname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS WINAPI NetReplExportDirAdd (_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS WINAPI NetReplExportDirDel (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
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)
 
NET_API_STATUS WINAPI NetReplExportDirGetInfo (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS WINAPI NetReplExportDirLock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
NET_API_STATUS WINAPI NetReplExportDirSetInfo (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS WINAPI NetReplExportDirUnlock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD unlockforce)
 
NET_API_STATUS WINAPI NetReplGetInfo (_In_opt_ LPCWSTR servername, _In_ DWORD level, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS WINAPI NetReplImportDirAdd (_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS WINAPI NetReplImportDirDel (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
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)
 
NET_API_STATUS WINAPI NetReplImportDirGetInfo (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS WINAPI NetReplImportDirLock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
NET_API_STATUS WINAPI NetReplImportDirUnlock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD unlockforce)
 
NET_API_STATUS WINAPI NetReplSetInfo (_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS WINAPI NetServiceControl (__in_opt LPCWSTR servername, __in LPCWSTR service, __in DWORD opcode, __in DWORD arg, __deref_out LPBYTE *bufptr)
 
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)
 
NET_API_STATUS WINAPI NetServiceGetInfo (__in_opt LPCWSTR servername, __in LPCWSTR service, __in DWORD level, __deref_out LPBYTE *bufptr)
 
NET_API_STATUS WINAPI NetServiceInstall (__in_opt LPCWSTR servername, __in LPCWSTR service, __in DWORD argc, __in_ecount(argc) LPCWSTR argv[], __deref_out LPBYTE *bufptr)
 

Function Documentation

◆ NetAlertRaise()

NET_API_STATUS WINAPI NetAlertRaise ( _In_ LPCWSTR  AlertEventName,
_In_ LPVOID  Buffer,
_In_ DWORD  BufferSize 
)

Definition at line 25 of file obsolete.c.

29{
31}
#define ERROR_NOT_SUPPORTED
Definition: compat.h:100

◆ NetAlertRaiseEx()

NET_API_STATUS WINAPI NetAlertRaiseEx ( _In_ LPCWSTR  AlertEventName,
_In_ LPVOID  VariableInfo,
_In_ DWORD  VariableInfoSize,
_In_ LPCWSTR  ServiceName 
)

Definition at line 36 of file obsolete.c.

41{
43}

◆ NetAuditClear()

NET_API_STATUS WINAPI NetAuditClear ( _In_opt_ LPCWSTR  server,
_In_opt_ LPCWSTR  backupfile,
_In_opt_ LPCWSTR  service 
)

Definition at line 48 of file obsolete.c.

52{
54}

◆ NetAuditRead()

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 at line 59 of file obsolete.c.

71{
73}

◆ NetAuditWrite()

NET_API_STATUS WINAPI NetAuditWrite ( _In_ DWORD  type,
_In_ LPBYTE  buf,
_In_ DWORD  numbytes,
_In_opt_ LPCWSTR  service,
_In_opt_ LPBYTE  reserved 
)

Definition at line 78 of file obsolete.c.

84{
86}

◆ NetConfigGet()

NET_API_STATUS WINAPI NetConfigGet ( _In_opt_ LPCWSTR  server,
_In_ LPCWSTR  component,
_In_ LPCWSTR  parameter,
_Out_ LPBYTE bufptr 
)

Definition at line 91 of file obsolete.c.

96{
98}

◆ NetConfigGetAll()

NET_API_STATUS WINAPI NetConfigGetAll ( _In_opt_ LPCWSTR  server,
_In_ LPCWSTR  component,
_Out_ LPBYTE bufptr 
)

Definition at line 103 of file obsolete.c.

107{
108 return ERROR_NOT_SUPPORTED;
109}

◆ NetConfigSet()

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 at line 114 of file obsolete.c.

122{
123 return ERROR_NOT_SUPPORTED;
124}

◆ NetErrorLogClear()

NET_API_STATUS WINAPI NetErrorLogClear ( _In_opt_ LPCWSTR  UncServerName,
_In_opt_ LPCWSTR  BackupFile,
_In_opt_ LPBYTE  Reserved 
)

Definition at line 129 of file obsolete.c.

133{
134 return ERROR_NOT_SUPPORTED;
135}

◆ NetErrorLogRead()

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 at line 140 of file obsolete.c.

152{
153 return ERROR_NOT_SUPPORTED;
154}

◆ NetErrorLogWrite()

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 at line 159 of file obsolete.c.

168{
169 return ERROR_NOT_SUPPORTED;
170}

◆ NetMessageBufferSend()

NET_API_STATUS WINAPI NetMessageBufferSend ( _In_ LPCWSTR  servername,
_In_ LPCWSTR  msgname,
_In_ LPCWSTR  fromname,
_In_ LPBYTE  buf,
_In_ DWORD  buflen 
)

Definition at line 175 of file obsolete.c.

181{
182 return ERROR_NOT_SUPPORTED;
183}

◆ NetMessageNameAdd()

NET_API_STATUS WINAPI NetMessageNameAdd ( _In_ LPCWSTR  servername,
_In_ LPCWSTR  msgname 
)

Definition at line 188 of file obsolete.c.

191{
192 return ERROR_NOT_SUPPORTED;
193}

◆ NetMessageNameDel()

NET_API_STATUS WINAPI NetMessageNameDel ( _In_ LPCWSTR  servername,
_In_ LPCWSTR  msgname 
)

Definition at line 198 of file obsolete.c.

201{
202 return ERROR_NOT_SUPPORTED;
203}

◆ NetMessageNameEnum()

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 at line 208 of file obsolete.c.

216{
217 return ERROR_NOT_SUPPORTED;
218}

◆ NetMessageNameGetInfo()

NET_API_STATUS WINAPI NetMessageNameGetInfo ( _In_ LPCWSTR  servername,
_In_ LPCWSTR  msgname,
_In_ DWORD  level,
_Out_ LPBYTE bufptr 
)

Definition at line 223 of file obsolete.c.

228{
229 return ERROR_NOT_SUPPORTED;
230}

◆ NetReplExportDirAdd()

NET_API_STATUS WINAPI NetReplExportDirAdd ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_In_ const LPBYTE  buf,
_Out_opt_ LPDWORD  parm_err 
)

Definition at line 235 of file obsolete.c.

240{
241 return ERROR_NOT_SUPPORTED;
242}

◆ NetReplExportDirDel()

NET_API_STATUS WINAPI NetReplExportDirDel ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 247 of file obsolete.c.

250{
251 return ERROR_NOT_SUPPORTED;
252}

◆ NetReplExportDirEnum()

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 at line 257 of file obsolete.c.

265{
266 return ERROR_NOT_SUPPORTED;
267}

◆ NetReplExportDirGetInfo()

NET_API_STATUS WINAPI NetReplExportDirGetInfo ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  level,
_Out_ LPBYTE bufptr 
)

Definition at line 272 of file obsolete.c.

277{
278 return ERROR_NOT_SUPPORTED;
279}

◆ NetReplExportDirLock()

NET_API_STATUS WINAPI NetReplExportDirLock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 284 of file obsolete.c.

287{
288 return ERROR_NOT_SUPPORTED;
289}

◆ NetReplExportDirSetInfo()

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 at line 294 of file obsolete.c.

300{
301 return ERROR_NOT_SUPPORTED;
302}

◆ NetReplExportDirUnlock()

NET_API_STATUS WINAPI NetReplExportDirUnlock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  unlockforce 
)

Definition at line 307 of file obsolete.c.

311{
312 return ERROR_NOT_SUPPORTED;
313}

◆ NetReplGetInfo()

NET_API_STATUS WINAPI NetReplGetInfo ( _In_opt_ LPCWSTR servername  ,
_In_ DWORD  level,
_Out_ LPBYTE bufptr 
)

Definition at line 318 of file obsolete.c.

322{
323 return ERROR_NOT_SUPPORTED;
324}

◆ NetReplImportDirAdd()

NET_API_STATUS WINAPI NetReplImportDirAdd ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_In_ const LPBYTE  buf,
_Out_opt_ LPDWORD  parm_err 
)

Definition at line 329 of file obsolete.c.

334{
335 return ERROR_NOT_SUPPORTED;
336}

◆ NetReplImportDirDel()

NET_API_STATUS WINAPI NetReplImportDirDel ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 341 of file obsolete.c.

344{
345 return ERROR_NOT_SUPPORTED;
346}

◆ NetReplImportDirEnum()

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 at line 351 of file obsolete.c.

359{
360 return ERROR_NOT_SUPPORTED;
361}

◆ NetReplImportDirGetInfo()

NET_API_STATUS WINAPI NetReplImportDirGetInfo ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  level,
_Out_ LPBYTE bufptr 
)

Definition at line 366 of file obsolete.c.

371{
372 return ERROR_NOT_SUPPORTED;
373}

◆ NetReplImportDirLock()

NET_API_STATUS WINAPI NetReplImportDirLock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 378 of file obsolete.c.

381{
382 return ERROR_NOT_SUPPORTED;
383}

◆ NetReplImportDirUnlock()

NET_API_STATUS WINAPI NetReplImportDirUnlock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  unlockforce 
)

Definition at line 388 of file obsolete.c.

392{
393 return ERROR_NOT_SUPPORTED;
394}

◆ NetReplSetInfo()

NET_API_STATUS WINAPI NetReplSetInfo ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_In_ const LPBYTE  buf,
_Out_opt_ LPDWORD  parm_err 
)

Definition at line 399 of file obsolete.c.

404{
405 return ERROR_NOT_SUPPORTED;
406}

◆ NetServiceControl()

NET_API_STATUS WINAPI NetServiceControl ( __in_opt LPCWSTR  servername,
__in LPCWSTR  service,
__in DWORD  opcode,
__in DWORD  arg,
__deref_out LPBYTE bufptr 
)

Definition at line 411 of file obsolete.c.

417{
418 return ERROR_NOT_SUPPORTED;
419}

◆ NetServiceEnum()

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 at line 424 of file obsolete.c.

432{
433 return ERROR_NOT_SUPPORTED;
434}

◆ NetServiceGetInfo()

NET_API_STATUS WINAPI NetServiceGetInfo ( __in_opt LPCWSTR  servername,
__in LPCWSTR  service,
__in DWORD  level,
__deref_out LPBYTE bufptr 
)

Definition at line 439 of file obsolete.c.

444{
445 return ERROR_NOT_SUPPORTED;
446}

◆ NetServiceInstall()

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 at line 451 of file obsolete.c.

457{
458 return ERROR_NOT_SUPPORTED;
459}