From acf86637a6350d269e1ae1aa907e38f5138a0fa9 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 16 Apr 2021 10:43:21 -0500 Subject: Add OnCacheVerifyProgress, though currently it only reports at the end. --- .../inc/BootstrapperApplication.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/WixToolset.BootstrapperCore.Native') diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h index cf330c29..9fb6ffff 100644 --- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h +++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h @@ -149,6 +149,7 @@ enum BOOTSTRAPPER_APPLICATION_MESSAGE BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMRESTOREPOINTCOMPLETE, BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANNEDPACKAGE, BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANFORWARDCOMPATIBLEBUNDLE, + BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEVERIFYPROGRESS, }; enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION @@ -454,6 +455,22 @@ struct BA_ONCACHEVERIFYCOMPLETE_RESULTS BOOTSTRAPPER_CACHEVERIFYCOMPLETE_ACTION action; }; +struct BA_ONCACHEVERIFYPROGRESS_ARGS +{ + DWORD cbSize; + LPCWSTR wzPackageOrContainerId; + LPCWSTR wzPayloadId; + DWORD64 dw64Progress; + DWORD64 dw64Total; + DWORD dwOverallPercentage; +}; + +struct BA_ONCACHEVERIFYPROGRESS_RESULTS +{ + DWORD cbSize; + BOOL fCancel; +}; + struct BA_ONCOMMITMSITRANSACTIONBEGIN_ARGS { DWORD cbSize; -- cgit v1.2.3-55-g6feb