aboutsummaryrefslogtreecommitdiff
path: root/src/bextutil/inc/IBundleExtensionEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bextutil/inc/IBundleExtensionEngine.h')
-rw-r--r--src/bextutil/inc/IBundleExtensionEngine.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/bextutil/inc/IBundleExtensionEngine.h b/src/bextutil/inc/IBundleExtensionEngine.h
new file mode 100644
index 00000000..869c6695
--- /dev/null
+++ b/src/bextutil/inc/IBundleExtensionEngine.h
@@ -0,0 +1,64 @@
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 DWORD * 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 DWORD * 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 DWORD* pcchValue
33 ) = 0;
34
35 STDMETHOD(GetVariableVersion)(
36 __in_z LPCWSTR wzVariable,
37 __out DWORD64* pqwValue
38 ) = 0;
39
40 STDMETHOD(Log)(
41 __in BUNDLE_EXTENSION_LOG_LEVEL level,
42 __in_z LPCWSTR wzMessage
43 ) = 0;
44
45 STDMETHOD(SetVariableLiteralString)(
46 __in_z LPCWSTR wzVariable,
47 __in_z_opt LPCWSTR wzValue
48 ) = 0;
49
50 STDMETHOD(SetVariableNumeric)(
51 __in_z LPCWSTR wzVariable,
52 __in LONGLONG llValue
53 ) = 0;
54
55 STDMETHOD(SetVariableString)(
56 __in_z LPCWSTR wzVariable,
57 __in_z_opt LPCWSTR wzValue
58 ) = 0;
59
60 STDMETHOD(SetVariableVersion)(
61 __in_z LPCWSTR wzVariable,
62 __in DWORD64 qwValue
63 ) = 0;
64};