diff options
Diffstat (limited to 'src/burn/engine/core.h')
-rw-r--r-- | src/burn/engine/core.h | 47 |
1 files changed, 17 insertions, 30 deletions
diff --git a/src/burn/engine/core.h b/src/burn/engine/core.h index 9a6305d3..ec557d48 100644 --- a/src/burn/engine/core.h +++ b/src/burn/engine/core.h | |||
@@ -80,13 +80,27 @@ enum BURN_AU_PAUSE_ACTION | |||
80 | 80 | ||
81 | typedef struct _BURN_ENGINE_COMMAND | 81 | typedef struct _BURN_ENGINE_COMMAND |
82 | { | 82 | { |
83 | int argc; | ||
84 | LPWSTR* argv; | ||
85 | DWORD cUnknownArgs; | ||
86 | int* rgUnknownArgs; | ||
87 | BOOL fInvalidCommandLine; | ||
88 | |||
89 | BURN_MODE mode; | ||
90 | BURN_AU_PAUSE_ACTION automaticUpdates; | ||
91 | BOOL fDisableSystemRestore; | ||
92 | BOOL fDisableUnelevate; | ||
83 | BOOL fInitiallyElevated; | 93 | BOOL fInitiallyElevated; |
84 | 94 | ||
85 | LPWSTR sczActiveParent; | 95 | LPWSTR sczActiveParent; |
96 | LPWSTR sczAncestors; | ||
86 | LPWSTR sczIgnoreDependencies; | 97 | LPWSTR sczIgnoreDependencies; |
87 | 98 | ||
88 | LPWSTR sczSourceProcessPath; | 99 | LPWSTR sczSourceProcessPath; |
89 | LPWSTR sczOriginalSource; | 100 | LPWSTR sczOriginalSource; |
101 | |||
102 | DWORD dwLoggingAttributes; | ||
103 | LPWSTR sczLogFile; | ||
90 | } BURN_ENGINE_COMMAND; | 104 | } BURN_ENGINE_COMMAND; |
91 | 105 | ||
92 | typedef struct _BURN_ENGINE_STATE | 106 | typedef struct _BURN_ENGINE_STATE |
@@ -122,7 +136,6 @@ typedef struct _BURN_ENGINE_STATE | |||
122 | HANDLE hMessageWindowThread; | 136 | HANDLE hMessageWindowThread; |
123 | 137 | ||
124 | BOOL fDisableRollback; | 138 | BOOL fDisableRollback; |
125 | BOOL fDisableSystemRestore; | ||
126 | BOOL fParallelCacheAndExecute; | 139 | BOOL fParallelCacheAndExecute; |
127 | 140 | ||
128 | BURN_LOGGING log; | 141 | BURN_LOGGING log; |
@@ -131,9 +144,6 @@ typedef struct _BURN_ENGINE_STATE | |||
131 | 144 | ||
132 | BURN_PLAN plan; | 145 | BURN_PLAN plan; |
133 | 146 | ||
134 | BURN_MODE mode; | ||
135 | BURN_AU_PAUSE_ACTION automaticUpdates; | ||
136 | |||
137 | DWORD dwElevatedLoggingTlsId; | 147 | DWORD dwElevatedLoggingTlsId; |
138 | 148 | ||
139 | LPWSTR sczBundleEngineWorkingPath; | 149 | LPWSTR sczBundleEngineWorkingPath; |
@@ -141,14 +151,8 @@ typedef struct _BURN_ENGINE_STATE | |||
141 | BURN_PIPE_CONNECTION embeddedConnection; | 151 | BURN_PIPE_CONNECTION embeddedConnection; |
142 | 152 | ||
143 | BURN_RESUME_MODE resumeMode; | 153 | BURN_RESUME_MODE resumeMode; |
144 | BOOL fDisableUnelevate; | ||
145 | 154 | ||
146 | int argc; | ||
147 | LPWSTR* argv; | ||
148 | BOOL fInvalidCommandLine; | ||
149 | BURN_ENGINE_COMMAND internalCommand; | 155 | BURN_ENGINE_COMMAND internalCommand; |
150 | DWORD cUnknownArgs; | ||
151 | int* rgUnknownArgs; | ||
152 | } BURN_ENGINE_STATE; | 156 | } BURN_ENGINE_STATE; |
153 | 157 | ||
154 | typedef struct _BURN_APPLY_CONTEXT | 158 | typedef struct _BURN_APPLY_CONTEXT |
@@ -218,9 +222,7 @@ HRESULT CoreRecreateCommandLine( | |||
218 | __in BOOTSTRAPPER_COMMAND* pCommand, | 222 | __in BOOTSTRAPPER_COMMAND* pCommand, |
219 | __in BOOTSTRAPPER_RELATION_TYPE relationType, | 223 | __in BOOTSTRAPPER_RELATION_TYPE relationType, |
220 | __in BOOL fPassthrough, | 224 | __in BOOL fPassthrough, |
221 | __in_z_opt LPCWSTR wzAncestors, | 225 | __in_z_opt LPCWSTR wzAppendLogPath |
222 | __in_z_opt LPCWSTR wzAppendLogPath, | ||
223 | __in_z_opt LPCWSTR wzAdditionalCommandLineArguments | ||
224 | ); | 226 | ); |
225 | HRESULT CoreAppendFileHandleAttachedToCommandLine( | 227 | HRESULT CoreAppendFileHandleAttachedToCommandLine( |
226 | __in HANDLE hFileWithAttachedContainer, | 228 | __in HANDLE hFileWithAttachedContainer, |
@@ -241,27 +243,12 @@ void CoreCleanup( | |||
241 | __in BURN_ENGINE_STATE* pEngineState | 243 | __in BURN_ENGINE_STATE* pEngineState |
242 | ); | 244 | ); |
243 | HRESULT CoreParseCommandLine( | 245 | HRESULT CoreParseCommandLine( |
244 | __in int argc, | 246 | __in BURN_ENGINE_COMMAND* pInternalCommand, |
245 | __in LPWSTR* argv, | ||
246 | __in BOOTSTRAPPER_COMMAND* pCommand, | 247 | __in BOOTSTRAPPER_COMMAND* pCommand, |
247 | __in BURN_PIPE_CONNECTION* pCompanionConnection, | 248 | __in BURN_PIPE_CONNECTION* pCompanionConnection, |
248 | __in BURN_PIPE_CONNECTION* pEmbeddedConnection, | 249 | __in BURN_PIPE_CONNECTION* pEmbeddedConnection, |
249 | __inout BURN_MODE* pMode, | ||
250 | __inout BURN_AU_PAUSE_ACTION* pAutomaticUpdates, | ||
251 | __inout BOOL* pfDisableSystemRestore, | ||
252 | __inout_z LPWSTR* psczSourceProcessPath, | ||
253 | __inout_z LPWSTR* psczOriginalSource, | ||
254 | __inout HANDLE* phSectionFile, | 250 | __inout HANDLE* phSectionFile, |
255 | __inout HANDLE* phSourceEngineFile, | 251 | __inout HANDLE* phSourceEngineFile |
256 | __inout BOOL* pfDisableUnelevate, | ||
257 | __inout DWORD* pdwLoggingAttributes, | ||
258 | __inout_z LPWSTR* psczLogFile, | ||
259 | __inout_z LPWSTR* psczActiveParent, | ||
260 | __inout_z LPWSTR* psczIgnoreDependencies, | ||
261 | __inout_z LPWSTR* psczAncestors, | ||
262 | __inout BOOL* pfInvalidCommandLine, | ||
263 | __inout DWORD* pcUnknownArgs, | ||
264 | __inout int** prgUnknownArgs | ||
265 | ); | 252 | ); |
266 | 253 | ||
267 | #if defined(__cplusplus) | 254 | #if defined(__cplusplus) |