Author: cwittich
Date: Sat Dec 5 20:41:56 2009
New Revision: 44418
URL:
http://svn.reactos.org/svn/reactos?rev=44418&view=rev
Log:
sync netapi32 with wine 1.1.34
Modified:
trunk/reactos/dll/win32/netapi32/netapi32.spec
trunk/reactos/dll/win32/netapi32/wksta.c
Modified: trunk/reactos/dll/win32/netapi32/netapi32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/netapi3…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] Sat Dec 5 20:41:56 2009
@@ -205,7 +205,7 @@
@ stdcall NetUserChangePassword(wstr wstr wstr wstr)
@ stdcall NetUserDel(wstr wstr)
@ stdcall NetUserEnum(wstr long long ptr long ptr ptr ptr)
-@ stub NetUserGetGroups
+@ stdcall NetUserGetGroups(wstr wstr long ptr long ptr ptr)
@ stdcall NetUserGetInfo(wstr wstr long ptr)
@ stdcall NetUserGetLocalGroups(wstr wstr long long ptr long ptr ptr)
@ stdcall NetUserModalsGet(wstr long ptr)
Modified: trunk/reactos/dll/win32/netapi32/wksta.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/wksta.c…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/wksta.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/wksta.c [iso-8859-1] Sat Dec 5 20:41:56 2009
@@ -591,3 +591,26 @@
return NERR_Success;
}
+
+/************************************************************
+ * NetUserGetGroups (NETAPI32.@)
+ */
+NET_API_STATUS NET_API_FUNCTION NetUserGetGroups(
+ LPCWSTR servername,
+ LPCWSTR username,
+ DWORD level,
+ LPBYTE *bufptr,
+ DWORD prefixmaxlen,
+ LPDWORD entriesread,
+ LPDWORD totalentries)
+{
+ FIXME("%s %s %d %p %d %p %p stub\n", debugstr_w(servername),
+ debugstr_w(username), level, bufptr, prefixmaxlen, entriesread,
+ totalentries);
+
+ *bufptr = NULL;
+ *entriesread = 0;
+ *totalentries = 0;
+
+ return ERROR_INVALID_LEVEL;
+}