[NETAPI] Implement NetGroupGetInfo
[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 * NetGroupAdd (NETAPI32.@)
27 *
28 */
29 NET_API_STATUS
30 WINAPI
31 NetGroupAdd(IN LPCWSTR servername,
32 IN DWORD level,
33 IN LPBYTE buf,
34 OUT LPDWORD parm_err)
35 {
36 FIXME("(%s, %d, %p, %p) stub!\n", debugstr_w(servername),
37 level, buf, parm_err);
38 return ERROR_ACCESS_DENIED;
39 }
40
41
42 /************************************************************
43 * NetGroupAddUser (NETAPI32.@)
44 *
45 */
46 NET_API_STATUS
47 WINAPI
48 NetGroupAddUser(IN LPCWSTR servername,
49 IN LPCWSTR groupname,
50 IN LPCWSTR username)
51 {
52 FIXME("(%s, %s, %s) stub!\n", debugstr_w(servername),
53 debugstr_w(groupname), debugstr_w(username));
54 return ERROR_ACCESS_DENIED;
55 }
56
57
58 /************************************************************
59 * NetGroupDel (NETAPI32.@)
60 *
61 */
62 NET_API_STATUS
63 WINAPI
64 NetGroupDel(IN LPCWSTR servername,
65 IN LPCWSTR groupname)
66 {
67 FIXME("(%s, %s) stub!\n", debugstr_w(servername),
68 debugstr_w(groupname));
69 return ERROR_ACCESS_DENIED;
70 }
71
72
73 /************************************************************
74 * NetGroupDelUser (NETAPI32.@)
75 *
76 */
77 NET_API_STATUS
78 WINAPI
79 NetGroupDelUser(IN LPCWSTR servername,
80 IN LPCWSTR groupname,
81 IN LPCWSTR username)
82 {
83 FIXME("(%s, %s, %s) stub!\n", debugstr_w(servername),
84 debugstr_w(groupname), debugstr_w(username));
85 return ERROR_ACCESS_DENIED;
86 }
87
88
89 /************************************************************
90 * NetGroupGetUsers (NETAPI32.@)
91 *
92 */
93 NET_API_STATUS
94 WINAPI
95 NetGroupGetUsers(IN LPCWSTR servername,
96 IN LPCWSTR groupname,
97 IN DWORD level,
98 OUT LPBYTE *bufptr,
99 IN DWORD prefmaxlen,
100 OUT LPDWORD entriesread,
101 OUT LPDWORD totalentries,
102 IN OUT PDWORD_PTR resume_handle)
103 {
104 FIXME("(%s, %s, %d, %p, %d, %p, %p, %p) stub!\n", debugstr_w(servername),
105 debugstr_w(groupname), level, bufptr, prefmaxlen, entriesread,
106 totalentries, resume_handle);
107 return ERROR_ACCESS_DENIED;
108 }
109
110
111 /************************************************************
112 * NetGroupSetInfo (NETAPI32.@)
113 *
114 */
115 NET_API_STATUS
116 WINAPI
117 NetGroupSetInfo(IN LPCWSTR servername,
118 IN LPCWSTR groupname,
119 IN DWORD level,
120 IN LPBYTE buf,
121 OUT LPDWORD parm_err)
122 {
123 FIXME("(%s, %s, %d, %p, %p) stub!\n", debugstr_w(servername),
124 debugstr_w(groupname), level, buf, parm_err);
125 return ERROR_ACCESS_DENIED;
126 }
127
128
129 /************************************************************
130 * NetGroupSetUsers (NETAPI32.@)
131 *
132 */
133 NET_API_STATUS
134 WINAPI
135 NetGroupSetUsers(IN LPCWSTR servername,
136 IN LPCWSTR groupname,
137 IN DWORD level,
138 IN LPBYTE buf,
139 IN DWORD totalentries)
140 {
141 FIXME("(%s, %s, %d, %p, %d) stub!\n", debugstr_w(servername),
142 debugstr_w(groupname), level, buf, totalentries);
143 return ERROR_ACCESS_DENIED;
144 }
145
146 /* EOF */