diff options
Diffstat (limited to 'src/burn/engine/elevation.cpp')
-rw-r--r-- | src/burn/engine/elevation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/burn/engine/elevation.cpp b/src/burn/engine/elevation.cpp index 85d5a543..90e9db01 100644 --- a/src/burn/engine/elevation.cpp +++ b/src/burn/engine/elevation.cpp | |||
@@ -1677,8 +1677,8 @@ static HRESULT LaunchElevatedProcess( | |||
1677 | 1677 | ||
1678 | // Since ShellExecuteEx doesn't support passing inherited handles, don't bother with CoreAppendFileHandleSelfToCommandLine. | 1678 | // Since ShellExecuteEx doesn't support passing inherited handles, don't bother with CoreAppendFileHandleSelfToCommandLine. |
1679 | // We could fallback to using ::DuplicateHandle to inject the file handle later if necessary. | 1679 | // We could fallback to using ::DuplicateHandle to inject the file handle later if necessary. |
1680 | hr = ShelExec(pEngineState->sczBundleEngineWorkingPath, sczParameters, L"runas", NULL, SW_SHOWNA, hwndParent, &hProcess); | 1680 | hr = ShelExec(pEngineState->cache.sczBundleEngineWorkingPath, sczParameters, L"runas", NULL, SW_SHOWNA, hwndParent, &hProcess); |
1681 | ExitOnFailure(hr, "Failed to launch elevated child process: %ls", pEngineState->sczBundleEngineWorkingPath); | 1681 | ExitOnFailure(hr, "Failed to launch elevated child process: %ls", pEngineState->cache.sczBundleEngineWorkingPath); |
1682 | 1682 | ||
1683 | pConnection->dwProcessId = ::GetProcessId(hProcess); | 1683 | pConnection->dwProcessId = ::GetProcessId(hProcess); |
1684 | pConnection->hProcess = hProcess; | 1684 | pConnection->hProcess = hProcess; |