-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathIVbcHostObject5.cs
31 lines (27 loc) · 1.07 KB
/
IVbcHostObject5.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
#nullable disable
namespace Microsoft.Build.Tasks.Hosting
{
/// <summary>
/// Defines an interface that proffers a free threaded host object that
/// allows for background threads to call directly (avoids marshalling
/// to the UI thread.
/// </summary>
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisible(true)]
[Guid("5ACF41FF-6F2B-4623-8146-740C89212B21")]
public interface IVbcHostObject5 : IVbcHostObject4
{
IVbcHostObjectFreeThreaded GetFreeThreadedHostObject();
[PreserveSig]
int CompileAsync(out IntPtr buildSucceededEvent, out IntPtr buildFailedEvent);
[PreserveSig]
int EndCompile(bool buildSuccess);
bool SetPlatformWith32BitPreference(string platformWith32BitPreference);
bool SetHighEntropyVA(bool highEntropyVA);
bool SetSubsystemVersion(string subsystemVersion);
}
}