https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2a3c94e3016a4689d0376…
commit 2a3c94e3016a4689d0376899cbfb9ed4b0c97a77
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Feb 14 11:26:54 2021 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Feb 14 11:26:54 2021 +0100
[NETAPI32] Use our implementation of NetWkstaUserEnum instead of the Wine stub
---
dll/win32/netapi32/wksta.c | 13 -------------
dll/win32/netapi32/wksta_new.c | 2 ++
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/dll/win32/netapi32/wksta.c b/dll/win32/netapi32/wksta.c
index af835f20f3a..8890d7ce7e5 100644
--- a/dll/win32/netapi32/wksta.c
+++ b/dll/win32/netapi32/wksta.c
@@ -419,19 +419,6 @@ NET_API_STATUS WINAPI NetWkstaUserGetInfo(LMSTR reserved, DWORD
level,
return NERR_Success;
}
-/************************************************************
- * NetWkstaUserEnum (NETAPI32.@)
- */
-NET_API_STATUS WINAPI
-NetWkstaUserEnum(LMSTR servername, DWORD level, LPBYTE* bufptr,
- DWORD prefmaxlen, LPDWORD entriesread,
- LPDWORD totalentries, LPDWORD resumehandle)
-{
- FIXME("(%s, %d, %p, %d, %p, %p, %p): stub!\n", debugstr_w(servername),
- level, bufptr, prefmaxlen, entriesread, totalentries, resumehandle);
- return ERROR_INVALID_PARAMETER;
-}
-
/************************************************************
* NetpGetComputerName (NETAPI32.@)
*/
diff --git a/dll/win32/netapi32/wksta_new.c b/dll/win32/netapi32/wksta_new.c
index 0c84a23f20f..29441bb52bc 100644
--- a/dll/win32/netapi32/wksta_new.c
+++ b/dll/win32/netapi32/wksta_new.c
@@ -1035,6 +1035,7 @@ NetWkstaTransportEnum(
return status;
}
+#endif
NET_API_STATUS
@@ -1108,6 +1109,7 @@ NetWkstaUserEnum(
}
+#if 0
NET_API_STATUS
WINAPI
NetWkstaUserGetInfo(