mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 14:16:30 +00:00
Real fix for the broken netapi32.dll.
svn path=/trunk/; revision=33892
This commit is contained in:
parent
f3091aac50
commit
58c925232a
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue