From b1f807dcfbdaa067363ad2d518f4412f71c489df Mon Sep 17 00:00:00 2001 From: Amer Koleci Date: Wed, 7 Sep 2022 09:48:52 +0200 Subject: [PATCH] Generator: More bindings improvements and handle primitive types function/method usage. --- Directory.Build.props | 4 +- src/Generator/Program.cs | 58 +- .../Generated/Graphics/Direct3D11.cs | 624 +++++++++--------- src/Vortice.Win32/Generated/Graphics/Dxgi.cs | 486 +++++++------- src/samples/01-ClearScreen/Program.cs | 100 ++- 5 files changed, 682 insertions(+), 590 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 4438b28..4f9e196 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -24,7 +24,7 @@ - + diff --git a/src/Generator/Program.cs b/src/Generator/Program.cs index 4059e9c..1c83b07 100644 --- a/src/Generator/Program.cs +++ b/src/Generator/Program.cs @@ -568,7 +568,7 @@ public static class Program else { string fullTypeName = $"{parameter.Type.Api}.{parameter.Type.Name}"; - if (!IsEnum(fullTypeName)) + if (!IsPrimitive(parameter.Type) && !IsEnum(fullTypeName)) { asPointer = true; } @@ -583,6 +583,7 @@ public static class Program parameterType = NormalizeTypeName(writer.Api, parameterType); string parameterName = parameter.Name; + bool isOptional = parameter.Attrs.Any(item => item is string str && str == "Optional"); if (parameter.Attrs.Any(item => item is string str && str == "ComOutPtr")) { @@ -1075,6 +1076,11 @@ public static class Program foreach (var parameter in method.Params) { + if (method.Name == "SetBreakOnSeverity") + { + + } + bool asPointer = false; string parameterType = default; if (parameter.Type.Kind == "ApiRef") @@ -1087,7 +1093,7 @@ public static class Program else { string fullTypeName = $"{parameter.Type.Api}.{parameter.Type.Name}"; - if (!IsEnum(fullTypeName)) + if (!IsPrimitive(parameter.Type) && !IsEnum(fullTypeName)) { asPointer = true; } @@ -1163,7 +1169,17 @@ public static class Program writer.WriteLine("[MethodImpl(MethodImplOptions.AggressiveInlining)]"); writer.WriteLine($"[VtblIndex({vtblIndex})]"); - using (writer.PushBlock($"public {returnType} {method.Name}({argumentsString})")) + + string methodSuffix = string.Empty; + if (method.Name == "GetType") + { + if (string.IsNullOrEmpty(argumentsString)) + { + methodSuffix = "new "; + } + } + + using (writer.PushBlock($"public {methodSuffix}{returnType} {method.Name}({argumentsString})")) { writer.WriteLineUndindented("#if NET6_0_OR_GREATER"); if (returnType != "void") @@ -1487,11 +1503,33 @@ public static class Program return GetTypeName(dataType.Name); } + private static bool IsPrimitive(string typeName) + { + switch (typeName) + { + case "void": + case "bool": + case "int": + case "uint": + case "Bool32": + return true; + + case "nint": + case "nuint": + case "IntPtr": + case "UIntPtr": + return true; + } + + return false; + } + private static bool IsPrimitive(ApiDataType dataType) { if (dataType.Kind == "ApiRef") { string apiRefType = GetTypeName($"{dataType.Api}.{dataType.Name}"); + return IsPrimitive(apiRefType); } else if (dataType.Kind == "PointerTo") { @@ -1504,19 +1542,7 @@ public static class Program } string typeName = GetTypeName(dataType.Name); - switch (typeName) - { - case "void": - case "int": - case "uint": - return true; - - case "nint": - case "nuint": - return true; - } - - return false; + return IsPrimitive(typeName); } private static bool IsEnum(string typeName) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs index a6136a7..b185226 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D11.cs @@ -16326,12 +16326,12 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public void SetPredication(ID3D11Predicate* pPredicate, Bool32* PredicateValue) + public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged)(lpVtbl[30]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #endif } @@ -16662,12 +16662,12 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] - public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32* RestoreContextState) + public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #endif } @@ -17310,7 +17310,7 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(112)] - public Graphics.Direct3D11.DeviceContextType GetType() + public new Graphics.Direct3D11.DeviceContextType GetType() { #if NET6_0_OR_GREATER return ((delegate* unmanaged)(lpVtbl[112]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this)); @@ -17334,12 +17334,12 @@ public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(114)] - public HResult FinishCommandList(Bool32* RestoreDeferredContextState, ID3D11CommandList** ppCommandList) + public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[114]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged)(lpVtbl[114]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID3D11DeviceContext*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #endif } @@ -18732,24 +18732,24 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* YCbCr, VideoColor* pColor) + public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #endif } @@ -18780,24 +18780,24 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, System.Drawing.Size* Size) + public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable) + public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged)(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #endif } @@ -18924,48 +18924,48 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32* RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) + public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged)(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Alpha) + public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #endif } @@ -18984,60 +18984,60 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) + public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Lower, float Upper) + public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged)(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] - public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorStereoFormat Format, Bool32* LeftViewFrame0, Bool32* BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) + public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged)(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] - public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable) + public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged)(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* Enable, int Level) + public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged)(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #endif } @@ -19332,12 +19332,12 @@ public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(63)] - public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorRotation Rotation) + public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged)(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID3D11VideoContext*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #endif } @@ -19992,12 +19992,12 @@ public unsafe partial struct ID3D11Device : ID3D11Device.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HResult OpenSharedResource(IntPtr* hResource, Guid* ReturnedInterface, void** ppResource) + public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #endif } @@ -20412,12 +20412,12 @@ public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public Bool32 SetUseRef(Bool32* UseRef) + public Bool32 SetUseRef(Bool32 UseRef) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef); + return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11SwitchToRef*)Unsafe.AsPointer(ref this), UseRef); #endif } @@ -21072,36 +21072,36 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HResult SetBreakOnCategory(MessageCategory Category, Bool32* bEnable) + public HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); + return ((delegate* unmanaged)(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); + return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, bEnable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public HResult SetBreakOnSeverity(MessageSeverity Severity, Bool32* bEnable) + public HResult SetBreakOnSeverity(MessageSeverity Severity, Bool32 bEnable) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); + return ((delegate* unmanaged)(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); + return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, bEnable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public HResult SetBreakOnID(MessageId ID, Bool32* bEnable) + public HResult SetBreakOnID(MessageId ID, Bool32 bEnable) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); + return ((delegate* unmanaged)(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), ID, bEnable); #endif } @@ -21144,12 +21144,12 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] - public void SetMuteDebugOutput(Bool32* bMute) + public void SetMuteDebugOutput(Bool32 bMute) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute); + ((delegate* unmanaged)(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute); + ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), bMute); #endif } @@ -21900,12 +21900,12 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public void SetPredication(ID3D11Predicate* pPredicate, Bool32* PredicateValue) + public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged)(lpVtbl[26]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #endif } @@ -22236,12 +22236,12 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] - public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32* RestoreContextState) + public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[54]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged)(lpVtbl[54]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #endif } @@ -22884,7 +22884,7 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(108)] - public Graphics.Direct3D11.DeviceContextType GetType() + public new Graphics.Direct3D11.DeviceContextType GetType() { #if NET6_0_OR_GREATER return ((delegate* unmanaged)(lpVtbl[108]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this)); @@ -22908,12 +22908,12 @@ public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(110)] - public HResult FinishCommandList(Bool32* RestoreDeferredContextState, ID3D11CommandList** ppCommandList) + public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[110]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged)(lpVtbl[110]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID3D11DeviceContext1*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #endif } @@ -23334,24 +23334,24 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* YCbCr, VideoColor* pColor) + public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged)(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #endif } @@ -23382,24 +23382,24 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, System.Drawing.Size* Size) + public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable) + public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged)(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #endif } @@ -23526,48 +23526,48 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32* RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) + public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged)(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] - public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Alpha) + public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #endif } @@ -23586,60 +23586,60 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) + public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged)(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Lower, float Upper) + public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorStereoFormat Format, Bool32* LeftViewFrame0, Bool32* BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) + public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable) + public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged)(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* Enable, int Level) + public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged)(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #endif } @@ -23934,12 +23934,12 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(59)] - public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorRotation Rotation) + public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged)(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #endif } @@ -24078,12 +24078,12 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(71)] - public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* ShaderUsage) + public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); + ((delegate* unmanaged)(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); + ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); #endif } @@ -24126,12 +24126,12 @@ public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(75)] - public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, Bool32* FlipHorizontal, Bool32* FlipVertical) + public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); + ((delegate* unmanaged)(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); + ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID3D11VideoContext1*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); #endif } @@ -25056,12 +25056,12 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HResult OpenSharedResource(IntPtr* hResource, Guid* ReturnedInterface, void** ppResource) + public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #endif } @@ -25296,12 +25296,12 @@ public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public HResult OpenSharedResource1(IntPtr* hResource, Guid* returnedInterface, void** ppResource) + public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11Device1*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #endif } @@ -26004,12 +26004,12 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] - public void SetPredication(ID3D11Predicate* pPredicate, Bool32* PredicateValue) + public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged)(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #endif } @@ -26340,12 +26340,12 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(73)] - public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32* RestoreContextState) + public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged)(lpVtbl[73]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #endif } @@ -26988,7 +26988,7 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(127)] - public Graphics.Direct3D11.DeviceContextType GetType() + public new Graphics.Direct3D11.DeviceContextType GetType() { #if NET6_0_OR_GREATER return ((delegate* unmanaged)(lpVtbl[127]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this)); @@ -27012,12 +27012,12 @@ public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(129)] - public HResult FinishCommandList(Bool32* RestoreDeferredContextState, ID3D11CommandList** ppCommandList) + public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[129]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged)(lpVtbl[129]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[129]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged[Stdcall])(lpVtbl[129]))((ID3D11DeviceContext2*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #endif } @@ -27318,12 +27318,12 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult OpenSharedResource1(IntPtr* hResource, Guid* returnedInterface, void** ppResource) + public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #endif } @@ -27642,12 +27642,12 @@ public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] - public HResult OpenSharedResource(IntPtr* hResource, Guid* ReturnedInterface, void** ppResource) + public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D11Device2*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #endif } @@ -29658,12 +29658,12 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(55)] - public void SetPredication(ID3D11Predicate* pPredicate, Bool32* PredicateValue) + public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[55]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged)(lpVtbl[55]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #endif } @@ -29994,12 +29994,12 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(83)] - public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32* RestoreContextState) + public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[83]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged)(lpVtbl[83]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #endif } @@ -30642,7 +30642,7 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(137)] - public Graphics.Direct3D11.DeviceContextType GetType() + public new Graphics.Direct3D11.DeviceContextType GetType() { #if NET6_0_OR_GREATER return ((delegate* unmanaged)(lpVtbl[137]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this)); @@ -30666,12 +30666,12 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(139)] - public HResult FinishCommandList(Bool32* RestoreDeferredContextState, ID3D11CommandList** ppCommandList) + public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[139]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged)(lpVtbl[139]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[139]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged[Stdcall])(lpVtbl[139]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #endif } @@ -30726,24 +30726,24 @@ public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(144)] - public void Flush1(ContextType ContextType, IntPtr* hEvent) + public void Flush1(ContextType ContextType, IntPtr hEvent) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[144]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ContextType, hEvent); + ((delegate* unmanaged)(lpVtbl[144]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ContextType, hEvent); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[144]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ContextType, hEvent); + ((delegate* unmanaged[Stdcall])(lpVtbl[144]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), ContextType, hEvent); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(145)] - public void SetHardwareProtectionState(Bool32* HwProtectionEnable) + public void SetHardwareProtectionState(Bool32 HwProtectionEnable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[145]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), HwProtectionEnable); + ((delegate* unmanaged)(lpVtbl[145]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), HwProtectionEnable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[145]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), HwProtectionEnable); + ((delegate* unmanaged[Stdcall])(lpVtbl[145]))((ID3D11DeviceContext3*)Unsafe.AsPointer(ref this), HwProtectionEnable); #endif } @@ -30900,12 +30900,12 @@ public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult SetEventOnCompletion(ulong Value, IntPtr* hEvent) + public HResult SetEventOnCompletion(ulong Value, IntPtr hEvent) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent); + return ((delegate* unmanaged)(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11Fence*)Unsafe.AsPointer(ref this), Value, hEvent); #endif } @@ -30978,24 +30978,24 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public void Flush1(ContextType ContextType, IntPtr* hEvent) + public void Flush1(ContextType ContextType, IntPtr hEvent) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ContextType, hEvent); + ((delegate* unmanaged)(lpVtbl[3]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ContextType, hEvent); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ContextType, hEvent); + ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), ContextType, hEvent); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public void SetHardwareProtectionState(Bool32* HwProtectionEnable) + public void SetHardwareProtectionState(Bool32 HwProtectionEnable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), HwProtectionEnable); + ((delegate* unmanaged)(lpVtbl[4]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), HwProtectionEnable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), HwProtectionEnable); + ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), HwProtectionEnable); #endif } @@ -31638,12 +31638,12 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] - public void SetPredication(ID3D11Predicate* pPredicate, Bool32* PredicateValue) + public void SetPredication(ID3D11Predicate* pPredicate, Bool32 PredicateValue) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged)(lpVtbl[58]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); + ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pPredicate, PredicateValue); #endif } @@ -31974,12 +31974,12 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(86)] - public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32* RestoreContextState) + public void ExecuteCommandList(ID3D11CommandList* pCommandList, Bool32 RestoreContextState) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[86]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged)(lpVtbl[86]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); + ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), pCommandList, RestoreContextState); #endif } @@ -32622,7 +32622,7 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(140)] - public Graphics.Direct3D11.DeviceContextType GetType() + public new Graphics.Direct3D11.DeviceContextType GetType() { #if NET6_0_OR_GREATER return ((delegate* unmanaged)(lpVtbl[140]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this)); @@ -32646,12 +32646,12 @@ public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(142)] - public HResult FinishCommandList(Bool32* RestoreDeferredContextState, ID3D11CommandList** ppCommandList) + public HResult FinishCommandList(Bool32 RestoreDeferredContextState, ID3D11CommandList** ppCommandList) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[142]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged)(lpVtbl[142]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[142]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); + return ((delegate* unmanaged[Stdcall])(lpVtbl[142]))((ID3D11DeviceContext4*)Unsafe.AsPointer(ref this), RestoreDeferredContextState, ppCommandList); #endif } @@ -32904,12 +32904,12 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HResult OpenSharedResource1(IntPtr* hResource, Guid* returnedInterface, void** ppResource) + public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #endif } @@ -33228,12 +33228,12 @@ public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] - public HResult OpenSharedResource(IntPtr* hResource, Guid* ReturnedInterface, void** ppResource) + public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11Device3*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #endif } @@ -33846,12 +33846,12 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HResult OpenSharedResource1(IntPtr* hResource, Guid* returnedInterface, void** ppResource) + public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #endif } @@ -34170,12 +34170,12 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public HResult OpenSharedResource(IntPtr* hResource, Guid* ReturnedInterface, void** ppResource) + public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #endif } @@ -34350,12 +34350,12 @@ public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(65)] - public HResult RegisterDeviceRemovedEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterDeviceRemovedEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID3D11Device4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -34440,12 +34440,12 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult RegisterDeviceRemovedEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterDeviceRemovedEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -34704,12 +34704,12 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HResult OpenSharedResource1(IntPtr* hResource, Guid* returnedInterface, void** ppResource) + public HResult OpenSharedResource1(IntPtr hResource, Guid* returnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, returnedInterface, ppResource); #endif } @@ -35028,12 +35028,12 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public HResult OpenSharedResource(IntPtr* hResource, Guid* ReturnedInterface, void** ppResource) + public HResult OpenSharedResource(IntPtr hResource, Guid* ReturnedInterface, void** ppResource) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged)(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); + return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hResource, ReturnedInterface, ppResource); #endif } @@ -35208,12 +35208,12 @@ public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(67)] - public HResult OpenSharedFence(IntPtr* hFence, Guid* ReturnedInterface, void** ppFence) + public HResult OpenSharedFence(IntPtr hFence, Guid* ReturnedInterface, void** ppFence) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence); + return ((delegate* unmanaged)(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence); + return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID3D11Device5*)Unsafe.AsPointer(ref this), hFence, ReturnedInterface, ppFence); #endif } @@ -35322,12 +35322,12 @@ public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public Bool32 SetMultithreadProtected(Bool32* bMTProtect) + public Bool32 SetMultithreadProtected(Bool32 bMTProtect) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect); + return ((delegate* unmanaged)(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11Multithread*)Unsafe.AsPointer(ref this), bMTProtect); #endif } @@ -35484,12 +35484,12 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* ShaderUsage) + public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); + ((delegate* unmanaged)(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); + ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); #endif } @@ -35532,12 +35532,12 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, Bool32* FlipHorizontal, Bool32* FlipVertical) + public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); + ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); + ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); #endif } @@ -35652,24 +35652,24 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* YCbCr, VideoColor* pColor) + public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged)(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #endif } @@ -35700,24 +35700,24 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, System.Drawing.Size* Size) + public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable) + public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #endif } @@ -35844,48 +35844,48 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] - public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32* RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) + public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged)(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] - public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Alpha) + public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged)(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #endif } @@ -35904,60 +35904,60 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] - public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) + public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] - public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Lower, float Upper) + public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] - public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorStereoFormat Format, Bool32* LeftViewFrame0, Bool32* BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) + public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(47)] - public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable) + public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged)(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* Enable, int Level) + public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #endif } @@ -36252,12 +36252,12 @@ public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(73)] - public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorRotation Rotation) + public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged)(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID3D11VideoContext2*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #endif } @@ -36900,12 +36900,12 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32* ShaderUsage) + public void VideoProcessorSetOutputShaderUsage(ID3D11VideoProcessor* pVideoProcessor, Bool32 ShaderUsage) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); + ((delegate* unmanaged)(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); + ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, ShaderUsage); #endif } @@ -36948,12 +36948,12 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, Bool32* FlipHorizontal, Bool32* FlipVertical) + public void VideoProcessorSetStreamMirror(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Bool32 FlipHorizontal, Bool32 FlipVertical) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); + ((delegate* unmanaged)(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); + ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, FlipHorizontal, FlipVertical); #endif } @@ -37068,24 +37068,24 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32* YCbCr, VideoColor* pColor) + public void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, Bool32 YCbCr, VideoColor* pColor) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged)(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, YCbCr, pColor); #endif } @@ -37116,24 +37116,24 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable, System.Drawing.Size* Size) + public void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable, System.Drawing.Size* Size) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged)(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable, Size); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32* Enable) + public void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged)(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, Enable); #endif } @@ -37260,48 +37260,48 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] - public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32* RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) + public void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorOutputRate OutputRate, Bool32 RepeatFrame, Graphics.Dxgi.Common.Rational* pCustomRate) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged)(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); + ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, OutputRate, RepeatFrame, pCustomRate); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] - public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] - public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, RawRect* pRect) + public void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, RawRect* pRect) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged)(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); + ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pRect); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] - public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Alpha) + public void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Alpha) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged)(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); + ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Alpha); #endif } @@ -37320,60 +37320,60 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] - public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) + public void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, Graphics.Dxgi.Common.Rational* pSourceAspectRatio, Graphics.Dxgi.Common.Rational* pDestinationAspectRatio) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged)(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); + ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, pSourceAspectRatio, pDestinationAspectRatio); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] - public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, float Lower, float Upper) + public void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, float Lower, float Upper) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged)(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); + ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Lower, Upper); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] - public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorStereoFormat Format, Bool32* LeftViewFrame0, Bool32* BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) + public void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorStereoFormat Format, Bool32 LeftViewFrame0, Bool32 BaseViewFrame0, VideoProcessorStereoFlipMode FlipMode, int MonoOffset) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged)(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); + ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Format, LeftViewFrame0, BaseViewFrame0, FlipMode, MonoOffset); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] - public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable) + public void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged)(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); + ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] - public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32* Enable, int Level) + public void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, VideoProcessorFilter Filter, Bool32 Enable, int Level) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged)(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); + ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level); #endif } @@ -37668,12 +37668,12 @@ public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(77)] - public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32* Enable, VideoProcessorRotation Rotation) + public void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, uint StreamIndex, Bool32 Enable, VideoProcessorRotation Rotation) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged)(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); + ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID3D11VideoContext3*)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Enable, Rotation); #endif } @@ -37984,7 +37984,7 @@ public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflec /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] - public Graphics.Direct3D11.ID3D11ShaderReflectionType GetType() + public new Graphics.Direct3D11.ID3D11ShaderReflectionType GetType() { #if NET6_0_OR_GREATER return ((delegate* unmanaged)(lpVtbl[1]))((ID3D11ShaderReflectionVariable*)Unsafe.AsPointer(ref this)); diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi.cs index 030c041..da13853 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi.cs @@ -3223,12 +3223,12 @@ public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult GetDC(Bool32* Discard, IntPtr* phdc) + public HResult GetDC(Bool32 Discard, IntPtr* phdc) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc); #endif } @@ -3559,12 +3559,12 @@ public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult TakeOwnership(IUnknown* pDevice, Bool32* Exclusive) + public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #endif } @@ -3805,12 +3805,12 @@ public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HResult SetFullscreenState(Bool32* Fullscreen, IDXGIOutput* pTarget) + public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #endif } @@ -4027,12 +4027,12 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -4063,12 +4063,12 @@ public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -4327,12 +4327,12 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -4363,12 +4363,12 @@ public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -4885,12 +4885,12 @@ public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public void SetStereoEnabled(Bool32* enabled) + public void SetStereoEnabled(Bool32 enabled) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled); + ((delegate* unmanaged)(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled); + ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this), enabled); #endif } @@ -5173,12 +5173,12 @@ public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult GetDC(Bool32* Discard, IntPtr* phdc) + public HResult GetDC(Bool32 Discard, IntPtr* phdc) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc); + return ((delegate* unmanaged)(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISurface2*)Unsafe.AsPointer(ref this), Discard, phdc); #endif } @@ -5725,12 +5725,12 @@ public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HResult EnqueueSetEvent(IntPtr* hEvent) + public HResult EnqueueSetEvent(IntPtr hEvent) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent); + return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent); + return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), hEvent); #endif } @@ -5827,12 +5827,12 @@ public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HResult SetFullscreenState(Bool32* Fullscreen, IDXGIOutput* pTarget) + public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged)(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #endif } @@ -6217,12 +6217,12 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -6253,12 +6253,12 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -6325,12 +6325,12 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr* hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #endif } @@ -6349,36 +6349,36 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HResult GetSharedResourceAdapterLuid(IntPtr* hResource, Luid* pLuid) + public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HResult RegisterStereoStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] - public HResult RegisterStereoStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -6397,24 +6397,24 @@ public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HResult RegisterOcclusionStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HResult RegisterOcclusionStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -6733,12 +6733,12 @@ public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult TakeOwnership(IUnknown* pDevice, Bool32* Exclusive) + public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #endif } @@ -7015,12 +7015,12 @@ public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HResult EnqueueSetEvent(IntPtr* hEvent) + public HResult EnqueueSetEvent(IntPtr hEvent) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent); + return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent); #endif } @@ -7393,12 +7393,12 @@ public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HResult SetFullscreenState(Bool32* Fullscreen, IDXGIOutput* pTarget) + public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged)(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #endif } @@ -7795,12 +7795,12 @@ public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult TakeOwnership(IUnknown* pDevice, Bool32* Exclusive) + public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #endif } @@ -8029,12 +8029,12 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr* hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #endif } @@ -8053,36 +8053,36 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult GetSharedResourceAdapterLuid(IntPtr* hResource, Luid* pLuid) + public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hResource, pLuid); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult RegisterStereoStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult RegisterStereoStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -8101,24 +8101,24 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HResult RegisterOcclusionStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult RegisterOcclusionStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -8185,12 +8185,12 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -8221,12 +8221,12 @@ public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -8533,24 +8533,24 @@ public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult CreateSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, IntPtr* hSurface, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public HResult CreateSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, IntPtr hSurface, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HResult CreateDecodeSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, IntPtr* hSurface, DecodeSwapChainDescription* pDesc, IDXGIResource* pYuvDecodeBuffers, IDXGIOutput* pRestrictToOutput, IDXGIDecodeSwapChain** ppSwapChain) + public HResult CreateDecodeSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, IntPtr hSurface, DecodeSwapChainDescription* pDesc, IDXGIResource* pYuvDecodeBuffers, IDXGIOutput* pRestrictToOutput, IDXGIDecodeSwapChain** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pYuvDecodeBuffers, pRestrictToOutput, ppSwapChain); #endif } @@ -8833,12 +8833,12 @@ public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HResult TakeOwnership(IUnknown* pDevice, Bool32* Exclusive) + public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput3*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #endif } @@ -9295,12 +9295,12 @@ public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HResult SetFullscreenState(Bool32* Fullscreen, IDXGIOutput* pTarget) + public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged)(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #endif } @@ -9685,12 +9685,12 @@ public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult TakeOwnership(IUnknown* pDevice, Bool32* Exclusive) + public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #endif } @@ -9931,12 +9931,12 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr* hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #endif } @@ -9955,36 +9955,36 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult GetSharedResourceAdapterLuid(IntPtr* hResource, Luid* pLuid) + public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hResource, pLuid); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult RegisterStereoStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult RegisterStereoStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -10003,24 +10003,24 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult RegisterOcclusionStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HResult RegisterOcclusionStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -10087,12 +10087,12 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -10123,12 +10123,12 @@ public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -10381,12 +10381,12 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HResult RegisterHardwareContentProtectionTeardownStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterHardwareContentProtectionTeardownStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -10429,12 +10429,12 @@ public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -10651,12 +10651,12 @@ public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult TakeOwnership(IUnknown* pDevice, Bool32* Exclusive) + public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #endif } @@ -11161,12 +11161,12 @@ public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] - public HResult SetFullscreenState(Bool32* Fullscreen, IDXGIOutput* pTarget) + public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged)(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); + return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); #endif } @@ -11431,12 +11431,12 @@ public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult EnqueueSetEvent(IntPtr* hEvent) + public HResult EnqueueSetEvent(IntPtr hEvent) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent); + return ((delegate* unmanaged)(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), hEvent); #endif } @@ -11713,12 +11713,12 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr* hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #endif } @@ -11737,36 +11737,36 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult GetSharedResourceAdapterLuid(IntPtr* hResource, Luid* pLuid) + public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hResource, pLuid); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HResult RegisterStereoStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult RegisterStereoStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -11785,24 +11785,24 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult RegisterOcclusionStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult RegisterOcclusionStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -11869,12 +11869,12 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -11905,12 +11905,12 @@ public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -12043,12 +12043,12 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult RegisterHardwareContentProtectionTeardownStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterHardwareContentProtectionTeardownStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -12091,12 +12091,12 @@ public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -12445,12 +12445,12 @@ public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult TakeOwnership(IUnknown* pDevice, Bool32* Exclusive) + public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Exclusive); #endif } @@ -12739,12 +12739,12 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr* hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #endif } @@ -12763,36 +12763,36 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HResult GetSharedResourceAdapterLuid(IntPtr* hResource, Luid* pLuid) + public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged)(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hResource, pLuid); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult RegisterStereoStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HResult RegisterStereoStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -12811,24 +12811,24 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult RegisterOcclusionStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult RegisterOcclusionStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -12895,12 +12895,12 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -12931,12 +12931,12 @@ public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -13141,12 +13141,12 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr* hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged)(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); #endif } @@ -13165,36 +13165,36 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult GetSharedResourceAdapterLuid(IntPtr* hResource, Luid* pLuid) + public HResult GetSharedResourceAdapterLuid(IntPtr hResource, Luid* pLuid) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged)(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hResource, pLuid); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HResult RegisterStereoStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult RegisterStereoStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterStereoStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -13213,24 +13213,24 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult RegisterOcclusionStatusWindow(IntPtr* WindowHandle, uint wMsg, uint* pdwCookie) + public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] - public HResult RegisterOcclusionStatusEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterOcclusionStatusEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -13297,12 +13297,12 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] - public HResult MakeWindowAssociation(IntPtr* WindowHandle, uint Flags) + public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged)(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags); + return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), WindowHandle, Flags); #endif } @@ -13333,12 +13333,12 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] - public HResult CreateSoftwareAdapter(IntPtr* Module, IDXGIAdapter** ppAdapter) + public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged)(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter); + return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Module, ppAdapter); #endif } @@ -13393,12 +13393,12 @@ public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HResult RegisterAdaptersChangedEvent(IntPtr* hEvent, uint* pdwCookie) + public HResult RegisterAdaptersChangedEvent(IntPtr hEvent, uint* pdwCookie) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged)(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); + return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); #endif } @@ -13831,36 +13831,36 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] - public HResult SetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category, Bool32* bEnable) + public HResult SetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category, Bool32 bEnable) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable); + return ((delegate* unmanaged)(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable); + return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] - public HResult SetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity, Bool32* bEnable) + public HResult SetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity, Bool32 bEnable) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable); + return ((delegate* unmanaged)(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable); + return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable); #endif } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] - public HResult SetBreakOnID(Guid Producer, int ID, Bool32* bEnable) + public HResult SetBreakOnID(Guid Producer, int ID, Bool32 bEnable) { #if NET6_0_OR_GREATER - return ((delegate* unmanaged)(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable); + return ((delegate* unmanaged)(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable); #else - return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable); + return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable); #endif } @@ -13903,12 +13903,12 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public void SetMuteDebugOutput(Guid Producer, Bool32* bMute) + public void SetMuteDebugOutput(Guid Producer, Bool32 bMute) { #if NET6_0_OR_GREATER - ((delegate* unmanaged)(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute); + ((delegate* unmanaged)(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute); #else - ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute); + ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute); #endif } diff --git a/src/samples/01-ClearScreen/Program.cs b/src/samples/01-ClearScreen/Program.cs index 3ae4c8d..c01738e 100644 --- a/src/samples/01-ClearScreen/Program.cs +++ b/src/samples/01-ClearScreen/Program.cs @@ -1,24 +1,58 @@ // Copyright © Amer Koleci and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. -using System.Reflection; -using System.Runtime.InteropServices; using Win32; -using Win32.Graphics.Dxgi; -using Win32.Graphics.Direct3D11; -using static Win32.Apis; -using static Win32.Graphics.Dxgi.Apis; -using static Win32.Graphics.Direct3D11.Apis; using Win32.Graphics.Direct3D; +using Win32.Graphics.Direct3D11; +using Win32.Graphics.Dxgi; +using static Win32.Apis; +using static Win32.Graphics.Direct3D11.Apis; +using static Win32.Graphics.Dxgi.Apis; +using MessageId = Win32.Graphics.Direct3D11.MessageId; +using InfoQueueFilter = Win32.Graphics.Direct3D11.InfoQueueFilter; namespace ClearScreen; public static unsafe class Program { +#if DEBUG + static bool SdkLayersAvailable() + { + HResult hr = D3D11CreateDevice( + null, + DriverType.Null, // There is no need to create a real hardware device. + IntPtr.Zero, + CreateDeviceFlag.Debug, // Check for the SDK layers. + null, // Any feature level will do. + 0, + D3D11_SDK_VERSION, + null, // No need to keep the D3D device reference. + null, // No need to know the feature level. + null // No need to keep the D3D device context reference. + ); + + return hr.Success; + } +#endif + public static void Main() { - using ComPtr factory = default; - HResult hr = CreateDXGIFactory1(__uuidof(), (void**)&factory); + using ComPtr factory = default; + uint factoryFlags = 0; +#if DEBUG + { + using ComPtr dxgiInfoQueue = default; + if (DXGIGetDebugInterface1(0, __uuidof(), (void**)dxgiInfoQueue.GetAddressOf()).Success) + { + factoryFlags = DXGI_CREATE_FACTORY_DEBUG; + + dxgiInfoQueue.Get()->SetBreakOnSeverity(DXGI_DEBUG_ALL, InfoQueueMessageSeverity.Error, true); + dxgiInfoQueue.Get()->SetBreakOnSeverity(DXGI_DEBUG_ALL, InfoQueueMessageSeverity.Corruption, true); + } + } +#endif + + HResult hr = CreateDXGIFactory2(factoryFlags, __uuidof(), (void**)&factory); { using ComPtr factory5 = default; @@ -42,7 +76,7 @@ public static unsafe class Program adapterIndex++) { AdapterDescription1 desc = default; - adapter.Get()->GetDesc1(&desc); + adapter.Get()->GetDesc1(&desc).ThrowIfFailed(); if ((desc.Flags & AdapterFlags.Software) != AdapterFlags.None) continue; @@ -55,11 +89,11 @@ public static unsafe class Program if (adapter.Get() == null) { for (uint adapterIndex = 0; - factory.Get()->EnumAdapters1(adapterIndex, adapter.ReleaseAndGetAddressOf()).Success; - adapterIndex++) + factory.Get()->EnumAdapters1(adapterIndex, adapter.ReleaseAndGetAddressOf()).Success; + adapterIndex++) { AdapterDescription1 desc = default; - adapter.Get()->GetDesc1(&desc); + adapter.Get()->GetDesc1(&desc).ThrowIfFailed(); if ((desc.Flags & AdapterFlags.Software) != AdapterFlags.None) continue; @@ -74,17 +108,49 @@ public static unsafe class Program FeatureLevel.Level_11_0 }; - using ComPtr d3dDevice = default; + CreateDeviceFlag creationFlags = CreateDeviceFlag.BgraSupport; +#if DEBUG + if (SdkLayersAvailable()) + { + // If the project is in a debug build, enable debugging via SDK Layers with this flag. + creationFlags |= CreateDeviceFlag.Debug; + } +#endif + + using ComPtr tempDevice = default; FeatureLevel featureLevel; using ComPtr immediateContext = default; D3D11CreateDevice( (IDXGIAdapter*)adapter.Get(), - DriverType.Hardware, - CreateDeviceFlag.None, + DriverType.Unknown, + creationFlags, featureLevels, - d3dDevice.GetAddressOf(), + tempDevice.GetAddressOf(), &featureLevel, immediateContext.GetAddressOf()).ThrowIfFailed(); + +#if DEBUG + using ComPtr d3dDebug = default; + if (tempDevice.CopyTo(&d3dDebug).Success) + { + using ComPtr d3dInfoQueue = default; + if (d3dDebug.CopyTo(&d3dInfoQueue).Success) + { + d3dInfoQueue.Get()->SetBreakOnSeverity(MessageSeverity.Corruption, true); + d3dInfoQueue.Get()->SetBreakOnSeverity(MessageSeverity.Error, true); + + MessageId* hide = stackalloc MessageId[1] + { + MessageId.SetprivatedataChangingparams, + }; + + InfoQueueFilter filter = new(); + filter.DenyList.NumIDs = 1u; + filter.DenyList.pIDList = hide; + d3dInfoQueue.Get()->AddStorageFilterEntries(&filter); + } + } +#endif } }