efb46e86c1a18c885e55a9e728baa3038366e1d8
[reactos.git] / 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 "netapi32.h"
22
23 WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
24
25
26 /************************************************************
27 * NetGroupGetUsers (NETAPI32.@)
28 *
29 */
30 NET_API_STATUS
31 WINAPI
32 NetGroupGetUsers(IN LPCWSTR servername,
33 IN LPCWSTR groupname,
34 IN DWORD level,
35 OUT LPBYTE *bufptr,
36 IN DWORD prefmaxlen,
37 OUT LPDWORD entriesread,
38 OUT LPDWORD totalentries,
39 IN OUT PDWORD_PTR resume_handle)
40 {
41 FIXME("(%s, %s, %d, %p, %d, %p, %p, %p) stub!\n", debugstr_w(servername),
42 debugstr_w(groupname), level, bufptr, prefmaxlen, entriesread,
43 totalentries, resume_handle);
44 return ERROR_ACCESS_DENIED;
45 }
46
47
48 /************************************************************
49 * NetGroupSetUsers (NETAPI32.@)
50 *
51 */
52 NET_API_STATUS
53 WINAPI
54 NetGroupSetUsers(IN LPCWSTR servername,
55 IN LPCWSTR groupname,
56 IN DWORD level,
57 IN LPBYTE buf,
58 IN DWORD totalentries)
59 {
60 FIXME("(%s, %s, %d, %p, %d) stub!\n", debugstr_w(servername),
61 debugstr_w(groupname), level, buf, totalentries);
62 return ERROR_ACCESS_DENIED;
63 }
64
65 /* EOF */