mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Real fix for the broken netapi32.dll.
svn path=/trunk/; revision=33892
This commit is contained in:
@@ -260,7 +260,9 @@ SetGeneralUserData(HWND hwndDlg,
|
||||
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 @@ SetGeneralUserData(HWND hwndDlg,
|
||||
|
||||
#if 0
|
||||
status = NetUserSetInfo(NULL, pUserData->szUserName, 3, (LPBYTE)pUserInfo, &dwIndex);
|
||||
#else
|
||||
status = NERR_Success;
|
||||
#endif
|
||||
if (status != NERR_Success)
|
||||
{
|
||||
DebugPrintf(_T("Status: %lu Index: %lu"), status, dwIndex);
|
||||
}
|
||||
#else
|
||||
status = NERR_Success;
|
||||
#endif
|
||||
|
||||
if (pszFullName)
|
||||
HeapFree(GetProcessHeap(), 0, pszFullName);
|
||||
|
||||
Reference in New Issue
Block a user