aboutsummaryrefslogtreecommitdiff
path: root/src/engine/catalog.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/engine/catalog.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/src/engine/catalog.h b/src/engine/catalog.h
deleted file mode 100644
index 3a87d0d2..00000000
--- a/src/engine/catalog.h
+++ /dev/null
@@ -1,56 +0,0 @@
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// structs
10
11typedef struct _BURN_CATALOG
12{
13 LPWSTR sczKey;
14 LPWSTR sczPayload;
15
16 // mutable members
17 LPWSTR sczLocalFilePath; // location of extracted or downloaded copy
18 HANDLE hFile;
19} BURN_CATALOG;
20
21typedef struct _BURN_CATALOGS
22{
23 BURN_CATALOG* rgCatalogs;
24 DWORD cCatalogs;
25} BURN_CATALOGS;
26
27typedef struct _BURN_PAYLOADS BURN_PAYLOADS;
28
29
30// functions
31
32HRESULT CatalogsParseFromXml(
33 __in BURN_CATALOGS* pCatalogs,
34 __in IXMLDOMNode* pixnBundle
35 );
36HRESULT CatalogFindById(
37 __in BURN_CATALOGS* pCatalogs,
38 __in_z LPCWSTR wzId,
39 __out BURN_CATALOG** ppCatalog
40 );
41HRESULT CatalogLoadFromPayload(
42 __in BURN_CATALOGS* pCatalogs,
43 __in BURN_PAYLOADS* pPayloads
44 );
45HRESULT CatalogElevatedUpdateCatalogFile(
46 __in BURN_CATALOGS* pCatalogs,
47 __in_z LPCWSTR wzId,
48 __in_z LPCWSTR wzPath
49 );
50void CatalogUninitialize(
51 __in BURN_CATALOGS* pCatalogs
52 );
53
54#if defined(__cplusplus)
55}
56#endif