projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8f14288
)
[NETAPI32]
author
Eric Kohl
<eric.kohl@reactos.org>
Thu, 13 Jun 2013 19:51:14 +0000
(19:51 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Thu, 13 Jun 2013 19:51:14 +0000
(19:51 +0000)
NetLocalGroupSetInfo: Implement level 1002.
svn path=/trunk/; revision=59209
reactos/dll/win32/netapi32/local_group.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/netapi32/local_group.c
b/reactos/dll/win32/netapi32/local_group.c
index
8a34f0e
..
9f49f50
100644
(file)
--- a/
reactos/dll/win32/netapi32/local_group.c
+++ b/
reactos/dll/win32/netapi32/local_group.c
@@
-1817,9
+1817,14
@@
NetLocalGroupSetInfo(
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,