aboutsummaryrefslogtreecommitdiff
path: root/src/be/utilsearch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/be/utilsearch.h')
-rw-r--r--src/be/utilsearch.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/be/utilsearch.h b/src/be/utilsearch.h
new file mode 100644
index 00000000..1e0ca96d
--- /dev/null
+++ b/src/be/utilsearch.h
@@ -0,0 +1,52 @@
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// constants
6
7enum UTIL_SEARCH_TYPE
8{
9 UTIL_SEARCH_TYPE_NONE,
10 UTIL_SEARCH_TYPE_DETECT_SHA2_SUPPORT,
11};
12
13
14// structs
15
16typedef struct _UTIL_SEARCH
17{
18 LPWSTR sczId;
19
20 UTIL_SEARCH_TYPE Type;
21} UTIL_SEARCH;
22
23typedef struct _UTIL_SEARCHES
24{
25 UTIL_SEARCH* rgSearches;
26 DWORD cSearches;
27} UTIL_SEARCHES;
28
29
30// function declarations
31
32STDMETHODIMP UtilSearchParseFromXml(
33 __in UTIL_SEARCHES* pSearches,
34 __in IXMLDOMNode* pixnBundleExtension
35 );
36
37void UtilSearchUninitialize(
38 __in UTIL_SEARCHES* pSearches
39 );
40
41STDMETHODIMP UtilSearchExecute(
42 __in UTIL_SEARCHES* pSearches,
43 __in LPCWSTR wzSearchId,
44 __in LPCWSTR wzVariable,
45 __in IBundleExtensionEngine* pEngine
46 );
47
48STDMETHODIMP UtilSearchFindById(
49 __in UTIL_SEARCHES* pSearches,
50 __in LPCWSTR wzId,
51 __out UTIL_SEARCH** ppSearch
52 );