Author: ekohl Date: Sat Jun 7 17:50:55 2008 New Revision: 33892
URL: http://svn.reactos.org/svn/reactos?rev=33892&view=rev Log: Real fix for the broken netapi32.dll.
Modified: trunk/reactos/dll/cpl/usrmgr/userprops.c
Modified: trunk/reactos/dll/cpl/usrmgr/userprops.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/userprops.c?... ============================================================================== --- trunk/reactos/dll/cpl/usrmgr/userprops.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/usrmgr/userprops.c [iso-8859-1] Sat Jun 7 17:50:55 2008 @@ -260,7 +260,9 @@ LPTSTR pszFullName = NULL; LPTSTR pszComment = NULL; NET_API_STATUS status; +#if 0 DWORD dwIndex; +#endif INT nLength;
NetUserGetInfo(NULL, pUserData->szUserName, 3, (LPBYTE*)&pUserInfo); @@ -297,13 +299,13 @@
#if 0 status = NetUserSetInfo(NULL, pUserData->szUserName, 3, (LPBYTE)pUserInfo, &dwIndex); + if (status != NERR_Success) + { + DebugPrintf(_T("Status: %lu Index: %lu"), status, dwIndex); + } #else status = NERR_Success; #endif - if (status != NERR_Success) - { - DebugPrintf(_T("Status: %lu Index: %lu"), status, dwIndex); - }
if (pszFullName) HeapFree(GetProcessHeap(), 0, pszFullName);