aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.Mba.Core/MbaNative.cs
blob: a68a39070e8d0a1307e7a2369bd5e76c71c19712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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.

namespace WixToolset.Mba.Core
{
    using System;
    using System.Runtime.InteropServices;

    internal static class MbaNative
    {
        [DllImport("mbanative.dll", ExactSpelling = true, PreserveSig = false)]
        internal static extern IBootstrapperEngine InitializeFromCreateArgs(
            IntPtr pArgs,
            ref Command pCommand
            );

        [DllImport("mbanative.dll", ExactSpelling = true)]
        internal static extern void StoreBAInCreateResults(
            IntPtr pResults,
            [MarshalAs(UnmanagedType.Interface)] IBootstrapperApplication pBA
            );
    }
}