From 6088c11f962a2474dea469b8164b66308afec837 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Fri, 6 Feb 2004 05:17:39 +0000 Subject: [PATCH] Stub NetUserEnum(). --- dlls/netapi32/access.c | 14 ++++++++++++++ dlls/netapi32/netapi32.spec | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c index 8e7c3c9b800..28f7949d2d1 100644 --- a/dlls/netapi32/access.c +++ b/dlls/netapi32/access.c @@ -256,6 +256,20 @@ NetUserGetInfo(LPCWSTR servername, LPCWSTR username, DWORD level, return NERR_Success; } + + +/************************************************************ + * NetUserEnum (NETAPI32.@) + */ +NET_API_STATUS WINAPI +NetUserEnum(LPCWSTR servername, DWORD level, DWORD filter, LPBYTE* bufptr, + DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries, + LPDWORD resume_handle) +{ + FIXME("stub!\n"); + return ERROR_ACCESS_DENIED; +} + /************************************************************ * ACCESS_QueryAdminDisplayInformation * diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec index 77f37eba79d..513019ac5d2 100644 --- a/dlls/netapi32/netapi32.spec +++ b/dlls/netapi32/netapi32.spec @@ -186,7 +186,7 @@ @ stub NetUserAdd @ stub NetUserChangePassword @ stub NetUserDel -@ stub NetUserEnum +@ stdcall NetUserEnum(wstr long long ptr long ptr ptr ptr) @ stub NetUserGetGroups @ stdcall NetUserGetInfo(wstr wstr long ptr) @ stub NetUserGetLocalGroups