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