Index: trunk/src/wnetap32/wnetap32.cpp
===================================================================
--- trunk/src/wnetap32/wnetap32.cpp	(revision 560)
+++ trunk/src/wnetap32/wnetap32.cpp	(revision 561)
@@ -1,3 +1,3 @@
-/* $Id: wnetap32.cpp,v 1.3 1999-06-10 16:17:57 phaller Exp $ */
+/* $Id: wnetap32.cpp,v 1.4 1999-08-18 23:27:25 phaller Exp $ */
 
 /*
@@ -25,6 +25,9 @@
 
 #include <os2win.h>
+#include <odinwrap.h>
 #include "misc.h"
 
+
+ODINDEBUGCHANNEL(WNETAP32)
 
 /****************************************************************************
@@ -331,4 +334,5 @@
 }
 
+
  /*****************************************************************************
  * Name      : NET_API_STATUS NetFileGetInfo
@@ -347,16 +351,13 @@
  * Author    : Markus Montkowski [09.07.98 21:28:38]
  *****************************************************************************/
-NET_API_STATUS WIN32API OS2NetFileGetInfo(
-                                           LPWSTR servername,
-                                           DWORD fileid,
-                                           DWORD level,
-                                           LPBYTE *bufptr
-                                           )
-
-{
-
-  dprintf(("NETAPI32: NetFileGetInfo(%s, %d, %d, %08x) not implemented\n"
-           ,servername, fileid, level, *bufptr
-         ));
+
+ODINFUNCTION4(NET_API_STATUS,OS2NetFileGetInfo,LPWSTR,  servername,
+                                               DWORD,   fileid,
+                                               DWORD,   level,
+                                               LPBYTE*, bufptr)
+
+{
+
+  dprintf(("NETAPI32: NetFileGetInfo not implemented\n"));
 
   return (NERR_BASE);
@@ -2360,5 +2361,7 @@
   return (NERR_BASE);
 }
- /*****************************************************************************
+
+
+/*****************************************************************************
  * Name      : NET_API_STATUS NetShareDel
  * Purpose   :
@@ -2389,4 +2392,6 @@
   return (NERR_BASE);
 }
+
+
  /*****************************************************************************
  * Name      : NET_API_STATUS NetShareGetInfo
@@ -3091,5 +3096,5 @@
 }
 
- /*****************************************************************************
+/*****************************************************************************
  * Name      : NET_API_STATUS NetWkstaUserSetInfo
  * Purpose   :
@@ -3123,2 +3128,1161 @@
 }
 
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetConfigSet
+ * Purpose   : configure a network component
+ * Parameters: LPWSTR lpServer
+ *             LPWSTR lpReserved1
+ *             LPWSTR lpComponent
+ *             DWORD  dwLevel
+ *             DWORD  dwReserved2
+ *             LPBYTE lpBuf
+ *             DWORD  dwReserved3
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION7(NET_API_STATUS,OS2NetConfigSet,LPWSTR, lpServer,
+                                             LPWSTR, lpReserved1,
+                                             LPWSTR, lpComponent,
+                                             DWORD,  dwLevel,
+                                             DWORD,  dwReserved2,
+                                             LPBYTE, lpBuf,
+                                             DWORD,  dwReserved3)
+{
+  dprintf(("NETAPI32: NetConfigSet not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetConfigGet
+ * Purpose   : get configuration from a network component
+ * Parameters: LPWSTR lpServer
+ *             LPWSTR lpComponent
+ *             LPWSTR lpParameter
+ *             LPBYTE lpBuf
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION4(NET_API_STATUS,OS2NetConfigGet,LPWSTR, lpServer,
+                                             LPWSTR, lpComponent,
+                                             LPWSTR, lpParameter,
+                                             LPBYTE, lpBuf)
+{
+  dprintf(("NETAPI32: NetConfigGet not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS RxNetAccessSetInfo
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2RxNetAccessSetInfo(DWORD x1,
+                                              DWORD x2,
+                                              DWORD x3,
+                                              DWORD x4,
+                                              DWORD x5,
+                                              DWORD x6)
+{
+  dprintf(("NETAPI32: RxNetAccessSetInfo(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS RxNetAccessGetInfo
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2RxNetAccessGetInfo(DWORD x1,
+                                              DWORD x2,
+                                              DWORD x3,
+                                              DWORD x4,
+                                              DWORD x5,
+                                              DWORD x6)
+{
+  dprintf(("NETAPI32: RxNetAccessGetInfo(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetGetDCList
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetGetDCList(DWORD x1,
+                                          DWORD x2,
+                                          DWORD x3,
+                                          DWORD x4,
+                                          DWORD x5,
+                                          DWORD x6)
+{
+  dprintf(("NETAPI32: I_NetGetDCList(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetNameCanonicalize
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetNameCanonicalize(DWORD x1,
+                                                 DWORD x2,
+                                                 DWORD x3,
+                                                 DWORD x4)
+{
+  dprintf(("NETAPI32: I_NetNameCanonicalize(%08x, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetNameCompare
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetNameCompare(DWORD x1,
+                                            DWORD x2,
+                                            DWORD x3,
+                                            DWORD x4)
+{
+  dprintf(("NETAPI32: I_NetNameCompare(%08x, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetNameValidate
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetNameValidate(DWORD x1,
+                                             DWORD x2,
+                                             DWORD x3)
+{
+  dprintf(("NETAPI32: I_NetNameValidate(%08x, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetPathCanonicalize
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetPathCanonicalize(DWORD x1,
+                                                 DWORD x2,
+                                                 DWORD x3,
+                                                 DWORD x4)
+{
+  dprintf(("NETAPI32: I_NetPathCanonicalize(%08x, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetPathCompare
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetPathCompare(DWORD x1,
+                                            DWORD x2,
+                                            DWORD x3,
+                                            DWORD x4)
+{
+  dprintf(("NETAPI32: I_NetPathCompare(%08x, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetPathType
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetPathType(DWORD x1,
+                                         DWORD x2)
+{
+  dprintf(("NETAPI32: I_NetPathType(%08x, %08xh) not implemented\n",
+           x1,
+           x2));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetapipBufferAllocate
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2NetapipBufferAllocate(DWORD x1,
+                                                 DWORD x2,
+                                                 DWORD x3)
+{
+  dprintf(("NETAPI32: NetapipBufferAllocate(%08x, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetUseAdd
+ * Purpose   : add remote device association
+ * Parameters: LPWSTR  lpUncServerName
+ *             DWORD   dwLevel
+ *             LPBYTE  lpBuf
+ *             LPDWORD lpParmError
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2NetUseAdd(LPWSTR  lpUncServerName,
+                                     DWORD   dwLevel,
+                                     LPBYTE  lpBuf,
+                                     LPDWORD lpParmError)
+{
+  dprintf(("NETAPI32: NetUseAdd(%08xh,%08xh,%08xh,%08xh) not implemented\n",
+           lpUncServerName,
+           dwLevel,
+           lpBuf,
+           lpParmError));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetUseDel
+ * Purpose   : remove remote device association
+ * Parameters: LPWSTR  lpUncServerName
+ *             LPWSTR  lpUseName
+ *             DWORD   dwForceCond
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2NetUseDel(LPWSTR  lpUncServerName,
+                                     LPWSTR  lpUseName,
+                                     DWORD   dwForceCond)
+{
+  dprintf(("NETAPI32: NetUseDel(%08xh,%08xh,%08xh) not implemented\n",
+           lpUncServerName,
+           lpUseName,
+           dwForceCond));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetServiceControl
+ * Purpose   : controls operations of network services
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpService
+ *             DWORD   dwOpcode
+ *             DWORD   dwArgument
+ *             LPBYTE* bufptr
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2NetServiceControl(LPWSTR  lpServerName,
+                                             LPWSTR  lpService,
+                                             DWORD   dwOpcode,
+                                             DWORD   dwArgument,
+                                             LPBYTE* bufptr)
+{
+  dprintf(("NETAPI32: NetServiceControl(%08xh,%08xh,%08xh,%08xh,%08xh) not implemented\n",
+           lpServerName,
+           lpService,
+           dwOpcode,
+           dwArgument,
+           bufptr));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetServiceEnum
+ * Purpose   : retrieves information about all started services
+ * Parameters: LPWSTR  lpServerName
+ *             DWORD   dwLevel
+ *             LPBYTE* bufptr
+ *             DWORD   dwPrefMaxLen
+ *             LPDWORD lpdEntriesRead
+ *             LPDWORD lpdTotalEntries
+ *             LPDWORD lpdResumeHandle
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2NetServiceEnum(LPWSTR  lpServerName,
+                                          DWORD   dwLevel,
+                                          LPBYTE* bufptr,
+                                          DWORD   dwPrefMaxLen,
+                                          LPDWORD lpdEntriesRead,
+                                          LPDWORD lpdTotalEntries,
+                                          LPDWORD lpdResumeHandle)
+{
+  dprintf(("NETAPI32: NetServiceEnum(%08xh,%08xh,%08xh,%08xh,%08xh,%08xh,%08xh) not implemented\n",
+           lpServerName,
+           dwLevel,
+           bufptr,
+           dwPrefMaxLen,
+           lpdEntriesRead,
+           lpdTotalEntries,
+           lpdResumeHandle));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetServiceGetInfo
+ * Purpose   : retrieves information about a particular started service
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpService
+ *             DWORD   dwLevel
+ *             LPBYTE* bufptr
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2NetServiceGetInfo(LPWSTR  lpServerName,
+                                             LPWSTR  lpService,
+                                             DWORD   dwLevel,
+                                             LPBYTE* bufptr)
+{
+  dprintf(("NETAPI32: NetServiceGetInfo(%08xh,%08xh,%08xh,%08xh) not implemented\n",
+           lpServerName,
+           lpService,
+           dwLevel,
+           bufptr));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetServiceInstall
+ * Purpose   : starts a network service
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpService
+ *             DWORD   argc
+ *             LPWSTR  argv[]
+ *             LPBYTE* bufptr
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2NetServiceInstall(LPWSTR  lpServerName,
+                                             LPWSTR  lpService,
+                                             DWORD   argc,
+                                             LPWSTR  argv[],
+                                             LPBYTE* bufptr)
+{
+  dprintf(("NETAPI32: NetServiceInstall(%08xh,%08xh,%08xh,%08xh,%08xh) not implemented\n",
+           lpServerName,
+           lpService,
+           argc,
+           argv,
+           bufptr));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS I_NetLogonControl
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2I_NetLogonControl(DWORD x1,
+                                             DWORD x2,
+                                             DWORD x3,
+                                             DWORD x4,
+                                             DWORD x5,
+                                             DWORD x6)
+{
+  dprintf(("NETAPI32: I_NetLogonControl(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS RxNetAccessAdd
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2RxNetAccessAdd(DWORD x1,
+                                          DWORD x2,
+                                          DWORD x3,
+                                          DWORD x4,
+                                          DWORD x5,
+                                          DWORD x6)
+{
+  dprintf(("NETAPI32: RxNetAccessAdd(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS RxNetAccessDel
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2RxNetAccessDel(DWORD x1,
+                                          DWORD x2,
+                                          DWORD x3,
+                                          DWORD x4,
+                                          DWORD x5,
+                                          DWORD x6)
+{
+  dprintf(("NETAPI32: RxNetAccessDel(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS RxNetAccessEnum
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2RxNetAccessEnum(DWORD x1,
+                                           DWORD x2,
+                                           DWORD x3,
+                                           DWORD x4,
+                                           DWORD x5,
+                                           DWORD x6)
+{
+  dprintf(("NETAPI32: RxNetAccessEnum(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS RxNetAccessGetUserPerms
+ * Purpose   :
+ * Parameters: wrong
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+NET_API_STATUS WIN32API OS2RxNetAccessGetUserPerms(DWORD x1,
+                                                   DWORD x2,
+                                                   DWORD x3,
+                                                   DWORD x4,
+                                                   DWORD x5,
+                                                   DWORD x6)
+{
+  dprintf(("NETAPI32: RxNetAccessGetUserPerms(%08x, %08xh, %08xh, %08xh, %08xh, %08xh) not implemented\n",
+           x1,
+           x2,
+           x3,
+           x4,
+           x5,
+           x6));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetAuditClear
+ * Purpose   : clears the audit log on a server and, optionally, saves the
+ *             entrie sin a backup file
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpBackupFile
+ *             LPWSTR  lpService
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION3(NET_API_STATUS,OS2NetAuditClear,LPWSTR,  lpServerName,
+                                              LPWSTR,  lpBackupFile,
+                                              LPWSTR,  lpService)
+{
+  dprintf(("NETAPI32: NetAuditClear not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetAuditRead
+ * Purpose   : reads from the audit log on a server
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpService
+ *             LPHLOG  auditloghandle
+ *             DWORD   offset
+ *             LPDWORD reserved1
+ *             DWORD   reserved2
+ *             DWORD   offsetflag
+ *             LPBYTE* bufptr
+ *             DWORD   prefmaxlen
+ *             LPDWORD bytesread
+ *             LPDWORD totalavailable
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+typedef unsigned long LPHLOG;
+ODINFUNCTION11(NET_API_STATUS,OS2NetAuditRead,LPWSTR,  lpServerName,
+                                              LPWSTR,  lpService,
+                                              LPHLOG,  auditloghandle,
+                                              DWORD,   offset,
+                                              LPDWORD, reserved1,
+                                              DWORD,   reserved2,
+                                              DWORD,   offsetflag,
+                                              LPBYTE*, bufptr,
+                                              DWORD,   prefmaxlen,
+                                              LPDWORD, bytesread,
+                                              LPDWORD, totalavailable)
+{
+  dprintf(("NETAPI32: NetAuditRead not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetAuditWrite
+ * Purpose   : write to the audit log on a server
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpService
+ *             LPHLOG  auditloghandle
+ *             DWORD   offset
+ *             LPDWORD reserved1
+ *             DWORD   reserved2
+ *             DWORD   offsetflag
+ *             LPBYTE* bufptr
+ *             DWORD   prefmaxlen
+ *             LPDWORD bytesread
+ *             LPDWORD totalavailable
+ * Variables :
+ * Result    : wrong
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION11(NET_API_STATUS,OS2NetAuditWrite,LPWSTR,  lpServerName,
+                                               LPWSTR,  lpService,
+                                               LPHLOG,  auditloghandle,
+                                               DWORD,   offset,
+                                               LPDWORD, reserved1,
+                                               DWORD,   reserved2,
+                                               DWORD,   offsetflag,
+                                               LPBYTE*, bufptr,
+                                               DWORD,   prefmaxlen,
+                                               LPDWORD, byteswritten,
+                                               LPDWORD, totalavailable)
+{
+  dprintf(("NETAPI32: NetAuditWrite not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetConfigGetAll
+ * Purpose   : retrieves all the configuration information for a given component
+ *             on a local or remote computer
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpComponent
+ *             LPBYTE* bufptr
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION3(NET_API_STATUS,OS2NetConfigGetAll,LPWSTR,  lpServerName,
+                                                LPWSTR,  lpComponent,
+                                                LPBYTE*, bufptr)
+{
+  dprintf(("NETAPI32: NetConfigGetAll not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetConnectionEnum
+ * Purpose   : lists all connections made to a shared resource
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpQualifier
+ *             DWORD   dwLevel
+ *             LPBYTE* bufptr
+ *             DWORD   dwPrefMaxLen
+ *             LPDWORD dwEntriesRead
+ *             LPDWORD dwTotalEntries
+ *             LPDWORD dwResumeHandle
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION8(NET_API_STATUS,OS2NetConnectionEnum,LPWSTR,  lpServerName,
+                                                  LPWSTR,  lpQualifier,
+                                                  DWORD,   dwLevel,
+                                                  LPBYTE*, bufptr ,
+                                                  DWORD,   dwPrefMaxLen,
+                                                  LPDWORD, dwEntriesRead,
+                                                  LPDWORD, dwTotalEntries,
+                                                  LPDWORD, dwResumeHandle)
+{
+  dprintf(("NETAPI32: NetConnectionEnum not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetErrorLogClear
+ * Purpose   : clears the error log and optionally saves the entires in a
+ *             backup file
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpBackupFile
+ *             LPBYTE* reserved
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION3(NET_API_STATUS,OS2NetErrorLogClear,LPWSTR,  lpServerName,
+                                                 LPWSTR,  lpBackupFile,
+                                                 LPBYTE*, reserved)
+{
+  dprintf(("NETAPI32: NetErrorLogClear not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetErrorLogRead
+ * Purpose   : reads from the error log on a server
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  reserved1
+ *             LPHLOG  errorloghandle
+ *             DWORD   offset
+ *             LPDWORD reserved2
+ *             DWORD   reserved3
+ *             DWORD   offsetflag
+ *             LPBYTE* bufptr
+ *             DWORD   prefmaxlen
+ *             LPDWORD bytesread
+ *             LPDWORD totalbytes
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION11(NET_API_STATUS,OS2NetErrorLogRead,LPWSTR,  lpServerName,
+                                                 LPWSTR,  reserved1,
+                                                 LPHLOG,  errorloghandle,
+                                                 DWORD,   offset,
+                                                 LPDWORD, reserved2,
+                                                 DWORD,   reserved3,
+                                                 DWORD,   offsetflag,
+                                                 LPBYTE*, bufptr,
+                                                 DWORD,   prefmaxlen,
+                                                 LPDWORD, bytesread,
+                                                 LPDWORD, totalbytes)
+{
+  dprintf(("NETAPI32: NetErrorLogRead not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetErrorLogWrite
+ * Purpose   : write to the error log on a server
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  reserved1
+ *             LPHLOG  auditloghandle
+ *             DWORD   offset
+ *             LPDWORD reserved2
+ *             DWORD   reserved3
+ *             DWORD   offsetflag
+ *             LPBYTE* bufptr
+ *             DWORD   prefmaxlen
+ *             LPDWORD byteswritten
+ *             LPDWORD totalavailable
+ * Variables :
+ * Result    : wrong
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION11(NET_API_STATUS,OS2NetErrorLogWrite,LPWSTR,  lpServerName,
+                                                  LPWSTR,  reserved1,
+                                                  LPHLOG,  auditloghandle,
+                                                  DWORD,   offset,
+                                                  LPDWORD, reserved2,
+                                                  DWORD,   reserved3,
+                                                  DWORD,   offsetflag,
+                                                  LPBYTE*, bufptr,
+                                                  DWORD,   prefmaxlen,
+                                                  LPDWORD, byteswritten,
+                                                  LPDWORD, totalavailable)
+{
+  dprintf(("NETAPI32: NetErrorLogWrite not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetFileClose
+ * Purpose   : forces a resource to close
+ * Parameters: LPWSTR  lpServerName
+ *             DWORD   fileid
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION2(NET_API_STATUS,OS2NetFileClose,LPWSTR,  lpServerName,
+                                             DWORD,   fileid)
+{
+  dprintf(("NETAPI32: NetFileClose not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetLocalGroupAddMember
+ * Purpose   : gives an existing user account or global group membership in
+ *             an existing local group
+ * Parameters: LPWSTR  lpServerName
+ *             LPWSTR  lpGroupName
+ *             PSID    membersid
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION3(NET_API_STATUS,OS2NetLocalGroupAddMember,LPWSTR,  lpServerName,
+                                                       LPWSTR,  lpGroupName,
+                                                       PSID,    membersid)
+{
+  dprintf(("NETAPI32: NetLocalGroupAddMember not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetShareDel
+ * Purpose   :
+ * Parameters: LPWSTR servername
+ *             LPWSTR netname
+ *             DWORD reserved
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Stub Generated through PE2LX Stubwizard 0.02 from Markus Montkowski
+ *
+ * Author    : Markus Montkowski [09.07.98 22:03:01]
+ *****************************************************************************/
+
+ODINFUNCTION3(NET_API_STATUS,OS2NetShareDelSticky,LPWSTR, servername,
+                                                  LPWSTR, netname,
+                                                  DWORD,  reserved)
+{
+
+  dprintf(("NETAPI32: NetShareDelSticky not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetShareEnum
+ * Purpose   : retrieves information about all shared devices
+ * Parameters: LPWSTR  lpServerName
+ *             DWORD   dwLevel
+ *             LPBYTE* bufptr
+ *             DWORD   dwPrefMaxLen
+ *             LPDWORD lpdEntriesRead
+ *             LPDWORD lpdTotalEntries
+ *             LPDWORD lpdResumeHandle
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION7(NET_API_STATUS,OS2NetShareEnum,LPWSTR,  lpServerName,
+                                             DWORD,   dwLevel,
+                                             LPBYTE*, bufptr,
+                                             DWORD,   dwPrefMaxLen,
+                                             LPDWORD, lpdEntriesRead,
+                                             LPDWORD, lpdTotalEntries,
+                                             LPDWORD, lpdResumeHandle)
+{
+  dprintf(("NETAPI32: NetShareEnum not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetShareEnumSticky
+ * Purpose   : retrieves information about all sticky shared devices
+ * Parameters: LPWSTR  lpServerName
+ *             DWORD   dwLevel
+ *             LPBYTE* bufptr
+ *             DWORD   dwPrefMaxLen
+ *             LPDWORD lpdEntriesRead
+ *             LPDWORD lpdTotalEntries
+ *             LPDWORD lpdResumeHandle
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION7(NET_API_STATUS,OS2NetShareEnumSticky,LPWSTR,  lpServerName,
+                                                   DWORD,   dwLevel,
+                                                   LPBYTE*, bufptr,
+                                                   DWORD,   dwPrefMaxLen,
+                                                   LPDWORD, lpdEntriesRead,
+                                                   LPDWORD, lpdTotalEntries,
+                                                   LPDWORD, lpdResumeHandle)
+{
+  dprintf(("NETAPI32: NetShareEnumSticky not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetUseEnum
+ * Purpose   : retrieves information about all used devices
+ * Parameters: LPWSTR  lpServerName
+ *             DWORD   dwLevel
+ *             LPBYTE* bufptr
+ *             DWORD   dwPrefMaxLen
+ *             LPDWORD lpdEntriesRead
+ *             LPDWORD lpdTotalEntries
+ *             LPDWORD lpdResumeHandle
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Author    : Patrick Haller [Thu, 1999/08/18 00:15]
+ *****************************************************************************/
+
+ODINFUNCTION7(NET_API_STATUS,OS2NetUseEnum,LPWSTR,  lpServerName,
+                                           DWORD,   dwLevel,
+                                           LPBYTE*, bufptr,
+                                           DWORD,   dwPrefMaxLen,
+                                           LPDWORD, lpdEntriesRead,
+                                           LPDWORD, lpdTotalEntries,
+                                           LPDWORD, lpdResumeHandle)
+{
+  dprintf(("NETAPI32: NetUseEnum not implemented\n"));
+
+  return (NERR_BASE);
+}
+
+
+/*****************************************************************************
+ * Name      : NET_API_STATUS NetUseGetInfo
+ * Purpose   :
+ * Parameters: LPWSTR lpServerName
+ *             LPWSTR lpUseName
+ *             DWORD  dwlevel
+ *             LPBYTE *bufptr
+ * Variables :
+ * Result    :
+ * Remark    :
+ * Status    : UNTESTED STUB
+ *
+ * Stub Generated through PE2LX Stubwizard 0.02 from Markus Montkowski
+ *
+ * Author    : Markus Montkowski [09.07.98 21:28:38]
+ *****************************************************************************/
+
+ODINFUNCTION4(NET_API_STATUS,OS2NetUseGetInfo,LPWSTR,  lpServerName,
+                                              LPWSTR,  lpUseName,
+                                              DWORD,   dwLevel,
+                                              LPBYTE*, bufptr)
+
+{
+
+  dprintf(("NETAPI32: NetUseGetInfo not implemented\n"));
+
+  return (NERR_BASE);
+}
+
Index: trunk/src/wnetap32/wnetap32.def
===================================================================
--- trunk/src/wnetap32/wnetap32.def	(revision 560)
+++ trunk/src/wnetap32/wnetap32.def	(revision 561)
@@ -1,3 +1,3 @@
-; $Id: wnetap32.def,v 1.2 1999-06-10 16:17:57 phaller Exp $
+; $Id: wnetap32.def,v 1.3 1999-08-18 23:27:26 phaller Exp $
 
 LIBRARY WNETAP32 INITINSTANCE
@@ -30,19 +30,19 @@
 ;    0023    I_NetDfsSetLocalVolumeState
 ;    0024    I_NetDfsSetServerInfo
-;    0025    I_NetGetDCList
+  I_NetGetDCList                       = _OS2I_NetGetDCList@24         @25
 ;    0026    I_NetListCanonicalize
 ;    0027    I_NetListTraverse
-;    0029    I_NetLogonControl
 ;    0028    I_NetLogonControl2
+  I_NetLogonControl                    = _OS2I_NetLogonControl@24      @29
 ;    0030    I_NetLogonSamLogoff
 ;    0031    I_NetLogonSamLogon
 ;    0032    I_NetLogonUasLogoff
 ;    0033    I_NetLogonUasLogon
-;    0034    I_NetNameCanonicalize
-;    0035    I_NetNameCompare
-;    0036    I_NetNameValidate
-;    0037    I_NetPathCanonicalize
-;    0038    I_NetPathCompare
-;    0039    I_NetPathType
+  I_NetNameCanonicalize                = _OS2I_NetNameCanonicalize@16  @34
+  I_NetNameCompare                     = _OS2I_NetNameCompare@16       @35
+  I_NetNameValidate                    = _OS2I_NetNameValidate@12      @36
+  I_NetPathCanonicalize                = _OS2I_NetPathCanonicalize@16  @37
+  I_NetPathCompare                     = _OS2I_NetPathCompare@16       @38
+  I_NetPathType                        = _OS2I_NetPathType@8           @39
 ;    0041    I_NetServerAuthenticate
 ;    0040    I_NetServerAuthenticate2
@@ -51,18 +51,18 @@
 ;    0044    I_NetServerSetServiceBits
 ;    0045    I_NetServerSetServiceBitsEx
-  NetAlertRaise 		= _OS2NetAlertRaise@12			@46    ;stubonly
-  NetAlertRaiseEx 		= _OS2NetAlertRaiseEx@16		@47    ;stubonly
-  NetApiBufferAllocate 		= _OS2NetApiBufferAllocate@8		@48    ;stubonly
-  NetApiBufferFree 		= _OS2NetApiBufferFree@4		@49    ;stubonly
-  NetApiBufferReallocate 	= _OS2NetApiBufferReallocate@12		@50    ;stubonly
-  NetApiBufferSize 		= _OS2NetApiBufferSize@8		@51    ;stubonly
-;    0052    NetAuditClear
-;    0053    NetAuditRead
-;    0054    NetAuditWrite
+  NetAlertRaise                = _OS2NetAlertRaise@12                  @46    ;stubonly
+  NetAlertRaiseEx              = _OS2NetAlertRaiseEx@16                @47    ;stubonly
+  NetApiBufferAllocate                 = _OS2NetApiBufferAllocate@8            @48    ;stubonly
+  NetApiBufferFree             = _OS2NetApiBufferFree@4                @49    ;stubonly
+  NetApiBufferReallocate       = _OS2NetApiBufferReallocate@12         @50    ;stubonly
+  NetApiBufferSize             = _OS2NetApiBufferSize@8                @51    ;stubonly
+  NetAuditClear                = _OS2NetAuditClear@12                  @52
+  NetAuditRead                 = _OS2NetAuditRead@44                   @53
+  NetAuditWrite                = _OS2NetAuditWrite@44                  @54
 ;    0055    NetBrowserStatisticsGet
-;    0056    NetConfigGet
-;    0057    NetConfigGetAll
-;    0058    NetConfigSet
-;    0059    NetConnectionEnum
+  NetConfigGet                 = _OS2NetConfigGet@16                   @56
+  NetConfigGetAll              = _OS2NetConfigGetAll@12                @57
+  NetConfigSet                 = _OS2NetConfigSet@28                   @58
+  NetConnectionEnum            = _OS2NetConnectionEnum@32              @59
 ;    0060    NetDfsAdd
 ;    0061    NetDfsEnum
@@ -74,57 +74,57 @@
 ;    0067    NetDfsSetInfo
 ;    0068    NetEnumerateTrustedDomains
-;    0069    NetErrorLogClear
-;    0070    NetErrorLogRead
-;    0071    NetErrorLogWrite
-;    0072    NetFileClose
-  NetFileEnum 			= _OS2NetFileEnum@36			@73    ;stubonly
-  NetFileGetInfo 		= _OS2NetFileGetInfo@16			@74    ;stubonly
-  NetGetAnyDCName 		= _OS2NetGetAnyDCName@12		@75    ;stubonly
-  NetGetDCName 			= _OS2NetGetDCName@12			@76    ;stubonly
-  NetGetDisplayInformationIndex = _OS2NetGetDisplayInformationIndex@16	@77    ;stubonly
-  NetGroupAdd 			= _OS2NetGroupAdd@16			@78    ;stubonly
-  NetGroupAddUser 		= _OS2NetGroupAddUser@12		@79    ;stubonly
-  NetGroupDel 			= _OS2NetGroupDel@8			@80    ;stubonly
-  NetGroupDelUser 		= _OS2NetGroupDelUser@12		@81    ;stubonly
-  NetGroupEnum 			= _OS2NetGroupEnum@28			@82    ;stubonly
-  NetGroupGetInfo 		= _OS2NetGroupGetInfo@16		@83    ;stubonly
-  NetGroupGetUsers 		= _OS2NetGroupGetUsers@32		@84    ;stubonly
-  NetGroupSetInfo 		= _OS2NetGroupSetInfo@20		@85    ;stubonly
-  NetGroupSetUsers 		= _OS2NetGroupSetUsers@20		@86    ;stubonly
-;  NetHandleGetInfo 		= _OS2NetHandleGetInfo@20		@    ;stubonly NOT in DLL but in SDK Doc
-;  NetHandleSetInfo 		= _OS2NetHandleSetInfo@20		@    ;stubonly NOT in DLL but in SDK Doc
-  NetLocalGroupAdd 		= _OS2NetLocalGroupAdd@16		@87    ;stubonly
-;    0088    NetLocalGroupAddMember
-  NetLocalGroupAddMembers 	= _OS2NetLocalGroupAddMembers@20	@89    ;stubonly
-  NetLocalGroupDel 		= _OS2NetLocalGroupDel@8		@90    ;stubonly
+  NetErrorLogClear             = _OS2NetErrorLogClear@12               @69
+  NetErrorLogRead              = _OS2NetErrorLogRead@44                @70
+  NetErrorLogWrite             = _OS2NetErrorLogWrite@44               @71
+  NetFileClose                 = _OS2NetFileClose@8                    @72
+  NetFileEnum                  = _OS2NetFileEnum@36                    @73    ;stubonly
+  NetFileGetInfo               = _OS2NetFileGetInfo@16                 @74    ;stubonly
+  NetGetAnyDCName              = _OS2NetGetAnyDCName@12                @75    ;stubonly
+  NetGetDCName                         = _OS2NetGetDCName@12                   @76    ;stubonly
+  NetGetDisplayInformationIndex = _OS2NetGetDisplayInformationIndex@16 @77    ;stubonly
+  NetGroupAdd                  = _OS2NetGroupAdd@16                    @78    ;stubonly
+  NetGroupAddUser              = _OS2NetGroupAddUser@12                @79    ;stubonly
+  NetGroupDel                  = _OS2NetGroupDel@8                     @80    ;stubonly
+  NetGroupDelUser              = _OS2NetGroupDelUser@12                @81    ;stubonly
+  NetGroupEnum                         = _OS2NetGroupEnum@28                   @82    ;stubonly
+  NetGroupGetInfo              = _OS2NetGroupGetInfo@16                @83    ;stubonly
+  NetGroupGetUsers             = _OS2NetGroupGetUsers@32               @84    ;stubonly
+  NetGroupSetInfo              = _OS2NetGroupSetInfo@20                @85    ;stubonly
+  NetGroupSetUsers             = _OS2NetGroupSetUsers@20               @86    ;stubonly
+;  NetHandleGetInfo            = _OS2NetHandleGetInfo@20               @    ;stubonly NOT in DLL but in SDK Doc
+;  NetHandleSetInfo            = _OS2NetHandleSetInfo@20               @    ;stubonly NOT in DLL but in SDK Doc
+  NetLocalGroupAdd             = _OS2NetLocalGroupAdd@16               @87    ;stubonly
+  NetLocalGroupAddMember       = _OS2NetLocalGroupAddMember@12         @88
+  NetLocalGroupAddMembers      = _OS2NetLocalGroupAddMembers@20        @89    ;stubonly
+  NetLocalGroupDel             = _OS2NetLocalGroupDel@8                @90    ;stubonly
 ;    0091    NetLocalGroupDelMember
-  NetLocalGroupDelMembers 	= _OS2NetLocalGroupDelMembers@20	@92    ;stubonly
-  NetLocalGroupEnum 		= _OS2NetLocalGroupEnum@28		@93    ;stubonly
-  NetLocalGroupGetInfo 		= _OS2NetLocalGroupGetInfo@16		@94    ;stubonly
-  NetLocalGroupGetMembers 	= _OS2NetLocalGroupGetMembers@32	@95    ;stubonly
-  NetLocalGroupSetInfo 		= _OS2NetLocalGroupSetInfo@20		@96    ;stubonly
-  NetLocalGroupSetMembers 	= _OS2NetLocalGroupSetMembers@20	@97    ;stubonly
-  NetMessageBufferSend 		= _OS2NetMessageBufferSend@20		@98    ;stubonly
-  NetMessageNameAdd 		= _OS2NetMessageNameAdd@8		@99    ;stubonly
-  NetMessageNameDel 		= _OS2NetMessageNameDel@8		@100    ;stubonly
-  NetMessageNameEnum 		= _OS2NetMessageNameEnum@28		@101    ;stubonly
-  NetMessageNameGetInfo 	= _OS2NetMessageNameGetInfo@16		@102    ;stubonly
-  NetQueryDisplayInformation 	= _OS2NetQueryDisplayInformation@28	@103    ;stubonly
-  NetRemoteTOD 			= _OS2NetRemoteTOD@8			@105    ;stubonly
-  NetReplExportDirAdd 		= _OS2NetReplExportDirAdd@16		@106    ;stubonly
-  NetReplExportDirDel 		= _OS2NetReplExportDirDel@8		@107    ;stubonly
-  NetReplExportDirEnum 		= _OS2NetReplExportDirEnum@28		@108    ;stubonly
-  NetReplExportDirGetInfo 	= _OS2NetReplExportDirGetInfo@16	@109    ;stubonly
-  NetReplExportDirLock 		= _OS2NetReplExportDirLock@8		@110    ;stubonly
-  NetReplExportDirSetInfo 	= _OS2NetReplExportDirSetInfo@20	@111    ;stubonly
-  NetReplExportDirUnlock 	= _OS2NetReplExportDirUnlock@12		@112    ;stubonly
-  NetReplGetInfo 		= _OS2NetReplGetInfo@12			@113    ;stubonly
-  NetReplImportDirAdd 		= _OS2NetReplImportDirAdd@16		@114    ;stubonly
-  NetReplImportDirDel 		= _OS2NetReplImportDirDel@8		@115    ;stubonly
-  NetReplImportDirEnum 		= _OS2NetReplImportDirEnum@28		@116    ;stubonly
-  NetReplImportDirGetInfo 	= _OS2NetReplImportDirGetInfo@16	@117    ;stubonly
-  NetReplImportDirLock 		= _OS2NetReplImportDirLock@8		@118    ;stubonly
-  NetReplImportDirUnlock 	= _OS2NetReplImportDirUnlock@12		@119    ;stubonly
-  NetReplSetInfo 		= _OS2NetReplSetInfo@16			@120    ;stubonly
+  NetLocalGroupDelMembers      = _OS2NetLocalGroupDelMembers@20        @92    ;stubonly
+  NetLocalGroupEnum            = _OS2NetLocalGroupEnum@28              @93    ;stubonly
+  NetLocalGroupGetInfo                 = _OS2NetLocalGroupGetInfo@16           @94    ;stubonly
+  NetLocalGroupGetMembers      = _OS2NetLocalGroupGetMembers@32        @95    ;stubonly
+  NetLocalGroupSetInfo                 = _OS2NetLocalGroupSetInfo@20           @96    ;stubonly
+  NetLocalGroupSetMembers      = _OS2NetLocalGroupSetMembers@20        @97    ;stubonly
+  NetMessageBufferSend                 = _OS2NetMessageBufferSend@20           @98    ;stubonly
+  NetMessageNameAdd            = _OS2NetMessageNameAdd@8               @99    ;stubonly
+  NetMessageNameDel            = _OS2NetMessageNameDel@8               @100    ;stubonly
+  NetMessageNameEnum           = _OS2NetMessageNameEnum@28             @101    ;stubonly
+  NetMessageNameGetInfo        = _OS2NetMessageNameGetInfo@16          @102    ;stubonly
+  NetQueryDisplayInformation   = _OS2NetQueryDisplayInformation@28     @103    ;stubonly
+  NetRemoteTOD                         = _OS2NetRemoteTOD@8                    @105    ;stubonly
+  NetReplExportDirAdd          = _OS2NetReplExportDirAdd@16            @106    ;stubonly
+  NetReplExportDirDel          = _OS2NetReplExportDirDel@8             @107    ;stubonly
+  NetReplExportDirEnum                 = _OS2NetReplExportDirEnum@28           @108    ;stubonly
+  NetReplExportDirGetInfo      = _OS2NetReplExportDirGetInfo@16        @109    ;stubonly
+  NetReplExportDirLock                 = _OS2NetReplExportDirLock@8            @110    ;stubonly
+  NetReplExportDirSetInfo      = _OS2NetReplExportDirSetInfo@20        @111    ;stubonly
+  NetReplExportDirUnlock       = _OS2NetReplExportDirUnlock@12         @112    ;stubonly
+  NetReplGetInfo               = _OS2NetReplGetInfo@12                 @113    ;stubonly
+  NetReplImportDirAdd          = _OS2NetReplImportDirAdd@16            @114    ;stubonly
+  NetReplImportDirDel          = _OS2NetReplImportDirDel@8             @115    ;stubonly
+  NetReplImportDirEnum                 = _OS2NetReplImportDirEnum@28           @116    ;stubonly
+  NetReplImportDirGetInfo      = _OS2NetReplImportDirGetInfo@16        @117    ;stubonly
+  NetReplImportDirLock                 = _OS2NetReplImportDirLock@8            @118    ;stubonly
+  NetReplImportDirUnlock       = _OS2NetReplImportDirUnlock@12         @119    ;stubonly
+  NetReplSetInfo               = _OS2NetReplSetInfo@16                 @120    ;stubonly
 ;    0121    NetRplAdapterAdd
 ;    0122    NetRplAdapterDel
@@ -156,59 +156,59 @@
 ;    0148    NetRplWkstaGetInfo
 ;    0149    NetRplWkstaSetInfo
-  NetScheduleJobAdd 		= _OS2NetScheduleJobAdd@12		@150    ;stubonly
-  NetScheduleJobDel 		= _OS2NetScheduleJobDel@12		@151    ;stubonly
-  NetScheduleJobEnum 		= _OS2NetScheduleJobEnum@24		@152    ;stubonly
-  NetScheduleJobGetInfo 	= _OS2NetScheduleJobGetInfo@12		@153    ;stubonly
+  NetScheduleJobAdd            = _OS2NetScheduleJobAdd@12              @150    ;stubonly
+  NetScheduleJobDel            = _OS2NetScheduleJobDel@12              @151    ;stubonly
+  NetScheduleJobEnum           = _OS2NetScheduleJobEnum@24             @152    ;stubonly
+  NetScheduleJobGetInfo        = _OS2NetScheduleJobGetInfo@12          @153    ;stubonly
 ;    0154    NetServerComputerNameAdd
 ;    0155    NetServerComputerNameDel
-  NetServerDiskEnum 		= _OS2NetServerDiskEnum@28		@156    ;stubonly
-  NetServerEnum 		= _OS2NetServerEnum@36			@157    ;stubonly
+  NetServerDiskEnum            = _OS2NetServerDiskEnum@28              @156    ;stubonly
+  NetServerEnum                = _OS2NetServerEnum@36                  @157    ;stubonly
 ;    0158    NetServerEnumEx
-  NetServerGetInfo 		= _OS2NetServerGetInfo@12		@159    ;stubonly
-  NetServerSetInfo 		= _OS2NetServerSetInfo@16		@160    ;stubonly
-  NetServerTransportAdd 	= _OS2NetServerTransportAdd@12		@161    ;stubonly
-  NetServerTransportDel 	= _OS2NetServerTransportDel@8		@163    ;stubonly
-  NetServerTransportEnum 	= _OS2NetServerTransportEnum@28		@164    ;stubonly
-;    0165    NetServiceControl
-;    0166    NetServiceEnum
-;    0167    NetServiceGetInfo
-;    0168    NetServiceInstall
-  NetSessionDel 		= _OS2NetSessionDel@12			@169    ;stubonly
-  NetSessionEnum 		= _OS2NetSessionEnum@36			@170    ;stubonly
-  NetSessionGetInfo 		= _OS2NetSessionGetInfo@20		@171    ;stubonly
-  NetShareAdd 			= _OS2NetShareAdd@16			@172    ;stubonly
-  NetShareCheck 		= _OS2NetShareCheck@12			@173    ;stubonly
-  NetShareDel 			= _OS2NetShareDel@12			@174    ;stubonly
-;    0175    NetShareDelSticky
-;    0176    NetShareEnum
-;    0177    NetShareEnumSticky
-  NetShareGetInfo 		= _OS2NetShareGetInfo@16		@178    ;stubonly
-  NetShareSetInfo 		= _OS2NetShareSetInfo@20		@179    ;stubonly
-;  NetStatisticsGet2 		= _OS2NetStatisticsGet2@20		@    ;stubonly NOT in DLL but in SDK doc
-;    0181    NetUseAdd
-;    0182    NetUseDel
-;    0183    NetUseEnum
-;    0184    NetUseGetInfo
-  NetUserAdd 			= _OS2NetUserAdd@16			@185    ;stubonly
-  NetUserChangePassword 	= _OS2NetUserChangePassword@16		@186    ;stubonly
-  NetUserDel 			= _OS2NetUserDel@8			@187    ;stubonly
-  NetUserEnum 			= _OS2NetUserEnum@32			@188    ;stubonly
-  NetUserGetGroups 		= _OS2NetUserGetGroups@28		@189    ;stubonly
-  NetUserGetInfo 		= _OS2NetUserGetInfo@16			@190    ;stubonly
-  NetUserGetLocalGroups 	= _OS2NetUserGetLocalGroups@32		@191    ;stubonly
-  NetUserModalsGet 		= _OS2NetUserModalsGet@12		@192    ;stubonly
-  NetUserModalsSet 		= _OS2NetUserModalsSet@16		@193    ;stubonly
-  NetUserSetGroups 		= _OS2NetUserSetGroups@20		@194    ;stubonly
-  NetUserSetInfo 		= _OS2NetUserSetInfo@20			@195    ;stubonly
-  NetWkstaGetInfo 		= _OS2NetWkstaGetInfo@12		@196    ;stubonly
-  NetWkstaSetInfo 		= _OS2NetWkstaSetInfo@16		@197    ;stubonly
-  NetWkstaTransportAdd 		= _OS2NetWkstaTransportAdd@12		@198    ;stubonly
-  NetWkstaTransportDel 		= _OS2NetWkstaTransportDel@12		@199    ;stubonly
-  NetWkstaTransportEnum 	= _OS2NetWkstaTransportEnum@28		@200    ;stubonly
-  NetWkstaUserEnum 		= _OS2NetWkstaUserEnum@28		@201    ;stubonly
-  NetWkstaUserGetInfo 		= _OS2NetWkstaUserGetInfo@12		@202    ;stubonly
-  NetWkstaUserSetInfo 		= _OS2NetWkstaUserSetInfo@16		@203    ;stubonly
-;    0204    NetapipBufferAllocate
-  Netbios			= _OS2Netbios@4				@205
+  NetServerGetInfo             = _OS2NetServerGetInfo@12               @159    ;stubonly
+  NetServerSetInfo             = _OS2NetServerSetInfo@16               @160    ;stubonly
+  NetServerTransportAdd        = _OS2NetServerTransportAdd@12          @161    ;stubonly
+  NetServerTransportDel        = _OS2NetServerTransportDel@8           @163    ;stubonly
+  NetServerTransportEnum       = _OS2NetServerTransportEnum@28         @164    ;stubonly
+  NetServiceControl            = _OS2NetServiceControl@20              @165
+  NetServiceEnum               = _OS2NetServiceEnum@28                 @166
+  NetServiceGetInfo            = _OS2NetServiceGetInfo@16              @167
+  NetServiceInstall            = _OS2NetServiceInstall@20              @168
+  NetSessionDel                = _OS2NetSessionDel@12                  @169    ;stubonly
+  NetSessionEnum               = _OS2NetSessionEnum@36                 @170    ;stubonly
+  NetSessionGetInfo            = _OS2NetSessionGetInfo@20              @171    ;stubonly
+  NetShareAdd                  = _OS2NetShareAdd@16                    @172    ;stubonly
+  NetShareCheck                = _OS2NetShareCheck@12                  @173    ;stubonly
+  NetShareDel                  = _OS2NetShareDel@12                    @174    ;stubonly
+  NetShareDelSticky            = _OS2NetShareDelSticky@12              @175
+  NetShareEnum                 = _OS2NetShareEnum@28                   @176
+  NetShareEnumSticky           = _OS2NetShareEnumSticky@28             @177
+  NetShareGetInfo              = _OS2NetShareGetInfo@16                @178    ;stubonly
+  NetShareSetInfo              = _OS2NetShareSetInfo@20                @179    ;stubonly
+;  NetStatisticsGet2           = _OS2NetStatisticsGet2@20              @    ;stubonly NOT in DLL but in SDK doc
+  NetUseAdd                    = _OS2NetUseAdd@16                      @181
+  NetUseDel                    = _OS2NetUseDel@12                      @182
+  NetUseEnum                   = _OS2NetUseEnum@28                     @183
+  NetUseGetInfo                = _OS2NetUseGetInfo@16                  @184
+  NetUserAdd                   = _OS2NetUserAdd@16                     @185    ;stubonly
+  NetUserChangePassword        = _OS2NetUserChangePassword@16          @186    ;stubonly
+  NetUserDel                   = _OS2NetUserDel@8                      @187    ;stubonly
+  NetUserEnum                  = _OS2NetUserEnum@32                    @188    ;stubonly
+  NetUserGetGroups             = _OS2NetUserGetGroups@28               @189    ;stubonly
+  NetUserGetInfo               = _OS2NetUserGetInfo@16                 @190    ;stubonly
+  NetUserGetLocalGroups        = _OS2NetUserGetLocalGroups@32          @191    ;stubonly
+  NetUserModalsGet             = _OS2NetUserModalsGet@12               @192    ;stubonly
+  NetUserModalsSet             = _OS2NetUserModalsSet@16               @193    ;stubonly
+  NetUserSetGroups             = _OS2NetUserSetGroups@20               @194    ;stubonly
+  NetUserSetInfo               = _OS2NetUserSetInfo@20                 @195    ;stubonly
+  NetWkstaGetInfo              = _OS2NetWkstaGetInfo@12                @196    ;stubonly
+  NetWkstaSetInfo              = _OS2NetWkstaSetInfo@16                @197    ;stubonly
+  NetWkstaTransportAdd                 = _OS2NetWkstaTransportAdd@12           @198    ;stubonly
+  NetWkstaTransportDel                 = _OS2NetWkstaTransportDel@12           @199    ;stubonly
+  NetWkstaTransportEnum        = _OS2NetWkstaTransportEnum@28          @200    ;stubonly
+  NetWkstaUserEnum             = _OS2NetWkstaUserEnum@28               @201    ;stubonly
+  NetWkstaUserGetInfo          = _OS2NetWkstaUserGetInfo@12            @202    ;stubonly
+  NetWkstaUserSetInfo          = _OS2NetWkstaUserSetInfo@16            @203    ;stubonly
+  NetapipBufferAllocate        = _OS2NetapipBufferAllocate@12          @204
+  Netbios                      = _OS2Netbios@4                         @205
 ;    0206    NetpAccessCheck
 ;    0207    NetpAccessCheckAndAudit
@@ -269,10 +269,10 @@
 ;    0262    NlBindingAddServerToCache
 ;    0263    NlBindingRemoveServerFromCache
-;    0264    RxNetAccessAdd
-;    0265    RxNetAccessDel
-;    0266    RxNetAccessEnum
-;    0267    RxNetAccessGetInfo
-;    0268    RxNetAccessGetUserPerms
-;    0269    RxNetAccessSetInfo
+  RxNetAccessAdd                      = _OS2RxNetAccessAdd@24        @264
+  RxNetAccessDel                      = _OS2RxNetAccessDel@24        @265
+  RxNetAccessEnum                     = _OS2RxNetAccessEnum@24       @266
+  RxNetAccessGetInfo                  = _OS2RxNetAccessGetInfo@24    @267
+  RxNetAccessGetUserPerms             = _OS2RxNetAccessGetUserPerms@24 @268
+  RxNetAccessSetInfo                  = _OS2RxNetAccessSetInfo@24    @269
 ;    0270    RxNetServerEnum
 ;    0271    RxNetUserPasswordSet
