diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-22 05:46:03 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-04-29 16:41:44 -0700 |
commit | c00516901e6b67e398396b14fe7682d0376f8643 (patch) | |
tree | b0d62089a1c5700c7f2c3e3790750bf2d8ea33c0 /src/api/burn/WixToolset.Mba.Core/BalUtil.cs | |
parent | 8eb98efd2175d9ece2e4639d43081667af9a4990 (diff) | |
download | wix-c00516901e6b67e398396b14fe7682d0376f8643.tar.gz wix-c00516901e6b67e398396b14fe7682d0376f8643.tar.bz2 wix-c00516901e6b67e398396b14fe7682d0376f8643.zip |
Move balutil into API/burn
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/BalUtil.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/BalUtil.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/BalUtil.cs b/src/api/burn/WixToolset.Mba.Core/BalUtil.cs new file mode 100644 index 00000000..f478eca4 --- /dev/null +++ b/src/api/burn/WixToolset.Mba.Core/BalUtil.cs | |||
@@ -0,0 +1,22 @@ | |||
1 | // 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. | ||
2 | |||
3 | namespace WixToolset.Mba.Core | ||
4 | { | ||
5 | using System; | ||
6 | using System.Runtime.InteropServices; | ||
7 | |||
8 | internal static class BalUtil | ||
9 | { | ||
10 | [DllImport("mbanative.dll", ExactSpelling = true, PreserveSig = false)] | ||
11 | internal static extern IBootstrapperEngine InitializeFromCreateArgs( | ||
12 | IntPtr pArgs, | ||
13 | ref Command pCommand | ||
14 | ); | ||
15 | |||
16 | [DllImport("mbanative.dll", ExactSpelling = true)] | ||
17 | internal static extern void StoreBAInCreateResults( | ||
18 | IntPtr pResults, | ||
19 | [MarshalAs(UnmanagedType.Interface)] IBootstrapperApplication pBA | ||
20 | ); | ||
21 | } | ||
22 | } | ||