aboutsummaryrefslogtreecommitdiff
path: root/src/engine/msuengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/msuengine.h')
-rw-r--r--src/engine/msuengine.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/engine/msuengine.h b/src/engine/msuengine.h
new file mode 100644
index 00000000..d0323b06
--- /dev/null
+++ b/src/engine/msuengine.h
@@ -0,0 +1,48 @@
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// function declarations
11
12HRESULT MsuEngineParsePackageFromXml(
13 __in IXMLDOMNode* pixnMsiPackage,
14 __in BURN_PACKAGE* pPackage
15 );
16void MsuEnginePackageUninitialize(
17 __in BURN_PACKAGE* pPackage
18 );
19HRESULT MsuEngineDetectPackage(
20 __in BURN_PACKAGE* pPackage,
21 __in BURN_VARIABLES* pVariables
22 );
23HRESULT MsuEnginePlanCalculatePackage(
24 __in BURN_PACKAGE* pPackage,
25 __out_opt BOOL* pfBARequestedCache
26 );
27HRESULT MsuEnginePlanAddPackage(
28 __in BURN_PACKAGE* pPackage,
29 __in BURN_PLAN* pPlan,
30 __in BURN_LOGGING* pLog,
31 __in BURN_VARIABLES* pVariables,
32 __in HANDLE hCacheEvent,
33 __in BOOL fPlanPackageCacheRollback
34 );
35HRESULT MsuEngineExecutePackage(
36 __in BURN_EXECUTE_ACTION* pExecuteAction,
37 __in BURN_VARIABLES* pVariables,
38 __in BOOL fRollback,
39 __in BOOL fStopWusaService,
40 __in PFN_GENERICMESSAGEHANDLER pfnGenericMessageHandler,
41 __in LPVOID pvContext,
42 __out BOOTSTRAPPER_APPLY_RESTART* pRestart
43 );
44
45
46#if defined(__cplusplus)
47}
48#endif