| 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 | // constants |
| 11 | |
| 12 | |
| 13 | // structures |
| 14 | |
| 15 | |
| 16 | // typedefs |
| 17 | |
| 18 | |
| 19 | // function declarations |
| 20 | |
| 21 | HRESULT MspEngineParsePackageFromXml( |
| 22 | __in IXMLDOMNode* pixnBundle, |
| 23 | __in BURN_PACKAGE* pPackage |
| 24 | ); |
| 25 | void MspEnginePackageUninitialize( |
| 26 | __in BURN_PACKAGE* pPackage |
| 27 | ); |
| 28 | HRESULT MspEngineDetectInitialize( |
| 29 | __in BURN_PACKAGES* pPackages |
| 30 | ); |
| 31 | HRESULT 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 | ); |
| 38 | HRESULT MspEngineAddMissingSlipstreamTarget( |
| 39 | __in BURN_PACKAGE* pMsiPackage, |
| 40 | __in BURN_SLIPSTREAM_MSP* pSlipstreamMsp |
| 41 | ); |
| 42 | HRESULT MspEngineDetectPackage( |
| 43 | __in BURN_PACKAGE* pPackage, |
| 44 | __in BURN_REGISTRATION* pRegistration, |
| 45 | __in BURN_USER_EXPERIENCE* pUserExperience |
| 46 | ); |
| 47 | HRESULT MspEnginePlanInitializePackage( |
| 48 | __in BURN_PACKAGE* pPackage, |
| 49 | __in BURN_USER_EXPERIENCE* pUserExperience |
| 50 | ); |
| 51 | HRESULT MspEnginePlanCalculatePackage( |
| 52 | __in BURN_PACKAGE* pPackage, |
| 53 | __in BOOL fInsideMsiTransaction |
| 54 | ); |
| 55 | HRESULT MspEnginePlanAddPackage( |
| 56 | __in BOOTSTRAPPER_DISPLAY display, |
| 57 | __in BURN_USER_EXPERIENCE* pUserExperience, |
| 58 | __in BURN_PACKAGE* pPackage, |
| 59 | __in BURN_PLAN* pPlan, |
| 60 | __in BURN_LOGGING* pLog, |
| 61 | __in BURN_VARIABLES* pVariables |
| 62 | ); |
| 63 | HRESULT MspEngineExecutePackage( |
| 64 | __in_opt HWND hwndParent, |
| 65 | __in BURN_EXECUTE_ACTION* pExecuteAction, |
| 66 | __in BURN_CACHE* pCache, |
| 67 | __in BURN_VARIABLES* pVariables, |
| 68 | __in BOOL fRollback, |
| 69 | __in PFN_MSIEXECUTEMESSAGEHANDLER pfnMessageHandler, |
| 70 | __in LPVOID pvContext, |
| 71 | __out BOOTSTRAPPER_APPLY_RESTART* pRestart |
| 72 | ); |
| 73 | void MspEngineUpdateInstallRegistrationState( |
| 74 | __in BURN_EXECUTE_ACTION* pAction, |
| 75 | __in HRESULT hrExecute, |
| 76 | __in BOOL fInsideMsiTransaction |
| 77 | ); |
| 78 | void MspEngineFinalizeInstallRegistrationState( |
| 79 | __in BURN_PACKAGE* pPackage |
| 80 | ); |
| 81 | |
| 82 | |
| 83 | #if defined(__cplusplus) |
| 84 | } |
| 85 | #endif |