mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[USRMGR]
Enable the call to NetLocalGroupSetInfo. Now we can rename groups. svn path=/trunk/; revision=59203
This commit is contained in:
parent
d61ff14f89
commit
37f7925a42
1 changed files with 2 additions and 6 deletions
|
@ -338,7 +338,7 @@ OnEndLabelEdit(LPNMLVDISPINFO pnmv)
|
|||
{
|
||||
TCHAR szOldGroupName[UNLEN];
|
||||
TCHAR szNewGroupName[UNLEN];
|
||||
//LOCALGROUP_INFO_0 lgrpi0;
|
||||
LOCALGROUP_INFO_0 lgrpi0;
|
||||
NET_API_STATUS status;
|
||||
|
||||
/* Leave, if there is no valid listview item */
|
||||
|
@ -367,13 +367,9 @@ OnEndLabelEdit(LPNMLVDISPINFO pnmv)
|
|||
return FALSE;
|
||||
|
||||
/* Change the user name */
|
||||
//lgrpi0.lgrpi0_name = szNewGroupName;
|
||||
lgrpi0.lgrpi0_name = szNewGroupName;
|
||||
|
||||
#if 0
|
||||
status = NetLocalGroupSetInfo(NULL, szOldGroupName, 0, (LPBYTE)&lgrpi0, NULL);
|
||||
#else
|
||||
status = NERR_Success;
|
||||
#endif
|
||||
if (status != NERR_Success)
|
||||
{
|
||||
TCHAR szText[256];
|
||||
|
|
Loading…
Reference in a new issue