From 32fce16069d47fbf7e08414e9fd31e2a09968395 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 17 Jan 2021 20:15:48 -0600 Subject: Update PlanTest to use manifests created by latest v4. --- src/engine/manifest.cpp | 6 +++--- src/engine/manifest.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/engine') diff --git a/src/engine/manifest.cpp b/src/engine/manifest.cpp index 270b6b74..fe8c6cad 100644 --- a/src/engine/manifest.cpp +++ b/src/engine/manifest.cpp @@ -10,8 +10,8 @@ static HRESULT ParseFromXml( // function definitions -extern "C" HRESULT ManifestLoadXml( - __in LPCWSTR wzDocument, +extern "C" HRESULT ManifestLoadXmlFromFile( + __in LPCWSTR wzPath, __in BURN_ENGINE_STATE* pEngineState ) { @@ -19,7 +19,7 @@ extern "C" HRESULT ManifestLoadXml( IXMLDOMDocument* pixdDocument = NULL; // load xml document - hr = XmlLoadDocument(wzDocument, &pixdDocument); + hr = XmlLoadDocumentFromFile(wzPath, &pixdDocument); ExitOnFailure(hr, "Failed to load manifest as XML document."); hr = ParseFromXml(pixdDocument, pEngineState); diff --git a/src/engine/manifest.h b/src/engine/manifest.h index 223181d9..8c527279 100644 --- a/src/engine/manifest.h +++ b/src/engine/manifest.h @@ -11,8 +11,8 @@ extern "C" { // function declarations -HRESULT ManifestLoadXml( - __in LPCWSTR wzDocument, +HRESULT ManifestLoadXmlFromFile( + __in LPCWSTR wzPath, __in BURN_ENGINE_STATE* pEngineState ); -- cgit v1.2.3-55-g6feb