aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/balutil/inc/balutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/balutil/inc/balutil.h')
-rw-r--r--src/api/burn/balutil/inc/balutil.h30
1 files changed, 18 insertions, 12 deletions
diff --git a/src/api/burn/balutil/inc/balutil.h b/src/api/burn/balutil/inc/balutil.h
index 36c165a3..4f8cb23d 100644
--- a/src/api/burn/balutil/inc/balutil.h
+++ b/src/api/burn/balutil/inc/balutil.h
@@ -39,28 +39,34 @@ const LPCWSTR BAL_MANIFEST_FILENAME = L"BootstrapperApplicationData.xml";
39 39
40static const HRESULT E_WIXSTDBA_CONDITION_FAILED = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1); 40static const HRESULT E_WIXSTDBA_CONDITION_FAILED = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1);
41 41
42static const HRESULT E_MBAHOST_NET452_ON_WIN7RTM = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1000);
43static const HRESULT E_DNCHOST_SCD_RUNTIME_FAILURE = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1001);
44static const HRESULT E_PREREQBA_INFINITE_LOOP = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1002); 42static const HRESULT E_PREREQBA_INFINITE_LOOP = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIX, 1002);
45 43
46 44
47/******************************************************************* 45/*******************************************************************
48 BalInitialize - remembers the engine interface to enable logging and 46 BootstrapperApplicationDebuggerCheck - allows bootstrapper application to
49 other functions. 47 explicitly check whether a debugger should be attached to the boostrapper
48 application.
50 49
50 Note: Automatically called in BootstrapperApplicationRun().
51********************************************************************/ 51********************************************************************/
52DAPI_(void) BalInitialize( 52DAPI_(VOID) BootstrapperApplicationDebuggerCheck();
53 __in IBootstrapperEngine* pEngine 53
54/*******************************************************************
55 BootstrapperApplicationRun - runs the IBootstrapperApplication until
56 the application quits.
57
58********************************************************************/
59DAPI_(HRESULT) BootstrapperApplicationRun(
60 __in IBootstrapperApplication* pApplication
54 ); 61 );
55 62
56/******************************************************************* 63/*******************************************************************
57 BalInitializeFromCreateArgs - convenience function to call BalBootstrapperEngineCreate 64 BalInitialize - remembers the engine interface to enable logging and
58 then pass it along to BalInitialize. 65 other functions.
59 66
60********************************************************************/ 67********************************************************************/
61DAPI_(HRESULT) BalInitializeFromCreateArgs( 68DAPI_(void) BalInitialize(
62 __in const BOOTSTRAPPER_CREATE_ARGS* pArgs, 69 __in IBootstrapperEngine* pEngine
63 __out_opt IBootstrapperEngine** ppEngine
64 ); 70 );
65 71
66/******************************************************************* 72/*******************************************************************
@@ -292,7 +298,7 @@ DAPI_(HRESULT) BalLogErrorArgs(
292 ); 298 );
293 299
294/******************************************************************* 300/*******************************************************************
295BalLogId - logs a message with the engine with a string embedded in a 301BalLogId - logs a message with the engine with a string embedded in a
296 MESSAGETABLE resource. 302 MESSAGETABLE resource.
297 303
298********************************************************************/ 304********************************************************************/