From fb54576f1d05e82ba47cd718c4c4f8b3bad624c9 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 18 Mar 2022 20:15:33 -0500 Subject: Give BA process id and option to wait for cancelled process to exit. --- src/api/burn/balutil/inc/IBootstrapperApplication.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/api/burn/balutil/inc/IBootstrapperApplication.h') diff --git a/src/api/burn/balutil/inc/IBootstrapperApplication.h b/src/api/burn/balutil/inc/IBootstrapperApplication.h index c9cf3126..6174c290 100644 --- a/src/api/burn/balutil/inc/IBootstrapperApplication.h +++ b/src/api/burn/balutil/inc/IBootstrapperApplication.h @@ -714,4 +714,13 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A __in HRESULT hrRecommended, __inout HRESULT* phrStatus ) = 0; + + // OnExecuteProcessCancel - called when a package that spawned a process is cancelled. + // + STDMETHOD(OnExecuteProcessCancel)( + __in_z LPCWSTR wzPackageId, + __in DWORD dwProcessId, + __in BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION recommendation, + __inout BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION* pAction + ) = 0; }; -- cgit v1.2.3-55-g6feb