aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/bextutil/inc/IBundleExtensionEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/bextutil/inc/IBundleExtensionEngine.h')
-rw-r--r--src/api/burn/bextutil/inc/IBundleExtensionEngine.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/api/burn/bextutil/inc/IBundleExtensionEngine.h b/src/api/burn/bextutil/inc/IBundleExtensionEngine.h
new file mode 100644
index 00000000..63dadb06
--- /dev/null
+++ b/src/api/burn/bextutil/inc/IBundleExtensionEngine.h
@@ -0,0 +1,67 @@
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
5DECLARE_INTERFACE_IID_(IBundleExtensionEngine, IUnknown, "9D027A39-F6B6-42CC-9737-C185089EB263")
6{
7 STDMETHOD(EscapeString)(
8 __in_z LPCWSTR wzIn,
9 __out_ecount_opt(*pcchOut) LPWSTR wzOut,
10 __inout SIZE_T* pcchOut
11 ) = 0;
12
13 STDMETHOD(EvaluateCondition)(
14 __in_z LPCWSTR wzCondition,
15 __out BOOL* pf
16 ) = 0;
17
18 STDMETHOD(FormatString)(
19 __in_z LPCWSTR wzIn,
20 __out_ecount_opt(*pcchOut) LPWSTR wzOut,
21 __inout SIZE_T* pcchOut
22 ) = 0;
23
24 STDMETHOD(GetVariableNumeric)(
25 __in_z LPCWSTR wzVariable,
26 __out LONGLONG* pllValue
27 ) = 0;
28
29 STDMETHOD(GetVariableString)(
30 __in_z LPCWSTR wzVariable,
31 __out_ecount_opt(*pcchValue) LPWSTR wzValue,
32 __inout SIZE_T* pcchValue
33 ) = 0;
34
35 STDMETHOD(GetVariableVersion)(
36 __in_z LPCWSTR wzVariable,
37 __out_ecount_opt(*pcchValue) LPWSTR wzValue,
38 __inout SIZE_T* pcchValue
39 ) = 0;
40
41 STDMETHOD(Log)(
42 __in BUNDLE_EXTENSION_LOG_LEVEL level,
43 __in_z LPCWSTR wzMessage
44 ) = 0;
45
46 STDMETHOD(SetVariableNumeric)(
47 __in_z LPCWSTR wzVariable,
48 __in LONGLONG llValue
49 ) = 0;
50
51 STDMETHOD(SetVariableString)(
52 __in_z LPCWSTR wzVariable,
53 __in_z_opt LPCWSTR wzValue,
54 __in BOOL fFormatted
55 ) = 0;
56
57 STDMETHOD(SetVariableVersion)(
58 __in_z LPCWSTR wzVariable,
59 __in_z_opt LPCWSTR wzValue
60 ) = 0;
61
62 STDMETHOD(CompareVersions)(
63 __in_z LPCWSTR wzVersion1,
64 __in_z LPCWSTR wzVersion2,
65 __out int* pnResult
66 ) = 0;
67};