diff options
Diffstat (limited to '')
| -rw-r--r-- | src/burn/engine/engine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/burn/engine/engine.cpp b/src/burn/engine/engine.cpp index c372772c..d432f732 100644 --- a/src/burn/engine/engine.cpp +++ b/src/burn/engine/engine.cpp | |||
| @@ -379,7 +379,8 @@ static HRESULT InitializeEngineState( | |||
| 379 | BurnPipeConnectionInitialize(&pEngineState->embeddedConnection); | 379 | BurnPipeConnectionInitialize(&pEngineState->embeddedConnection); |
| 380 | 380 | ||
| 381 | // Retain whether bundle was initially run elevated. | 381 | // Retain whether bundle was initially run elevated. |
| 382 | ProcElevated(::GetCurrentProcess(), &pEngineState->internalCommand.fInitiallyElevated); | 382 | hr = ProcIsHighIntegrity(::GetCurrentProcess(), &pEngineState->internalCommand.fInitiallyElevated); |
| 383 | ExitOnFailure(hr, "Failed to determine if process is running elevated."); | ||
| 383 | 384 | ||
| 384 | // Parse command line. | 385 | // Parse command line. |
| 385 | hr = CoreParseCommandLine(&pEngineState->internalCommand, &pEngineState->command, &pEngineState->companionConnection, &pEngineState->embeddedConnection, &hSectionFile, &hSourceEngineFile); | 386 | hr = CoreParseCommandLine(&pEngineState->internalCommand, &pEngineState->command, &pEngineState->companionConnection, &pEngineState->embeddedConnection, &hSectionFile, &hSourceEngineFile); |
