Real fix for the broken netapi32.dll.

svn path=/trunk/; revision=33892
This commit is contained in:
Eric Kohl 2008-06-07 22:50:55 +00:00
parent f3091aac50
commit 58c925232a

View file

@ -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);