From 61847dddd4fd497057c780658e383c4627de19ec Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 29 Dec 2018 22:12:08 -0600 Subject: Import code from old v4 repo --- src/engine/msuengine.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/engine/msuengine.h (limited to 'src/engine/msuengine.h') 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 @@ +#pragma once +// 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. + + +#if defined(__cplusplus) +extern "C" { +#endif + + +// function declarations + +HRESULT MsuEngineParsePackageFromXml( + __in IXMLDOMNode* pixnMsiPackage, + __in BURN_PACKAGE* pPackage + ); +void MsuEnginePackageUninitialize( + __in BURN_PACKAGE* pPackage + ); +HRESULT MsuEngineDetectPackage( + __in BURN_PACKAGE* pPackage, + __in BURN_VARIABLES* pVariables + ); +HRESULT MsuEnginePlanCalculatePackage( + __in BURN_PACKAGE* pPackage, + __out_opt BOOL* pfBARequestedCache + ); +HRESULT MsuEnginePlanAddPackage( + __in BURN_PACKAGE* pPackage, + __in BURN_PLAN* pPlan, + __in BURN_LOGGING* pLog, + __in BURN_VARIABLES* pVariables, + __in HANDLE hCacheEvent, + __in BOOL fPlanPackageCacheRollback + ); +HRESULT MsuEngineExecutePackage( + __in BURN_EXECUTE_ACTION* pExecuteAction, + __in BURN_VARIABLES* pVariables, + __in BOOL fRollback, + __in BOOL fStopWusaService, + __in PFN_GENERICMESSAGEHANDLER pfnGenericMessageHandler, + __in LPVOID pvContext, + __out BOOTSTRAPPER_APPLY_RESTART* pRestart + ); + + +#if defined(__cplusplus) +} +#endif -- cgit v1.2.3-55-g6feb