A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
757 B

using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using Avalonia.Win32.Automation.Marshalling;
namespace Avalonia.Win32.Automation.Interop;
#if NET8_0_OR_GREATER
[GeneratedComInterface(Options = ComInterfaceOptions.ManagedObjectWrapper)]
#else
[ComImport()]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
#endif
[Guid("6278cab1-b556-4a1a-b4e0-418acc523201")]
internal partial interface IMultipleViewProvider
{
[return: MarshalAs(UnmanagedType.BStr)]
string GetViewName(int viewId);
void SetCurrentView(int viewId);
int GetCurrentView();
#if NET8_0_OR_GREATER
[return: MarshalUsing(typeof(SafeArrayMarshaller<int>))]
#endif
int[] GetSupportedViews();
}