/// <summary>To be documented.</summary> public readonly int GetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity) { var @this = (IDXGIInfoQueue *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; ret = ((delegate * unmanaged[Cdecl] < IDXGIInfoQueue *, Guid, InfoQueueMessageSeverity, int >)LpVtbl[36])(@this, Producer, Severity); return(ret); }
/// <summary>To be documented.</summary> public readonly unsafe int AddApplicationMessage(InfoQueueMessageSeverity Severity, byte *pDescription) { var @this = (IDXGIInfoQueue *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; ret = ((delegate * unmanaged[Cdecl] < IDXGIInfoQueue *, InfoQueueMessageSeverity, byte *, int >)LpVtbl[31])(@this, Severity, pDescription); return(ret); }
/// <summary>To be documented.</summary> public readonly int AddApplicationMessage(InfoQueueMessageSeverity Severity, string pDescription) { var @this = (IDXGIInfoQueue *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; var pDescriptionPtr = (byte *)Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate * unmanaged[Cdecl] < IDXGIInfoQueue *, InfoQueueMessageSeverity, byte *, int >)LpVtbl[31])(@this, Severity, pDescriptionPtr); Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); return(ret); }
internal unsafe void __MarshalFrom(ref __Native @ref) { Categories = new InfoQueueMessageCategory[@ref.NumCategories]; if (@ref.NumCategories > 0) { Interop.Read(@ref.PCategoryList, Categories); } Severities = new InfoQueueMessageSeverity[@ref.NumSeverities]; if (@ref.NumSeverities > 0) { Interop.Read(@ref.PSeverityList, Severities); } Ids = new int[@ref.NumIDs]; if (@ref.NumIDs > 0) { Interop.Read(@ref.PIDList, Ids); } }
/// <summary>To be documented.</summary> public readonly int AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, string pDescription) { var @this = (IDXGIInfoQueue *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; var pDescriptionPtr = (byte *)Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate * unmanaged[Cdecl] < IDXGIInfoQueue *, Guid, InfoQueueMessageCategory, InfoQueueMessageSeverity, int, byte *, int >)LpVtbl[30])(@this, Producer, Category, Severity, ID, pDescriptionPtr); Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); return(ret); }
/// <summary>To be documented.</summary> public readonly int AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, ref byte pDescription) { var @this = (IDXGIInfoQueue *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed(byte *pDescriptionPtr = &pDescription) { ret = ((delegate * unmanaged[Cdecl] < IDXGIInfoQueue *, Guid, InfoQueueMessageCategory, InfoQueueMessageSeverity, int, byte *, int >)LpVtbl[30])(@this, Producer, Category, Severity, ID, pDescriptionPtr); } return(ret); }