diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-09-02 16:12:42 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-09-03 15:29:26 -0500 |
commit | 237bdc6a97c0dd455da99c16e6b3b7cac4c79e86 (patch) | |
tree | 1f2c789a7aa752e068fac8a4ca08815d13bf527a /src/test/burn/TestData/Manual/BafThmutilTesting | |
parent | 7728e34e48a4fdb710ecc92dd8dca833bff3993f (diff) | |
download | wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.tar.gz wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.tar.bz2 wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.zip |
Add WixCanRestart and make wixstdba elevate for restart when required.
Fixes 5499
Diffstat (limited to 'src/test/burn/TestData/Manual/BafThmutilTesting')
-rw-r--r-- | src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp b/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp index c619dbd6..a2b8e041 100644 --- a/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp +++ b/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp | |||
@@ -477,7 +477,7 @@ static HRESULT LogUserSid() | |||
477 | TOKEN_USER* pTokenUser = NULL; | 477 | TOKEN_USER* pTokenUser = NULL; |
478 | LPWSTR sczSid = NULL; | 478 | LPWSTR sczSid = NULL; |
479 | 479 | ||
480 | hr = ProcTokenUser(::GetCurrentProcess(), &pTokenUser); | 480 | hr = ProcGetTokenInformation(::GetCurrentProcess(), TokenUser, reinterpret_cast<LPVOID*>(&pTokenUser)); |
481 | BalExitOnFailure(hr, "Failed to get user from process token."); | 481 | BalExitOnFailure(hr, "Failed to get user from process token."); |
482 | 482 | ||
483 | if (!::ConvertSidToStringSidW(pTokenUser->User.Sid, &sczSid)) | 483 | if (!::ConvertSidToStringSidW(pTokenUser->User.Sid, &sczSid)) |