Changeset 29912 in vbox for trunk/src/VBox/Runtime/r3/win
- Timestamp:
- May 31, 2010 2:36:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r29807 r29912 525 525 * 526 526 * We may fail here with ERROR_PRIVILEGE_NOT_HELD. 527 *528 * Because we have to deal with http://support.microsoft.com/kb/245683 for NULL domain names529 * on NT4 here, pass an empty string. However, passing FQDNs should work!530 527 */ 531 528 PHANDLE phToken = NULL; 532 529 HANDLE hTokenLogon = INVALID_HANDLE_VALUE; 533 530 fRc = LogonUserW(pwszUser, 534 L"", 531 /* 532 * Because we have to deal with http://support.microsoft.com/kb/245683 533 * for NULL domain names when running on NT4 here, pass an empty string if so. 534 * However, passing FQDNs should work! 535 */ 536 ((DWORD)(LOBYTE(LOWORD(GetVersion()))) < 5) /* < Windows 2000. */ 537 ? L"" /* NT4 and older. */ 538 : NULL, /* Windows 2000 and up. */ 535 539 pwszPassword, 536 540 LOGON32_LOGON_INTERACTIVE,
Note:
See TracChangeset
for help on using the changeset viewer.