- Timestamp:
- Jun 6, 2013 11:59:11 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r43879 r46404 5 5 6 6 /* 7 * Copyright (C) 2006-201 2Oracle Corporation7 * Copyright (C) 2006-2013 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 51 51 #include <iprt/initterm.h> 52 52 #include <iprt/ldr.h> 53 #include <iprt/log.h> 53 54 #include <iprt/mem.h> 54 55 #include <iprt/once.h> … … 294 295 case ERROR_ACCOUNT_RESTRICTION: /* See: http://support.microsoft.com/kb/303846/ */ 295 296 case ERROR_PASSWORD_RESTRICTION: 296 rc = VERR_AUTHENTICATION_FAILURE; 297 case ERROR_ACCOUNT_DISABLED: /* See: http://support.microsoft.com/kb/263936 */ 298 rc = VERR_ACCOUNT_RESTRICTED; 297 299 break; 298 300 … … 602 604 phToken); 603 605 if (!fRc) 604 return rtProcWinMapErrorCodes(GetLastError()); 606 { 607 DWORD dwErr = GetLastError(); 608 int rc = rtProcWinMapErrorCodes(dwErr); 609 if (rc == VERR_UNRESOLVED_ERROR) 610 LogRelFunc(("dwErr=%u (%#x), rc=%Rrc\n", dwErr, dwErr, rc)); 611 return rc; 612 } 605 613 return VINF_SUCCESS; 606 614 } … … 951 959 if ( RT_SUCCESS(rc) 952 960 && dwErr != NO_ERROR) 961 { 953 962 rc = rtProcWinMapErrorCodes(dwErr); 963 if (rc == VERR_UNRESOLVED_ERROR) 964 LogRelFunc(("dwErr=%u (%#x), rc=%Rrc\n", dwErr, dwErr, rc)); 965 } 954 966 return rc; 955 967 } … … 992 1004 pProcInfo); 993 1005 if (!fRc) 994 rc = rtProcWinMapErrorCodes(GetLastError()); 1006 { 1007 DWORD dwErr = GetLastError(); 1008 rc = rtProcWinMapErrorCodes(dwErr); 1009 if (rc == VERR_UNRESOLVED_ERROR) 1010 LogRelFunc(("pfnCreateProcessWithLogonW (%p) failed: dwErr=%u (%#x), rc=%Rrc\n", 1011 pfnCreateProcessWithLogonW, dwErr, dwErr, rc)); 1012 } 995 1013 rtProcWinDestroyEnv(pwszzBlock); 996 1014 }
Note:
See TracChangeset
for help on using the changeset viewer.