// by Diplomat #pragma warning disable 0105 using System; using System.Runtime.InteropServices; using Devolutions.IronRdp.Diplomat; #pragma warning restore 0105 namespace Devolutions.IronRdp.Raw; #nullable enable [StructLayout(LayoutKind.Sequential)] public partial struct ConnectionActivationStateFinalized { private const string NativeLib = "DevolutionsIronRdp"; [DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConnectionActivationStateFinalized_get_io_channel_id", ExactSpelling = true)] public static unsafe extern ushort GetIoChannelId(ConnectionActivationStateFinalized* self); [DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConnectionActivationStateFinalized_get_user_channel_id", ExactSpelling = true)] public static unsafe extern ushort GetUserChannelId(ConnectionActivationStateFinalized* self); [DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConnectionActivationStateFinalized_get_desktop_size", ExactSpelling = true)] public static unsafe extern DesktopSize* GetDesktopSize(ConnectionActivationStateFinalized* self); [DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConnectionActivationStateFinalized_get_enable_server_pointer", ExactSpelling = true)] [return: MarshalAs(UnmanagedType.U1)] public static unsafe extern bool GetEnableServerPointer(ConnectionActivationStateFinalized* self); [DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConnectionActivationStateFinalized_get_pointer_software_rendering", ExactSpelling = true)] [return: MarshalAs(UnmanagedType.U1)] public static unsafe extern bool GetPointerSoftwareRendering(ConnectionActivationStateFinalized* self); [DllImport(NativeLib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "ConnectionActivationStateFinalized_destroy", ExactSpelling = true)] public static unsafe extern void Destroy(ConnectionActivationStateFinalized* self); }