Files
IronRDP/ffi/dotnet/Devolutions.IronRdp/Generated/RawPduFfiResultOptBoxPduInfoBoxIronRdpError.cs

47 lines
852 B
C#

// <auto-generated/> 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 PduFfiResultOptBoxPduInfoBoxIronRdpError
{
[StructLayout(LayoutKind.Explicit)]
private unsafe struct InnerUnion
{
[FieldOffset(0)]
internal PduInfo* ok;
[FieldOffset(0)]
internal IronRdpError* err;
}
private InnerUnion _inner;
[MarshalAs(UnmanagedType.U1)]
public bool isOk;
public unsafe PduInfo* Ok
{
get
{
return _inner.ok;
}
}
public unsafe IronRdpError* Err
{
get
{
return _inner.err;
}
}
}