diff options
Diffstat (limited to 'src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h')
| -rw-r--r-- | src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h | 901 |
1 files changed, 901 insertions, 0 deletions
diff --git a/src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h b/src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h new file mode 100644 index 00000000..7fe3ffd8 --- /dev/null +++ b/src/api/burn/balutil/inc/BalBaseBootstrapperApplicationProc.h | |||
| @@ -0,0 +1,901 @@ | |||
| 1 | #pragma once | ||
| 2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 3 | |||
| 4 | |||
| 5 | #include <windows.h> | ||
| 6 | |||
| 7 | #include "BootstrapperEngine.h" | ||
| 8 | #include "BootstrapperApplication.h" | ||
| 9 | #include "IBootstrapperEngine.h" | ||
| 10 | #include "IBootstrapperApplication.h" | ||
| 11 | |||
| 12 | static HRESULT BalBaseBAProcOnDetectBegin( | ||
| 13 | __in IBootstrapperApplication* pBA, | ||
| 14 | __in BA_ONDETECTBEGIN_ARGS* pArgs, | ||
| 15 | __inout BA_ONDETECTBEGIN_RESULTS* pResults | ||
| 16 | ) | ||
| 17 | { | ||
| 18 | return pBA->OnDetectBegin(pArgs->fCached, pArgs->fInstalled, pArgs->cPackages, &pResults->fCancel); | ||
| 19 | } | ||
| 20 | |||
| 21 | static HRESULT BalBaseBAProcOnDetectComplete( | ||
| 22 | __in IBootstrapperApplication* pBA, | ||
| 23 | __in BA_ONDETECTCOMPLETE_ARGS* pArgs, | ||
| 24 | __inout BA_ONDETECTCOMPLETE_RESULTS* /*pResults*/ | ||
| 25 | ) | ||
| 26 | { | ||
| 27 | return pBA->OnDetectComplete(pArgs->hrStatus, pArgs->fEligibleForCleanup); | ||
| 28 | } | ||
| 29 | |||
| 30 | static HRESULT BalBaseBAProcOnPlanBegin( | ||
| 31 | __in IBootstrapperApplication* pBA, | ||
| 32 | __in BA_ONPLANBEGIN_ARGS* pArgs, | ||
| 33 | __inout BA_ONPLANBEGIN_RESULTS* pResults | ||
| 34 | ) | ||
| 35 | { | ||
| 36 | return pBA->OnPlanBegin(pArgs->cPackages, &pResults->fCancel); | ||
| 37 | } | ||
| 38 | |||
| 39 | static HRESULT BalBaseBAProcOnPlanComplete( | ||
| 40 | __in IBootstrapperApplication* pBA, | ||
| 41 | __in BA_ONPLANCOMPLETE_ARGS* pArgs, | ||
| 42 | __inout BA_ONPLANCOMPLETE_RESULTS* /*pResults*/ | ||
| 43 | ) | ||
| 44 | { | ||
| 45 | return pBA->OnPlanComplete(pArgs->hrStatus); | ||
| 46 | } | ||
| 47 | |||
| 48 | static HRESULT BalBaseBAProcOnStartup( | ||
| 49 | __in IBootstrapperApplication* pBA, | ||
| 50 | __in BA_ONSTARTUP_ARGS* /*pArgs*/, | ||
| 51 | __inout BA_ONSTARTUP_RESULTS* /*pResults*/ | ||
| 52 | ) | ||
| 53 | { | ||
| 54 | return pBA->OnStartup(); | ||
| 55 | } | ||
| 56 | |||
| 57 | static HRESULT BalBaseBAProcOnShutdown( | ||
| 58 | __in IBootstrapperApplication* pBA, | ||
| 59 | __in BA_ONSHUTDOWN_ARGS* /*pArgs*/, | ||
| 60 | __inout BA_ONSHUTDOWN_RESULTS* pResults | ||
| 61 | ) | ||
| 62 | { | ||
| 63 | return pBA->OnShutdown(&pResults->action); | ||
| 64 | } | ||
| 65 | |||
| 66 | static HRESULT BalBaseBAProcOnSystemShutdown( | ||
| 67 | __in IBootstrapperApplication* pBA, | ||
| 68 | __in BA_ONSYSTEMSHUTDOWN_ARGS* pArgs, | ||
| 69 | __inout BA_ONSYSTEMSHUTDOWN_RESULTS* pResults | ||
| 70 | ) | ||
| 71 | { | ||
| 72 | return pBA->OnSystemShutdown(pArgs->dwEndSession, &pResults->fCancel); | ||
| 73 | } | ||
| 74 | |||
| 75 | static HRESULT BalBaseBAProcOnDetectForwardCompatibleBundle( | ||
| 76 | __in IBootstrapperApplication* pBA, | ||
| 77 | __in BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS* pArgs, | ||
| 78 | __inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults | ||
| 79 | ) | ||
| 80 | { | ||
| 81 | return pBA->OnDetectForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fMissingFromCache, &pResults->fCancel); | ||
| 82 | } | ||
| 83 | |||
| 84 | static HRESULT BalBaseBAProcOnDetectUpdateBegin( | ||
| 85 | __in IBootstrapperApplication* pBA, | ||
| 86 | __in BA_ONDETECTUPDATEBEGIN_ARGS* pArgs, | ||
| 87 | __inout BA_ONDETECTUPDATEBEGIN_RESULTS* pResults | ||
| 88 | ) | ||
| 89 | { | ||
| 90 | return pBA->OnDetectUpdateBegin(pArgs->wzUpdateLocation, &pResults->fCancel, &pResults->fSkip); | ||
| 91 | } | ||
| 92 | |||
| 93 | static HRESULT BalBaseBAProcOnDetectUpdate( | ||
| 94 | __in IBootstrapperApplication* pBA, | ||
| 95 | __in BA_ONDETECTUPDATE_ARGS* pArgs, | ||
| 96 | __inout BA_ONDETECTUPDATE_RESULTS* pResults | ||
| 97 | ) | ||
| 98 | { | ||
| 99 | return pBA->OnDetectUpdate(pArgs->wzUpdateLocation, pArgs->dw64Size, pArgs->wzVersion, pArgs->wzTitle, pArgs->wzSummary, pArgs->wzContentType, pArgs->wzContent, &pResults->fCancel, &pResults->fStopProcessingUpdates); | ||
| 100 | } | ||
| 101 | |||
| 102 | static HRESULT BalBaseBAProcOnDetectUpdateComplete( | ||
| 103 | __in IBootstrapperApplication* pBA, | ||
| 104 | __in BA_ONDETECTUPDATECOMPLETE_ARGS* pArgs, | ||
| 105 | __inout BA_ONDETECTUPDATECOMPLETE_RESULTS* pResults | ||
| 106 | ) | ||
| 107 | { | ||
| 108 | return pBA->OnDetectUpdateComplete(pArgs->hrStatus, &pResults->fIgnoreError); | ||
| 109 | } | ||
| 110 | |||
| 111 | static HRESULT BalBaseBAProcOnDetectRelatedBundle( | ||
| 112 | __in IBootstrapperApplication* pBA, | ||
| 113 | __in BA_ONDETECTRELATEDBUNDLE_ARGS* pArgs, | ||
| 114 | __inout BA_ONDETECTRELATEDBUNDLE_RESULTS* pResults | ||
| 115 | ) | ||
| 116 | { | ||
| 117 | return pBA->OnDetectRelatedBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->operation, pArgs->fMissingFromCache, &pResults->fCancel); | ||
| 118 | } | ||
| 119 | |||
| 120 | static HRESULT BalBaseBAProcOnDetectPackageBegin( | ||
| 121 | __in IBootstrapperApplication* pBA, | ||
| 122 | __in BA_ONDETECTPACKAGEBEGIN_ARGS* pArgs, | ||
| 123 | __inout BA_ONDETECTPACKAGEBEGIN_RESULTS* pResults | ||
| 124 | ) | ||
| 125 | { | ||
| 126 | return pBA->OnDetectPackageBegin(pArgs->wzPackageId, &pResults->fCancel); | ||
| 127 | } | ||
| 128 | |||
| 129 | static HRESULT BalBaseBAProcOnDetectRelatedMsiPackage( | ||
| 130 | __in IBootstrapperApplication* pBA, | ||
| 131 | __in BA_ONDETECTRELATEDMSIPACKAGE_ARGS* pArgs, | ||
| 132 | __inout BA_ONDETECTRELATEDMSIPACKAGE_RESULTS* pResults | ||
| 133 | ) | ||
| 134 | { | ||
| 135 | return pBA->OnDetectRelatedMsiPackage(pArgs->wzPackageId, pArgs->wzUpgradeCode, pArgs->wzProductCode, pArgs->fPerMachine, pArgs->wzVersion, pArgs->operation, &pResults->fCancel); | ||
| 136 | } | ||
| 137 | |||
| 138 | static HRESULT BalBaseBAProcOnDetectPatchTarget( | ||
| 139 | __in IBootstrapperApplication* pBA, | ||
| 140 | __in BA_ONDETECTPATCHTARGET_ARGS* pArgs, | ||
| 141 | __inout BA_ONDETECTPATCHTARGET_RESULTS* pResults | ||
| 142 | ) | ||
| 143 | { | ||
| 144 | return pBA->OnDetectPatchTarget(pArgs->wzPackageId, pArgs->wzProductCode, pArgs->patchState, &pResults->fCancel); | ||
| 145 | } | ||
| 146 | |||
| 147 | static HRESULT BalBaseBAProcOnDetectMsiFeature( | ||
| 148 | __in IBootstrapperApplication* pBA, | ||
| 149 | __in BA_ONDETECTMSIFEATURE_ARGS* pArgs, | ||
| 150 | __inout BA_ONDETECTMSIFEATURE_RESULTS* pResults | ||
| 151 | ) | ||
| 152 | { | ||
| 153 | return pBA->OnDetectMsiFeature(pArgs->wzPackageId, pArgs->wzFeatureId, pArgs->state, &pResults->fCancel); | ||
| 154 | } | ||
| 155 | |||
| 156 | static HRESULT BalBaseBAProcOnDetectPackageComplete( | ||
| 157 | __in IBootstrapperApplication* pBA, | ||
| 158 | __in BA_ONDETECTPACKAGECOMPLETE_ARGS* pArgs, | ||
| 159 | __inout BA_ONDETECTPACKAGECOMPLETE_RESULTS* /*pResults*/ | ||
| 160 | ) | ||
| 161 | { | ||
| 162 | return pBA->OnDetectPackageComplete(pArgs->wzPackageId, pArgs->hrStatus, pArgs->state, pArgs->fCached); | ||
| 163 | } | ||
| 164 | |||
| 165 | static HRESULT BalBaseBAProcOnPlanRelatedBundle( | ||
| 166 | __in IBootstrapperApplication* pBA, | ||
| 167 | __in BA_ONPLANRELATEDBUNDLE_ARGS* pArgs, | ||
| 168 | __inout BA_ONPLANRELATEDBUNDLE_RESULTS* pResults | ||
| 169 | ) | ||
| 170 | { | ||
| 171 | return pBA->OnPlanRelatedBundle(pArgs->wzBundleId, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel); | ||
| 172 | } | ||
| 173 | |||
| 174 | static HRESULT BalBaseBAProcOnPlanPackageBegin( | ||
| 175 | __in IBootstrapperApplication* pBA, | ||
| 176 | __in BA_ONPLANPACKAGEBEGIN_ARGS* pArgs, | ||
| 177 | __inout BA_ONPLANPACKAGEBEGIN_RESULTS* pResults | ||
| 178 | ) | ||
| 179 | { | ||
| 180 | return pBA->OnPlanPackageBegin(pArgs->wzPackageId, pArgs->state, pArgs->fCached, pArgs->installCondition, pArgs->recommendedState, pArgs->recommendedCacheType, &pResults->requestedState, &pResults->requestedCacheType, &pResults->fCancel); | ||
| 181 | } | ||
| 182 | |||
| 183 | static HRESULT BalBaseBAProcOnPlanPatchTarget( | ||
| 184 | __in IBootstrapperApplication* pBA, | ||
| 185 | __in BA_ONPLANPATCHTARGET_ARGS* pArgs, | ||
| 186 | __inout BA_ONPLANPATCHTARGET_RESULTS* pResults | ||
| 187 | ) | ||
| 188 | { | ||
| 189 | return pBA->OnPlanPatchTarget(pArgs->wzPackageId, pArgs->wzProductCode, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel); | ||
| 190 | } | ||
| 191 | |||
| 192 | static HRESULT BalBaseBAProcOnPlanMsiFeature( | ||
| 193 | __in IBootstrapperApplication* pBA, | ||
| 194 | __in BA_ONPLANMSIFEATURE_ARGS* pArgs, | ||
| 195 | __inout BA_ONPLANMSIFEATURE_RESULTS* pResults | ||
| 196 | ) | ||
| 197 | { | ||
| 198 | return pBA->OnPlanMsiFeature(pArgs->wzPackageId, pArgs->wzFeatureId, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel); | ||
| 199 | } | ||
| 200 | |||
| 201 | static HRESULT BalBaseBAProcOnPlanPackageComplete( | ||
| 202 | __in IBootstrapperApplication* pBA, | ||
| 203 | __in BA_ONPLANPACKAGECOMPLETE_ARGS* pArgs, | ||
| 204 | __inout BA_ONPLANPACKAGECOMPLETE_RESULTS* /*pResults*/ | ||
| 205 | ) | ||
| 206 | { | ||
| 207 | return pBA->OnPlanPackageComplete(pArgs->wzPackageId, pArgs->hrStatus, pArgs->requested); | ||
| 208 | } | ||
| 209 | |||
| 210 | static HRESULT BalBaseBAProcOnPlannedPackage( | ||
| 211 | __in IBootstrapperApplication* pBA, | ||
| 212 | __in BA_ONPLANNEDPACKAGE_ARGS* pArgs, | ||
| 213 | __inout BA_ONPLANNEDPACKAGE_RESULTS* /*pResults*/ | ||
| 214 | ) | ||
| 215 | { | ||
| 216 | return pBA->OnPlannedPackage(pArgs->wzPackageId, pArgs->execute, pArgs->rollback, pArgs->fPlannedCache, pArgs->fPlannedUncache); | ||
| 217 | } | ||
| 218 | |||
| 219 | static HRESULT BalBaseBAProcOnApplyBegin( | ||
| 220 | __in IBootstrapperApplication* pBA, | ||
| 221 | __in BA_ONAPPLYBEGIN_ARGS* pArgs, | ||
| 222 | __inout BA_ONAPPLYBEGIN_RESULTS* pResults | ||
| 223 | ) | ||
| 224 | { | ||
| 225 | return pBA->OnApplyBegin(pArgs->dwPhaseCount, &pResults->fCancel); | ||
| 226 | } | ||
| 227 | |||
| 228 | static HRESULT BalBaseBAProcOnElevateBegin( | ||
| 229 | __in IBootstrapperApplication* pBA, | ||
| 230 | __in BA_ONELEVATEBEGIN_ARGS* /*pArgs*/, | ||
| 231 | __inout BA_ONELEVATEBEGIN_RESULTS* pResults | ||
| 232 | ) | ||
| 233 | { | ||
| 234 | return pBA->OnElevateBegin(&pResults->fCancel); | ||
| 235 | } | ||
| 236 | |||
| 237 | static HRESULT BalBaseBAProcOnElevateComplete( | ||
| 238 | __in IBootstrapperApplication* pBA, | ||
| 239 | __in BA_ONELEVATECOMPLETE_ARGS* pArgs, | ||
| 240 | __inout BA_ONELEVATECOMPLETE_RESULTS* /*pResults*/ | ||
| 241 | ) | ||
| 242 | { | ||
| 243 | return pBA->OnElevateComplete(pArgs->hrStatus); | ||
| 244 | } | ||
| 245 | |||
| 246 | static HRESULT BalBaseBAProcOnProgress( | ||
| 247 | __in IBootstrapperApplication* pBA, | ||
| 248 | __in BA_ONPROGRESS_ARGS* pArgs, | ||
| 249 | __inout BA_ONPROGRESS_RESULTS* pResults | ||
| 250 | ) | ||
| 251 | { | ||
| 252 | return pBA->OnProgress(pArgs->dwProgressPercentage, pArgs->dwOverallPercentage, &pResults->fCancel); | ||
| 253 | } | ||
| 254 | |||
| 255 | static HRESULT BalBaseBAProcOnError( | ||
| 256 | __in IBootstrapperApplication* pBA, | ||
| 257 | __in BA_ONERROR_ARGS* pArgs, | ||
| 258 | __inout BA_ONERROR_RESULTS* pResults | ||
| 259 | ) | ||
| 260 | { | ||
| 261 | return pBA->OnError(pArgs->errorType, pArgs->wzPackageId, pArgs->dwCode, pArgs->wzError, pArgs->dwUIHint, pArgs->cData, pArgs->rgwzData, pArgs->nRecommendation, &pResults->nResult); | ||
| 262 | } | ||
| 263 | |||
| 264 | static HRESULT BalBaseBAProcOnRegisterBegin( | ||
| 265 | __in IBootstrapperApplication* pBA, | ||
| 266 | __in BA_ONREGISTERBEGIN_ARGS* /*pArgs*/, | ||
| 267 | __inout BA_ONREGISTERBEGIN_RESULTS* pResults | ||
| 268 | ) | ||
| 269 | { | ||
| 270 | return pBA->OnRegisterBegin(&pResults->fCancel); | ||
| 271 | } | ||
| 272 | |||
| 273 | static HRESULT BalBaseBAProcOnRegisterComplete( | ||
| 274 | __in IBootstrapperApplication* pBA, | ||
| 275 | __in BA_ONREGISTERCOMPLETE_ARGS* pArgs, | ||
| 276 | __inout BA_ONREGISTERCOMPLETE_RESULTS* /*pResults*/ | ||
| 277 | ) | ||
| 278 | { | ||
| 279 | return pBA->OnRegisterComplete(pArgs->hrStatus); | ||
| 280 | } | ||
| 281 | |||
| 282 | static HRESULT BalBaseBAProcOnCacheBegin( | ||
| 283 | __in IBootstrapperApplication* pBA, | ||
| 284 | __in BA_ONCACHEBEGIN_ARGS* /*pArgs*/, | ||
| 285 | __inout BA_ONCACHEBEGIN_RESULTS* pResults | ||
| 286 | ) | ||
| 287 | { | ||
| 288 | return pBA->OnCacheBegin(&pResults->fCancel); | ||
| 289 | } | ||
| 290 | |||
| 291 | static HRESULT BalBaseBAProcOnCachePackageBegin( | ||
| 292 | __in IBootstrapperApplication* pBA, | ||
| 293 | __in BA_ONCACHEPACKAGEBEGIN_ARGS* pArgs, | ||
| 294 | __inout BA_ONCACHEPACKAGEBEGIN_RESULTS* pResults | ||
| 295 | ) | ||
| 296 | { | ||
| 297 | return pBA->OnCachePackageBegin(pArgs->wzPackageId, pArgs->cCachePayloads, pArgs->dw64PackageCacheSize, &pResults->fCancel); | ||
| 298 | } | ||
| 299 | |||
| 300 | static HRESULT BalBaseBAProcOnCacheAcquireBegin( | ||
| 301 | __in IBootstrapperApplication* pBA, | ||
| 302 | __in BA_ONCACHEACQUIREBEGIN_ARGS* pArgs, | ||
| 303 | __inout BA_ONCACHEACQUIREBEGIN_RESULTS* pResults | ||
| 304 | ) | ||
| 305 | { | ||
| 306 | return pBA->OnCacheAcquireBegin(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->wzSource, pArgs->wzDownloadUrl, pArgs->wzPayloadContainerId, pArgs->recommendation, &pResults->action, &pResults->fCancel); | ||
| 307 | } | ||
| 308 | |||
| 309 | static HRESULT BalBaseBAProcOnCacheAcquireProgress( | ||
| 310 | __in IBootstrapperApplication* pBA, | ||
| 311 | __in BA_ONCACHEACQUIREPROGRESS_ARGS* pArgs, | ||
| 312 | __inout BA_ONCACHEACQUIREPROGRESS_RESULTS* pResults | ||
| 313 | ) | ||
| 314 | { | ||
| 315 | return pBA->OnCacheAcquireProgress(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->dw64Progress, pArgs->dw64Total, pArgs->dwOverallPercentage, &pResults->fCancel); | ||
| 316 | } | ||
| 317 | |||
| 318 | static HRESULT BalBaseBAProcOnCacheAcquireResolving( | ||
| 319 | __in IBootstrapperApplication* pBA, | ||
| 320 | __in BA_ONCACHEACQUIRERESOLVING_ARGS* pArgs, | ||
| 321 | __inout BA_ONCACHEACQUIRERESOLVING_RESULTS* pResults | ||
| 322 | ) | ||
| 323 | { | ||
| 324 | return pBA->OnCacheAcquireResolving(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->rgSearchPaths, pArgs->cSearchPaths, pArgs->fFoundLocal, pArgs->dwRecommendedSearchPath, pArgs->wzDownloadUrl, pArgs->wzPayloadContainerId, pArgs->recommendation, &pResults->dwChosenSearchPath, &pResults->action, &pResults->fCancel); | ||
| 325 | } | ||
| 326 | |||
| 327 | static HRESULT BalBaseBAProcOnCacheAcquireComplete( | ||
| 328 | __in IBootstrapperApplication* pBA, | ||
| 329 | __in BA_ONCACHEACQUIRECOMPLETE_ARGS* pArgs, | ||
| 330 | __inout BA_ONCACHEACQUIRECOMPLETE_RESULTS* pResults | ||
| 331 | ) | ||
| 332 | { | ||
| 333 | return pBA->OnCacheAcquireComplete(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->hrStatus, pArgs->recommendation, &pResults->action); | ||
| 334 | } | ||
| 335 | |||
| 336 | static HRESULT BalBaseBAProcOnCacheVerifyBegin( | ||
| 337 | __in IBootstrapperApplication* pBA, | ||
| 338 | __in BA_ONCACHEVERIFYBEGIN_ARGS* pArgs, | ||
| 339 | __inout BA_ONCACHEVERIFYBEGIN_RESULTS* pResults | ||
| 340 | ) | ||
| 341 | { | ||
| 342 | return pBA->OnCacheVerifyBegin(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, &pResults->fCancel); | ||
| 343 | } | ||
| 344 | |||
| 345 | static HRESULT BalBaseBAProcOnCacheVerifyProgress( | ||
| 346 | __in IBootstrapperApplication* pBA, | ||
| 347 | __in BA_ONCACHEVERIFYPROGRESS_ARGS* pArgs, | ||
| 348 | __inout BA_ONCACHEVERIFYPROGRESS_RESULTS* pResults | ||
| 349 | ) | ||
| 350 | { | ||
| 351 | return pBA->OnCacheVerifyProgress(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->dw64Progress, pArgs->dw64Total, pArgs->dwOverallPercentage, pArgs->verifyStep, &pResults->fCancel); | ||
| 352 | } | ||
| 353 | |||
| 354 | static HRESULT BalBaseBAProcOnCacheVerifyComplete( | ||
| 355 | __in IBootstrapperApplication* pBA, | ||
| 356 | __in BA_ONCACHEVERIFYCOMPLETE_ARGS* pArgs, | ||
| 357 | __inout BA_ONCACHEVERIFYCOMPLETE_RESULTS* pResults | ||
| 358 | ) | ||
| 359 | { | ||
| 360 | return pBA->OnCacheVerifyComplete(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->hrStatus, pArgs->recommendation, &pResults->action); | ||
| 361 | } | ||
| 362 | |||
| 363 | static HRESULT BalBaseBAProcOnCachePackageComplete( | ||
| 364 | __in IBootstrapperApplication* pBA, | ||
| 365 | __in BA_ONCACHEPACKAGECOMPLETE_ARGS* pArgs, | ||
| 366 | __inout BA_ONCACHEPACKAGECOMPLETE_RESULTS* pResults | ||
| 367 | ) | ||
| 368 | { | ||
| 369 | return pBA->OnCachePackageComplete(pArgs->wzPackageId, pArgs->hrStatus, pArgs->recommendation, &pResults->action); | ||
| 370 | } | ||
| 371 | |||
| 372 | static HRESULT BalBaseBAProcOnCacheComplete( | ||
| 373 | __in IBootstrapperApplication* pBA, | ||
| 374 | __in BA_ONCACHECOMPLETE_ARGS* pArgs, | ||
| 375 | __inout BA_ONCACHECOMPLETE_RESULTS* /*pResults*/ | ||
| 376 | ) | ||
| 377 | { | ||
| 378 | return pBA->OnCacheComplete(pArgs->hrStatus); | ||
| 379 | } | ||
| 380 | |||
| 381 | static HRESULT BalBaseBAProcOnExecuteBegin( | ||
| 382 | __in IBootstrapperApplication* pBA, | ||
| 383 | __in BA_ONEXECUTEBEGIN_ARGS* pArgs, | ||
| 384 | __inout BA_ONEXECUTEBEGIN_RESULTS* pResults | ||
| 385 | ) | ||
| 386 | { | ||
| 387 | return pBA->OnExecuteBegin(pArgs->cExecutingPackages, &pResults->fCancel); | ||
| 388 | } | ||
| 389 | |||
| 390 | static HRESULT BalBaseBAProcOnExecutePackageBegin( | ||
| 391 | __in IBootstrapperApplication* pBA, | ||
| 392 | __in BA_ONEXECUTEPACKAGEBEGIN_ARGS* pArgs, | ||
| 393 | __inout BA_ONEXECUTEPACKAGEBEGIN_RESULTS* pResults | ||
| 394 | ) | ||
| 395 | { | ||
| 396 | return pBA->OnExecutePackageBegin(pArgs->wzPackageId, pArgs->fExecute, pArgs->action, pArgs->uiLevel, pArgs->fDisableExternalUiHandler, &pResults->fCancel); | ||
| 397 | } | ||
| 398 | |||
| 399 | static HRESULT BalBaseBAProcOnExecutePatchTarget( | ||
| 400 | __in IBootstrapperApplication* pBA, | ||
| 401 | __in BA_ONEXECUTEPATCHTARGET_ARGS* pArgs, | ||
| 402 | __inout BA_ONEXECUTEPATCHTARGET_RESULTS* pResults | ||
| 403 | ) | ||
| 404 | { | ||
| 405 | return pBA->OnExecutePatchTarget(pArgs->wzPackageId, pArgs->wzTargetProductCode, &pResults->fCancel); | ||
| 406 | } | ||
| 407 | |||
| 408 | static HRESULT BalBaseBAProcOnExecuteProgress( | ||
| 409 | __in IBootstrapperApplication* pBA, | ||
| 410 | __in BA_ONEXECUTEPROGRESS_ARGS* pArgs, | ||
| 411 | __inout BA_ONEXECUTEPROGRESS_RESULTS* pResults | ||
| 412 | ) | ||
| 413 | { | ||
| 414 | return pBA->OnExecuteProgress(pArgs->wzPackageId, pArgs->dwProgressPercentage, pArgs->dwOverallPercentage, &pResults->fCancel); | ||
| 415 | } | ||
| 416 | |||
| 417 | static HRESULT BalBaseBAProcOnExecuteMsiMessage( | ||
| 418 | __in IBootstrapperApplication* pBA, | ||
| 419 | __in BA_ONEXECUTEMSIMESSAGE_ARGS* pArgs, | ||
| 420 | __inout BA_ONEXECUTEMSIMESSAGE_RESULTS* pResults | ||
| 421 | ) | ||
| 422 | { | ||
| 423 | return pBA->OnExecuteMsiMessage(pArgs->wzPackageId, pArgs->messageType, pArgs->dwUIHint, pArgs->wzMessage, pArgs->cData, pArgs->rgwzData, pArgs->nRecommendation, &pResults->nResult); | ||
| 424 | } | ||
| 425 | |||
| 426 | static HRESULT BalBaseBAProcOnExecuteFilesInUse( | ||
| 427 | __in IBootstrapperApplication* pBA, | ||
| 428 | __in BA_ONEXECUTEFILESINUSE_ARGS* pArgs, | ||
| 429 | __inout BA_ONEXECUTEFILESINUSE_RESULTS* pResults | ||
| 430 | ) | ||
| 431 | { | ||
| 432 | return pBA->OnExecuteFilesInUse(pArgs->wzPackageId, pArgs->cFiles, pArgs->rgwzFiles, pArgs->nRecommendation, &pResults->nResult); | ||
| 433 | } | ||
| 434 | |||
| 435 | static HRESULT BalBaseBAProcOnExecutePackageComplete( | ||
| 436 | __in IBootstrapperApplication* pBA, | ||
| 437 | __in BA_ONEXECUTEPACKAGECOMPLETE_ARGS* pArgs, | ||
| 438 | __inout BA_ONEXECUTEPACKAGECOMPLETE_RESULTS* pResults | ||
| 439 | ) | ||
| 440 | { | ||
| 441 | return pBA->OnExecutePackageComplete(pArgs->wzPackageId, pArgs->hrStatus, pArgs->restart, pArgs->recommendation, &pResults->action); | ||
| 442 | } | ||
| 443 | |||
| 444 | static HRESULT BalBaseBAProcOnExecuteComplete( | ||
| 445 | __in IBootstrapperApplication* pBA, | ||
| 446 | __in BA_ONEXECUTECOMPLETE_ARGS* pArgs, | ||
| 447 | __inout BA_ONEXECUTECOMPLETE_RESULTS* /*pResults*/ | ||
| 448 | ) | ||
| 449 | { | ||
| 450 | return pBA->OnExecuteComplete(pArgs->hrStatus); | ||
| 451 | } | ||
| 452 | |||
| 453 | static HRESULT BalBaseBAProcOnUnregisterBegin( | ||
| 454 | __in IBootstrapperApplication* pBA, | ||
| 455 | __in BA_ONUNREGISTERBEGIN_ARGS* pArgs, | ||
| 456 | __inout BA_ONUNREGISTERBEGIN_RESULTS* pResults | ||
| 457 | ) | ||
| 458 | { | ||
| 459 | return pBA->OnUnregisterBegin(pArgs->fKeepRegistration, &pResults->fForceKeepRegistration); | ||
| 460 | } | ||
| 461 | |||
| 462 | static HRESULT BalBaseBAProcOnUnregisterComplete( | ||
| 463 | __in IBootstrapperApplication* pBA, | ||
| 464 | __in BA_ONUNREGISTERCOMPLETE_ARGS* pArgs, | ||
| 465 | __inout BA_ONUNREGISTERCOMPLETE_RESULTS* /*pResults*/ | ||
| 466 | ) | ||
| 467 | { | ||
| 468 | return pBA->OnUnregisterComplete(pArgs->hrStatus); | ||
| 469 | } | ||
| 470 | |||
| 471 | static HRESULT BalBaseBAProcOnApplyComplete( | ||
| 472 | __in IBootstrapperApplication* pBA, | ||
| 473 | __in BA_ONAPPLYCOMPLETE_ARGS* pArgs, | ||
| 474 | __inout BA_ONAPPLYCOMPLETE_RESULTS* pResults | ||
| 475 | ) | ||
| 476 | { | ||
| 477 | return pBA->OnApplyComplete(pArgs->hrStatus, pArgs->restart, pArgs->recommendation, &pResults->action); | ||
| 478 | } | ||
| 479 | |||
| 480 | static HRESULT BalBaseBAProcOnLaunchApprovedExeBegin( | ||
| 481 | __in IBootstrapperApplication* pBA, | ||
| 482 | __in BA_ONLAUNCHAPPROVEDEXEBEGIN_ARGS* /*pArgs*/, | ||
| 483 | __inout BA_ONLAUNCHAPPROVEDEXEBEGIN_RESULTS* pResults | ||
| 484 | ) | ||
| 485 | { | ||
| 486 | return pBA->OnLaunchApprovedExeBegin(&pResults->fCancel); | ||
| 487 | } | ||
| 488 | |||
| 489 | static HRESULT BalBaseBAProcOnLaunchApprovedExeComplete( | ||
| 490 | __in IBootstrapperApplication* pBA, | ||
| 491 | __in BA_ONLAUNCHAPPROVEDEXECOMPLETE_ARGS* pArgs, | ||
| 492 | __inout BA_ONLAUNCHAPPROVEDEXECOMPLETE_RESULTS* /*pResults*/ | ||
| 493 | ) | ||
| 494 | { | ||
| 495 | return pBA->OnLaunchApprovedExeComplete(pArgs->hrStatus, pArgs->dwProcessId); | ||
| 496 | } | ||
| 497 | |||
| 498 | static HRESULT BalBaseBAProcOnPlanMsiPackage( | ||
| 499 | __in IBootstrapperApplication* pBA, | ||
| 500 | __in BA_ONPLANMSIPACKAGE_ARGS* pArgs, | ||
| 501 | __inout BA_ONPLANMSIPACKAGE_RESULTS* pResults | ||
| 502 | ) | ||
| 503 | { | ||
| 504 | return pBA->OnPlanMsiPackage(pArgs->wzPackageId, pArgs->fExecute, pArgs->action, &pResults->fCancel, &pResults->actionMsiProperty, &pResults->uiLevel, &pResults->fDisableExternalUiHandler); | ||
| 505 | } | ||
| 506 | |||
| 507 | static HRESULT BalBaseBAProcOnBeginMsiTransactionBegin( | ||
| 508 | __in IBootstrapperApplication* pBA, | ||
| 509 | __in BA_ONBEGINMSITRANSACTIONBEGIN_ARGS* pArgs, | ||
| 510 | __inout BA_ONBEGINMSITRANSACTIONBEGIN_RESULTS* pResults | ||
| 511 | ) | ||
| 512 | { | ||
| 513 | return pBA->OnBeginMsiTransactionBegin(pArgs->wzTransactionId, &pResults->fCancel); | ||
| 514 | } | ||
| 515 | |||
| 516 | static HRESULT BalBaseBAProcOnBeginMsiTransactionComplete( | ||
| 517 | __in IBootstrapperApplication* pBA, | ||
| 518 | __in BA_ONBEGINMSITRANSACTIONCOMPLETE_ARGS* pArgs, | ||
| 519 | __inout BA_ONBEGINMSITRANSACTIONCOMPLETE_RESULTS* /*pResults*/ | ||
| 520 | ) | ||
| 521 | { | ||
| 522 | return pBA->OnBeginMsiTransactionComplete(pArgs->wzTransactionId, pArgs->hrStatus); | ||
| 523 | } | ||
| 524 | |||
| 525 | static HRESULT BalBaseBAProcOnCommitMsiTransactionBegin( | ||
| 526 | __in IBootstrapperApplication* pBA, | ||
| 527 | __in BA_ONCOMMITMSITRANSACTIONBEGIN_ARGS* pArgs, | ||
| 528 | __inout BA_ONCOMMITMSITRANSACTIONBEGIN_RESULTS* pResults | ||
| 529 | ) | ||
| 530 | { | ||
| 531 | return pBA->OnCommitMsiTransactionBegin(pArgs->wzTransactionId, &pResults->fCancel); | ||
| 532 | } | ||
| 533 | |||
| 534 | static HRESULT BalBaseBAProcOnCommitMsiTransactionComplete( | ||
| 535 | __in IBootstrapperApplication* pBA, | ||
| 536 | __in BA_ONCOMMITMSITRANSACTIONCOMPLETE_ARGS* pArgs, | ||
| 537 | __inout BA_ONCOMMITMSITRANSACTIONCOMPLETE_RESULTS* /*pResults*/ | ||
| 538 | ) | ||
| 539 | { | ||
| 540 | return pBA->OnCommitMsiTransactionComplete(pArgs->wzTransactionId, pArgs->hrStatus); | ||
| 541 | } | ||
| 542 | |||
| 543 | static HRESULT BalBaseBAProcOnRollbackMsiTransactionBegin( | ||
| 544 | __in IBootstrapperApplication* pBA, | ||
| 545 | __in BA_ONROLLBACKMSITRANSACTIONBEGIN_ARGS* pArgs, | ||
| 546 | __inout BA_ONROLLBACKMSITRANSACTIONBEGIN_RESULTS* /*pResults*/ | ||
| 547 | ) | ||
| 548 | { | ||
| 549 | return pBA->OnRollbackMsiTransactionBegin(pArgs->wzTransactionId); | ||
| 550 | } | ||
| 551 | |||
| 552 | static HRESULT BalBaseBAProcOnRollbackMsiTransactionComplete( | ||
| 553 | __in IBootstrapperApplication* pBA, | ||
| 554 | __in BA_ONROLLBACKMSITRANSACTIONCOMPLETE_ARGS* pArgs, | ||
| 555 | __inout BA_ONROLLBACKMSITRANSACTIONCOMPLETE_RESULTS* /*pResults*/ | ||
| 556 | ) | ||
| 557 | { | ||
| 558 | return pBA->OnRollbackMsiTransactionComplete(pArgs->wzTransactionId, pArgs->hrStatus); | ||
| 559 | } | ||
| 560 | |||
| 561 | static HRESULT BalBaseBAProcOnPauseAutomaticUpdatesBegin( | ||
| 562 | __in IBootstrapperApplication* pBA, | ||
| 563 | __in BA_ONPAUSEAUTOMATICUPDATESBEGIN_ARGS* /*pArgs*/, | ||
| 564 | __inout BA_ONPAUSEAUTOMATICUPDATESBEGIN_RESULTS* /*pResults*/ | ||
| 565 | ) | ||
| 566 | { | ||
| 567 | return pBA->OnPauseAutomaticUpdatesBegin(); | ||
| 568 | } | ||
| 569 | |||
| 570 | static HRESULT BalBaseBAProcOnPauseAutomaticUpdatesComplete( | ||
| 571 | __in IBootstrapperApplication* pBA, | ||
| 572 | __in BA_ONPAUSEAUTOMATICUPDATESCOMPLETE_ARGS* pArgs, | ||
| 573 | __inout BA_ONPAUSEAUTOMATICUPDATESCOMPLETE_RESULTS* /*pResults*/ | ||
| 574 | ) | ||
| 575 | { | ||
| 576 | return pBA->OnPauseAutomaticUpdatesComplete(pArgs->hrStatus); | ||
| 577 | } | ||
| 578 | |||
| 579 | static HRESULT BalBaseBAProcOnSystemRestorePointBegin( | ||
| 580 | __in IBootstrapperApplication* pBA, | ||
| 581 | __in BA_ONSYSTEMRESTOREPOINTBEGIN_ARGS* /*pArgs*/, | ||
| 582 | __inout BA_ONSYSTEMRESTOREPOINTBEGIN_RESULTS* /*pResults*/ | ||
| 583 | ) | ||
| 584 | { | ||
| 585 | return pBA->OnSystemRestorePointBegin(); | ||
| 586 | } | ||
| 587 | |||
| 588 | static HRESULT BalBaseBAProcOnSystemRestorePointComplete( | ||
| 589 | __in IBootstrapperApplication* pBA, | ||
| 590 | __in BA_ONSYSTEMRESTOREPOINTCOMPLETE_ARGS* pArgs, | ||
| 591 | __inout BA_ONSYSTEMRESTOREPOINTCOMPLETE_RESULTS* /*pResults*/ | ||
| 592 | ) | ||
| 593 | { | ||
| 594 | return pBA->OnSystemRestorePointComplete(pArgs->hrStatus); | ||
| 595 | } | ||
| 596 | |||
| 597 | static HRESULT BalBaseBAProcOnPlanForwardCompatibleBundle( | ||
| 598 | __in IBootstrapperApplication* pBA, | ||
| 599 | __in BA_ONPLANFORWARDCOMPATIBLEBUNDLE_ARGS* pArgs, | ||
| 600 | __inout BA_ONPLANFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults | ||
| 601 | ) | ||
| 602 | { | ||
| 603 | return pBA->OnPlanForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->fRecommendedIgnoreBundle, &pResults->fCancel, &pResults->fIgnoreBundle); | ||
| 604 | } | ||
| 605 | |||
| 606 | static HRESULT BalBaseBAProcOnCacheContainerOrPayloadVerifyBegin( | ||
| 607 | __in IBootstrapperApplication* pBA, | ||
| 608 | __in BA_ONCACHECONTAINERORPAYLOADVERIFYBEGIN_ARGS* pArgs, | ||
| 609 | __inout BA_ONCACHECONTAINERORPAYLOADVERIFYBEGIN_RESULTS* pResults | ||
| 610 | ) | ||
| 611 | { | ||
| 612 | return pBA->OnCacheContainerOrPayloadVerifyBegin(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, &pResults->fCancel); | ||
| 613 | } | ||
| 614 | |||
| 615 | static HRESULT BalBaseBAProcOnCacheContainerOrPayloadVerifyProgress( | ||
| 616 | __in IBootstrapperApplication* pBA, | ||
| 617 | __in BA_ONCACHECONTAINERORPAYLOADVERIFYPROGRESS_ARGS* pArgs, | ||
| 618 | __inout BA_ONCACHECONTAINERORPAYLOADVERIFYPROGRESS_RESULTS* pResults | ||
| 619 | ) | ||
| 620 | { | ||
| 621 | return pBA->OnCacheContainerOrPayloadVerifyProgress(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->dw64Progress, pArgs->dw64Total, pArgs->dwOverallPercentage, &pResults->fCancel); | ||
| 622 | } | ||
| 623 | |||
| 624 | static HRESULT BalBaseBAProcOnCacheContainerOrPayloadVerifyComplete( | ||
| 625 | __in IBootstrapperApplication* pBA, | ||
| 626 | __in BA_ONCACHECONTAINERORPAYLOADVERIFYCOMPLETE_ARGS* pArgs, | ||
| 627 | __inout BA_ONCACHECONTAINERORPAYLOADVERIFYCOMPLETE_RESULTS* /*pResults*/ | ||
| 628 | ) | ||
| 629 | { | ||
| 630 | return pBA->OnCacheContainerOrPayloadVerifyComplete(pArgs->wzPackageOrContainerId, pArgs->wzPayloadId, pArgs->hrStatus); | ||
| 631 | } | ||
| 632 | |||
| 633 | static HRESULT BalBaseBAProcOnCachePayloadExtractBegin( | ||
| 634 | __in IBootstrapperApplication* pBA, | ||
| 635 | __in BA_ONCACHEPAYLOADEXTRACTBEGIN_ARGS* pArgs, | ||
| 636 | __inout BA_ONCACHEPAYLOADEXTRACTBEGIN_RESULTS* pResults | ||
| 637 | ) | ||
| 638 | { | ||
| 639 | return pBA->OnCachePayloadExtractBegin(pArgs->wzContainerId, pArgs->wzPayloadId, &pResults->fCancel); | ||
| 640 | } | ||
| 641 | |||
| 642 | static HRESULT BalBaseBAProcOnCachePayloadExtractProgress( | ||
| 643 | __in IBootstrapperApplication* pBA, | ||
| 644 | __in BA_ONCACHEPAYLOADEXTRACTPROGRESS_ARGS* pArgs, | ||
| 645 | __inout BA_ONCACHEPAYLOADEXTRACTPROGRESS_RESULTS* pResults | ||
| 646 | ) | ||
| 647 | { | ||
| 648 | return pBA->OnCachePayloadExtractProgress(pArgs->wzContainerId, pArgs->wzPayloadId, pArgs->dw64Progress, pArgs->dw64Total, pArgs->dwOverallPercentage, &pResults->fCancel); | ||
| 649 | } | ||
| 650 | |||
| 651 | static HRESULT BalBaseBAProcOnCachePayloadExtractComplete( | ||
| 652 | __in IBootstrapperApplication* pBA, | ||
| 653 | __in BA_ONCACHEPAYLOADEXTRACTCOMPLETE_ARGS* pArgs, | ||
| 654 | __inout BA_ONCACHEPAYLOADEXTRACTCOMPLETE_RESULTS* /*pResults*/ | ||
| 655 | ) | ||
| 656 | { | ||
| 657 | return pBA->OnCachePayloadExtractComplete(pArgs->wzContainerId, pArgs->wzPayloadId, pArgs->hrStatus); | ||
| 658 | } | ||
| 659 | |||
| 660 | /******************************************************************* | ||
| 661 | BalBaseBootstrapperApplicationProc - requires pvContext to be of type IBootstrapperApplication. | ||
| 662 | Provides a default mapping between the new message based BA interface and | ||
| 663 | the old COM-based BA interface. | ||
| 664 | |||
| 665 | *******************************************************************/ | ||
| 666 | static HRESULT WINAPI BalBaseBootstrapperApplicationProc( | ||
| 667 | __in BOOTSTRAPPER_APPLICATION_MESSAGE message, | ||
| 668 | __in const LPVOID pvArgs, | ||
| 669 | __inout LPVOID pvResults, | ||
| 670 | __in_opt LPVOID pvContext | ||
| 671 | ) | ||
| 672 | { | ||
| 673 | IBootstrapperApplication* pBA = reinterpret_cast<IBootstrapperApplication*>(pvContext); | ||
| 674 | HRESULT hr = pBA->BAProc(message, pvArgs, pvResults, pvContext); | ||
| 675 | |||
| 676 | if (E_NOTIMPL == hr) | ||
| 677 | { | ||
| 678 | switch (message) | ||
| 679 | { | ||
| 680 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTBEGIN: | ||
| 681 | hr = BalBaseBAProcOnDetectBegin(pBA, reinterpret_cast<BA_ONDETECTBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTBEGIN_RESULTS*>(pvResults)); | ||
| 682 | break; | ||
| 683 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTCOMPLETE: | ||
| 684 | hr = BalBaseBAProcOnDetectComplete(pBA, reinterpret_cast<BA_ONDETECTCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTCOMPLETE_RESULTS*>(pvResults)); | ||
| 685 | break; | ||
| 686 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANBEGIN: | ||
| 687 | hr = BalBaseBAProcOnPlanBegin(pBA, reinterpret_cast<BA_ONPLANBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANBEGIN_RESULTS*>(pvResults)); | ||
| 688 | break; | ||
| 689 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANCOMPLETE: | ||
| 690 | hr = BalBaseBAProcOnPlanComplete(pBA, reinterpret_cast<BA_ONPLANCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANCOMPLETE_RESULTS*>(pvResults)); | ||
| 691 | break; | ||
| 692 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSTARTUP: | ||
| 693 | hr = BalBaseBAProcOnStartup(pBA, reinterpret_cast<BA_ONSTARTUP_ARGS*>(pvArgs), reinterpret_cast<BA_ONSTARTUP_RESULTS*>(pvResults)); | ||
| 694 | break; | ||
| 695 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSHUTDOWN: | ||
| 696 | hr = BalBaseBAProcOnShutdown(pBA, reinterpret_cast<BA_ONSHUTDOWN_ARGS*>(pvArgs), reinterpret_cast<BA_ONSHUTDOWN_RESULTS*>(pvResults)); | ||
| 697 | break; | ||
| 698 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMSHUTDOWN: | ||
| 699 | hr = BalBaseBAProcOnSystemShutdown(pBA, reinterpret_cast<BA_ONSYSTEMSHUTDOWN_ARGS*>(pvArgs), reinterpret_cast<BA_ONSYSTEMSHUTDOWN_RESULTS*>(pvResults)); | ||
| 700 | break; | ||
| 701 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTFORWARDCOMPATIBLEBUNDLE: | ||
| 702 | hr = BalBaseBAProcOnDetectForwardCompatibleBundle(pBA, reinterpret_cast<BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS*>(pvResults)); | ||
| 703 | break; | ||
| 704 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTUPDATEBEGIN: | ||
| 705 | hr = BalBaseBAProcOnDetectUpdateBegin(pBA, reinterpret_cast<BA_ONDETECTUPDATEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTUPDATEBEGIN_RESULTS*>(pvResults)); | ||
| 706 | break; | ||
| 707 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTUPDATE: | ||
| 708 | hr = BalBaseBAProcOnDetectUpdate(pBA, reinterpret_cast<BA_ONDETECTUPDATE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTUPDATE_RESULTS*>(pvResults)); | ||
| 709 | break; | ||
| 710 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTUPDATECOMPLETE: | ||
| 711 | hr = BalBaseBAProcOnDetectUpdateComplete(pBA, reinterpret_cast<BA_ONDETECTUPDATECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTUPDATECOMPLETE_RESULTS*>(pvResults)); | ||
| 712 | break; | ||
| 713 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTRELATEDBUNDLE: | ||
| 714 | hr = BalBaseBAProcOnDetectRelatedBundle(pBA, reinterpret_cast<BA_ONDETECTRELATEDBUNDLE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTRELATEDBUNDLE_RESULTS*>(pvResults)); | ||
| 715 | break; | ||
| 716 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTPACKAGEBEGIN: | ||
| 717 | hr = BalBaseBAProcOnDetectPackageBegin(pBA, reinterpret_cast<BA_ONDETECTPACKAGEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTPACKAGEBEGIN_RESULTS*>(pvResults)); | ||
| 718 | break; | ||
| 719 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTRELATEDMSIPACKAGE: | ||
| 720 | hr = BalBaseBAProcOnDetectRelatedMsiPackage(pBA, reinterpret_cast<BA_ONDETECTRELATEDMSIPACKAGE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTRELATEDMSIPACKAGE_RESULTS*>(pvResults)); | ||
| 721 | break; | ||
| 722 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTPATCHTARGET: | ||
| 723 | hr = BalBaseBAProcOnDetectPatchTarget(pBA, reinterpret_cast<BA_ONDETECTPATCHTARGET_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTPATCHTARGET_RESULTS*>(pvResults)); | ||
| 724 | break; | ||
| 725 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTMSIFEATURE: | ||
| 726 | hr = BalBaseBAProcOnDetectMsiFeature(pBA, reinterpret_cast<BA_ONDETECTMSIFEATURE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTMSIFEATURE_RESULTS*>(pvResults)); | ||
| 727 | break; | ||
| 728 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTPACKAGECOMPLETE: | ||
| 729 | hr = BalBaseBAProcOnDetectPackageComplete(pBA, reinterpret_cast<BA_ONDETECTPACKAGECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTPACKAGECOMPLETE_RESULTS*>(pvResults)); | ||
| 730 | break; | ||
| 731 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRELATEDBUNDLE: | ||
| 732 | hr = BalBaseBAProcOnPlanRelatedBundle(pBA, reinterpret_cast<BA_ONPLANRELATEDBUNDLE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANRELATEDBUNDLE_RESULTS*>(pvResults)); | ||
| 733 | break; | ||
| 734 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANPACKAGEBEGIN: | ||
| 735 | hr = BalBaseBAProcOnPlanPackageBegin(pBA, reinterpret_cast<BA_ONPLANPACKAGEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANPACKAGEBEGIN_RESULTS*>(pvResults)); | ||
| 736 | break; | ||
| 737 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANPATCHTARGET: | ||
| 738 | hr = BalBaseBAProcOnPlanPatchTarget(pBA, reinterpret_cast<BA_ONPLANPATCHTARGET_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANPATCHTARGET_RESULTS*>(pvResults)); | ||
| 739 | break; | ||
| 740 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANMSIFEATURE: | ||
| 741 | hr = BalBaseBAProcOnPlanMsiFeature(pBA, reinterpret_cast<BA_ONPLANMSIFEATURE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANMSIFEATURE_RESULTS*>(pvResults)); | ||
| 742 | break; | ||
| 743 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANPACKAGECOMPLETE: | ||
| 744 | hr = BalBaseBAProcOnPlanPackageComplete(pBA, reinterpret_cast<BA_ONPLANPACKAGECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANPACKAGECOMPLETE_RESULTS*>(pvResults)); | ||
| 745 | break; | ||
| 746 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONAPPLYBEGIN: | ||
| 747 | hr = BalBaseBAProcOnApplyBegin(pBA, reinterpret_cast<BA_ONAPPLYBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONAPPLYBEGIN_RESULTS*>(pvResults)); | ||
| 748 | break; | ||
| 749 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONELEVATEBEGIN: | ||
| 750 | hr = BalBaseBAProcOnElevateBegin(pBA, reinterpret_cast<BA_ONELEVATEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONELEVATEBEGIN_RESULTS*>(pvResults)); | ||
| 751 | break; | ||
| 752 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONELEVATECOMPLETE: | ||
| 753 | hr = BalBaseBAProcOnElevateComplete(pBA, reinterpret_cast<BA_ONELEVATECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONELEVATECOMPLETE_RESULTS*>(pvResults)); | ||
| 754 | break; | ||
| 755 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPROGRESS: | ||
| 756 | hr = BalBaseBAProcOnProgress(pBA, reinterpret_cast<BA_ONPROGRESS_ARGS*>(pvArgs), reinterpret_cast<BA_ONPROGRESS_RESULTS*>(pvResults)); | ||
| 757 | break; | ||
| 758 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONERROR: | ||
| 759 | hr = BalBaseBAProcOnError(pBA, reinterpret_cast<BA_ONERROR_ARGS*>(pvArgs), reinterpret_cast<BA_ONERROR_RESULTS*>(pvResults)); | ||
| 760 | break; | ||
| 761 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONREGISTERBEGIN: | ||
| 762 | hr = BalBaseBAProcOnRegisterBegin(pBA, reinterpret_cast<BA_ONREGISTERBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONREGISTERBEGIN_RESULTS*>(pvResults)); | ||
| 763 | break; | ||
| 764 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONREGISTERCOMPLETE: | ||
| 765 | hr = BalBaseBAProcOnRegisterComplete(pBA, reinterpret_cast<BA_ONREGISTERCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONREGISTERCOMPLETE_RESULTS*>(pvResults)); | ||
| 766 | break; | ||
| 767 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEBEGIN: | ||
| 768 | hr = BalBaseBAProcOnCacheBegin(pBA, reinterpret_cast<BA_ONCACHEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEBEGIN_RESULTS*>(pvResults)); | ||
| 769 | break; | ||
| 770 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEPACKAGEBEGIN: | ||
| 771 | hr = BalBaseBAProcOnCachePackageBegin(pBA, reinterpret_cast<BA_ONCACHEPACKAGEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEPACKAGEBEGIN_RESULTS*>(pvResults)); | ||
| 772 | break; | ||
| 773 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEACQUIREBEGIN: | ||
| 774 | hr = BalBaseBAProcOnCacheAcquireBegin(pBA, reinterpret_cast<BA_ONCACHEACQUIREBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEACQUIREBEGIN_RESULTS*>(pvResults)); | ||
| 775 | break; | ||
| 776 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEACQUIREPROGRESS: | ||
| 777 | hr = BalBaseBAProcOnCacheAcquireProgress(pBA, reinterpret_cast<BA_ONCACHEACQUIREPROGRESS_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEACQUIREPROGRESS_RESULTS*>(pvResults)); | ||
| 778 | break; | ||
| 779 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEACQUIRERESOLVING: | ||
| 780 | hr = BalBaseBAProcOnCacheAcquireResolving(pBA, reinterpret_cast<BA_ONCACHEACQUIRERESOLVING_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEACQUIRERESOLVING_RESULTS*>(pvResults)); | ||
| 781 | break; | ||
| 782 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEACQUIRECOMPLETE: | ||
| 783 | hr = BalBaseBAProcOnCacheAcquireComplete(pBA, reinterpret_cast<BA_ONCACHEACQUIRECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEACQUIRECOMPLETE_RESULTS*>(pvResults)); | ||
| 784 | break; | ||
| 785 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEVERIFYBEGIN: | ||
| 786 | hr = BalBaseBAProcOnCacheVerifyBegin(pBA, reinterpret_cast<BA_ONCACHEVERIFYBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEVERIFYBEGIN_RESULTS*>(pvResults)); | ||
| 787 | break; | ||
| 788 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEVERIFYPROGRESS: | ||
| 789 | hr = BalBaseBAProcOnCacheVerifyProgress(pBA, reinterpret_cast<BA_ONCACHEVERIFYPROGRESS_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEVERIFYPROGRESS_RESULTS*>(pvResults)); | ||
| 790 | break; | ||
| 791 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEVERIFYCOMPLETE: | ||
| 792 | hr = BalBaseBAProcOnCacheVerifyComplete(pBA, reinterpret_cast<BA_ONCACHEVERIFYCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEVERIFYCOMPLETE_RESULTS*>(pvResults)); | ||
| 793 | break; | ||
| 794 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEPACKAGECOMPLETE: | ||
| 795 | hr = BalBaseBAProcOnCachePackageComplete(pBA, reinterpret_cast<BA_ONCACHEPACKAGECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEPACKAGECOMPLETE_RESULTS*>(pvResults)); | ||
| 796 | break; | ||
| 797 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHECOMPLETE: | ||
| 798 | hr = BalBaseBAProcOnCacheComplete(pBA, reinterpret_cast<BA_ONCACHECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHECOMPLETE_RESULTS*>(pvResults)); | ||
| 799 | break; | ||
| 800 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEBEGIN: | ||
| 801 | hr = BalBaseBAProcOnExecuteBegin(pBA, reinterpret_cast<BA_ONEXECUTEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTEBEGIN_RESULTS*>(pvResults)); | ||
| 802 | break; | ||
| 803 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEPACKAGEBEGIN: | ||
| 804 | hr = BalBaseBAProcOnExecutePackageBegin(pBA, reinterpret_cast<BA_ONEXECUTEPACKAGEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTEPACKAGEBEGIN_RESULTS*>(pvResults)); | ||
| 805 | break; | ||
| 806 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEPATCHTARGET: | ||
| 807 | hr = BalBaseBAProcOnExecutePatchTarget(pBA, reinterpret_cast<BA_ONEXECUTEPATCHTARGET_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTEPATCHTARGET_RESULTS*>(pvResults)); | ||
| 808 | break; | ||
| 809 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEPROGRESS: | ||
| 810 | hr = BalBaseBAProcOnExecuteProgress(pBA, reinterpret_cast<BA_ONEXECUTEPROGRESS_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTEPROGRESS_RESULTS*>(pvResults)); | ||
| 811 | break; | ||
| 812 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEMSIMESSAGE: | ||
| 813 | hr = BalBaseBAProcOnExecuteMsiMessage(pBA, reinterpret_cast<BA_ONEXECUTEMSIMESSAGE_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTEMSIMESSAGE_RESULTS*>(pvResults)); | ||
| 814 | break; | ||
| 815 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEFILESINUSE: | ||
| 816 | hr = BalBaseBAProcOnExecuteFilesInUse(pBA, reinterpret_cast<BA_ONEXECUTEFILESINUSE_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTEFILESINUSE_RESULTS*>(pvResults)); | ||
| 817 | break; | ||
| 818 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEPACKAGECOMPLETE: | ||
| 819 | hr = BalBaseBAProcOnExecutePackageComplete(pBA, reinterpret_cast<BA_ONEXECUTEPACKAGECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTEPACKAGECOMPLETE_RESULTS*>(pvResults)); | ||
| 820 | break; | ||
| 821 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTECOMPLETE: | ||
| 822 | hr = BalBaseBAProcOnExecuteComplete(pBA, reinterpret_cast<BA_ONEXECUTECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONEXECUTECOMPLETE_RESULTS*>(pvResults)); | ||
| 823 | break; | ||
| 824 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONUNREGISTERBEGIN: | ||
| 825 | hr = BalBaseBAProcOnUnregisterBegin(pBA, reinterpret_cast<BA_ONUNREGISTERBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONUNREGISTERBEGIN_RESULTS*>(pvResults)); | ||
| 826 | break; | ||
| 827 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONUNREGISTERCOMPLETE: | ||
| 828 | hr = BalBaseBAProcOnUnregisterComplete(pBA, reinterpret_cast<BA_ONUNREGISTERCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONUNREGISTERCOMPLETE_RESULTS*>(pvResults)); | ||
| 829 | break; | ||
| 830 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONAPPLYCOMPLETE: | ||
| 831 | hr = BalBaseBAProcOnApplyComplete(pBA, reinterpret_cast<BA_ONAPPLYCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONAPPLYCOMPLETE_RESULTS*>(pvResults)); | ||
| 832 | break; | ||
| 833 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONLAUNCHAPPROVEDEXEBEGIN: | ||
| 834 | hr = BalBaseBAProcOnLaunchApprovedExeBegin(pBA, reinterpret_cast<BA_ONLAUNCHAPPROVEDEXEBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONLAUNCHAPPROVEDEXEBEGIN_RESULTS*>(pvResults)); | ||
| 835 | break; | ||
| 836 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONLAUNCHAPPROVEDEXECOMPLETE: | ||
| 837 | hr = BalBaseBAProcOnLaunchApprovedExeComplete(pBA, reinterpret_cast<BA_ONLAUNCHAPPROVEDEXECOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONLAUNCHAPPROVEDEXECOMPLETE_RESULTS*>(pvResults)); | ||
| 838 | break; | ||
| 839 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANMSIPACKAGE: | ||
| 840 | hr = BalBaseBAProcOnPlanMsiPackage(pBA, reinterpret_cast<BA_ONPLANMSIPACKAGE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANMSIPACKAGE_RESULTS*>(pvResults)); | ||
| 841 | break; | ||
| 842 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONBEGINMSITRANSACTIONBEGIN: | ||
| 843 | hr = BalBaseBAProcOnBeginMsiTransactionBegin(pBA, reinterpret_cast<BA_ONBEGINMSITRANSACTIONBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONBEGINMSITRANSACTIONBEGIN_RESULTS*>(pvResults)); | ||
| 844 | break; | ||
| 845 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONBEGINMSITRANSACTIONCOMPLETE: | ||
| 846 | hr = BalBaseBAProcOnBeginMsiTransactionComplete(pBA, reinterpret_cast<BA_ONBEGINMSITRANSACTIONCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONBEGINMSITRANSACTIONCOMPLETE_RESULTS*>(pvResults)); | ||
| 847 | break; | ||
| 848 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCOMMITMSITRANSACTIONBEGIN: | ||
| 849 | hr = BalBaseBAProcOnCommitMsiTransactionBegin(pBA, reinterpret_cast<BA_ONCOMMITMSITRANSACTIONBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONCOMMITMSITRANSACTIONBEGIN_RESULTS*>(pvResults)); | ||
| 850 | break; | ||
| 851 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCOMMITMSITRANSACTIONCOMPLETE: | ||
| 852 | hr = BalBaseBAProcOnCommitMsiTransactionComplete(pBA, reinterpret_cast<BA_ONCOMMITMSITRANSACTIONCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONCOMMITMSITRANSACTIONCOMPLETE_RESULTS*>(pvResults)); | ||
| 853 | break; | ||
| 854 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONROLLBACKMSITRANSACTIONBEGIN: | ||
| 855 | hr = BalBaseBAProcOnRollbackMsiTransactionBegin(pBA, reinterpret_cast<BA_ONROLLBACKMSITRANSACTIONBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONROLLBACKMSITRANSACTIONBEGIN_RESULTS*>(pvResults)); | ||
| 856 | break; | ||
| 857 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONROLLBACKMSITRANSACTIONCOMPLETE: | ||
| 858 | hr = BalBaseBAProcOnRollbackMsiTransactionComplete(pBA, reinterpret_cast<BA_ONROLLBACKMSITRANSACTIONCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONROLLBACKMSITRANSACTIONCOMPLETE_RESULTS*>(pvResults)); | ||
| 859 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPAUSEAUTOMATICUPDATESBEGIN: | ||
| 860 | hr = BalBaseBAProcOnPauseAutomaticUpdatesBegin(pBA, reinterpret_cast<BA_ONPAUSEAUTOMATICUPDATESBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONPAUSEAUTOMATICUPDATESBEGIN_RESULTS*>(pvResults)); | ||
| 861 | break; | ||
| 862 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPAUSEAUTOMATICUPDATESCOMPLETE: | ||
| 863 | hr = BalBaseBAProcOnPauseAutomaticUpdatesComplete(pBA, reinterpret_cast<BA_ONPAUSEAUTOMATICUPDATESCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPAUSEAUTOMATICUPDATESCOMPLETE_RESULTS*>(pvResults)); | ||
| 864 | break; | ||
| 865 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMRESTOREPOINTBEGIN: | ||
| 866 | hr = BalBaseBAProcOnSystemRestorePointBegin(pBA, reinterpret_cast<BA_ONSYSTEMRESTOREPOINTBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONSYSTEMRESTOREPOINTBEGIN_RESULTS*>(pvResults)); | ||
| 867 | break; | ||
| 868 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMRESTOREPOINTCOMPLETE: | ||
| 869 | hr = BalBaseBAProcOnSystemRestorePointComplete(pBA, reinterpret_cast<BA_ONSYSTEMRESTOREPOINTCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONSYSTEMRESTOREPOINTCOMPLETE_RESULTS*>(pvResults)); | ||
| 870 | break; | ||
| 871 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANNEDPACKAGE: | ||
| 872 | hr = BalBaseBAProcOnPlannedPackage(pBA, reinterpret_cast<BA_ONPLANNEDPACKAGE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANNEDPACKAGE_RESULTS*>(pvResults)); | ||
| 873 | break; | ||
| 874 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANFORWARDCOMPATIBLEBUNDLE: | ||
| 875 | hr = BalBaseBAProcOnPlanForwardCompatibleBundle(pBA, reinterpret_cast<BA_ONPLANFORWARDCOMPATIBLEBUNDLE_ARGS*>(pvArgs), reinterpret_cast<BA_ONPLANFORWARDCOMPATIBLEBUNDLE_RESULTS*>(pvResults)); | ||
| 876 | break; | ||
| 877 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHECONTAINERORPAYLOADVERIFYBEGIN: | ||
| 878 | hr = BalBaseBAProcOnCacheContainerOrPayloadVerifyBegin(pBA, reinterpret_cast<BA_ONCACHECONTAINERORPAYLOADVERIFYBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHECONTAINERORPAYLOADVERIFYBEGIN_RESULTS*>(pvResults)); | ||
| 879 | break; | ||
| 880 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHECONTAINERORPAYLOADVERIFYPROGRESS: | ||
| 881 | hr = BalBaseBAProcOnCacheContainerOrPayloadVerifyProgress(pBA, reinterpret_cast<BA_ONCACHECONTAINERORPAYLOADVERIFYPROGRESS_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHECONTAINERORPAYLOADVERIFYPROGRESS_RESULTS*>(pvResults)); | ||
| 882 | break; | ||
| 883 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHECONTAINERORPAYLOADVERIFYCOMPLETE: | ||
| 884 | hr = BalBaseBAProcOnCacheContainerOrPayloadVerifyComplete(pBA, reinterpret_cast<BA_ONCACHECONTAINERORPAYLOADVERIFYCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHECONTAINERORPAYLOADVERIFYCOMPLETE_RESULTS*>(pvResults)); | ||
| 885 | break; | ||
| 886 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEPAYLOADEXTRACTBEGIN: | ||
| 887 | hr = BalBaseBAProcOnCachePayloadExtractBegin(pBA, reinterpret_cast<BA_ONCACHEPAYLOADEXTRACTBEGIN_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEPAYLOADEXTRACTBEGIN_RESULTS*>(pvResults)); | ||
| 888 | break; | ||
| 889 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEPAYLOADEXTRACTPROGRESS: | ||
| 890 | hr = BalBaseBAProcOnCachePayloadExtractProgress(pBA, reinterpret_cast<BA_ONCACHEPAYLOADEXTRACTPROGRESS_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEPAYLOADEXTRACTPROGRESS_RESULTS*>(pvResults)); | ||
| 891 | break; | ||
| 892 | case BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEPAYLOADEXTRACTCOMPLETE: | ||
| 893 | hr = BalBaseBAProcOnCachePayloadExtractComplete(pBA, reinterpret_cast<BA_ONCACHEPAYLOADEXTRACTCOMPLETE_ARGS*>(pvArgs), reinterpret_cast<BA_ONCACHEPAYLOADEXTRACTCOMPLETE_RESULTS*>(pvResults)); | ||
| 894 | break; | ||
| 895 | } | ||
| 896 | } | ||
| 897 | |||
| 898 | pBA->BAProcFallback(message, pvArgs, pvResults, &hr, pvContext); | ||
| 899 | |||
| 900 | return hr; | ||
| 901 | } | ||
