wgl: Relax the pixel format attribute conversion code a bit.
[wine/gsoc_dplay.git] / dlls / netapi32 / local_group.c
blob68534ac6ccc07d05ecc75ea533da40f50f1265d7
1 /*
2 * Copyright 2006 Robert Reif
4 * netapi32 local group functions
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.
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.
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
21 #include <stdarg.h>
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 "winreg.h"
33 #include "ntsecapi.h"
34 #include "netapi32_misc.h"
35 #include "wine/debug.h"
36 #include "wine/unicode.h"
38 WINE_DEFAULT_DEBUG_CHANNEL(netapi32);
40 /************************************************************
41 * NetLocalGroupAdd (NETAPI32.@)
43 NET_API_STATUS WINAPI NetLocalGroupAdd(
44 LPCWSTR servername,
45 DWORD level,
46 LPBYTE buf,
47 LPDWORD parm_err)
49 FIXME("(%s %d %p %p) stub!\n", debugstr_w(servername), level, buf,
50 parm_err);
51 return NERR_Success;
54 /************************************************************
55 * NetLocalGroupAddMember (NETAPI32.@)
57 NET_API_STATUS WINAPI NetLocalGroupAddMember(
58 LPCWSTR servername,
59 LPCWSTR groupname,
60 PSID membersid)
62 FIXME("(%s %s %p) stub!\n", debugstr_w(servername),
63 debugstr_w(groupname), membersid);
64 return NERR_Success;
67 /************************************************************
68 * NetLocalGroupAddMembers (NETAPI32.@)
70 NET_API_STATUS WINAPI NetLocalGroupAddMembers(
71 LPCWSTR servername,
72 LPCWSTR groupname,
73 DWORD level,
74 LPBYTE buf,
75 DWORD totalentries)
77 FIXME("(%s %s %d %p %d) stub!\n", debugstr_w(servername),
78 debugstr_w(groupname), level, buf, totalentries);
79 return NERR_Success;
82 /************************************************************
83 * NetLocalGroupDel (NETAPI32.@)
85 NET_API_STATUS WINAPI NetLocalGroupDel(
86 LPCWSTR servername,
87 LPCWSTR groupname)
89 FIXME("(%s %s) stub!\n", debugstr_w(servername), debugstr_w(groupname));
90 return NERR_Success;
93 /************************************************************
94 * NetLocalGroupDelMember (NETAPI32.@)
96 NET_API_STATUS WINAPI NetLocalGroupDelMember(
97 LPCWSTR servername,
98 LPCWSTR groupname,
99 PSID membersid)
101 FIXME("(%s %s %p) stub!\n", debugstr_w(servername),
102 debugstr_w(groupname), membersid);
103 return NERR_Success;
106 /************************************************************
107 * NetLocalGroupDelMembers (NETAPI32.@)
109 NET_API_STATUS WINAPI NetLocalGroupDelMembers(
110 LPCWSTR servername,
111 LPCWSTR groupname,
112 DWORD level,
113 LPBYTE buf,
114 DWORD totalentries)
116 FIXME("(%s %s %d %p %d) stub!\n", debugstr_w(servername),
117 debugstr_w(groupname), level, buf, totalentries);
118 return NERR_Success;
121 /************************************************************
122 * NetLocalGroupEnum (NETAPI32.@)
124 NET_API_STATUS WINAPI NetLocalGroupEnum(
125 LPCWSTR servername,
126 DWORD level,
127 LPBYTE* bufptr,
128 DWORD prefmaxlen,
129 LPDWORD entriesread,
130 LPDWORD totalentries,
131 PDWORD_PTR resumehandle)
133 FIXME("(%s %d %p %d %p %p %p) stub!\n", debugstr_w(servername),
134 level, bufptr, prefmaxlen, entriesread, totalentries, resumehandle);
135 *entriesread = 0;
136 *totalentries = 0;
137 return NERR_Success;
140 /************************************************************
141 * NetLocalGroupGetInfo (NETAPI32.@)
143 NET_API_STATUS WINAPI NetLocalGroupGetInfo(
144 LPCWSTR servername,
145 LPCWSTR groupname,
146 DWORD level,
147 LPBYTE* bufptr)
149 FIXME("(%s %s %d %p) stub!\n", debugstr_w(servername),
150 debugstr_w(groupname), level, bufptr);
151 return NERR_Success;
154 /************************************************************
155 * NetLocalGroupGetMembers (NETAPI32.@)
157 NET_API_STATUS WINAPI NetLocalGroupGetMembers(
158 LPCWSTR servername,
159 LPCWSTR localgroupname,
160 DWORD level,
161 LPBYTE* bufptr,
162 DWORD prefmaxlen,
163 LPDWORD entriesread,
164 LPDWORD totalentries,
165 PDWORD_PTR resumehandle)
167 FIXME("(%s %s %d %p %d, %p %p %p) stub!\n", debugstr_w(servername),
168 debugstr_w(localgroupname), level, bufptr, prefmaxlen, entriesread,
169 totalentries, resumehandle);
170 return NERR_Success;
173 /************************************************************
174 * NetLocalGroupSetInfo (NETAPI32.@)
176 NET_API_STATUS WINAPI NetLocalGroupSetInfo(
177 LPCWSTR servername,
178 LPCWSTR groupname,
179 DWORD level,
180 LPBYTE buf,
181 LPDWORD parm_err)
183 FIXME("(%s %s %d %p %p) stub!\n", debugstr_w(servername),
184 debugstr_w(groupname), level, buf, parm_err);
185 return NERR_Success;
188 /************************************************************
189 * NetLocalGroupSetMember (NETAPI32.@)
191 NET_API_STATUS WINAPI NetLocalGroupSetMembers(
192 LPCWSTR servername,
193 LPCWSTR groupname,
194 DWORD level,
195 LPBYTE buf,
196 DWORD totalentries)
198 FIXME("(%s %s %d %p %d) stub!\n", debugstr_w(servername),
199 debugstr_w(groupname), level, buf, totalentries);
200 return NERR_Success;