netapi32: add stub for NetLocalGroupEnum

Robert Reif reif at earthlink.net
Fri Aug 4 17:35:04 CDT 2006


-------------- next part --------------
diff -p -u -r1.14 access.c
--- dlls/netapi32/access.c	23 May 2006 12:48:21 -0000	1.14
+++ dlls/netapi32/access.c	4 Aug 2006 22:33:58 -0000
@@ -686,6 +686,22 @@ NET_API_STATUS WINAPI NetLocalGroupAdd(L
 }
 
 /************************************************************
+ *                NetLocalGroupEnum  (NETAPI32.@)
+ */
+NET_API_STATUS WINAPI NetLocalGroupEnum(LPCWSTR servername, DWORD level,
+                                        LPBYTE* bufptr, DWORD prefmaxlen,
+                                        LPDWORD entriesread,
+                                        LPDWORD totalentries,
+                                        PDWORD_PTR resumehandle)
+{
+    FIXME("(%s %ld %p %ld %p %p %p) stub!\n", debugstr_w(servername),
+          level, bufptr, prefmaxlen, entriesread, totalentries, resumehandle);
+    *entriesread = 0;
+    *totalentries = 0;
+    return NERR_Success;
+}
+
+/************************************************************
  *                NetLocalGroupSetMember (NETAPI32.@)
  */
 
diff -p -u -r1.24 netapi32.spec
--- dlls/netapi32/netapi32.spec	7 Jun 2006 12:51:17 -0000	1.24
+++ dlls/netapi32/netapi32.spec	4 Aug 2006 22:33:58 -0000
@@ -107,7 +107,7 @@
 @ stub NetLocalGroupDel
 @ stub NetLocalGroupDelMember
 @ stub NetLocalGroupDelMembers
-@ stub NetLocalGroupEnum
+@ stdcall NetLocalGroupEnum(ptr long ptr long ptr ptr ptr)
 @ stub NetLocalGroupGetInfo
 @ stub NetLocalGroupGetMembers
 @ stub NetLocalGroupSetInfo


More information about the wine-patches mailing list