[NETAPI32]
[reactos.git] / reactos / dll / win32 / netapi32 / group.c
1 /*
2 * Copyright 2002 Andriy Palamarchuk
3 *
4 * netapi32 access functions
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21 #include <stdarg.h>
22
23 #include "ntstatus.h"
24 #define WIN32_NO_STATUS
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winerror.h"
28 #include "lmcons.h"
29 #include "lmaccess.h"
30 #include "lmapibuf.h"
31 #include "lmerr.h"
32 #include "lmuse.h"
33 #include "ntsecapi.h"
34 #include "wine/debug.h"
35 #include "wine/unicode.h"
36 #include "wine/list.h"
37
38 WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
39
40 /*
41 @ stub NetGroupAdd
42 @ stub NetGroupAddUser
43 @ stub NetGroupDel
44 @ stub NetGroupDelUser
45 */
46
47 /************************************************************
48 * NetGroupEnum (NETAPI32.@)
49 *
50 */
51 NET_API_STATUS
52 WINAPI
53 NetGroupEnum(LPCWSTR servername,
54 DWORD level,
55 LPBYTE *bufptr,
56 DWORD prefmaxlen,
57 LPDWORD entriesread,
58 LPDWORD totalentries,
59 LPDWORD resume_handle)
60 {
61 FIXME("(%s, %d, %p, %d, %p, %p, %p) stub!\n", debugstr_w(servername),
62 level, bufptr, prefmaxlen, entriesread, totalentries, resume_handle);
63 return ERROR_ACCESS_DENIED;
64 }
65
66 /************************************************************
67 * NetGroupGetInfo (NETAPI32.@)
68 *
69 */
70 NET_API_STATUS
71 WINAPI
72 NetGroupGetInfo(LPCWSTR servername,
73 LPCWSTR groupname,
74 DWORD level,
75 LPBYTE *bufptr)
76 {
77 FIXME("(%s, %s, %d, %p) stub!\n", debugstr_w(servername), debugstr_w(groupname), level, bufptr);
78 return ERROR_ACCESS_DENIED;
79 }
80
81 /*
82 @ stub NetGroupGetUsers
83 @ stub NetGroupSetInfo
84 @ stub NetGroupSetUsers
85 */