aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/balutil/inc/IBootstrapperApplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/balutil/inc/IBootstrapperApplication.h')
-rw-r--r--src/api/burn/balutil/inc/IBootstrapperApplication.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/src/api/burn/balutil/inc/IBootstrapperApplication.h b/src/api/burn/balutil/inc/IBootstrapperApplication.h
index faa211e4..6eb32ee6 100644
--- a/src/api/burn/balutil/inc/IBootstrapperApplication.h
+++ b/src/api/burn/balutil/inc/IBootstrapperApplication.h
@@ -1,6 +1,8 @@
1#pragma once 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. 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 3
4#include <batypes.h>
5
4 6
5DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-AB06-099D717C67FE") 7DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-AB06-099D717C67FE")
6{ 8{
@@ -9,8 +11,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
9 STDMETHOD(BAProc)( 11 STDMETHOD(BAProc)(
10 __in BOOTSTRAPPER_APPLICATION_MESSAGE message, 12 __in BOOTSTRAPPER_APPLICATION_MESSAGE message,
11 __in const LPVOID pvArgs, 13 __in const LPVOID pvArgs,
12 __inout LPVOID pvResults, 14 __inout LPVOID pvResults
13 __in_opt LPVOID pvContext
14 ) = 0; 15 ) = 0;
15 16
16 // BAProcFallback - The PFN_BOOTSTRAPPER_APPLICATION_PROC can call this method 17 // BAProcFallback - The PFN_BOOTSTRAPPER_APPLICATION_PROC can call this method
@@ -20,10 +21,22 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
20 __in BOOTSTRAPPER_APPLICATION_MESSAGE message, 21 __in BOOTSTRAPPER_APPLICATION_MESSAGE message,
21 __in const LPVOID pvArgs, 22 __in const LPVOID pvArgs,
22 __inout LPVOID pvResults, 23 __inout LPVOID pvResults,
23 __inout HRESULT* phr, 24 __inout HRESULT* phr
24 __in_opt LPVOID pvContext 25 ) = 0;
26
27 // OnCreate - called when the bootstrapper application is created.
28 //
29 virtual STDMETHODIMP OnCreate(
30 __in IBootstrapperEngine* pEngine,
31 __in BOOTSTRAPPER_COMMAND* pCommand
25 ) = 0; 32 ) = 0;
26 33
34 // OnDestroy - called before the bootstrapper application stops.
35 //
36 STDMETHOD(OnDestroy)(
37 __in BOOL fReload
38 ) = 0;
39
27 // OnStartup - called when the engine is ready for the bootstrapper application to start. 40 // OnStartup - called when the engine is ready for the bootstrapper application to start.
28 // 41 //
29 STDMETHOD(OnStartup)() = 0; 42 STDMETHOD(OnStartup)() = 0;
@@ -688,14 +701,6 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
688 __in HRESULT hrStatus 701 __in HRESULT hrStatus
689 ) = 0; 702 ) = 0;
690 703
691 STDMETHOD(OnSetUpdateBegin)() = 0;
692
693 STDMETHOD(OnSetUpdateComplete)(
694 __in HRESULT hrStatus,
695 __in_z_opt LPCWSTR wzPreviousPackageId,
696 __in_z_opt LPCWSTR wzNewPackageId
697 ) = 0;
698
699 // OnPlanRestoreRelatedBundle - called when the engine begins planning an upgrade related bundle for restoring in case of failure. 704 // OnPlanRestoreRelatedBundle - called when the engine begins planning an upgrade related bundle for restoring in case of failure.
700 STDMETHOD(OnPlanRestoreRelatedBundle)( 705 STDMETHOD(OnPlanRestoreRelatedBundle)(
701 __in_z LPCWSTR wzBundleId, 706 __in_z LPCWSTR wzBundleId,