main
h 78 lines 2.31 KB
Raw
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)
6 extern "C" {
7 #endif
8
9
10 // function declarations
11
12 HRESULT BundlePackageEngineParsePackageFromXml(
13 __in IXMLDOMNode* pixnBundlePackage,
14 __in BURN_PACKAGE* pPackage
15 );
16 HRESULT BundlePackageEngineParseRelatedCodes(
17 __in IXMLDOMNode* pixnBundle,
18 __in LPWSTR** prgsczDetectCodes,
19 __in DWORD* pcDetectCodes,
20 __in LPWSTR** prgsczUpgradeCodes,
21 __in DWORD* pcUpgradeCodes,
22 __in LPWSTR** prgsczAddonCodes,
23 __in DWORD* pcAddonCodes,
24 __in LPWSTR** prgsczPatchCodes,
25 __in DWORD* pcPatchCodes
26 );
27 void BundlePackageEnginePackageUninitialize(
28 __in BURN_PACKAGE* pPackage
29 );
30 HRESULT BundlePackageEngineDetectPackage(
31 __in BURN_PACKAGE* pPackage,
32 __in BURN_REGISTRATION* pRegistration,
33 __in BURN_USER_EXPERIENCE* pUserExperience
34 );
35 HRESULT BundlePackageEnginePlanCalculatePackage(
36 __in BURN_PACKAGE* pPackage
37 );
38 HRESULT BundlePackageEnginePlanAddPackage(
39 __in BURN_PACKAGE* pPackage,
40 __in BURN_PLAN* pPlan,
41 __in BURN_LOGGING* pLog,
42 __in BURN_VARIABLES* pVariables
43 );
44 HRESULT BundlePackageEnginePlanAddRelatedBundle(
45 __in_opt DWORD *pdwInsertSequence,
46 __in BURN_RELATED_BUNDLE* pRelatedBundle,
47 __in BURN_PLAN* pPlan,
48 __in BURN_LOGGING* pLog,
49 __in BURN_VARIABLES* pVariables
50 );
51 HRESULT BundlePackageEngineExecutePackage(
52 __in BURN_EXECUTE_ACTION* pExecuteAction,
53 __in BURN_CACHE* pCache,
54 __in BURN_VARIABLES* pVariables,
55 __in BOOL fRollback,
56 __in BOOL fCacheAvailable,
57 __in PFN_GENERICMESSAGEHANDLER pfnGenericMessageHandler,
58 __in LPVOID pvContext,
59 __out BOOTSTRAPPER_APPLY_RESTART* pRestart
60 );
61 HRESULT BundlePackageEngineExecuteRelatedBundle(
62 __in BURN_EXECUTE_ACTION* pExecuteAction,
63 __in BURN_CACHE* pCache,
64 __in BURN_VARIABLES* pVariables,
65 __in BOOL fRollback,
66 __in PFN_GENERICMESSAGEHANDLER pfnGenericExecuteProgress,
67 __in LPVOID pvContext,
68 __out BOOTSTRAPPER_APPLY_RESTART* pRestart
69 );
70 void BundlePackageEngineUpdateInstallRegistrationState(
71 __in BURN_EXECUTE_ACTION* pAction,
72 __in HRESULT hrExecute
73 );
74
75
76 #if defined(__cplusplus)
77 }
78 #endif