aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/core.h')
-rw-r--r--src/burn/engine/core.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/src/burn/engine/core.h b/src/burn/engine/core.h
index ec557d48..fb6c0668 100644
--- a/src/burn/engine/core.h
+++ b/src/burn/engine/core.h
@@ -18,6 +18,7 @@ const LPCWSTR BURN_COMMANDLINE_SWITCH_ELEVATED = L"burn.elevated";
18const LPCWSTR BURN_COMMANDLINE_SWITCH_EMBEDDED = L"burn.embedded"; 18const LPCWSTR BURN_COMMANDLINE_SWITCH_EMBEDDED = L"burn.embedded";
19const LPCWSTR BURN_COMMANDLINE_SWITCH_RUNONCE = L"burn.runonce"; 19const LPCWSTR BURN_COMMANDLINE_SWITCH_RUNONCE = L"burn.runonce";
20const LPCWSTR BURN_COMMANDLINE_SWITCH_LOG_APPEND = L"burn.log.append"; 20const LPCWSTR BURN_COMMANDLINE_SWITCH_LOG_APPEND = L"burn.log.append";
21const LPCWSTR BURN_COMMANDLINE_SWITCH_LOG_MODE = L"burn.log.mode";
21const LPCWSTR BURN_COMMANDLINE_SWITCH_RELATED_DETECT = L"burn.related.detect"; 22const LPCWSTR BURN_COMMANDLINE_SWITCH_RELATED_DETECT = L"burn.related.detect";
22const LPCWSTR BURN_COMMANDLINE_SWITCH_RELATED_UPGRADE = L"burn.related.upgrade"; 23const LPCWSTR BURN_COMMANDLINE_SWITCH_RELATED_UPGRADE = L"burn.related.upgrade";
23const LPCWSTR BURN_COMMANDLINE_SWITCH_RELATED_ADDON = L"burn.related.addon"; 24const LPCWSTR BURN_COMMANDLINE_SWITCH_RELATED_ADDON = L"burn.related.addon";
@@ -89,7 +90,9 @@ typedef struct _BURN_ENGINE_COMMAND
89 BURN_MODE mode; 90 BURN_MODE mode;
90 BURN_AU_PAUSE_ACTION automaticUpdates; 91 BURN_AU_PAUSE_ACTION automaticUpdates;
91 BOOL fDisableSystemRestore; 92 BOOL fDisableSystemRestore;
93#ifdef ENABLE_UNELEVATE
92 BOOL fDisableUnelevate; 94 BOOL fDisableUnelevate;
95#endif
93 BOOL fInitiallyElevated; 96 BOOL fInitiallyElevated;
94 97
95 LPWSTR sczActiveParent; 98 LPWSTR sczActiveParent;
@@ -215,14 +218,28 @@ HRESULT CoreSaveEngineState(
215LPCWSTR CoreRelationTypeToCommandLineString( 218LPCWSTR CoreRelationTypeToCommandLineString(
216 __in BOOTSTRAPPER_RELATION_TYPE relationType 219 __in BOOTSTRAPPER_RELATION_TYPE relationType
217 ); 220 );
218HRESULT CoreRecreateCommandLine( 221HRESULT CoreCreateCleanRoomCommandLine(
222 __deref_inout_z LPWSTR* psczCommandLine,
223 __in BURN_ENGINE_STATE* pEngineState,
224 __in_z LPCWSTR wzCleanRoomBundlePath,
225 __in_z LPCWSTR wzCurrentProcessPath,
226 __inout HANDLE* phFileAttached,
227 __inout HANDLE* phFileSelf
228 );
229HRESULT CoreCreatePassthroughBundleCommandLine(
219 __deref_inout_z LPWSTR* psczCommandLine, 230 __deref_inout_z LPWSTR* psczCommandLine,
220 __in BOOTSTRAPPER_ACTION action,
221 __in BURN_ENGINE_COMMAND* pInternalCommand, 231 __in BURN_ENGINE_COMMAND* pInternalCommand,
222 __in BOOTSTRAPPER_COMMAND* pCommand, 232 __in BOOTSTRAPPER_COMMAND* pCommand
223 __in BOOTSTRAPPER_RELATION_TYPE relationType, 233 );
224 __in BOOL fPassthrough, 234HRESULT CoreCreateResumeCommandLine(
225 __in_z_opt LPCWSTR wzAppendLogPath 235 __deref_inout_z LPWSTR* psczCommandLine,
236 __in BURN_PLAN* pPlan,
237 __in BURN_LOGGING* pLog
238 );
239HRESULT CoreCreateUpdateBundleCommandLine(
240 __deref_inout_z LPWSTR* psczCommandLine,
241 __in BURN_ENGINE_COMMAND* pInternalCommand,
242 __in BOOTSTRAPPER_COMMAND* pCommand
226 ); 243 );
227HRESULT CoreAppendFileHandleAttachedToCommandLine( 244HRESULT CoreAppendFileHandleAttachedToCommandLine(
228 __in HANDLE hFileWithAttachedContainer, 245 __in HANDLE hFileWithAttachedContainer,