aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h18
-rw-r--r--src/api/burn/balutil/inc/BAFunctions.h17
-rw-r--r--src/api/burn/balutil/inc/balutil.h1
3 files changed, 33 insertions, 3 deletions
diff --git a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
index 228cb6ff..ea3be214 100644
--- a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
+++ b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
@@ -1494,7 +1494,22 @@ extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_APPLICATION_PROC)(
1494 __in_opt LPVOID pvContext 1494 __in_opt LPVOID pvContext
1495 ); 1495 );
1496 1496
1497extern "C" typedef void (WINAPI *PFN_BOOTSTRAPPER_APPLICATION_DESTROY)(); 1497struct BOOTSTRAPPER_DESTROY_ARGS
1498{
1499 DWORD cbSize;
1500 BOOL fReload;
1501};
1502
1503struct BOOTSTRAPPER_DESTROY_RESULTS
1504{
1505 DWORD cbSize;
1506 BOOL fDisableUnloading; // indicates the BA dll must not be unloaded after BootstrapperApplicationDestroy.
1507};
1508
1509extern "C" typedef void (WINAPI *PFN_BOOTSTRAPPER_APPLICATION_DESTROY)(
1510 __in const BOOTSTRAPPER_DESTROY_ARGS* pArgs,
1511 __inout BOOTSTRAPPER_DESTROY_RESULTS* pResults
1512 );
1498 1513
1499 1514
1500 1515
@@ -1512,7 +1527,6 @@ struct BOOTSTRAPPER_CREATE_RESULTS
1512 DWORD cbSize; 1527 DWORD cbSize;
1513 PFN_BOOTSTRAPPER_APPLICATION_PROC pfnBootstrapperApplicationProc; 1528 PFN_BOOTSTRAPPER_APPLICATION_PROC pfnBootstrapperApplicationProc;
1514 LPVOID pvBootstrapperApplicationProcContext; 1529 LPVOID pvBootstrapperApplicationProcContext;
1515 BOOL fDisableUnloading; // indicates the BA dll must not be unloaded after BootstrapperApplicationDestroy.
1516}; 1530};
1517 1531
1518extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_APPLICATION_CREATE)( 1532extern "C" typedef HRESULT(WINAPI *PFN_BOOTSTRAPPER_APPLICATION_CREATE)(
diff --git a/src/api/burn/balutil/inc/BAFunctions.h b/src/api/burn/balutil/inc/BAFunctions.h
index c1057ab6..b23dd02e 100644
--- a/src/api/burn/balutil/inc/BAFunctions.h
+++ b/src/api/burn/balutil/inc/BAFunctions.h
@@ -126,6 +126,18 @@ struct BA_FUNCTIONS_CREATE_RESULTS
126 LPVOID pvBAFunctionsProcContext; 126 LPVOID pvBAFunctionsProcContext;
127}; 127};
128 128
129struct BA_FUNCTIONS_DESTROY_ARGS
130{
131 DWORD cbSize;
132 BOOL fReload;
133};
134
135struct BA_FUNCTIONS_DESTROY_RESULTS
136{
137 DWORD cbSize;
138 BOOL fDisableUnloading; // indicates the BAFunctions dll must not be unloaded after BAFunctionsDestroy.
139};
140
129struct BA_FUNCTIONS_ONTHEMECONTROLLOADED_ARGS 141struct BA_FUNCTIONS_ONTHEMECONTROLLOADED_ARGS
130{ 142{
131 DWORD cbSize; 143 DWORD cbSize;
@@ -218,7 +230,10 @@ typedef HRESULT(WINAPI *PFN_BA_FUNCTIONS_CREATE)(
218 __inout BA_FUNCTIONS_CREATE_RESULTS* pResults 230 __inout BA_FUNCTIONS_CREATE_RESULTS* pResults
219 ); 231 );
220 232
221typedef void (WINAPI *PFN_BA_FUNCTIONS_DESTROY)(); 233typedef void (WINAPI *PFN_BA_FUNCTIONS_DESTROY)(
234 __in const BA_FUNCTIONS_DESTROY_ARGS* pArgs,
235 __inout BA_FUNCTIONS_DESTROY_RESULTS* pResults
236 );
222 237
223#ifdef __cplusplus 238#ifdef __cplusplus
224} 239}
diff --git a/src/api/burn/balutil/inc/balutil.h b/src/api/burn/balutil/inc/balutil.h
index 2e370db7..33f1a6de 100644
--- a/src/api/burn/balutil/inc/balutil.h
+++ b/src/api/burn/balutil/inc/balutil.h
@@ -39,6 +39,7 @@ static const HRESULT E_WIXSTDBA_CONDITION_FAILED = MAKE_HRESULT(SEVERITY_ERROR,
39 39
40static const HRESULT E_MBAHOST_NET452_ON_WIN7RTM = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1000); 40static const HRESULT E_MBAHOST_NET452_ON_WIN7RTM = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1000);
41static const HRESULT E_DNCHOST_SCD_RUNTIME_FAILURE = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1001); 41static const HRESULT E_DNCHOST_SCD_RUNTIME_FAILURE = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1001);
42static const HRESULT E_PREREQBA_INFINITE_LOOP = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1002);
42 43
43 44
44/******************************************************************* 45/*******************************************************************