aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/mspengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/mspengine.h')
-rw-r--r--src/burn/engine/mspengine.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/src/burn/engine/mspengine.h b/src/burn/engine/mspengine.h
new file mode 100644
index 00000000..79998030
--- /dev/null
+++ b/src/burn/engine/mspengine.h
@@ -0,0 +1,84 @@
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.
3
4
5#if defined(__cplusplus)
6extern "C" {
7#endif
8
9
10// constants
11
12
13// structures
14
15
16// typedefs
17
18
19// function declarations
20
21HRESULT MspEngineParsePackageFromXml(
22 __in IXMLDOMNode* pixnBundle,
23 __in BURN_PACKAGE* pPackage
24 );
25void MspEnginePackageUninitialize(
26 __in BURN_PACKAGE* pPackage
27 );
28HRESULT MspEngineDetectInitialize(
29 __in BURN_PACKAGES* pPackages
30 );
31HRESULT MspEngineAddDetectedTargetProduct(
32 __in BURN_PACKAGES* pPackages,
33 __in BURN_PACKAGE* pPackage,
34 __in DWORD dwOrder,
35 __in_z LPCWSTR wzProductCode,
36 __in MSIINSTALLCONTEXT context
37 );
38HRESULT MspEngineAddMissingSlipstreamTarget(
39 __in BURN_PACKAGE* pMsiPackage,
40 __in BURN_SLIPSTREAM_MSP* pSlipstreamMsp
41 );
42HRESULT MspEngineDetectPackage(
43 __in BURN_PACKAGE* pPackage,
44 __in BURN_USER_EXPERIENCE* pUserExperience
45 );
46HRESULT MspEnginePlanInitializePackage(
47 __in BURN_PACKAGE* pPackage,
48 __in BURN_USER_EXPERIENCE* pUserExperience
49 );
50HRESULT MspEnginePlanCalculatePackage(
51 __in BURN_PACKAGE* pPackage,
52 __in BOOL fInsideMsiTransaction
53 );
54HRESULT MspEnginePlanAddPackage(
55 __in BOOTSTRAPPER_DISPLAY display,
56 __in BURN_USER_EXPERIENCE* pUserExperience,
57 __in BURN_PACKAGE* pPackage,
58 __in BURN_PLAN* pPlan,
59 __in BURN_LOGGING* pLog,
60 __in BURN_VARIABLES* pVariables,
61 __in_opt HANDLE hCacheEvent
62 );
63HRESULT MspEngineExecutePackage(
64 __in_opt HWND hwndParent,
65 __in BURN_EXECUTE_ACTION* pExecuteAction,
66 __in BURN_VARIABLES* pVariables,
67 __in BOOL fRollback,
68 __in PFN_MSIEXECUTEMESSAGEHANDLER pfnMessageHandler,
69 __in LPVOID pvContext,
70 __out BOOTSTRAPPER_APPLY_RESTART* pRestart
71 );
72void MspEngineUpdateInstallRegistrationState(
73 __in BURN_EXECUTE_ACTION* pAction,
74 __in HRESULT hrExecute,
75 __in BOOL fInsideMsiTransaction
76 );
77void MspEngineFinalizeInstallRegistrationState(
78 __in BURN_PACKAGE* pPackage
79 );
80
81
82#if defined(__cplusplus)
83}
84#endif