mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[USRMGR]
Enable the call to NetLocalGroupSetInfo. Now we can rename groups. svn path=/trunk/; revision=59203
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user