Author: ekohl
Date: Thu Jun 13 19:51:14 2013
New Revision: 59209
URL:
http://svn.reactos.org/svn/reactos?rev=59209&view=rev
Log:
[NETAPI32]
NetLocalGroupSetInfo: Implement level 1002.
Modified:
trunk/reactos/dll/win32/netapi32/local_group.c
Modified: trunk/reactos/dll/win32/netapi32/local_group.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/local_g…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/local_group.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/local_group.c [iso-8859-1] Thu Jun 13 19:51:14 2013
@@ -1817,9 +1817,14 @@
break;
case 1:
+ case 1002:
/* Set the alias admin comment */
- RtlInitUnicodeString(&AdminCommentInfo.AdminComment,
- ((PLOCALGROUP_INFO_1)buf)->lgrpi1_comment);
+ if (level == 1)
+ RtlInitUnicodeString(&AdminCommentInfo.AdminComment,
+ ((PLOCALGROUP_INFO_1)buf)->lgrpi1_comment);
+ else
+ RtlInitUnicodeString(&AdminCommentInfo.AdminComment,
+
((PLOCALGROUP_INFO_1002)buf)->lgrpi1002_comment);
Status = SamSetInformationAlias(AliasHandle,
AliasAdminCommentInformation,