Changeset 59594 in vbox for trunk/src/VBox/Runtime/r3/win
- Timestamp:
- Feb 5, 2016 1:28:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r59546 r59594 38 38 #include <errno.h> 39 39 #include <Strsafe.h> 40 #include <LsaLookup.h> 40 #ifndef TARGET_NT4 41 # include <LsaLookup.h> 42 #endif 41 43 #include <Lmcons.h> 42 44 43 #define _NTDEF_ /* Prevents redefining (P)UNICODE_STRING. */ 44 #include <Ntsecapi.h> 45 #ifndef TARGET_NT4 46 # define _NTDEF_ /* Prevents redefining (P)UNICODE_STRING. */ 47 # include <Ntsecapi.h> 48 #endif 45 49 46 50 #include <iprt/process.h> … … 1331 1335 } 1332 1336 else 1333 rc = VERR_ INVALID_PARAMETER;1337 rc = VERR_NOT_SUPPORTED; 1334 1338 1335 1339 } while (0); … … 1430 1434 dwErr = GetLastError(); 1431 1435 1436 #ifndef TARGET_NT4 1432 1437 /* 1433 1438 * The errors ERROR_TRUSTED_DOMAIN_FAILURE and ERROR_TRUSTED_RELATIONSHIP_FAILURE … … 1522 1527 /* Note: pSid will be free'd down below. */ 1523 1528 } 1524 else if (dwErr == ERROR_INSUFFICIENT_BUFFER) 1529 else 1530 #endif /* !TARGET_NT4 */ 1531 if (dwErr == ERROR_INSUFFICIENT_BUFFER) 1525 1532 { 1526 1533 /* Allocate memory for the LookupAccountNameW output buffers and do it for real. */
Note:
See TracChangeset
for help on using the changeset viewer.