diff --git a/Silk.NET.sln b/Silk.NET.sln index c73737ef33..8113b8c9e5 100644 --- a/Silk.NET.sln +++ b/Silk.NET.sln @@ -271,6 +271,9 @@ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Silk.NET.NUKE", "build\nuke\Silk.NET.NUKE.csproj", "{B9A8D738-FE7D-4860-A446-4A03E3DDEB74}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microsoft", "Microsoft", "{F2CF5D32-4B41-425E-B229-8FFC48F88063}" +ProjectSection(SolutionItems) = preProject + src\Microsoft\dxva.h = src\Microsoft\dxva.h +EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Silk.NET.Direct3D11", "src\Microsoft\Silk.NET.Direct3D11\Silk.NET.Direct3D11.csproj", "{F3B7A9D6-5B15-45E8-925B-20B5BBD33428}" EndProject @@ -458,6 +461,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenAL.Tests", "sr EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenGL Demos", "OpenGL Demos", "{2F547104-C74A-4A84-8980-D1B973CC40C1}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.DXVA", "src\Microsoft\Silk.NET.DXVA\Silk.NET.DXVA.csproj", "{28D863B1-B60C-4C08-8661-EB820A5B78D2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Core.Win32Extras", "src\Core\Silk.NET.Core.Win32Extras\Silk.NET.Core.Win32Extras.csproj", "{3E30D674-9282-4297-AD1F-9B233A166308}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -2735,6 +2742,30 @@ Global {514DED00-4DA3-46D1-B2E8-10CE826CD52D}.Release|x64.Build.0 = Release|Any CPU {514DED00-4DA3-46D1-B2E8-10CE826CD52D}.Release|x86.ActiveCfg = Release|Any CPU {514DED00-4DA3-46D1-B2E8-10CE826CD52D}.Release|x86.Build.0 = Release|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Debug|x64.ActiveCfg = Debug|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Debug|x64.Build.0 = Debug|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Debug|x86.ActiveCfg = Debug|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Debug|x86.Build.0 = Debug|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Release|Any CPU.Build.0 = Release|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Release|x64.ActiveCfg = Release|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Release|x64.Build.0 = Release|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Release|x86.ActiveCfg = Release|Any CPU + {28D863B1-B60C-4C08-8661-EB820A5B78D2}.Release|x86.Build.0 = Release|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Debug|x64.ActiveCfg = Debug|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Debug|x64.Build.0 = Debug|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Debug|x86.ActiveCfg = Debug|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Debug|x86.Build.0 = Debug|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Release|Any CPU.Build.0 = Release|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Release|x64.ActiveCfg = Release|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Release|x64.Build.0 = Release|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Release|x86.ActiveCfg = Release|Any CPU + {3E30D674-9282-4297-AD1F-9B233A166308}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -2957,6 +2988,8 @@ Global {514DED00-4DA3-46D1-B2E8-10CE826CD52D} = {081E7761-B200-4DBF-8950-941464DECACE} {2F547104-C74A-4A84-8980-D1B973CC40C1} = {6842A2C6-5C7B-42DD-9825-0EDE91BFEBF7} {58E7EE89-B67C-482D-9605-04B3BCC5CFBB} = {2F547104-C74A-4A84-8980-D1B973CC40C1} + {28D863B1-B60C-4C08-8661-EB820A5B78D2} = {F2CF5D32-4B41-425E-B229-8FFC48F88063} + {3E30D674-9282-4297-AD1F-9B233A166308} = {0651C5EF-50AA-4598-8D9C-8F210ADD8490} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {F5273D7F-3334-48DF-94E3-41AE6816CD4D} diff --git a/build/cache/assimp.json.gz b/build/cache/assimp.json.gz index 35456c8d94..c50c249218 100644 Binary files a/build/cache/assimp.json.gz and b/build/cache/assimp.json.gz differ diff --git a/build/cache/cl.json.gz b/build/cache/cl.json.gz index 69eaf8fb77..fd0c31ffc5 100644 Binary files a/build/cache/cl.json.gz and b/build/cache/cl.json.gz differ diff --git a/build/cache/core.json.gz b/build/cache/core.json.gz index 49c55cd041..03ead3ac34 100644 Binary files a/build/cache/core.json.gz and b/build/cache/core.json.gz differ diff --git a/build/cache/d3d9.json.gz b/build/cache/d3d9.json.gz index a647252841..9e239e6e7b 100644 Binary files a/build/cache/d3d9.json.gz and b/build/cache/d3d9.json.gz differ diff --git a/build/cache/dxc.json.gz b/build/cache/dxc.json.gz index ac1a90026e..641230a3b9 100644 Binary files a/build/cache/dxc.json.gz and b/build/cache/dxc.json.gz differ diff --git a/build/cache/dxva.json.gz b/build/cache/dxva.json.gz new file mode 100644 index 0000000000..b2ba868529 Binary files /dev/null and b/build/cache/dxva.json.gz differ diff --git a/build/cache/sdl.json.gz b/build/cache/sdl.json.gz index e70cfc915f..c7d85c93bc 100644 Binary files a/build/cache/sdl.json.gz and b/build/cache/sdl.json.gz differ diff --git a/build/cache/vulkan.json.gz b/build/cache/vulkan.json.gz index 8ee605ec8d..1a15cb53e1 100644 Binary files a/build/cache/vulkan.json.gz and b/build/cache/vulkan.json.gz differ diff --git a/build/cache/win32extras.json.gz b/build/cache/win32extras.json.gz new file mode 100644 index 0000000000..d4770ca777 Binary files /dev/null and b/build/cache/win32extras.json.gz differ diff --git a/build/props/common.props b/build/props/common.props index a5490b4065..39a2a97a73 100644 --- a/build/props/common.props +++ b/build/props/common.props @@ -6,31 +6,26 @@ preview .NET Foundation and Contributors - Silk.NET September 2021 Update + Silk.NET October 2021 Update - - Add TryGetExtension methods to AL & ALContext - - Add support for .NET 6 Android - - Update to Vulkan 1.2.190 - - Update to OpenXR 1.0.19 - - Update to latest OpenGL specifications + - Add bindings for DirectX Video Acceleration (DXVA) + - Add bindings for D3D9Ex + - Add bindings for extra core Win32 APIs (as required by DXVA) + - Add a .NET 6 code path for GlobalMemory using NativeMemory + - Add more TFMs in addition to .NET Standard 2.0 for DirectX bindings + - Add enhanced anonymous struct support with ref-returning properties on .NET Standard 2.1 and up + - Update to Vulkan 1.2.194 - Update to latest OpenCL specifications - - Fix calling CreateInput on an uninitialized IView resulting in a AccessViolationException - - Fix calling Close on an uninitialized IView resulting in an AccessViolationException - - Fix Silk.NET (and by extension SDL) taking full control of orientation on Android - - Fix DoRender being called if Window.Close was called during DoUpdate - - Fix Scalar.Abs for double values - - Fix "Pfn" function pointer structures being marshalled with the incorrect calling convention - - Fix Scalar.IsNaN and Scalar.IsInfinity returning true for non floating point types - - Fix Box2D.Center returning bogus values - - Fix incorrect documentation in Thumbstick.Direction - - Fix incorrect documentation in WindowOptions + - Fix MarshalDirectiveException when a struct containing a char passes across a native boundary + - Fix Vulkan out parameters not having their structure type set before passing across the native boundary + - Fix native libraries not being found in some cases for self-contained executables OpenCL;OpenGL;OpenAL;OpenGLES;GLES;Vulkan;Assimp;DirectX;GLFW;SDL;Windowing;Input;Gamepad;Joystick;Keyboard;Mouse;SilkTouch;Source;Generator;C#;F#;.NET;DotNet;Mono;Vector;Math;Maths;Numerics;Game;Graphics;Compute;Audio;Sound;Engine;Silk;Silk.NET;Slim.NET;ElgarTK;GPU;Sharp;Science;Scientific;Visualization;Visual;Audiovisual;Windows;macOS;Linux;Android;Bindings;OSX;Wrapper;Native true $(MSBuildThisFileDirectory)/../output_packages https://github.com/dotnet/Silk.NET Git - 2.8.0 + 2.9.0 Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, and DirectX. @@ -42,6 +37,8 @@ true true snupkg + true + true diff --git a/generator.json b/generator.json index dca7ad9f40..ae15c2dffa 100644 --- a/generator.json +++ b/generator.json @@ -792,7 +792,7 @@ { "profileName": "Core", "sources": [ - "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/D3DCommon.h" + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/d3dcommon.h" ], "mode": "Clang", "cacheDir": "build/cache", @@ -824,7 +824,7 @@ "traverse": [ ], "classes": { - "D3DCommon.h": "[Core]D3DCommon" + "d3dcommon.h": "[Core]D3DCommon" } }, "exclude": [ @@ -835,7 +835,7 @@ }, "bakery": { "profileNames": [ - "D3DCommon" + "d3dcommon" ] }, "output": { @@ -845,7 +845,7 @@ "props": "build/props/bindings.props" }, "namespace": "Silk.NET.Core.Native", - "extensionsNamespace": "Silk.NET.Core.Native.Extensions", + "extensionsNamespace": "Silk.NET.Core.Native", "typeMaps": [ { "$include.dxTypemap": "build/dx_typemap.json", @@ -853,6 +853,80 @@ } ] }, + { + "profileName": "Win32Extras", + "sources": [ + "src/Core/Silk.NET.Core/win32extras.h" + ], + "mode": "Clang", + "cacheDir": "build/cache", + "cacheKey": "win32extras", + "controlDescriptors": [ + "convert-windows-only", + "no-name-container" + ], + "prefix": "", + "clang": { + "args": [ + "--language=c++", + "--std=c++17", + "-m32", + "-Wno-expansion-to-defined", + "-Wno-ignored-attributes", + "-Wno-ignored-pragma-intrinsic", + "-Wno-nonportable-include-path", + "-Wno-pragma-pack", + "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared", + "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um", + "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/ucrt", + "-IC:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.28.29333/include", + "-IC:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/include", + "-Ibuild/include" + ], + "traverse": [ + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared/evntrace.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/minwinbase.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/timezoneapi.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/winnt.h" + ], + "classes": { + "win32extras.h": "[Core]Windows" + } + }, + "exclude": [ + "_SECURITY_ATTRIBUTES" + ], + "rename": { + "__AnonymousEnum_evntrace_L529_C9": "EtwCompressionResumptionMode" + }, + "bakery": { + "profileNames": [ + "win32extras" + ] + }, + "output": { + "mode": "Default", + "path": "src/Core", + "licenseFile": "build/LICENSE_HEADER.txt", + "props": "build/props/bindings.props" + }, + "namespace": "Silk.NET.Core.Win32Extras", + "extensionsNamespace": "Silk.NET.Core.Win32Extras", + "typeMaps": [ + { + "WMIDPREQUESTCODE": "Wmidprequestcode", + "_SECURITY_ATTRIBUTES": "Silk.NET.Core.Native.SecurityAttributes", + "_FILETIME": "Filetime", + "_TIME_ZONE_INFORMATION": "TimeZoneInformation", + "_WNODE_HEADER": "WnodeHeader", + "_EXCEPTION_RECORD": "ExceptionRecord" + }, + { + "$include.dxTypemap": "build/dx_typemap.json", + "$include.commonTypeMap": "build/csharp_typemap.json" + } + ] + }, { "profileName": "DXGI", "sources": [ @@ -945,6 +1019,100 @@ } ] }, + { + "profileName": "DXVA", + "sources": [ + "src/Microsoft/dxva.h" + ], + "mode": "Clang", + "cacheDir": "build/cache", + "cacheKey": "dxva", + "controlDescriptors": [ + "convert-windows-only" + ], + "converter": {}, + "prefix": "DXVA", + "clang": { + "args": [ + "--language=c++", + "--std=c++17", + "-m32", + "-Wno-expansion-to-defined", + "-Wno-ignored-attributes", + "-Wno-ignored-pragma-intrinsic", + "-Wno-nonportable-include-path", + "-Wno-pragma-pack", + "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared", + "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um", + "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/ucrt", + "-IC:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.28.29333/include", + "-IC:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/include", + "-Ibuild/include" + ], + "traverse": [ + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/dxva.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/dxva2api.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/dxva2swdev.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/dxva2trace.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/dxva9typ.h", + "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/dxvahd.h" + ], + "classes": { + "dxva.h": "[Core]DXVA", + "dxva2api.h": "[Core]DXVA", + "dxva2swdev.h": "[Core]DXVA", + "dxva2trace.h": "[Core]DXVA", + "dxva9typ.h": "[Core]DXVA", + "dxvahd.h": "[Core]DXVA" + } + }, + "exclude": [ + ], + "rename": { + "_DXVA2_VIDEOSAMPLE": "DXVA2VideoSample" + }, + "bakery": { + "profileNames": [ + "dxva", + "dxva2api", + "dxva2swdev", + "dxva2trace", + "dxva2typ", + "dxvahd" + ] + }, + "output": { + "mode": "Default", + "path": "src/Microsoft", + "licenseFile": "build/LICENSE_HEADER.txt", + "props": "build/props/bindings.props" + }, + "namespace": "Silk.NET.DXVA", + "extensionsNamespace": "Silk.NET.DXVA.Extensions", + "nameContainer": { + "linux-x64": "libdxva2.so", + "win-x64": "dxva2.dll", + "win-x86": "dxva2.dll", + "osx-x64": "libdxva2.dylib", + "android": "libdxva2.so", + "iOS": "__Internal", + "className": "DXVA2LibraryNameContainer" + }, + "typeMaps": [ + { + "IDirect3DDevice9Ex": "Silk.NET.Direct3D9.IDirect3DDevice9Ex", + "IDirect3DDevice9": "Silk.NET.Direct3D9.IDirect3DDevice9", + "IDirect3DSurface9": "Silk.NET.Direct3D9.IDirect3DSurface9", + "_D3DFORMAT": "Silk.NET.Direct3D9.Format", + "_D3DPOOL": "Silk.NET.Direct3D9.Pool", + "_EVENT_TRACE_HEADER": "Silk.NET.Core.Win32Extras.EventTraceHeader" + }, + { + "$include.dxTypemap": "build/dx_typemap.json", + "$include.commonTypeMap": "build/csharp_typemap.json" + } + ] + }, { "profileName": "D3D11", "sources": [ diff --git a/src/Assimp/Silk.NET.Assimp/Structs/Interpolator.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/Interpolator.gen.cs new file mode 100644 index 0000000000..5ac00b70a8 --- /dev/null +++ b/src/Assimp/Silk.NET.Assimp/Structs/Interpolator.gen.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Assimp +{ + [NativeName("Name", "Interpolator")] + public unsafe partial struct Interpolator + { + } +} diff --git a/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs b/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs index 9a211f6b89..4d5c5b8f1b 100644 --- a/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs +++ b/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs @@ -47,6 +47,10 @@ public static void WriteStruct sw.WriteLine($"namespace {ns}{project.Namespace}"); sw.WriteLine("{"); string guid = null; + + static bool IsChar(Type type) => type.Name == "char" || type.GenericTypes.Any(IsChar); + var needsCharSetFixup = @struct.Fields.Any(x => IsChar(x.Type)); + foreach (var attr in @struct.Attributes) { if (attr.Name == "BuildToolsIntrinsic") @@ -59,9 +63,20 @@ public static void WriteStruct guid = string.Join(", ", attr.Arguments); } + if (attr.Name == "StructLayout" && needsCharSetFixup) + { + attr.Arguments.Add("CharSet = CharSet.Unicode"); + needsCharSetFixup = false; + } + sw.WriteLine($" {attr}"); } + if (needsCharSetFixup) + { + sw.WriteLine(" [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]"); + } + sw.WriteLine($" [NativeName(\"Name\", \"{@struct.NativeName}\")]"); sw.WriteLine($" public unsafe partial struct {@struct.Name}"); sw.WriteLine(" {"); @@ -95,7 +110,7 @@ public static void WriteStruct sw.WriteLine(" {"); // yes i know this is unsafe and that there's a good reason why struct members can't return themselves // by reference, but this should work well enough. - sw.WriteLine("#if NETSTANDARD2_1 || NET5_0 || NETCOREAPP3_1"); + sw.WriteLine("#if NETSTANDARD2_1 || NET5_0 || NETCOREAPP3_1 || NET5_0_OR_GREATER"); sw.WriteLine($" return ref Unsafe.As<{@struct.Name}, {comBase}>"); sw.WriteLine($" ("); sw.WriteLine($" ref MemoryMarshal.GetReference"); @@ -195,7 +210,7 @@ public static void WriteStruct { if (structField.Attributes.IsBuildToolsIntrinsic(out var intrinsic) && intrinsic[0] == "$FUSEFLD") { - WriteFusedField(structField, intrinsic, sw); + WriteFusedField(@struct, project, structField, intrinsic, sw); } else if (structField.NumBits is not null) { @@ -255,7 +270,7 @@ public static void WriteStruct if (!typeFixup09072020.IsPointer) { sw.WriteLine(); - sw.WriteLine("#if NETSTANDARD2_1"); + sw.WriteLine("#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER"); sw.WriteLine($" public Span<{typeFixup09072020}> AsSpan()"); sw.WriteLine($" => MemoryMarshal.CreateSpan(ref Element0, {count});"); sw.WriteLine("#endif"); @@ -475,22 +490,53 @@ CallingConvention conv sw.Flush(); } - public static void WriteFusedField(Field field, List args, StreamWriter sw) + public static void WriteFusedField(Struct @struct, Project p, Field field, List args, StreamWriter sw) { - sw.WriteLine("#if NETSTANDARD2_1"); - sw.WriteLine($" public ref {field.Type} {field.Name}"); - sw.WriteLine(" {"); - sw.WriteLine(" [MethodImpl((MethodImplOptions) 768)]"); - sw.WriteLine($" get => ref {args[1]}.{args[2]};"); - sw.WriteLine(" }"); - sw.WriteLine("#else"); + var temporaryValue = IsTemporaryValue(p, @struct, args); + if (!temporaryValue) + { + sw.WriteLine("#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER"); + sw.WriteLine($" public ref {field.Type} {field.Name}"); + sw.WriteLine(" {"); + sw.WriteLine(" [MethodImpl((MethodImplOptions) 768)]"); + sw.WriteLine($" get => ref MemoryMarshal.CreateSpan(ref {args[1]}, 1)[0].{args[2]};"); + sw.WriteLine(" }"); + sw.WriteLine("#else"); + } + sw.WriteLine($" public {field.Type} {field.Name}"); sw.WriteLine(" {"); sw.WriteLine($" get => {args[1]}.{args[2]};"); sw.WriteLine($" set => {args[1]}.{args[2]} = value;"); sw.WriteLine(" }"); - sw.WriteLine("#endif"); + if (!temporaryValue) + { + sw.WriteLine("#endif"); + } + sw.WriteLine(); + + static bool IsTemporaryValue(Project p, Struct @struct, List args) + { + // ReSharper disable AccessToModifiedClosure + var fusingStruct = p.Structs.First(x => x.Name == @struct.Fields.First(y => y.Name == args[1]).Type.Name); + var fusingFieldInst = fusingStruct.Fields.First(x => x.Name == args[2]); + if (fusingFieldInst.NumBits is not null) + { + return true; + } + + // ReSharper restore AccessToModifiedClosure + if (fusingFieldInst.Attributes.IsBuildToolsIntrinsic(out args)) + { + if (args[0] == "$FUSEFLD") + { + return IsTemporaryValue(p, fusingStruct, args); + } + } + + return false; + } } public static void WriteBitfield diff --git a/src/Core/Silk.NET.BuildTools/Common/TypeMapper.cs b/src/Core/Silk.NET.BuildTools/Common/TypeMapper.cs index d0d61b59fd..d4f8d91810 100644 --- a/src/Core/Silk.NET.BuildTools/Common/TypeMapper.cs +++ b/src/Core/Silk.NET.BuildTools/Common/TypeMapper.cs @@ -186,7 +186,8 @@ public static void MapEnums(Profile profile) /// /// A map mapping those two things I just said. public static Dictionary CreateVariedNameMap(Project project) - => project.Structs.ToDictionary(x => x.NativeName, x => x.Name) + => project.Structs.DistinctBy(x => x.NativeName) + .ToDictionary(x => x.NativeName, x => x.Name) .Concat(project.Enums.ToDictionary(x => x.NativeName, x => x.Name)) .ToDictionary(); diff --git a/src/Core/Silk.NET.BuildTools/Common/Utilities.cs b/src/Core/Silk.NET.BuildTools/Common/Utilities.cs index dd05e04eac..4fc560f9ca 100644 --- a/src/Core/Silk.NET.BuildTools/Common/Utilities.cs +++ b/src/Core/Silk.NET.BuildTools/Common/Utilities.cs @@ -23,7 +23,7 @@ public static class Utilities /// Gets a list of keywords in the C# language. /// [NotNull] - public static List CSharpKeywords => new List + public static readonly HashSet CSharpKeywords = new HashSet { "abstract", "event", @@ -419,5 +419,9 @@ public static IEnumerable Concat(this IEnumerable enumerable, T singleI Accessibility.Private => "private" + (s ? " " : string.Empty), _ => string.Empty }; + + public static bool ConstitutesVulkanOutOverload(this string name) => name.StartsWith + ("vkCreate") || name.StartsWith("vkAllocate") || name.StartsWith + ("vkGet"); } } diff --git a/src/Core/Silk.NET.BuildTools/Converters/Constructors/VulkanConstructor.cs b/src/Core/Silk.NET.BuildTools/Converters/Constructors/VulkanConstructor.cs index 5fc1829efd..544aaf6fc0 100644 --- a/src/Core/Silk.NET.BuildTools/Converters/Constructors/VulkanConstructor.cs +++ b/src/Core/Silk.NET.BuildTools/Converters/Constructors/VulkanConstructor.cs @@ -27,6 +27,11 @@ public void WriteFunctions(Profile profile, IEnumerable functions, Bin foreach (var rawCategory in function.Categories) { var category = FormatCategory(rawCategory); + if (category == "RESERVED") + { + continue; + } + var preCategory = $"{task.FunctionPrefix.ToUpper()}_{rawCategory}"; // check that the root project exists if (!profile.Projects.ContainsKey("Core")) @@ -118,6 +123,10 @@ public void WriteStructs(Profile profile, IEnumerable structs, BindTask } var category = FormatCategory(@struct.ExtensionName); + if (category == "RESERVED") + { + continue; + } // check that the root project exists if (!profile.Projects.ContainsKey("Core")) @@ -165,6 +174,10 @@ public void WriteConstants(Profile profile, IEnumerable constants, Bin foreach (var constant in constants) { var category = constant.ExtensionName == "Core" ? "Core" : FormatCategory(constant.ExtensionName); + if (category == "RESERVED") + { + continue; + } // check that the root project exists if (!profile.Projects.ContainsKey("Core")) diff --git a/src/Core/Silk.NET.BuildTools/Converters/Khronos/CommandDefinition.cs b/src/Core/Silk.NET.BuildTools/Converters/Khronos/CommandDefinition.cs index bd600debfb..5f7fde076a 100644 --- a/src/Core/Silk.NET.BuildTools/Converters/Khronos/CommandDefinition.cs +++ b/src/Core/Silk.NET.BuildTools/Converters/Khronos/CommandDefinition.cs @@ -2,6 +2,7 @@ using System.Linq; using System.Xml.Linq; using JetBrains.Annotations; +using Silk.NET.BuildTools.Common; namespace Silk.NET.BuildTools.Converters.Khronos { @@ -128,9 +129,7 @@ private static ParameterDefinition[] Vary(ParameterDefinition[] p, string name) param.IsConst ); } - else if ((name.StartsWith("vkCreate") || name.StartsWith("vkAllocate") || name.StartsWith - ("vkGet")) && - i == p.Length - 1) + else if (name.ConstitutesVulkanOutOverload() && i == p.Length - 1) { // DO NOT CHANGE THE TYPE HERE, it will be done by the FlowPointerOverloader. p[i] = new ParameterDefinition diff --git a/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs b/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs index e4a198c91a..1972d60ecd 100644 --- a/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs +++ b/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs @@ -104,6 +104,7 @@ static bool Traverse(string[] traversals, string path) public static unsafe Profile GenerateProfile(string fileName, Stream input, BindTask task) { + Console.WriteLine($"clangsharp {typeof(Attr).Assembly.GetName().Version} for {clang.getClangVersion()}"); var profile = new Profile { Name = Path.GetFileNameWithoutExtension(fileName) @@ -203,7 +204,7 @@ static void WriteDiagnosticsThrowOnError(TranslationUnit unit) var pfns = new Dictionary(); Console.WriteLine("Visting declarations..."); - VisitDecls(translationUnitDecl.Decls); + VisitDecls(DeclsOf(translationUnitDecl, translationUnitDecl)); // ReSharper restore BitwiseOperatorOnEnumWithoutFlags Console.WriteLine("Creating finished profile..."); @@ -214,7 +215,17 @@ static void WriteDiagnosticsThrowOnError(TranslationUnit unit) (indexOfOpenSqBracket + 1, indexOfCloseSqBracket - indexOfOpenSqBracket - 1); var className = destInfo.Substring(indexOfCloseSqBracket + 1); var project = profile.Projects[projectName] = new Project - {IsRoot = projectName == "Core", Namespace = task.Namespace}; + { + IsRoot = projectName == "Core", + Namespace = projectName == "Core" ? task.Namespace : $"{task.ExtensionsNamespace}.{projectName}" + }; + + if (projectName != "Core") + { + // we need a core project even if we're not using it + profile.Projects["Core"] = new() { IsRoot = true, Namespace = task.Namespace }; + } + var @class = new Class { ClassName = className, @@ -371,6 +382,11 @@ void VisitDecls(IEnumerable decls) else { decl.Location.GetFileLocation(out CXFile file, out _, out _, out _); + if (string.IsNullOrWhiteSpace(file.Name.ToString())) + { + continue; + } + if (!traversals.Contains(Path.GetFullPath(file.Name.ToString()).ToLower().Replace('\\', '/'))) { // It is not uncommon for some declarations to be done using macros, which are themselves @@ -879,14 +895,28 @@ IEnumerable ConvertAll(RecordDecl recordDecl, string? remappedNativeName) for (var i = 0; i < recordDecl.Decls.Count; i++) { var decl = recordDecl.Decls[i]; + if (i == 0 && recordDecl.SourceRange.Start == decl.SourceRange.Start) + { + continue; // why is this even a thing oml + } + switch (decl) { case FieldDecl field: { + if (string.IsNullOrWhiteSpace(field.Name)) + { + // anonymous, we will have handled the RecordDecl already + continue; + } + yield return new Field { Name = Naming.TranslateLite - (Naming.TrimName(field.Name, task), task.FunctionPrefix), + ( + Naming.TrimName(field.Name, task), + task.FunctionPrefix + ), NativeName = field.Name, Type = GetType(field.Type, out var count, ref _f, out _), NativeType = field.Type.AsString.Replace("\\", "\\\\"), Count = count, @@ -973,8 +1003,11 @@ IEnumerable ConvertAll(RecordDecl recordDecl, string? remappedNativeName) { if (recordDecl.Decls[j] is FieldDecl nestedFieldDecl) { - if (GetType(nestedFieldDecl.Type, out _, ref _f, out _).Name == ret.Type.Name) + if (GetType(nestedFieldDecl.Type, out _, ref _f, out _).Name == ret.Type.Name && + !string.IsNullOrWhiteSpace(nestedFieldDecl.Name)) { + // if there's field decl (with a name!) for this nested structure, don't make a + // field automatically as we'll do that next when we visit the FieldDecl skip = true; if (renameNestedName) { @@ -1136,9 +1169,14 @@ void VisitDecl(Decl decl, string typedef = null) Console.WriteLine("Preferring new definition as the existing one is opaque."); structs.Remove(existing); } + else if (existing.Fields.FirstOrDefault()?.Name == "LpVtbl" && !existing.Functions.Any()) + { + Console.WriteLine("Preferring new definition as the existing one has no functions."); + structs.Remove(existing); + } else { - Console.WriteLine("Skipping..."); + Console.WriteLine("Preferring existing definition."); break; } } @@ -1382,7 +1420,7 @@ void VisitDecl(Decl decl, string typedef = null) { Name = name, Type = new() {Name = "string"}, ExtensionName = "Core", NativeName = nativeName, - Value = $"\"{stringLiteral.String}\"" + Value = $"\"{stringLiteral.String.Replace("\\", "\\\\").Replace("\n", "\\n")}\"" } ); break; @@ -1428,7 +1466,7 @@ bool IsPrevContextStmt(out T value) { var previousContext = context.Last.Previous; - while ((previousContext.Value is ParenExpr) || (previousContext.Value is ImplicitCastExpr)) + while (previousContext.Value is ParenExpr or ImplicitCastExpr) { previousContext = previousContext.Previous; } @@ -1575,7 +1613,22 @@ Expr GetExprAsWritten(Expr expr, bool removeParens) if (decl is IDeclContext declContext) { - VisitDecls(declContext.Decls); + VisitDecls(DeclsOf(decl, declContext)); + } + } + + static IEnumerable DeclsOf(Decl parent, IDeclContext ctx) + { + var i = -1; + foreach (var child in ctx.Decls) + { + i++; + if (i == 0 && child.SourceRange.Start == parent.SourceRange.Start) + { + continue; + } + + yield return child; } } diff --git a/src/Core/Silk.NET.BuildTools/Overloading/Simple/SimpleParameterOverloader.cs b/src/Core/Silk.NET.BuildTools/Overloading/Simple/SimpleParameterOverloader.cs index b0266ceb68..e6e30b57a7 100644 --- a/src/Core/Silk.NET.BuildTools/Overloading/Simple/SimpleParameterOverloader.cs +++ b/src/Core/Silk.NET.BuildTools/Overloading/Simple/SimpleParameterOverloader.cs @@ -90,6 +90,30 @@ params ISimpleParameterOverloader[] overloaders (original.Parameters) ? SignatureKind.Normal : SignatureKind.SimpleOverload : original.Kind; + + if (ret.NativeName.ConstitutesVulkanOutOverload() && + (ret.Parameters.LastOrDefault()?.Type.IsOut ?? false)) + { + var last = ret.Parameters.Last(); + var outStruct = core.Structs.FirstOrDefault(x => x.Name == last.Type.Name); + var outSType = outStruct?.Fields.FirstOrDefault(); + if (outSType is not null && outSType.Name == "SType" && outSType.DefaultAssignment is not null) + { + ret.Attributes.Add + ( + new() + { + Name = "Inject", + Arguments = new() + { + "SilkTouchStage.Begin", + $"\"{last.Name} = new({outSType.DefaultAssignment});\"" + } + } + ); + } + } + yield return ret; } } diff --git a/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj b/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj index 7424e26a14..778b34b3bc 100644 --- a/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj +++ b/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj @@ -20,7 +20,7 @@ - + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/EtwCompressionResumptionMode.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/EtwCompressionResumptionMode.gen.cs new file mode 100644 index 0000000000..22b9f949af --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/EtwCompressionResumptionMode.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousEnum_evntrace_L529_C9")] + public enum EtwCompressionResumptionMode : int + { + [NativeName("Name", "EtwCompressionModeRestart")] + EtwCompressionModeRestart = 0x0, + [NativeName("Name", "EtwCompressionModeNoDisable")] + EtwCompressionModeNoDisable = 0x1, + [NativeName("Name", "EtwCompressionModeNoRestart")] + EtwCompressionModeNoRestart = 0x2, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/EtwProcessHandleInfoType.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/EtwProcessHandleInfoType.gen.cs new file mode 100644 index 0000000000..805c10d6ee --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/EtwProcessHandleInfoType.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_ETW_PROCESS_HANDLE_INFO_TYPE")] + public enum EtwProcessHandleInfoType : int + { + [NativeName("Name", "EtwQueryPartitionInformation")] + EtwQueryPartitionInformation = 0x1, + [NativeName("Name", "EtwQueryPartitionInformationV2")] + EtwQueryPartitionInformationV2 = 0x2, + [NativeName("Name", "EtwQueryLastDroppedTimes")] + EtwQueryLastDroppedTimes = 0x3, + [NativeName("Name", "EtwQueryProcessHandleInfoMax")] + EtwQueryProcessHandleInfoMax = 0x4, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/FileInfoByHandleClass.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/FileInfoByHandleClass.gen.cs new file mode 100644 index 0000000000..4915078337 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/FileInfoByHandleClass.gen.cs @@ -0,0 +1,68 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_FILE_INFO_BY_HANDLE_CLASS")] + public enum FileInfoByHandleClass : int + { + [NativeName("Name", "FileBasicInfo")] + FileBasicInfo = 0x0, + [NativeName("Name", "FileStandardInfo")] + FileStandardInfo = 0x1, + [NativeName("Name", "FileNameInfo")] + FileNameInfo = 0x2, + [NativeName("Name", "FileRenameInfo")] + FileRenameInfo = 0x3, + [NativeName("Name", "FileDispositionInfo")] + FileDispositionInfo = 0x4, + [NativeName("Name", "FileAllocationInfo")] + FileAllocationInfo = 0x5, + [NativeName("Name", "FileEndOfFileInfo")] + FileEndOfFileInfo = 0x6, + [NativeName("Name", "FileStreamInfo")] + FileStreamInfo = 0x7, + [NativeName("Name", "FileCompressionInfo")] + FileCompressionInfo = 0x8, + [NativeName("Name", "FileAttributeTagInfo")] + FileAttributeTagInfo = 0x9, + [NativeName("Name", "FileIdBothDirectoryInfo")] + FileIdBothDirectoryInfo = 0xA, + [NativeName("Name", "FileIdBothDirectoryRestartInfo")] + FileIdBothDirectoryRestartInfo = 0xB, + [NativeName("Name", "FileIoPriorityHintInfo")] + FileIoPriorityHintInfo = 0xC, + [NativeName("Name", "FileRemoteProtocolInfo")] + FileRemoteProtocolInfo = 0xD, + [NativeName("Name", "FileFullDirectoryInfo")] + FileFullDirectoryInfo = 0xE, + [NativeName("Name", "FileFullDirectoryRestartInfo")] + FileFullDirectoryRestartInfo = 0xF, + [NativeName("Name", "FileStorageInfo")] + FileStorageInfo = 0x10, + [NativeName("Name", "FileAlignmentInfo")] + FileAlignmentInfo = 0x11, + [NativeName("Name", "FileIdInfo")] + FileIdInfo = 0x12, + [NativeName("Name", "FileIdExtdDirectoryInfo")] + FileIdExtdDirectoryInfo = 0x13, + [NativeName("Name", "FileIdExtdDirectoryRestartInfo")] + FileIdExtdDirectoryRestartInfo = 0x14, + [NativeName("Name", "FileDispositionInfoEx")] + FileDispositionInfoEx = 0x15, + [NativeName("Name", "FileRenameInfoEx")] + FileRenameInfoEx = 0x16, + [NativeName("Name", "FileCaseSensitiveInfo")] + FileCaseSensitiveInfo = 0x17, + [NativeName("Name", "FileNormalizedNameInfo")] + FileNormalizedNameInfo = 0x18, + [NativeName("Name", "MaximumFileInfoByHandleClass")] + MaximumFileInfoByHandleClass = 0x19, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/FindexInfoLevels.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/FindexInfoLevels.gen.cs new file mode 100644 index 0000000000..daa3173f78 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/FindexInfoLevels.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_FINDEX_INFO_LEVELS")] + public enum FindexInfoLevels : int + { + [NativeName("Name", "FindExInfoStandard")] + FindExInfoStandard = 0x0, + [NativeName("Name", "FindExInfoBasic")] + FindExInfoBasic = 0x1, + [NativeName("Name", "FindExInfoMaxInfoLevel")] + FindExInfoMaxInfoLevel = 0x2, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/FindexSearchOps.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/FindexSearchOps.gen.cs new file mode 100644 index 0000000000..193e7bcb87 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/FindexSearchOps.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_FINDEX_SEARCH_OPS")] + public enum FindexSearchOps : int + { + [NativeName("Name", "FindExSearchNameMatch")] + FindExSearchNameMatch = 0x0, + [NativeName("Name", "FindExSearchLimitToDirectories")] + FindExSearchLimitToDirectories = 0x1, + [NativeName("Name", "FindExSearchLimitToDevices")] + FindExSearchLimitToDevices = 0x2, + [NativeName("Name", "FindExSearchMaxSearchOp")] + FindExSearchMaxSearchOp = 0x3, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/GetFileexInfoLevels.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/GetFileexInfoLevels.gen.cs new file mode 100644 index 0000000000..bc340c0b8e --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/GetFileexInfoLevels.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_GET_FILEEX_INFO_LEVELS")] + public enum GetFileexInfoLevels : int + { + [NativeName("Name", "GetFileExInfoStandard")] + GetFileExInfoStandard = 0x0, + [NativeName("Name", "GetFileExMaxInfoLevel")] + GetFileExMaxInfoLevel = 0x1, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/ReadDirectoryNotifyInformationClass.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/ReadDirectoryNotifyInformationClass.gen.cs new file mode 100644 index 0000000000..a6b031fc53 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/ReadDirectoryNotifyInformationClass.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_READ_DIRECTORY_NOTIFY_INFORMATION_CLASS")] + public enum ReadDirectoryNotifyInformationClass : int + { + [NativeName("Name", "ReadDirectoryNotifyInformation")] + ReadDirectoryNotifyInformation = 0x1, + [NativeName("Name", "ReadDirectoryNotifyExtendedInformation")] + ReadDirectoryNotifyExtendedInformation = 0x2, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Enums/TraceQueryInfoClass.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Enums/TraceQueryInfoClass.gen.cs new file mode 100644 index 0000000000..55c238b5c4 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Enums/TraceQueryInfoClass.gen.cs @@ -0,0 +1,64 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_QUERY_INFO_CLASS")] + public enum TraceQueryInfoClass : int + { + [NativeName("Name", "TraceGuidQueryList")] + TraceGuidQueryList = 0x0, + [NativeName("Name", "TraceGuidQueryInfo")] + TraceGuidQueryInfo = 0x1, + [NativeName("Name", "TraceGuidQueryProcess")] + TraceGuidQueryProcess = 0x2, + [NativeName("Name", "TraceStackTracingInfo")] + TraceStackTracingInfo = 0x3, + [NativeName("Name", "TraceSystemTraceEnableFlagsInfo")] + TraceSystemTraceEnableFlagsInfo = 0x4, + [NativeName("Name", "TraceSampledProfileIntervalInfo")] + TraceSampledProfileIntervalInfo = 0x5, + [NativeName("Name", "TraceProfileSourceConfigInfo")] + TraceProfileSourceConfigInfo = 0x6, + [NativeName("Name", "TraceProfileSourceListInfo")] + TraceProfileSourceListInfo = 0x7, + [NativeName("Name", "TracePmcEventListInfo")] + TracePmcEventListInfo = 0x8, + [NativeName("Name", "TracePmcCounterListInfo")] + TracePmcCounterListInfo = 0x9, + [NativeName("Name", "TraceSetDisallowList")] + TraceSetDisallowList = 0xA, + [NativeName("Name", "TraceVersionInfo")] + TraceVersionInfo = 0xB, + [NativeName("Name", "TraceGroupQueryList")] + TraceGroupQueryList = 0xC, + [NativeName("Name", "TraceGroupQueryInfo")] + TraceGroupQueryInfo = 0xD, + [NativeName("Name", "TraceDisallowListQuery")] + TraceDisallowListQuery = 0xE, + [NativeName("Name", "TraceInfoReserved15")] + TraceInfoReserved15 = 0xF, + [NativeName("Name", "TracePeriodicCaptureStateListInfo")] + TracePeriodicCaptureStateListInfo = 0x10, + [NativeName("Name", "TracePeriodicCaptureStateInfo")] + TracePeriodicCaptureStateInfo = 0x11, + [NativeName("Name", "TraceProviderBinaryTracking")] + TraceProviderBinaryTracking = 0x12, + [NativeName("Name", "TraceMaxLoggersQuery")] + TraceMaxLoggersQuery = 0x13, + [NativeName("Name", "TraceLbrConfigurationInfo")] + TraceLbrConfigurationInfo = 0x14, + [NativeName("Name", "TraceLbrEventListInfo")] + TraceLbrEventListInfo = 0x15, + [NativeName("Name", "TraceMaxPmcCounterQuery")] + TraceMaxPmcCounterQuery = 0x16, + [NativeName("Name", "MaxTraceSetInfoClass")] + MaxTraceSetInfoClass = 0x17, + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Manual.cs b/src/Core/Silk.NET.Core.Win32Extras/Manual.cs new file mode 100644 index 0000000000..c8058b0c21 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Manual.cs @@ -0,0 +1,122 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; +using System.Runtime.InteropServices; + +namespace Silk.NET.Core.Win32Extras +{ + // BuildTools should generate these types, but for some reason it's not. It's probably something I should look into + // to be honest, but realistically we're so late into the 2.X maintenance cycle that it's probably not going to pose + // too much of an issue. + public struct Filetime + { + public uint DwLowDateTime; + public uint DwHighDateTime; + } + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + public unsafe struct TimeZoneInformation + { + public int Bias; + public fixed char StandardName[32]; + public Systemtime StandardDate; + public int StandardBias; + public fixed char DaylightName[32]; + public Systemtime DaylightDate; + public int DaylightBias; + } + + [StructLayout(LayoutKind.Explicit)] + public struct WnodeHeader + { + [FieldOffset(0)] public uint BufferSize; + + [FieldOffset(sizeof(uint))] public uint ProviderId; + + // Begin Union + // Union Field 1 + [FieldOffset(sizeof(uint) * 2)] public ulong HistoricalContext; + + // Union Field 2 - Begin Nested Struct + [FieldOffset(sizeof(uint) * 2)] public uint Version; + + [FieldOffset(sizeof(uint) * 3)] public uint Linkage; + + // End Nested Struct + // End Union + // Begin Union + // Union Field 1 + [FieldOffset(sizeof(uint) * 2 + sizeof(ulong))] + public uint CountLost; + + // Union Field 2 + [FieldOffset(sizeof(uint) * 2 + sizeof(ulong))] + public nint KernelHandle; + + // Union Field 3 + [FieldOffset(sizeof(uint) * 2 + sizeof(ulong))] + public long TimeStamp; + + // End Union + [FieldOffset(sizeof(uint) * 2 + sizeof(ulong) * 2)] + public Guid Guid; + + [FieldOffset(sizeof(uint) * 2 + sizeof(ulong) * 2 + /* sizeof(Guid) */ 16)] + public uint ClientContext; + + [FieldOffset(sizeof(uint) * 3 + sizeof(ulong) * 2 + /* sizeof(Guid) */ 16)] + public uint Flags; + } + + public unsafe struct ExceptionRecord + { + public uint ExceptionCode; + public uint ExceptionFlags; + public ExceptionRecord* Next; + public void* ExceptionAddress; + public uint NumberParameters; + public ExceptionRecordBuffer ExceptionInformation; + + public struct ExceptionRecordBuffer + { + public uint* Element0; + public uint* Element1; + public uint* Element2; + public uint* Element3; + public uint* Element4; + public uint* Element5; + public uint* Element6; + public uint* Element7; + public uint* Element8; + public uint* Element9; + public uint* Element10; + public uint* Element11; + public uint* Element12; + public uint* Element13; + public uint* Element14; + + public ref uint* this[int index] + { + get + { + if (index > 7 || index < 0) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + + fixed (uint** ptr = &Element0) + { + return ref ptr[index]; + } + } + } + } + } + + public enum Wmidprequestcode : uint + { + WmiEnableEvents = 4, + WmiDisableEvents = 5 + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Silk.NET.Core.Win32Extras.csproj b/src/Core/Silk.NET.Core.Win32Extras/Silk.NET.Core.Win32Extras.csproj new file mode 100644 index 0000000000..222c98e1d4 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Silk.NET.Core.Win32Extras.csproj @@ -0,0 +1,13 @@ + + + + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 + true + preview + + + + + + + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ClassicEventID.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ClassicEventID.gen.cs new file mode 100644 index 0000000000..6935b214f7 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ClassicEventID.gen.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_CLASSIC_EVENT_ID")] + public unsafe partial struct ClassicEventID + { + public ClassicEventID + ( + Guid? eventGuid = null, + byte? type = null + ) : this() + { + if (eventGuid is not null) + { + EventGuid = eventGuid.Value; + } + + if (type is not null) + { + Type = type.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "EventGuid")] + public Guid EventGuid; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Type")] + public byte Type; + [NativeName("Type", "UCHAR [7]")] + [NativeName("Type.Name", "UCHAR [7]")] + [NativeName("Name", "Reserved")] + public fixed byte Reserved[7]; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/CreateProcessDebugInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/CreateProcessDebugInfo.gen.cs new file mode 100644 index 0000000000..01f389da32 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/CreateProcessDebugInfo.gen.cs @@ -0,0 +1,138 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_CREATE_PROCESS_DEBUG_INFO")] + public unsafe partial struct CreateProcessDebugInfo + { + public CreateProcessDebugInfo + ( + void* hFile = null, + void* hProcess = null, + void* hThread = null, + void* lpBaseOfImage = null, + uint? dwDebugInfoFileOffset = null, + uint? nDebugInfoSize = null, + void* lpThreadLocalBase = null, + PfnPthreadStartRoutine? lpStartAddress = null, + void* lpImageName = null, + ushort? fUnicode = null + ) : this() + { + if (hFile is not null) + { + HFile = hFile; + } + + if (hProcess is not null) + { + HProcess = hProcess; + } + + if (hThread is not null) + { + HThread = hThread; + } + + if (lpBaseOfImage is not null) + { + LpBaseOfImage = lpBaseOfImage; + } + + if (dwDebugInfoFileOffset is not null) + { + DwDebugInfoFileOffset = dwDebugInfoFileOffset.Value; + } + + if (nDebugInfoSize is not null) + { + NDebugInfoSize = nDebugInfoSize.Value; + } + + if (lpThreadLocalBase is not null) + { + LpThreadLocalBase = lpThreadLocalBase; + } + + if (lpStartAddress is not null) + { + LpStartAddress = lpStartAddress.Value; + } + + if (lpImageName is not null) + { + LpImageName = lpImageName; + } + + if (fUnicode is not null) + { + FUnicode = fUnicode.Value; + } + } + + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "hFile")] + public void* HFile; + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "hProcess")] + public void* HProcess; + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "hThread")] + public void* HThread; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpBaseOfImage")] + public void* LpBaseOfImage; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwDebugInfoFileOffset")] + public uint DwDebugInfoFileOffset; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "nDebugInfoSize")] + public uint NDebugInfoSize; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpThreadLocalBase")] + public void* LpThreadLocalBase; + + [NativeName("Type", "LPTHREAD_START_ROUTINE")] + [NativeName("Type.Name", "LPTHREAD_START_ROUTINE")] + [NativeName("Name", "lpStartAddress")] + public PfnPthreadStartRoutine LpStartAddress; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpImageName")] + public void* LpImageName; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "fUnicode")] + public ushort FUnicode; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/CreateThreadDebugInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/CreateThreadDebugInfo.gen.cs new file mode 100644 index 0000000000..e716afa465 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/CreateThreadDebugInfo.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_CREATE_THREAD_DEBUG_INFO")] + public unsafe partial struct CreateThreadDebugInfo + { + public CreateThreadDebugInfo + ( + void* hThread = null, + void* lpThreadLocalBase = null, + PfnPthreadStartRoutine? lpStartAddress = null + ) : this() + { + if (hThread is not null) + { + HThread = hThread; + } + + if (lpThreadLocalBase is not null) + { + LpThreadLocalBase = lpThreadLocalBase; + } + + if (lpStartAddress is not null) + { + LpStartAddress = lpStartAddress.Value; + } + } + + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "hThread")] + public void* HThread; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpThreadLocalBase")] + public void* LpThreadLocalBase; + + [NativeName("Type", "LPTHREAD_START_ROUTINE")] + [NativeName("Type.Name", "LPTHREAD_START_ROUTINE")] + [NativeName("Name", "lpStartAddress")] + public PfnPthreadStartRoutine LpStartAddress; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/DebugEvent.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/DebugEvent.gen.cs new file mode 100644 index 0000000000..cc5d68c165 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/DebugEvent.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_DEBUG_EVENT")] + public unsafe partial struct DebugEvent + { + public DebugEvent + ( + uint? dwDebugEventCode = null, + uint? dwProcessId = null, + uint? dwThreadId = null, + DebugEventU? u = null + ) : this() + { + if (dwDebugEventCode is not null) + { + DwDebugEventCode = dwDebugEventCode.Value; + } + + if (dwProcessId is not null) + { + DwProcessId = dwProcessId.Value; + } + + if (dwThreadId is not null) + { + DwThreadId = dwThreadId.Value; + } + + if (u is not null) + { + U = u.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwDebugEventCode")] + public uint DwDebugEventCode; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwProcessId")] + public uint DwProcessId; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwThreadId")] + public uint DwThreadId; + + [NativeName("Type", "union (anonymous union at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:365:5)")] + [NativeName("Type.Name", "union (anonymous union at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:365:5)")] + [NativeName("Name", "u")] + public DebugEventU U; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/DebugEventU.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/DebugEventU.gen.cs new file mode 100644 index 0000000000..e23d68e2ae --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/DebugEventU.gen.cs @@ -0,0 +1,137 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_minwinbase_L365_C5")] + public unsafe partial struct DebugEventU + { + public DebugEventU + ( + ExceptionDebugInfo? exception = null, + CreateThreadDebugInfo? createThread = null, + CreateProcessDebugInfo? createProcessInfo = null, + ExitThreadDebugInfo? exitThread = null, + ExitProcessDebugInfo? exitProcess = null, + LoadDllDebugInfo? loadDll = null, + UnloadDllDebugInfo? unloadDll = null, + OutputDebugStringInfo? debugString = null, + RipInfo? ripInfo = null + ) : this() + { + if (exception is not null) + { + Exception = exception.Value; + } + + if (createThread is not null) + { + CreateThread = createThread.Value; + } + + if (createProcessInfo is not null) + { + CreateProcessInfo = createProcessInfo.Value; + } + + if (exitThread is not null) + { + ExitThread = exitThread.Value; + } + + if (exitProcess is not null) + { + ExitProcess = exitProcess.Value; + } + + if (loadDll is not null) + { + LoadDll = loadDll.Value; + } + + if (unloadDll is not null) + { + UnloadDll = unloadDll.Value; + } + + if (debugString is not null) + { + DebugString = debugString.Value; + } + + if (ripInfo is not null) + { + RipInfo = ripInfo.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "EXCEPTION_DEBUG_INFO")] + [NativeName("Type.Name", "EXCEPTION_DEBUG_INFO")] + [NativeName("Name", "Exception")] + public ExceptionDebugInfo Exception; + + [FieldOffset(0)] + [NativeName("Type", "CREATE_THREAD_DEBUG_INFO")] + [NativeName("Type.Name", "CREATE_THREAD_DEBUG_INFO")] + [NativeName("Name", "CreateThread")] + public CreateThreadDebugInfo CreateThread; + + [FieldOffset(0)] + [NativeName("Type", "CREATE_PROCESS_DEBUG_INFO")] + [NativeName("Type.Name", "CREATE_PROCESS_DEBUG_INFO")] + [NativeName("Name", "CreateProcessInfo")] + public CreateProcessDebugInfo CreateProcessInfo; + + [FieldOffset(0)] + [NativeName("Type", "EXIT_THREAD_DEBUG_INFO")] + [NativeName("Type.Name", "EXIT_THREAD_DEBUG_INFO")] + [NativeName("Name", "ExitThread")] + public ExitThreadDebugInfo ExitThread; + + [FieldOffset(0)] + [NativeName("Type", "EXIT_PROCESS_DEBUG_INFO")] + [NativeName("Type.Name", "EXIT_PROCESS_DEBUG_INFO")] + [NativeName("Name", "ExitProcess")] + public ExitProcessDebugInfo ExitProcess; + + [FieldOffset(0)] + [NativeName("Type", "LOAD_DLL_DEBUG_INFO")] + [NativeName("Type.Name", "LOAD_DLL_DEBUG_INFO")] + [NativeName("Name", "LoadDll")] + public LoadDllDebugInfo LoadDll; + + [FieldOffset(0)] + [NativeName("Type", "UNLOAD_DLL_DEBUG_INFO")] + [NativeName("Type.Name", "UNLOAD_DLL_DEBUG_INFO")] + [NativeName("Name", "UnloadDll")] + public UnloadDllDebugInfo UnloadDll; + + [FieldOffset(0)] + [NativeName("Type", "OUTPUT_DEBUG_STRING_INFO")] + [NativeName("Type.Name", "OUTPUT_DEBUG_STRING_INFO")] + [NativeName("Name", "DebugString")] + public OutputDebugStringInfo DebugString; + + [FieldOffset(0)] + [NativeName("Type", "RIP_INFO")] + [NativeName("Type.Name", "RIP_INFO")] + [NativeName("Name", "RipInfo")] + public RipInfo RipInfo; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EnableTraceParameters.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EnableTraceParameters.gen.cs new file mode 100644 index 0000000000..4f32fa8448 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EnableTraceParameters.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_ENABLE_TRACE_PARAMETERS")] + public unsafe partial struct EnableTraceParameters + { + public EnableTraceParameters + ( + uint? version = null, + uint? enableProperty = null, + uint? controlFlags = null, + Guid? sourceId = null, + EventFilterDescriptor* enableFilterDesc = null, + uint? filterDescCount = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (enableProperty is not null) + { + EnableProperty = enableProperty.Value; + } + + if (controlFlags is not null) + { + ControlFlags = controlFlags.Value; + } + + if (sourceId is not null) + { + SourceId = sourceId.Value; + } + + if (enableFilterDesc is not null) + { + EnableFilterDesc = enableFilterDesc; + } + + if (filterDescCount is not null) + { + FilterDescCount = filterDescCount.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableProperty")] + public uint EnableProperty; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ControlFlags")] + public uint ControlFlags; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "SourceId")] + public Guid SourceId; + + [NativeName("Type", "PEVENT_FILTER_DESCRIPTOR")] + [NativeName("Type.Name", "PEVENT_FILTER_DESCRIPTOR")] + [NativeName("Name", "EnableFilterDesc")] + public EventFilterDescriptor* EnableFilterDesc; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FilterDescCount")] + public uint FilterDescCount; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EnableTraceParametersV1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EnableTraceParametersV1.gen.cs new file mode 100644 index 0000000000..030740d509 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EnableTraceParametersV1.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_ENABLE_TRACE_PARAMETERS_V1")] + public unsafe partial struct EnableTraceParametersV1 + { + public EnableTraceParametersV1 + ( + uint? version = null, + uint? enableProperty = null, + uint? controlFlags = null, + Guid? sourceId = null, + EventFilterDescriptor* enableFilterDesc = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (enableProperty is not null) + { + EnableProperty = enableProperty.Value; + } + + if (controlFlags is not null) + { + ControlFlags = controlFlags.Value; + } + + if (sourceId is not null) + { + SourceId = sourceId.Value; + } + + if (enableFilterDesc is not null) + { + EnableFilterDesc = enableFilterDesc; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableProperty")] + public uint EnableProperty; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ControlFlags")] + public uint ControlFlags; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "SourceId")] + public Guid SourceId; + + [NativeName("Type", "PEVENT_FILTER_DESCRIPTOR")] + [NativeName("Type.Name", "PEVENT_FILTER_DESCRIPTOR")] + [NativeName("Name", "EnableFilterDesc")] + public EventFilterDescriptor* EnableFilterDesc; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContext.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContext.gen.cs new file mode 100644 index 0000000000..f7d3b42f64 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContext.gen.cs @@ -0,0 +1,110 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_ETW_BUFFER_CONTEXT")] + public unsafe partial struct EtwBufferContext + { + public EtwBufferContext + ( + EtwBufferContextUnion? anonymous = null, + ushort? loggerId = null, + ushort? processorIndex = null, + byte? processorNumber = null, + byte? alignment = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (loggerId is not null) + { + LoggerId = loggerId.Value; + } + + if (processorIndex is not null) + { + ProcessorIndex = processorIndex.Value; + } + + if (processorNumber is not null) + { + ProcessorNumber = processorNumber.Value; + } + + if (alignment is not null) + { + Alignment = alignment.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L973_C5")] + [NativeName("Name", "anonymous1")] + public EtwBufferContextUnion Anonymous; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "LoggerId")] + public ushort LoggerId; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ushort ProcessorIndex + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].ProcessorIndex; + } +#else + public ushort ProcessorIndex + { + get => Anonymous.ProcessorIndex; + set => Anonymous.ProcessorIndex = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte ProcessorNumber + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].ProcessorNumber; + } +#else + public byte ProcessorNumber + { + get => Anonymous.ProcessorNumber; + set => Anonymous.ProcessorNumber = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte Alignment + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Alignment; + } +#else + public byte Alignment + { + get => Anonymous.Alignment; + set => Anonymous.Alignment = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContextUnion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContextUnion.gen.cs new file mode 100644 index 0000000000..da9cae891d --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContextUnion.gen.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L973_C5")] + public unsafe partial struct EtwBufferContextUnion + { + public EtwBufferContextUnion + ( + EtwBufferContextUnionUnion? anonymous = null, + ushort? processorIndex = null, + byte? processorNumber = null, + byte? alignment = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (processorIndex is not null) + { + ProcessorIndex = processorIndex.Value; + } + + if (processorNumber is not null) + { + ProcessorNumber = processorNumber.Value; + } + + if (alignment is not null) + { + Alignment = alignment.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L974_C9")] + [NativeName("Name", "anonymous1")] + public EtwBufferContextUnionUnion Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "ProcessorIndex")] + public ushort ProcessorIndex; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte ProcessorNumber + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].ProcessorNumber; + } +#else + public byte ProcessorNumber + { + get => Anonymous.ProcessorNumber; + set => Anonymous.ProcessorNumber = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte Alignment + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Alignment; + } +#else + public byte Alignment + { + get => Anonymous.Alignment; + set => Anonymous.Alignment = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContextUnionUnion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContextUnionUnion.gen.cs new file mode 100644 index 0000000000..b3645dae28 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwBufferContextUnionUnion.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L974_C9")] + public unsafe partial struct EtwBufferContextUnionUnion + { + public EtwBufferContextUnionUnion + ( + byte? processorNumber = null, + byte? alignment = null + ) : this() + { + if (processorNumber is not null) + { + ProcessorNumber = processorNumber.Value; + } + + if (alignment is not null) + { + Alignment = alignment.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "ProcessorNumber")] + public byte ProcessorNumber; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Alignment")] + public byte Alignment; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwTracePartitionInformation.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwTracePartitionInformation.gen.cs new file mode 100644 index 0000000000..50a77fd560 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwTracePartitionInformation.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_ETW_TRACE_PARTITION_INFORMATION")] + public unsafe partial struct EtwTracePartitionInformation + { + public EtwTracePartitionInformation + ( + Guid? partitionId = null, + Guid? parentId = null, + long? qpcOffsetFromRoot = null, + uint? partitionType = null + ) : this() + { + if (partitionId is not null) + { + PartitionId = partitionId.Value; + } + + if (parentId is not null) + { + ParentId = parentId.Value; + } + + if (qpcOffsetFromRoot is not null) + { + QpcOffsetFromRoot = qpcOffsetFromRoot.Value; + } + + if (partitionType is not null) + { + PartitionType = partitionType.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "PartitionId")] + public Guid PartitionId; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "ParentId")] + public Guid ParentId; + + [NativeName("Type", "LONG64")] + [NativeName("Type.Name", "LONG64")] + [NativeName("Name", "QpcOffsetFromRoot")] + public long QpcOffsetFromRoot; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "PartitionType")] + public uint PartitionType; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwTracePartitionInformationV2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwTracePartitionInformationV2.gen.cs new file mode 100644 index 0000000000..a63773c03f --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EtwTracePartitionInformationV2.gen.cs @@ -0,0 +1,73 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + [NativeName("Name", "_ETW_TRACE_PARTITION_INFORMATION_V2")] + public unsafe partial struct EtwTracePartitionInformationV2 + { + public EtwTracePartitionInformationV2 + ( + long? qpcOffsetFromRoot = null, + uint? partitionType = null, + char* partitionId = null, + char* parentId = null + ) : this() + { + if (qpcOffsetFromRoot is not null) + { + QpcOffsetFromRoot = qpcOffsetFromRoot.Value; + } + + if (partitionType is not null) + { + PartitionType = partitionType.Value; + } + + if (partitionId is not null) + { + PartitionId = partitionId; + } + + if (parentId is not null) + { + ParentId = parentId; + } + } + + + [NativeName("Type", "LONG64")] + [NativeName("Type.Name", "LONG64")] + [NativeName("Name", "QpcOffsetFromRoot")] + public long QpcOffsetFromRoot; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "PartitionType")] + public uint PartitionType; + + [NativeName("Type", "PWSTR")] + [NativeName("Type.Name", "PWSTR")] + [NativeName("Name", "PartitionId")] + public char* PartitionId; + + [NativeName("Type", "PWSTR")] + [NativeName("Type.Name", "PWSTR")] + [NativeName("Name", "ParentId")] + public char* ParentId; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventFilterDescriptor.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventFilterDescriptor.gen.cs new file mode 100644 index 0000000000..87bc4e245c --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventFilterDescriptor.gen.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_FILTER_DESCRIPTOR")] + public unsafe partial struct EventFilterDescriptor + { + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeader.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeader.gen.cs new file mode 100644 index 0000000000..f0fc1cb8b2 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeader.gen.cs @@ -0,0 +1,369 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_INSTANCE_HEADER")] + public unsafe partial struct EventInstanceHeader + { + public EventInstanceHeader + ( + ushort? size = null, + EventInstanceHeaderUnion1? anonymous1 = null, + EventInstanceHeaderUnion2? anonymous2 = null, + uint? threadId = null, + uint? processId = null, + long? timeStamp = null, + ulong? regHandle = null, + uint? instanceId = null, + uint? parentInstanceId = null, + EventInstanceHeaderUnion3? anonymous3 = null, + ulong? parentRegHandle = null, + ushort? fieldTypeFlags = null, + EventInstanceHeaderUnion1Union? anonymous = null, + byte? headerType = null, + byte? markerFlags = null, + uint? version = null, + EventInstanceHeaderUnion2Class? @class = null, + ulong? processorTime = null, + uint? kernelTime = null, + uint? userTime = null, + uint? eventId = null, + uint? flags = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (threadId is not null) + { + ThreadId = threadId.Value; + } + + if (processId is not null) + { + ProcessId = processId.Value; + } + + if (timeStamp is not null) + { + TimeStamp = timeStamp.Value; + } + + if (regHandle is not null) + { + RegHandle = regHandle.Value; + } + + if (instanceId is not null) + { + InstanceId = instanceId.Value; + } + + if (parentInstanceId is not null) + { + ParentInstanceId = parentInstanceId.Value; + } + + if (anonymous3 is not null) + { + Anonymous3 = anonymous3.Value; + } + + if (parentRegHandle is not null) + { + ParentRegHandle = parentRegHandle.Value; + } + + if (fieldTypeFlags is not null) + { + FieldTypeFlags = fieldTypeFlags.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (headerType is not null) + { + HeaderType = headerType.Value; + } + + if (markerFlags is not null) + { + MarkerFlags = markerFlags.Value; + } + + if (version is not null) + { + Version = version.Value; + } + + if (@class is not null) + { + Class = @class.Value; + } + + if (processorTime is not null) + { + ProcessorTime = processorTime.Value; + } + + if (kernelTime is not null) + { + KernelTime = kernelTime.Value; + } + + if (userTime is not null) + { + UserTime = userTime.Value; + } + + if (eventId is not null) + { + EventId = eventId.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Size")] + public ushort Size; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L586_C5")] + [NativeName("Name", "anonymous1")] + public EventInstanceHeaderUnion1 Anonymous1; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L593_C5")] + [NativeName("Name", "anonymous2")] + public EventInstanceHeaderUnion2 Anonymous2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ThreadId")] + public uint ThreadId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProcessId")] + public uint ProcessId; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "TimeStamp")] + public long TimeStamp; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "RegHandle")] + public ulong RegHandle; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "InstanceId")] + public uint InstanceId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ParentInstanceId")] + public uint ParentInstanceId; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L607_C5")] + [NativeName("Name", "anonymous3")] + public EventInstanceHeaderUnion3 Anonymous3; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "ParentRegHandle")] + public ulong ParentRegHandle; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ushort FieldTypeFlags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].FieldTypeFlags; + } +#else + public ushort FieldTypeFlags + { + get => Anonymous1.FieldTypeFlags; + set => Anonymous1.FieldTypeFlags = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref EventInstanceHeaderUnion1Union Anonymous + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].Anonymous; + } +#else + public EventInstanceHeaderUnion1Union Anonymous + { + get => Anonymous1.Anonymous; + set => Anonymous1.Anonymous = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte HeaderType + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].HeaderType; + } +#else + public byte HeaderType + { + get => Anonymous1.HeaderType; + set => Anonymous1.HeaderType = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte MarkerFlags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].MarkerFlags; + } +#else + public byte MarkerFlags + { + get => Anonymous1.MarkerFlags; + set => Anonymous1.MarkerFlags = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Version + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Version; + } +#else + public uint Version + { + get => Anonymous2.Version; + set => Anonymous2.Version = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref EventInstanceHeaderUnion2Class Class + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Class; + } +#else + public EventInstanceHeaderUnion2Class Class + { + get => Anonymous2.Class; + set => Anonymous2.Class = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ulong ProcessorTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].ProcessorTime; + } +#else + public ulong ProcessorTime + { + get => Anonymous3.ProcessorTime; + set => Anonymous3.ProcessorTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint KernelTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].KernelTime; + } +#else + public uint KernelTime + { + get => Anonymous3.KernelTime; + set => Anonymous3.KernelTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint UserTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].UserTime; + } +#else + public uint UserTime + { + get => Anonymous3.UserTime; + set => Anonymous3.UserTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventId + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].EventId; + } +#else + public uint EventId + { + get => Anonymous3.EventId; + set => Anonymous3.EventId = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Flags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].Flags; + } +#else + public uint Flags + { + get => Anonymous3.Flags; + set => Anonymous3.Flags = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion1.gen.cs new file mode 100644 index 0000000000..d21ee11d4a --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion1.gen.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L586_C5")] + public unsafe partial struct EventInstanceHeaderUnion1 + { + public EventInstanceHeaderUnion1 + ( + ushort? fieldTypeFlags = null, + EventInstanceHeaderUnion1Union? anonymous = null, + byte? headerType = null, + byte? markerFlags = null + ) : this() + { + if (fieldTypeFlags is not null) + { + FieldTypeFlags = fieldTypeFlags.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (headerType is not null) + { + HeaderType = headerType.Value; + } + + if (markerFlags is not null) + { + MarkerFlags = markerFlags.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "FieldTypeFlags")] + public ushort FieldTypeFlags; + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L588_C9")] + [NativeName("Name", "anonymous1")] + public EventInstanceHeaderUnion1Union Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte HeaderType + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].HeaderType; + } +#else + public byte HeaderType + { + get => Anonymous.HeaderType; + set => Anonymous.HeaderType = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte MarkerFlags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].MarkerFlags; + } +#else + public byte MarkerFlags + { + get => Anonymous.MarkerFlags; + set => Anonymous.MarkerFlags = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion1Union.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion1Union.gen.cs new file mode 100644 index 0000000000..55378eef6d --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion1Union.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L588_C9")] + public unsafe partial struct EventInstanceHeaderUnion1Union + { + public EventInstanceHeaderUnion1Union + ( + byte? headerType = null, + byte? markerFlags = null + ) : this() + { + if (headerType is not null) + { + HeaderType = headerType.Value; + } + + if (markerFlags is not null) + { + MarkerFlags = markerFlags.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "HeaderType")] + public byte HeaderType; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MarkerFlags")] + public byte MarkerFlags; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion2.gen.cs new file mode 100644 index 0000000000..bfb41aee45 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion2.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L593_C5")] + public unsafe partial struct EventInstanceHeaderUnion2 + { + public EventInstanceHeaderUnion2 + ( + uint? version = null, + EventInstanceHeaderUnion2Class? @class = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (@class is not null) + { + Class = @class.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:595:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:595:9)")] + [NativeName("Name", "Class")] + public EventInstanceHeaderUnion2Class Class; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion2Class.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion2Class.gen.cs new file mode 100644 index 0000000000..5eb56c0daf --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion2Class.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L595_C9")] + public unsafe partial struct EventInstanceHeaderUnion2Class + { + public EventInstanceHeaderUnion2Class + ( + byte? type = null, + byte? level = null, + ushort? version = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (level is not null) + { + Level = level.Value; + } + + if (version is not null) + { + Version = version.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Type")] + public byte Type; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Level")] + public byte Level; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Version")] + public ushort Version; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3.gen.cs new file mode 100644 index 0000000000..a4ca48553b --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3.gen.cs @@ -0,0 +1,145 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L607_C5")] + public unsafe partial struct EventInstanceHeaderUnion3 + { + public EventInstanceHeaderUnion3 + ( + EventInstanceHeaderUnion3Union1? anonymous1 = null, + ulong? processorTime = null, + EventInstanceHeaderUnion3Union2? anonymous2 = null, + uint? kernelTime = null, + uint? userTime = null, + uint? eventId = null, + uint? flags = null + ) : this() + { + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (processorTime is not null) + { + ProcessorTime = processorTime.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (kernelTime is not null) + { + KernelTime = kernelTime.Value; + } + + if (userTime is not null) + { + UserTime = userTime.Value; + } + + if (eventId is not null) + { + EventId = eventId.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L608_C9")] + [NativeName("Name", "anonymous1")] + public EventInstanceHeaderUnion3Union1 Anonymous1; + + [FieldOffset(0)] + [NativeName("Type", "ULONG64")] + [NativeName("Type.Name", "ULONG64")] + [NativeName("Name", "ProcessorTime")] + public ulong ProcessorTime; + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L613_C9")] + [NativeName("Name", "anonymous2")] + public EventInstanceHeaderUnion3Union2 Anonymous2; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint KernelTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].KernelTime; + } +#else + public uint KernelTime + { + get => Anonymous1.KernelTime; + set => Anonymous1.KernelTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint UserTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].UserTime; + } +#else + public uint UserTime + { + get => Anonymous1.UserTime; + set => Anonymous1.UserTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventId + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventId; + } +#else + public uint EventId + { + get => Anonymous2.EventId; + set => Anonymous2.EventId = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Flags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Flags; + } +#else + public uint Flags + { + get => Anonymous2.Flags; + set => Anonymous2.Flags = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3Union1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3Union1.gen.cs new file mode 100644 index 0000000000..97b724a25e --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3Union1.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L608_C9")] + public unsafe partial struct EventInstanceHeaderUnion3Union1 + { + public EventInstanceHeaderUnion3Union1 + ( + uint? kernelTime = null, + uint? userTime = null + ) : this() + { + if (kernelTime is not null) + { + KernelTime = kernelTime.Value; + } + + if (userTime is not null) + { + UserTime = userTime.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "KernelTime")] + public uint KernelTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "UserTime")] + public uint UserTime; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3Union2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3Union2.gen.cs new file mode 100644 index 0000000000..530100d574 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceHeaderUnion3Union2.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L613_C9")] + public unsafe partial struct EventInstanceHeaderUnion3Union2 + { + public EventInstanceHeaderUnion3Union2 + ( + uint? eventId = null, + uint? flags = null + ) : this() + { + if (eventId is not null) + { + EventId = eventId.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventId")] + public uint EventId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Flags")] + public uint Flags; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceInfo.gen.cs new file mode 100644 index 0000000000..5e73154d01 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventInstanceInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "EVENT_INSTANCE_INFO")] + public unsafe partial struct EventInstanceInfo + { + public EventInstanceInfo + ( + void* regHandle = null, + uint? instanceId = null + ) : this() + { + if (regHandle is not null) + { + RegHandle = regHandle; + } + + if (instanceId is not null) + { + InstanceId = instanceId.Value; + } + } + + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "RegHandle")] + public void* RegHandle; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "InstanceId")] + public uint InstanceId; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventRecord.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventRecord.gen.cs new file mode 100644 index 0000000000..a56235a13a --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventRecord.gen.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_RECORD")] + public unsafe partial struct EventRecord + { + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTrace.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTrace.gen.cs new file mode 100644 index 0000000000..72fc9f4dee --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTrace.gen.cs @@ -0,0 +1,145 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_TRACE")] + public unsafe partial struct EventTrace + { + public EventTrace + ( + EventTraceHeader? header = null, + uint? instanceId = null, + uint? parentInstanceId = null, + Guid? parentGuid = null, + void* mofData = null, + uint? mofLength = null, + EventTraceUnion? anonymous = null, + uint? clientContext = null, + EtwBufferContext? bufferContext = null + ) : this() + { + if (header is not null) + { + Header = header.Value; + } + + if (instanceId is not null) + { + InstanceId = instanceId.Value; + } + + if (parentInstanceId is not null) + { + ParentInstanceId = parentInstanceId.Value; + } + + if (parentGuid is not null) + { + ParentGuid = parentGuid.Value; + } + + if (mofData is not null) + { + MofData = mofData; + } + + if (mofLength is not null) + { + MofLength = mofLength.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (clientContext is not null) + { + ClientContext = clientContext.Value; + } + + if (bufferContext is not null) + { + BufferContext = bufferContext.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "Header")] + public EventTraceHeader Header; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "InstanceId")] + public uint InstanceId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ParentInstanceId")] + public uint ParentInstanceId; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "ParentGuid")] + public Guid ParentGuid; + + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "MofData")] + public void* MofData; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MofLength")] + public uint MofLength; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L1058_C5")] + [NativeName("Name", "anonymous1")] + public EventTraceUnion Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint ClientContext + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].ClientContext; + } +#else + public uint ClientContext + { + get => Anonymous.ClientContext; + set => Anonymous.ClientContext = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref EtwBufferContext BufferContext + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].BufferContext; + } +#else + public EtwBufferContext BufferContext + { + get => Anonymous.BufferContext; + set => Anonymous.BufferContext = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeader.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeader.gen.cs new file mode 100644 index 0000000000..06b44b3911 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeader.gen.cs @@ -0,0 +1,376 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_TRACE_HEADER")] + public unsafe partial struct EventTraceHeader + { + public EventTraceHeader + ( + ushort? size = null, + EventTraceHeaderUnion1? anonymous1 = null, + EventTraceHeaderUnion2? anonymous2 = null, + uint? threadId = null, + uint? processId = null, + long? timeStamp = null, + EventTraceHeaderUnion3? anonymous3 = null, + EventTraceHeaderUnion4? anonymous4 = null, + ushort? fieldTypeFlags = null, + EventTraceHeaderUnion1Union? anonymous = null, + byte? headerType = null, + byte? markerFlags = null, + uint? version = null, + EventTraceHeaderUnion2Class? @class = null, + Guid? guid = null, + ulong? guidPtr = null, + ulong? processorTime = null, + uint? kernelTime = null, + uint? userTime = null, + uint? clientContext = null, + uint? flags = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (threadId is not null) + { + ThreadId = threadId.Value; + } + + if (processId is not null) + { + ProcessId = processId.Value; + } + + if (timeStamp is not null) + { + TimeStamp = timeStamp.Value; + } + + if (anonymous3 is not null) + { + Anonymous3 = anonymous3.Value; + } + + if (anonymous4 is not null) + { + Anonymous4 = anonymous4.Value; + } + + if (fieldTypeFlags is not null) + { + FieldTypeFlags = fieldTypeFlags.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (headerType is not null) + { + HeaderType = headerType.Value; + } + + if (markerFlags is not null) + { + MarkerFlags = markerFlags.Value; + } + + if (version is not null) + { + Version = version.Value; + } + + if (@class is not null) + { + Class = @class.Value; + } + + if (guid is not null) + { + Guid = guid.Value; + } + + if (guidPtr is not null) + { + GuidPtr = guidPtr.Value; + } + + if (processorTime is not null) + { + ProcessorTime = processorTime.Value; + } + + if (kernelTime is not null) + { + KernelTime = kernelTime.Value; + } + + if (userTime is not null) + { + UserTime = userTime.Value; + } + + if (clientContext is not null) + { + ClientContext = clientContext.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Size")] + public ushort Size; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L546_C5")] + [NativeName("Name", "anonymous1")] + public EventTraceHeaderUnion1 Anonymous1; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L553_C5")] + [NativeName("Name", "anonymous2")] + public EventTraceHeaderUnion2 Anonymous2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ThreadId")] + public uint ThreadId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProcessId")] + public uint ProcessId; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "TimeStamp")] + public long TimeStamp; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L564_C5")] + [NativeName("Name", "anonymous3")] + public EventTraceHeaderUnion3 Anonymous3; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L568_C5")] + [NativeName("Name", "anonymous4")] + public EventTraceHeaderUnion4 Anonymous4; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ushort FieldTypeFlags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].FieldTypeFlags; + } +#else + public ushort FieldTypeFlags + { + get => Anonymous1.FieldTypeFlags; + set => Anonymous1.FieldTypeFlags = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref EventTraceHeaderUnion1Union Anonymous + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].Anonymous; + } +#else + public EventTraceHeaderUnion1Union Anonymous + { + get => Anonymous1.Anonymous; + set => Anonymous1.Anonymous = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte HeaderType + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].HeaderType; + } +#else + public byte HeaderType + { + get => Anonymous1.HeaderType; + set => Anonymous1.HeaderType = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte MarkerFlags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].MarkerFlags; + } +#else + public byte MarkerFlags + { + get => Anonymous1.MarkerFlags; + set => Anonymous1.MarkerFlags = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Version + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Version; + } +#else + public uint Version + { + get => Anonymous2.Version; + set => Anonymous2.Version = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref EventTraceHeaderUnion2Class Class + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Class; + } +#else + public EventTraceHeaderUnion2Class Class + { + get => Anonymous2.Class; + set => Anonymous2.Class = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref Guid Guid + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].Guid; + } +#else + public Guid Guid + { + get => Anonymous3.Guid; + set => Anonymous3.Guid = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ulong GuidPtr + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].GuidPtr; + } +#else + public ulong GuidPtr + { + get => Anonymous3.GuidPtr; + set => Anonymous3.GuidPtr = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ulong ProcessorTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous4, 1)[0].ProcessorTime; + } +#else + public ulong ProcessorTime + { + get => Anonymous4.ProcessorTime; + set => Anonymous4.ProcessorTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint KernelTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous4, 1)[0].KernelTime; + } +#else + public uint KernelTime + { + get => Anonymous4.KernelTime; + set => Anonymous4.KernelTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint UserTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous4, 1)[0].UserTime; + } +#else + public uint UserTime + { + get => Anonymous4.UserTime; + set => Anonymous4.UserTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint ClientContext + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous4, 1)[0].ClientContext; + } +#else + public uint ClientContext + { + get => Anonymous4.ClientContext; + set => Anonymous4.ClientContext = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Flags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous4, 1)[0].Flags; + } +#else + public uint Flags + { + get => Anonymous4.Flags; + set => Anonymous4.Flags = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion1.gen.cs new file mode 100644 index 0000000000..4df0b29dfc --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion1.gen.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L546_C5")] + public unsafe partial struct EventTraceHeaderUnion1 + { + public EventTraceHeaderUnion1 + ( + ushort? fieldTypeFlags = null, + EventTraceHeaderUnion1Union? anonymous = null, + byte? headerType = null, + byte? markerFlags = null + ) : this() + { + if (fieldTypeFlags is not null) + { + FieldTypeFlags = fieldTypeFlags.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (headerType is not null) + { + HeaderType = headerType.Value; + } + + if (markerFlags is not null) + { + MarkerFlags = markerFlags.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "FieldTypeFlags")] + public ushort FieldTypeFlags; + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L548_C9")] + [NativeName("Name", "anonymous1")] + public EventTraceHeaderUnion1Union Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte HeaderType + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].HeaderType; + } +#else + public byte HeaderType + { + get => Anonymous.HeaderType; + set => Anonymous.HeaderType = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref byte MarkerFlags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].MarkerFlags; + } +#else + public byte MarkerFlags + { + get => Anonymous.MarkerFlags; + set => Anonymous.MarkerFlags = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion1Union.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion1Union.gen.cs new file mode 100644 index 0000000000..d04faf3862 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion1Union.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L548_C9")] + public unsafe partial struct EventTraceHeaderUnion1Union + { + public EventTraceHeaderUnion1Union + ( + byte? headerType = null, + byte? markerFlags = null + ) : this() + { + if (headerType is not null) + { + HeaderType = headerType.Value; + } + + if (markerFlags is not null) + { + MarkerFlags = markerFlags.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "HeaderType")] + public byte HeaderType; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MarkerFlags")] + public byte MarkerFlags; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion2.gen.cs new file mode 100644 index 0000000000..f7031eaee7 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion2.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L553_C5")] + public unsafe partial struct EventTraceHeaderUnion2 + { + public EventTraceHeaderUnion2 + ( + uint? version = null, + EventTraceHeaderUnion2Class? @class = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (@class is not null) + { + Class = @class.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:555:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:555:9)")] + [NativeName("Name", "Class")] + public EventTraceHeaderUnion2Class Class; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion2Class.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion2Class.gen.cs new file mode 100644 index 0000000000..a0283d2bff --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion2Class.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L555_C9")] + public unsafe partial struct EventTraceHeaderUnion2Class + { + public EventTraceHeaderUnion2Class + ( + byte? type = null, + byte? level = null, + ushort? version = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (level is not null) + { + Level = level.Value; + } + + if (version is not null) + { + Version = version.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Type")] + public byte Type; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Level")] + public byte Level; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Version")] + public ushort Version; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion3.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion3.gen.cs new file mode 100644 index 0000000000..62e26e1f03 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion3.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L564_C5")] + public unsafe partial struct EventTraceHeaderUnion3 + { + public EventTraceHeaderUnion3 + ( + Guid? guid = null, + ulong? guidPtr = null + ) : this() + { + if (guid is not null) + { + Guid = guid.Value; + } + + if (guidPtr is not null) + { + GuidPtr = guidPtr.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "Guid")] + public Guid Guid; + + [FieldOffset(0)] + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "GuidPtr")] + public ulong GuidPtr; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4.gen.cs new file mode 100644 index 0000000000..7d6e27473f --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4.gen.cs @@ -0,0 +1,145 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L568_C5")] + public unsafe partial struct EventTraceHeaderUnion4 + { + public EventTraceHeaderUnion4 + ( + EventTraceHeaderUnion4Union1? anonymous1 = null, + ulong? processorTime = null, + EventTraceHeaderUnion4Union2? anonymous2 = null, + uint? kernelTime = null, + uint? userTime = null, + uint? clientContext = null, + uint? flags = null + ) : this() + { + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (processorTime is not null) + { + ProcessorTime = processorTime.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (kernelTime is not null) + { + KernelTime = kernelTime.Value; + } + + if (userTime is not null) + { + UserTime = userTime.Value; + } + + if (clientContext is not null) + { + ClientContext = clientContext.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L569_C9")] + [NativeName("Name", "anonymous1")] + public EventTraceHeaderUnion4Union1 Anonymous1; + + [FieldOffset(0)] + [NativeName("Type", "ULONG64")] + [NativeName("Type.Name", "ULONG64")] + [NativeName("Name", "ProcessorTime")] + public ulong ProcessorTime; + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L574_C9")] + [NativeName("Name", "anonymous2")] + public EventTraceHeaderUnion4Union2 Anonymous2; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint KernelTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].KernelTime; + } +#else + public uint KernelTime + { + get => Anonymous1.KernelTime; + set => Anonymous1.KernelTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint UserTime + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].UserTime; + } +#else + public uint UserTime + { + get => Anonymous1.UserTime; + set => Anonymous1.UserTime = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint ClientContext + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].ClientContext; + } +#else + public uint ClientContext + { + get => Anonymous2.ClientContext; + set => Anonymous2.ClientContext = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Flags + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Flags; + } +#else + public uint Flags + { + get => Anonymous2.Flags; + set => Anonymous2.Flags = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4Union1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4Union1.gen.cs new file mode 100644 index 0000000000..dbf70a78d6 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4Union1.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L569_C9")] + public unsafe partial struct EventTraceHeaderUnion4Union1 + { + public EventTraceHeaderUnion4Union1 + ( + uint? kernelTime = null, + uint? userTime = null + ) : this() + { + if (kernelTime is not null) + { + KernelTime = kernelTime.Value; + } + + if (userTime is not null) + { + UserTime = userTime.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "KernelTime")] + public uint KernelTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "UserTime")] + public uint UserTime; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4Union2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4Union2.gen.cs new file mode 100644 index 0000000000..e30e050ae9 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceHeaderUnion4Union2.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L574_C9")] + public unsafe partial struct EventTraceHeaderUnion4Union2 + { + public EventTraceHeaderUnion4Union2 + ( + uint? clientContext = null, + uint? flags = null + ) : this() + { + if (clientContext is not null) + { + ClientContext = clientContext.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ClientContext")] + public uint ClientContext; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Flags")] + public uint Flags; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilea.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilea.gen.cs new file mode 100644 index 0000000000..1fc7f1232e --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilea.gen.cs @@ -0,0 +1,262 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_TRACE_LOGFILEA")] + public unsafe partial struct EventTraceLogfilea + { + public EventTraceLogfilea + ( + byte* logFileName = null, + byte* loggerName = null, + long? currentTime = null, + uint? buffersRead = null, + EventTraceLogfileaUnion1? anonymous1 = null, + EventTrace? currentEvent = null, + TraceLogfileHeader? logfileHeader = null, + PfnPeventTraceBufferCallbacka? bufferCallback = null, + uint? bufferSize = null, + uint? filled = null, + uint? eventsLost = null, + EventTraceLogfileaUnion2? anonymous2 = null, + uint? isKernelTrace = null, + void* context = null, + uint? logFileMode = null, + uint? processTraceMode = null, + PfnPeventCallback? eventCallback = null, + PfnPeventRecordCallback? eventRecordCallback = null + ) : this() + { + if (logFileName is not null) + { + LogFileName = logFileName; + } + + if (loggerName is not null) + { + LoggerName = loggerName; + } + + if (currentTime is not null) + { + CurrentTime = currentTime.Value; + } + + if (buffersRead is not null) + { + BuffersRead = buffersRead.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (currentEvent is not null) + { + CurrentEvent = currentEvent.Value; + } + + if (logfileHeader is not null) + { + LogfileHeader = logfileHeader.Value; + } + + if (bufferCallback is not null) + { + BufferCallback = bufferCallback.Value; + } + + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (filled is not null) + { + Filled = filled.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (isKernelTrace is not null) + { + IsKernelTrace = isKernelTrace.Value; + } + + if (context is not null) + { + Context = context; + } + + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (processTraceMode is not null) + { + ProcessTraceMode = processTraceMode.Value; + } + + if (eventCallback is not null) + { + EventCallback = eventCallback.Value; + } + + if (eventRecordCallback is not null) + { + EventRecordCallback = eventRecordCallback.Value; + } + } + + + [NativeName("Type", "LPSTR")] + [NativeName("Type.Name", "LPSTR")] + [NativeName("Name", "LogFileName")] + public byte* LogFileName; + + [NativeName("Type", "LPSTR")] + [NativeName("Type.Name", "LPSTR")] + [NativeName("Name", "LoggerName")] + public byte* LoggerName; + + [NativeName("Type", "LONGLONG")] + [NativeName("Type.Name", "LONGLONG")] + [NativeName("Name", "CurrentTime")] + public long CurrentTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersRead")] + public uint BuffersRead; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L1172_C5")] + [NativeName("Name", "anonymous1")] + public EventTraceLogfileaUnion1 Anonymous1; + + [NativeName("Type", "EVENT_TRACE")] + [NativeName("Type.Name", "EVENT_TRACE")] + [NativeName("Name", "CurrentEvent")] + public EventTrace CurrentEvent; + + [NativeName("Type", "TRACE_LOGFILE_HEADER")] + [NativeName("Type.Name", "TRACE_LOGFILE_HEADER")] + [NativeName("Name", "LogfileHeader")] + public TraceLogfileHeader LogfileHeader; + + [NativeName("Type", "PEVENT_TRACE_BUFFER_CALLBACKA")] + [NativeName("Type.Name", "PEVENT_TRACE_BUFFER_CALLBACKA")] + [NativeName("Name", "BufferCallback")] + public PfnPeventTraceBufferCallbacka BufferCallback; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BufferSize")] + public uint BufferSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Filled")] + public uint Filled; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventsLost")] + public uint EventsLost; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L1190_C5")] + [NativeName("Name", "anonymous2")] + public EventTraceLogfileaUnion2 Anonymous2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "IsKernelTrace")] + public uint IsKernelTrace; + + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "Context")] + public void* Context; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint LogFileMode + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].LogFileMode; + } +#else + public uint LogFileMode + { + get => Anonymous1.LogFileMode; + set => Anonymous1.LogFileMode = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint ProcessTraceMode + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].ProcessTraceMode; + } +#else + public uint ProcessTraceMode + { + get => Anonymous1.ProcessTraceMode; + set => Anonymous1.ProcessTraceMode = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref PfnPeventCallback EventCallback + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventCallback; + } +#else + public PfnPeventCallback EventCallback + { + get => Anonymous2.EventCallback; + set => Anonymous2.EventCallback = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref PfnPeventRecordCallback EventRecordCallback + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventRecordCallback; + } +#else + public PfnPeventRecordCallback EventRecordCallback + { + get => Anonymous2.EventRecordCallback; + set => Anonymous2.EventRecordCallback = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfileaUnion1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfileaUnion1.gen.cs new file mode 100644 index 0000000000..1ae9a9b3cf --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfileaUnion1.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L1172_C5")] + public unsafe partial struct EventTraceLogfileaUnion1 + { + public EventTraceLogfileaUnion1 + ( + uint? logFileMode = null, + uint? processTraceMode = null + ) : this() + { + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (processTraceMode is not null) + { + ProcessTraceMode = processTraceMode.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileMode")] + public uint LogFileMode; + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProcessTraceMode")] + public uint ProcessTraceMode; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfileaUnion2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfileaUnion2.gen.cs new file mode 100644 index 0000000000..0a644b965f --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfileaUnion2.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L1190_C5")] + public unsafe partial struct EventTraceLogfileaUnion2 + { + public EventTraceLogfileaUnion2 + ( + PfnPeventCallback? eventCallback = null, + PfnPeventRecordCallback? eventRecordCallback = null + ) : this() + { + if (eventCallback is not null) + { + EventCallback = eventCallback.Value; + } + + if (eventRecordCallback is not null) + { + EventRecordCallback = eventRecordCallback.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "PEVENT_CALLBACK")] + [NativeName("Type.Name", "PEVENT_CALLBACK")] + [NativeName("Name", "EventCallback")] + public PfnPeventCallback EventCallback; + + [FieldOffset(0)] + [NativeName("Type", "PEVENT_RECORD_CALLBACK")] + [NativeName("Type.Name", "PEVENT_RECORD_CALLBACK")] + [NativeName("Name", "EventRecordCallback")] + public PfnPeventRecordCallback EventRecordCallback; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilew.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilew.gen.cs new file mode 100644 index 0000000000..24d4701800 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilew.gen.cs @@ -0,0 +1,263 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + [NativeName("Name", "_EVENT_TRACE_LOGFILEW")] + public unsafe partial struct EventTraceLogfilew + { + public EventTraceLogfilew + ( + char* logFileName = null, + char* loggerName = null, + long? currentTime = null, + uint? buffersRead = null, + EventTraceLogfilewUnion1? anonymous1 = null, + EventTrace? currentEvent = null, + TraceLogfileHeader? logfileHeader = null, + PfnPeventTraceBufferCallbackw? bufferCallback = null, + uint? bufferSize = null, + uint? filled = null, + uint? eventsLost = null, + EventTraceLogfilewUnion2? anonymous2 = null, + uint? isKernelTrace = null, + void* context = null, + uint? logFileMode = null, + uint? processTraceMode = null, + PfnPeventCallback? eventCallback = null, + PfnPeventRecordCallback? eventRecordCallback = null + ) : this() + { + if (logFileName is not null) + { + LogFileName = logFileName; + } + + if (loggerName is not null) + { + LoggerName = loggerName; + } + + if (currentTime is not null) + { + CurrentTime = currentTime.Value; + } + + if (buffersRead is not null) + { + BuffersRead = buffersRead.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (currentEvent is not null) + { + CurrentEvent = currentEvent.Value; + } + + if (logfileHeader is not null) + { + LogfileHeader = logfileHeader.Value; + } + + if (bufferCallback is not null) + { + BufferCallback = bufferCallback.Value; + } + + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (filled is not null) + { + Filled = filled.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (isKernelTrace is not null) + { + IsKernelTrace = isKernelTrace.Value; + } + + if (context is not null) + { + Context = context; + } + + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (processTraceMode is not null) + { + ProcessTraceMode = processTraceMode.Value; + } + + if (eventCallback is not null) + { + EventCallback = eventCallback.Value; + } + + if (eventRecordCallback is not null) + { + EventRecordCallback = eventRecordCallback.Value; + } + } + + + [NativeName("Type", "LPWSTR")] + [NativeName("Type.Name", "LPWSTR")] + [NativeName("Name", "LogFileName")] + public char* LogFileName; + + [NativeName("Type", "LPWSTR")] + [NativeName("Type.Name", "LPWSTR")] + [NativeName("Name", "LoggerName")] + public char* LoggerName; + + [NativeName("Type", "LONGLONG")] + [NativeName("Type.Name", "LONGLONG")] + [NativeName("Name", "CurrentTime")] + public long CurrentTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersRead")] + public uint BuffersRead; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L1136_C5")] + [NativeName("Name", "anonymous1")] + public EventTraceLogfilewUnion1 Anonymous1; + + [NativeName("Type", "EVENT_TRACE")] + [NativeName("Type.Name", "EVENT_TRACE")] + [NativeName("Name", "CurrentEvent")] + public EventTrace CurrentEvent; + + [NativeName("Type", "TRACE_LOGFILE_HEADER")] + [NativeName("Type.Name", "TRACE_LOGFILE_HEADER")] + [NativeName("Name", "LogfileHeader")] + public TraceLogfileHeader LogfileHeader; + + [NativeName("Type", "PEVENT_TRACE_BUFFER_CALLBACKW")] + [NativeName("Type.Name", "PEVENT_TRACE_BUFFER_CALLBACKW")] + [NativeName("Name", "BufferCallback")] + public PfnPeventTraceBufferCallbackw BufferCallback; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BufferSize")] + public uint BufferSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Filled")] + public uint Filled; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventsLost")] + public uint EventsLost; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L1155_C5")] + [NativeName("Name", "anonymous2")] + public EventTraceLogfilewUnion2 Anonymous2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "IsKernelTrace")] + public uint IsKernelTrace; + + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "Context")] + public void* Context; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint LogFileMode + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].LogFileMode; + } +#else + public uint LogFileMode + { + get => Anonymous1.LogFileMode; + set => Anonymous1.LogFileMode = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint ProcessTraceMode + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].ProcessTraceMode; + } +#else + public uint ProcessTraceMode + { + get => Anonymous1.ProcessTraceMode; + set => Anonymous1.ProcessTraceMode = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref PfnPeventCallback EventCallback + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventCallback; + } +#else + public PfnPeventCallback EventCallback + { + get => Anonymous2.EventCallback; + set => Anonymous2.EventCallback = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref PfnPeventRecordCallback EventRecordCallback + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventRecordCallback; + } +#else + public PfnPeventRecordCallback EventRecordCallback + { + get => Anonymous2.EventRecordCallback; + set => Anonymous2.EventRecordCallback = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilewUnion1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilewUnion1.gen.cs new file mode 100644 index 0000000000..98325e6dc6 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilewUnion1.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L1136_C5")] + public unsafe partial struct EventTraceLogfilewUnion1 + { + public EventTraceLogfilewUnion1 + ( + uint? logFileMode = null, + uint? processTraceMode = null + ) : this() + { + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (processTraceMode is not null) + { + ProcessTraceMode = processTraceMode.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileMode")] + public uint LogFileMode; + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProcessTraceMode")] + public uint ProcessTraceMode; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilewUnion2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilewUnion2.gen.cs new file mode 100644 index 0000000000..31ed077b0b --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceLogfilewUnion2.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L1155_C5")] + public unsafe partial struct EventTraceLogfilewUnion2 + { + public EventTraceLogfilewUnion2 + ( + PfnPeventCallback? eventCallback = null, + PfnPeventRecordCallback? eventRecordCallback = null + ) : this() + { + if (eventCallback is not null) + { + EventCallback = eventCallback.Value; + } + + if (eventRecordCallback is not null) + { + EventRecordCallback = eventRecordCallback.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "PEVENT_CALLBACK")] + [NativeName("Type.Name", "PEVENT_CALLBACK")] + [NativeName("Name", "EventCallback")] + public PfnPeventCallback EventCallback; + + [FieldOffset(0)] + [NativeName("Type", "PEVENT_RECORD_CALLBACK")] + [NativeName("Type.Name", "PEVENT_RECORD_CALLBACK")] + [NativeName("Name", "EventRecordCallback")] + public PfnPeventRecordCallback EventRecordCallback; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceProperties.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceProperties.gen.cs new file mode 100644 index 0000000000..cb655c6d2e --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceProperties.gen.cs @@ -0,0 +1,266 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_TRACE_PROPERTIES")] + public unsafe partial struct EventTraceProperties + { + public EventTraceProperties + ( + WnodeHeader? wnode = null, + uint? bufferSize = null, + uint? minimumBuffers = null, + uint? maximumBuffers = null, + uint? maximumFileSize = null, + uint? logFileMode = null, + uint? flushTimer = null, + uint? enableFlags = null, + EventTracePropertiesUnion? anonymous = null, + uint? numberOfBuffers = null, + uint? freeBuffers = null, + uint? eventsLost = null, + uint? buffersWritten = null, + uint? logBuffersLost = null, + uint? realTimeBuffersLost = null, + void* loggerThreadId = null, + uint? logFileNameOffset = null, + uint? loggerNameOffset = null, + int? ageLimit = null, + int? flushThreshold = null + ) : this() + { + if (wnode is not null) + { + Wnode = wnode.Value; + } + + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (minimumBuffers is not null) + { + MinimumBuffers = minimumBuffers.Value; + } + + if (maximumBuffers is not null) + { + MaximumBuffers = maximumBuffers.Value; + } + + if (maximumFileSize is not null) + { + MaximumFileSize = maximumFileSize.Value; + } + + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (flushTimer is not null) + { + FlushTimer = flushTimer.Value; + } + + if (enableFlags is not null) + { + EnableFlags = enableFlags.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (numberOfBuffers is not null) + { + NumberOfBuffers = numberOfBuffers.Value; + } + + if (freeBuffers is not null) + { + FreeBuffers = freeBuffers.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (buffersWritten is not null) + { + BuffersWritten = buffersWritten.Value; + } + + if (logBuffersLost is not null) + { + LogBuffersLost = logBuffersLost.Value; + } + + if (realTimeBuffersLost is not null) + { + RealTimeBuffersLost = realTimeBuffersLost.Value; + } + + if (loggerThreadId is not null) + { + LoggerThreadId = loggerThreadId; + } + + if (logFileNameOffset is not null) + { + LogFileNameOffset = logFileNameOffset.Value; + } + + if (loggerNameOffset is not null) + { + LoggerNameOffset = loggerNameOffset.Value; + } + + if (ageLimit is not null) + { + AgeLimit = ageLimit.Value; + } + + if (flushThreshold is not null) + { + FlushThreshold = flushThreshold.Value; + } + } + + + [NativeName("Type", "WNODE_HEADER")] + [NativeName("Type.Name", "WNODE_HEADER")] + [NativeName("Name", "Wnode")] + public WnodeHeader Wnode; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BufferSize")] + public uint BufferSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MinimumBuffers")] + public uint MinimumBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaximumBuffers")] + public uint MaximumBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaximumFileSize")] + public uint MaximumFileSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileMode")] + public uint LogFileMode; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FlushTimer")] + public uint FlushTimer; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableFlags")] + public uint EnableFlags; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L873_C5")] + [NativeName("Name", "anonymous1")] + public EventTracePropertiesUnion Anonymous; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "NumberOfBuffers")] + public uint NumberOfBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FreeBuffers")] + public uint FreeBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventsLost")] + public uint EventsLost; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersWritten")] + public uint BuffersWritten; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogBuffersLost")] + public uint LogBuffersLost; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "RealTimeBuffersLost")] + public uint RealTimeBuffersLost; + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "LoggerThreadId")] + public void* LoggerThreadId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileNameOffset")] + public uint LogFileNameOffset; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LoggerNameOffset")] + public uint LoggerNameOffset; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref int AgeLimit + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].AgeLimit; + } +#else + public int AgeLimit + { + get => Anonymous.AgeLimit; + set => Anonymous.AgeLimit = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref int FlushThreshold + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].FlushThreshold; + } +#else + public int FlushThreshold + { + get => Anonymous.FlushThreshold; + set => Anonymous.FlushThreshold = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesUnion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesUnion.gen.cs new file mode 100644 index 0000000000..710ab4f93f --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesUnion.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L873_C5")] + public unsafe partial struct EventTracePropertiesUnion + { + public EventTracePropertiesUnion + ( + int? ageLimit = null, + int? flushThreshold = null + ) : this() + { + if (ageLimit is not null) + { + AgeLimit = ageLimit.Value; + } + + if (flushThreshold is not null) + { + FlushThreshold = flushThreshold.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "LONG")] + [NativeName("Type.Name", "LONG")] + [NativeName("Name", "AgeLimit")] + public int AgeLimit; + + [FieldOffset(0)] + [NativeName("Type", "LONG")] + [NativeName("Type.Name", "LONG")] + [NativeName("Name", "FlushThreshold")] + public int FlushThreshold; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2.gen.cs new file mode 100644 index 0000000000..032c78149e --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2.gen.cs @@ -0,0 +1,430 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EVENT_TRACE_PROPERTIES_V2")] + public unsafe partial struct EventTracePropertiesV2 + { + public EventTracePropertiesV2 + ( + WnodeHeader? wnode = null, + uint? bufferSize = null, + uint? minimumBuffers = null, + uint? maximumBuffers = null, + uint? maximumFileSize = null, + uint? logFileMode = null, + uint? flushTimer = null, + uint? enableFlags = null, + EventTracePropertiesV2Union1? anonymous1 = null, + uint? numberOfBuffers = null, + uint? freeBuffers = null, + uint? eventsLost = null, + uint? buffersWritten = null, + uint? logBuffersLost = null, + uint? realTimeBuffersLost = null, + void* loggerThreadId = null, + uint? logFileNameOffset = null, + uint? loggerNameOffset = null, + EventTracePropertiesV2Union2? anonymous2 = null, + uint? filterDescCount = null, + EventFilterDescriptor* filterDesc = null, + EventTracePropertiesV2Union3? anonymous3 = null, + int? ageLimit = null, + int? flushThreshold = null, + EventTracePropertiesV2Union2Union? anonymous = null, + uint? v2Control = null, + uint? versionNumber = null, + ulong? v2Options = null, + uint? wow = null, + uint? qpcDeltaTracking = null, + uint? largeMdlPages = null, + uint? excludeKernelStack = null + ) : this() + { + if (wnode is not null) + { + Wnode = wnode.Value; + } + + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (minimumBuffers is not null) + { + MinimumBuffers = minimumBuffers.Value; + } + + if (maximumBuffers is not null) + { + MaximumBuffers = maximumBuffers.Value; + } + + if (maximumFileSize is not null) + { + MaximumFileSize = maximumFileSize.Value; + } + + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (flushTimer is not null) + { + FlushTimer = flushTimer.Value; + } + + if (enableFlags is not null) + { + EnableFlags = enableFlags.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (numberOfBuffers is not null) + { + NumberOfBuffers = numberOfBuffers.Value; + } + + if (freeBuffers is not null) + { + FreeBuffers = freeBuffers.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (buffersWritten is not null) + { + BuffersWritten = buffersWritten.Value; + } + + if (logBuffersLost is not null) + { + LogBuffersLost = logBuffersLost.Value; + } + + if (realTimeBuffersLost is not null) + { + RealTimeBuffersLost = realTimeBuffersLost.Value; + } + + if (loggerThreadId is not null) + { + LoggerThreadId = loggerThreadId; + } + + if (logFileNameOffset is not null) + { + LogFileNameOffset = logFileNameOffset.Value; + } + + if (loggerNameOffset is not null) + { + LoggerNameOffset = loggerNameOffset.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (filterDescCount is not null) + { + FilterDescCount = filterDescCount.Value; + } + + if (filterDesc is not null) + { + FilterDesc = filterDesc; + } + + if (anonymous3 is not null) + { + Anonymous3 = anonymous3.Value; + } + + if (ageLimit is not null) + { + AgeLimit = ageLimit.Value; + } + + if (flushThreshold is not null) + { + FlushThreshold = flushThreshold.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (v2Control is not null) + { + V2Control = v2Control.Value; + } + + if (versionNumber is not null) + { + VersionNumber = versionNumber.Value; + } + + if (v2Options is not null) + { + V2Options = v2Options.Value; + } + + if (wow is not null) + { + Wow = wow.Value; + } + + if (qpcDeltaTracking is not null) + { + QpcDeltaTracking = qpcDeltaTracking.Value; + } + + if (largeMdlPages is not null) + { + LargeMdlPages = largeMdlPages.Value; + } + + if (excludeKernelStack is not null) + { + ExcludeKernelStack = excludeKernelStack.Value; + } + } + + + [NativeName("Type", "WNODE_HEADER")] + [NativeName("Type.Name", "WNODE_HEADER")] + [NativeName("Name", "Wnode")] + public WnodeHeader Wnode; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BufferSize")] + public uint BufferSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MinimumBuffers")] + public uint MinimumBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaximumBuffers")] + public uint MaximumBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaximumFileSize")] + public uint MaximumFileSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileMode")] + public uint LogFileMode; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FlushTimer")] + public uint FlushTimer; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableFlags")] + public uint EnableFlags; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L901_C5")] + [NativeName("Name", "anonymous1")] + public EventTracePropertiesV2Union1 Anonymous1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "NumberOfBuffers")] + public uint NumberOfBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FreeBuffers")] + public uint FreeBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventsLost")] + public uint EventsLost; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersWritten")] + public uint BuffersWritten; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogBuffersLost")] + public uint LogBuffersLost; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "RealTimeBuffersLost")] + public uint RealTimeBuffersLost; + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "LoggerThreadId")] + public void* LoggerThreadId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileNameOffset")] + public uint LogFileNameOffset; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LoggerNameOffset")] + public uint LoggerNameOffset; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L918_C5")] + [NativeName("Name", "anonymous2")] + public EventTracePropertiesV2Union2 Anonymous2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FilterDescCount")] + public uint FilterDescCount; + + [NativeName("Type", "PEVENT_FILTER_DESCRIPTOR")] + [NativeName("Type.Name", "PEVENT_FILTER_DESCRIPTOR")] + [NativeName("Name", "FilterDesc")] + public EventFilterDescriptor* FilterDesc; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L926_C5")] + [NativeName("Name", "anonymous3")] + public EventTracePropertiesV2Union3 Anonymous3; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref int AgeLimit + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].AgeLimit; + } +#else + public int AgeLimit + { + get => Anonymous1.AgeLimit; + set => Anonymous1.AgeLimit = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref int FlushThreshold + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].FlushThreshold; + } +#else + public int FlushThreshold + { + get => Anonymous1.FlushThreshold; + set => Anonymous1.FlushThreshold = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref EventTracePropertiesV2Union2Union Anonymous + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Anonymous; + } +#else + public EventTracePropertiesV2Union2Union Anonymous + { + get => Anonymous2.Anonymous; + set => Anonymous2.Anonymous = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint V2Control + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].V2Control; + } +#else + public uint V2Control + { + get => Anonymous2.V2Control; + set => Anonymous2.V2Control = value; + } +#endif + + public uint VersionNumber + { + get => Anonymous2.VersionNumber; + set => Anonymous2.VersionNumber = value; + } + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ulong V2Options + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous3, 1)[0].V2Options; + } +#else + public ulong V2Options + { + get => Anonymous3.V2Options; + set => Anonymous3.V2Options = value; + } +#endif + + public uint Wow + { + get => Anonymous3.Wow; + set => Anonymous3.Wow = value; + } + + public uint QpcDeltaTracking + { + get => Anonymous3.QpcDeltaTracking; + set => Anonymous3.QpcDeltaTracking = value; + } + + public uint LargeMdlPages + { + get => Anonymous3.LargeMdlPages; + set => Anonymous3.LargeMdlPages = value; + } + + public uint ExcludeKernelStack + { + get => Anonymous3.ExcludeKernelStack; + set => Anonymous3.ExcludeKernelStack = value; + } + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union1.gen.cs new file mode 100644 index 0000000000..ddc2328d82 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union1.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L901_C5")] + public unsafe partial struct EventTracePropertiesV2Union1 + { + public EventTracePropertiesV2Union1 + ( + int? ageLimit = null, + int? flushThreshold = null + ) : this() + { + if (ageLimit is not null) + { + AgeLimit = ageLimit.Value; + } + + if (flushThreshold is not null) + { + FlushThreshold = flushThreshold.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "LONG")] + [NativeName("Type.Name", "LONG")] + [NativeName("Name", "AgeLimit")] + public int AgeLimit; + + [FieldOffset(0)] + [NativeName("Type", "LONG")] + [NativeName("Type.Name", "LONG")] + [NativeName("Name", "FlushThreshold")] + public int FlushThreshold; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union2.gen.cs new file mode 100644 index 0000000000..6c4eefb48d --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union2.gen.cs @@ -0,0 +1,65 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L918_C5")] + public unsafe partial struct EventTracePropertiesV2Union2 + { + public EventTracePropertiesV2Union2 + ( + EventTracePropertiesV2Union2Union? anonymous = null, + uint? v2Control = null, + uint? versionNumber = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (v2Control is not null) + { + V2Control = v2Control.Value; + } + + if (versionNumber is not null) + { + VersionNumber = versionNumber.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L919_C9")] + [NativeName("Name", "anonymous1")] + public EventTracePropertiesV2Union2Union Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "V2Control")] + public uint V2Control; + public uint VersionNumber + { + get => Anonymous.VersionNumber; + set => Anonymous.VersionNumber = value; + } + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union2Union.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union2Union.gen.cs new file mode 100644 index 0000000000..4f2effb42b --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union2Union.gen.cs @@ -0,0 +1,44 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L919_C9")] + public unsafe partial struct EventTracePropertiesV2Union2Union + { + public EventTracePropertiesV2Union2Union + ( + uint? versionNumber = null + ) : this() + { + if (versionNumber is not null) + { + VersionNumber = versionNumber.Value; + } + } + + + private uint _bitfield1; + + public uint VersionNumber + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0xFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0xFFu) | (uint)((uint)(value) & 0xFFu)); + } + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union3.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union3.gen.cs new file mode 100644 index 0000000000..8754dbe98d --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union3.gen.cs @@ -0,0 +1,101 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L926_C5")] + public unsafe partial struct EventTracePropertiesV2Union3 + { + public EventTracePropertiesV2Union3 + ( + EventTracePropertiesV2Union3Union? anonymous = null, + ulong? v2Options = null, + uint? wow = null, + uint? qpcDeltaTracking = null, + uint? largeMdlPages = null, + uint? excludeKernelStack = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (v2Options is not null) + { + V2Options = v2Options.Value; + } + + if (wow is not null) + { + Wow = wow.Value; + } + + if (qpcDeltaTracking is not null) + { + QpcDeltaTracking = qpcDeltaTracking.Value; + } + + if (largeMdlPages is not null) + { + LargeMdlPages = largeMdlPages.Value; + } + + if (excludeKernelStack is not null) + { + ExcludeKernelStack = excludeKernelStack.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L927_C9")] + [NativeName("Name", "anonymous1")] + public EventTracePropertiesV2Union3Union Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "ULONG64")] + [NativeName("Type.Name", "ULONG64")] + [NativeName("Name", "V2Options")] + public ulong V2Options; + public uint Wow + { + get => Anonymous.Wow; + set => Anonymous.Wow = value; + } + + public uint QpcDeltaTracking + { + get => Anonymous.QpcDeltaTracking; + set => Anonymous.QpcDeltaTracking = value; + } + + public uint LargeMdlPages + { + get => Anonymous.LargeMdlPages; + set => Anonymous.LargeMdlPages = value; + } + + public uint ExcludeKernelStack + { + get => Anonymous.ExcludeKernelStack; + set => Anonymous.ExcludeKernelStack = value; + } + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union3Union.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union3Union.gen.cs new file mode 100644 index 0000000000..a79c85eafb --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTracePropertiesV2Union3Union.gen.cs @@ -0,0 +1,86 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L927_C9")] + public unsafe partial struct EventTracePropertiesV2Union3Union + { + public EventTracePropertiesV2Union3Union + ( + uint? wow = null, + uint? qpcDeltaTracking = null, + uint? largeMdlPages = null, + uint? excludeKernelStack = null + ) : this() + { + if (wow is not null) + { + Wow = wow.Value; + } + + if (qpcDeltaTracking is not null) + { + QpcDeltaTracking = qpcDeltaTracking.Value; + } + + if (largeMdlPages is not null) + { + LargeMdlPages = largeMdlPages.Value; + } + + if (excludeKernelStack is not null) + { + ExcludeKernelStack = excludeKernelStack.Value; + } + } + + + private uint _bitfield1; + + public uint Wow + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0x1u) | (uint)((uint)(value) & 0x1u)); + } + + public uint QpcDeltaTracking + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 1) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 1)) | (uint)(((uint)(value) & 0x1u) << 1)); + } + + public uint LargeMdlPages + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 2) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 2)) | (uint)(((uint)(value) & 0x1u) << 2)); + } + + public uint ExcludeKernelStack + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 3) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 3)) | (uint)(((uint)(value) & 0x1u) << 3)); + } + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceUnion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceUnion.gen.cs new file mode 100644 index 0000000000..521decacc8 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/EventTraceUnion.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L1058_C5")] + public unsafe partial struct EventTraceUnion + { + public EventTraceUnion + ( + uint? clientContext = null, + EtwBufferContext? bufferContext = null + ) : this() + { + if (clientContext is not null) + { + ClientContext = clientContext.Value; + } + + if (bufferContext is not null) + { + BufferContext = bufferContext.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ClientContext")] + public uint ClientContext; + + [FieldOffset(0)] + [NativeName("Type", "ETW_BUFFER_CONTEXT")] + [NativeName("Type.Name", "ETW_BUFFER_CONTEXT")] + [NativeName("Name", "BufferContext")] + public EtwBufferContext BufferContext; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ExceptionDebugInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ExceptionDebugInfo.gen.cs new file mode 100644 index 0000000000..666d9b81bc --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ExceptionDebugInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EXCEPTION_DEBUG_INFO")] + public unsafe partial struct ExceptionDebugInfo + { + public ExceptionDebugInfo + ( + ExceptionRecord? exceptionRecord = null, + uint? dwFirstChance = null + ) : this() + { + if (exceptionRecord is not null) + { + ExceptionRecord = exceptionRecord.Value; + } + + if (dwFirstChance is not null) + { + DwFirstChance = dwFirstChance.Value; + } + } + + + [NativeName("Type", "EXCEPTION_RECORD")] + [NativeName("Type.Name", "EXCEPTION_RECORD")] + [NativeName("Name", "ExceptionRecord")] + public ExceptionRecord ExceptionRecord; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwFirstChance")] + public uint DwFirstChance; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ExitProcessDebugInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ExitProcessDebugInfo.gen.cs new file mode 100644 index 0000000000..7a2883768b --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ExitProcessDebugInfo.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EXIT_PROCESS_DEBUG_INFO")] + public unsafe partial struct ExitProcessDebugInfo + { + public ExitProcessDebugInfo + ( + uint? dwExitCode = null + ) : this() + { + if (dwExitCode is not null) + { + DwExitCode = dwExitCode.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwExitCode")] + public uint DwExitCode; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ExitThreadDebugInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ExitThreadDebugInfo.gen.cs new file mode 100644 index 0000000000..3afedebe05 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ExitThreadDebugInfo.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_EXIT_THREAD_DEBUG_INFO")] + public unsafe partial struct ExitThreadDebugInfo + { + public ExitThreadDebugInfo + ( + uint? dwExitCode = null + ) : this() + { + if (dwExitCode is not null) + { + DwExitCode = dwExitCode.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwExitCode")] + public uint DwExitCode; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/LoadDllDebugInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/LoadDllDebugInfo.gen.cs new file mode 100644 index 0000000000..71d9ca2094 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/LoadDllDebugInfo.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_LOAD_DLL_DEBUG_INFO")] + public unsafe partial struct LoadDllDebugInfo + { + public LoadDllDebugInfo + ( + void* hFile = null, + void* lpBaseOfDll = null, + uint? dwDebugInfoFileOffset = null, + uint? nDebugInfoSize = null, + void* lpImageName = null, + ushort? fUnicode = null + ) : this() + { + if (hFile is not null) + { + HFile = hFile; + } + + if (lpBaseOfDll is not null) + { + LpBaseOfDll = lpBaseOfDll; + } + + if (dwDebugInfoFileOffset is not null) + { + DwDebugInfoFileOffset = dwDebugInfoFileOffset.Value; + } + + if (nDebugInfoSize is not null) + { + NDebugInfoSize = nDebugInfoSize.Value; + } + + if (lpImageName is not null) + { + LpImageName = lpImageName; + } + + if (fUnicode is not null) + { + FUnicode = fUnicode.Value; + } + } + + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "hFile")] + public void* HFile; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpBaseOfDll")] + public void* LpBaseOfDll; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwDebugInfoFileOffset")] + public uint DwDebugInfoFileOffset; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "nDebugInfoSize")] + public uint NDebugInfoSize; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpImageName")] + public void* LpImageName; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "fUnicode")] + public ushort FUnicode; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/MofField.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/MofField.gen.cs new file mode 100644 index 0000000000..3c1b58a275 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/MofField.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_MOF_FIELD")] + public unsafe partial struct MofField + { + public MofField + ( + ulong? dataPtr = null, + uint? length = null, + uint? dataType = null + ) : this() + { + if (dataPtr is not null) + { + DataPtr = dataPtr.Value; + } + + if (length is not null) + { + Length = length.Value; + } + + if (dataType is not null) + { + DataType = dataType.Value; + } + } + + + [NativeName("Type", "ULONG64")] + [NativeName("Type.Name", "ULONG64")] + [NativeName("Name", "DataPtr")] + public ulong DataPtr; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Length")] + public uint Length; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "DataType")] + public uint DataType; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/OutputDebugStringInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/OutputDebugStringInfo.gen.cs new file mode 100644 index 0000000000..5aed6b3a9e --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/OutputDebugStringInfo.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_OUTPUT_DEBUG_STRING_INFO")] + public unsafe partial struct OutputDebugStringInfo + { + public OutputDebugStringInfo + ( + byte* lpDebugStringData = null, + ushort? fUnicode = null, + ushort? nDebugStringLength = null + ) : this() + { + if (lpDebugStringData is not null) + { + LpDebugStringData = lpDebugStringData; + } + + if (fUnicode is not null) + { + FUnicode = fUnicode.Value; + } + + if (nDebugStringLength is not null) + { + NDebugStringLength = nDebugStringLength.Value; + } + } + + + [NativeName("Type", "LPSTR")] + [NativeName("Type.Name", "LPSTR")] + [NativeName("Name", "lpDebugStringData")] + public byte* LpDebugStringData; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "fUnicode")] + public ushort FUnicode; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "nDebugStringLength")] + public ushort NDebugStringLength; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/Overlapped.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/Overlapped.gen.cs new file mode 100644 index 0000000000..dc07ee0abf --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/Overlapped.gen.cs @@ -0,0 +1,132 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_OVERLAPPED")] + public unsafe partial struct Overlapped + { + public Overlapped + ( + nuint? @internal = null, + nuint? internalHigh = null, + OverlappedUnion? anonymous = null, + void* hEvent = null, + void* pointer = null, + uint? offset = null, + uint? offsetHigh = null + ) : this() + { + if (@internal is not null) + { + Internal = @internal.Value; + } + + if (internalHigh is not null) + { + InternalHigh = internalHigh.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (hEvent is not null) + { + HEvent = hEvent; + } + + if (pointer is not null) + { + Pointer = pointer; + } + + if (offset is not null) + { + Offset = offset.Value; + } + + if (offsetHigh is not null) + { + OffsetHigh = offsetHigh.Value; + } + } + + + [NativeName("Type", "ULONG_PTR")] + [NativeName("Type.Name", "ULONG_PTR")] + [NativeName("Name", "Internal")] + public nuint Internal; + + [NativeName("Type", "ULONG_PTR")] + [NativeName("Type.Name", "ULONG_PTR")] + [NativeName("Name", "InternalHigh")] + public nuint InternalHigh; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_minwinbase_L55_C5")] + [NativeName("Name", "anonymous1")] + public OverlappedUnion Anonymous; + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "hEvent")] + public void* HEvent; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref void* Pointer + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Pointer; + } +#else + public void* Pointer + { + get => Anonymous.Pointer; + set => Anonymous.Pointer = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Offset + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Offset; + } +#else + public uint Offset + { + get => Anonymous.Offset; + set => Anonymous.Offset = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint OffsetHigh + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].OffsetHigh; + } +#else + public uint OffsetHigh + { + get => Anonymous.OffsetHigh; + set => Anonymous.OffsetHigh = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedEntry.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedEntry.gen.cs new file mode 100644 index 0000000000..f2af90da84 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedEntry.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_OVERLAPPED_ENTRY")] + public unsafe partial struct OverlappedEntry + { + public OverlappedEntry + ( + nuint? lpCompletionKey = null, + Overlapped* lpOverlapped = null, + nuint? @internal = null, + uint? dwNumberOfBytesTransferred = null + ) : this() + { + if (lpCompletionKey is not null) + { + LpCompletionKey = lpCompletionKey.Value; + } + + if (lpOverlapped is not null) + { + LpOverlapped = lpOverlapped; + } + + if (@internal is not null) + { + Internal = @internal.Value; + } + + if (dwNumberOfBytesTransferred is not null) + { + DwNumberOfBytesTransferred = dwNumberOfBytesTransferred.Value; + } + } + + + [NativeName("Type", "ULONG_PTR")] + [NativeName("Type.Name", "ULONG_PTR")] + [NativeName("Name", "lpCompletionKey")] + public nuint LpCompletionKey; + + [NativeName("Type", "LPOVERLAPPED")] + [NativeName("Type.Name", "LPOVERLAPPED")] + [NativeName("Name", "lpOverlapped")] + public Overlapped* LpOverlapped; + + [NativeName("Type", "ULONG_PTR")] + [NativeName("Type.Name", "ULONG_PTR")] + [NativeName("Name", "Internal")] + public nuint Internal; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwNumberOfBytesTransferred")] + public uint DwNumberOfBytesTransferred; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedUnion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedUnion.gen.cs new file mode 100644 index 0000000000..2abece5c5c --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedUnion.gen.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_minwinbase_L55_C5")] + public unsafe partial struct OverlappedUnion + { + public OverlappedUnion + ( + OverlappedUnionUnion? anonymous = null, + void* pointer = null, + uint? offset = null, + uint? offsetHigh = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (pointer is not null) + { + Pointer = pointer; + } + + if (offset is not null) + { + Offset = offset.Value; + } + + if (offsetHigh is not null) + { + OffsetHigh = offsetHigh.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_minwinbase_L56_C9")] + [NativeName("Name", "anonymous1")] + public OverlappedUnionUnion Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "Pointer")] + public void* Pointer; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Offset + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Offset; + } +#else + public uint Offset + { + get => Anonymous.Offset; + set => Anonymous.Offset = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint OffsetHigh + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].OffsetHigh; + } +#else + public uint OffsetHigh + { + get => Anonymous.OffsetHigh; + set => Anonymous.OffsetHigh = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedUnionUnion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedUnionUnion.gen.cs new file mode 100644 index 0000000000..27910510fa --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/OverlappedUnionUnion.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_minwinbase_L56_C9")] + public unsafe partial struct OverlappedUnionUnion + { + public OverlappedUnionUnion + ( + uint? offset = null, + uint? offsetHigh = null + ) : this() + { + if (offset is not null) + { + Offset = offset.Value; + } + + if (offsetHigh is not null) + { + OffsetHigh = offsetHigh.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Offset")] + public uint Offset; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "OffsetHigh")] + public uint OffsetHigh; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventCallback.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventCallback.gen.cs new file mode 100644 index 0000000000..6c21a062ad --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventCallback.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public unsafe readonly struct PfnPeventCallback : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPeventCallback + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPeventCallback + ( + PeventCallback proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPeventCallback From(PeventCallback proc) => new PfnPeventCallback(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPeventCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnPeventCallback(nint pfn) + => new PfnPeventCallback((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPeventCallback(PeventCallback proc) + => new PfnPeventCallback(proc); + + public static explicit operator PeventCallback(PfnPeventCallback pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPeventCallback pfn) => pfn.Handle; + public static implicit operator PfnPeventCallback(delegate* unmanaged[Cdecl] ptr) => new PfnPeventCallback(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PeventCallback(EventTrace* arg0); +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventRecordCallback.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventRecordCallback.gen.cs new file mode 100644 index 0000000000..16cfc93304 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventRecordCallback.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public unsafe readonly struct PfnPeventRecordCallback : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPeventRecordCallback + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPeventRecordCallback + ( + PeventRecordCallback proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPeventRecordCallback From(PeventRecordCallback proc) => new PfnPeventRecordCallback(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPeventRecordCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnPeventRecordCallback(nint pfn) + => new PfnPeventRecordCallback((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPeventRecordCallback(PeventRecordCallback proc) + => new PfnPeventRecordCallback(proc); + + public static explicit operator PeventRecordCallback(PfnPeventRecordCallback pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPeventRecordCallback pfn) => pfn.Handle; + public static implicit operator PfnPeventRecordCallback(delegate* unmanaged[Cdecl] ptr) => new PfnPeventRecordCallback(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PeventRecordCallback(EventRecord* arg0); +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventTraceBufferCallbacka.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventTraceBufferCallbacka.gen.cs new file mode 100644 index 0000000000..8b855eb873 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventTraceBufferCallbacka.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public unsafe readonly struct PfnPeventTraceBufferCallbacka : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPeventTraceBufferCallbacka + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPeventTraceBufferCallbacka + ( + PeventTraceBufferCallbacka proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPeventTraceBufferCallbacka From(PeventTraceBufferCallbacka proc) => new PfnPeventTraceBufferCallbacka(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPeventTraceBufferCallbacka pfn) => (nint) pfn.Handle; + public static explicit operator PfnPeventTraceBufferCallbacka(nint pfn) + => new PfnPeventTraceBufferCallbacka((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPeventTraceBufferCallbacka(PeventTraceBufferCallbacka proc) + => new PfnPeventTraceBufferCallbacka(proc); + + public static explicit operator PeventTraceBufferCallbacka(PfnPeventTraceBufferCallbacka pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPeventTraceBufferCallbacka pfn) => pfn.Handle; + public static implicit operator PfnPeventTraceBufferCallbacka(delegate* unmanaged[Cdecl] ptr) => new PfnPeventTraceBufferCallbacka(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate uint PeventTraceBufferCallbacka(EventTraceLogfilea* arg0); +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventTraceBufferCallbackw.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventTraceBufferCallbackw.gen.cs new file mode 100644 index 0000000000..922884d0b3 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPeventTraceBufferCallbackw.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public unsafe readonly struct PfnPeventTraceBufferCallbackw : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPeventTraceBufferCallbackw + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPeventTraceBufferCallbackw + ( + PeventTraceBufferCallbackw proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPeventTraceBufferCallbackw From(PeventTraceBufferCallbackw proc) => new PfnPeventTraceBufferCallbackw(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPeventTraceBufferCallbackw pfn) => (nint) pfn.Handle; + public static explicit operator PfnPeventTraceBufferCallbackw(nint pfn) + => new PfnPeventTraceBufferCallbackw((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPeventTraceBufferCallbackw(PeventTraceBufferCallbackw proc) + => new PfnPeventTraceBufferCallbackw(proc); + + public static explicit operator PeventTraceBufferCallbackw(PfnPeventTraceBufferCallbackw pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPeventTraceBufferCallbackw pfn) => pfn.Handle; + public static implicit operator PfnPeventTraceBufferCallbackw(delegate* unmanaged[Cdecl] ptr) => new PfnPeventTraceBufferCallbackw(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate uint PeventTraceBufferCallbackw(EventTraceLogfilew* arg0); +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPthreadStartRoutine.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPthreadStartRoutine.gen.cs new file mode 100644 index 0000000000..60c967ad67 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnPthreadStartRoutine.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public unsafe readonly struct PfnPthreadStartRoutine : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPthreadStartRoutine + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPthreadStartRoutine + ( + PthreadStartRoutine proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPthreadStartRoutine From(PthreadStartRoutine proc) => new PfnPthreadStartRoutine(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPthreadStartRoutine pfn) => (nint) pfn.Handle; + public static explicit operator PfnPthreadStartRoutine(nint pfn) + => new PfnPthreadStartRoutine((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPthreadStartRoutine(PthreadStartRoutine proc) + => new PfnPthreadStartRoutine(proc); + + public static explicit operator PthreadStartRoutine(PfnPthreadStartRoutine pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPthreadStartRoutine pfn) => pfn.Handle; + public static implicit operator PfnPthreadStartRoutine(delegate* unmanaged[Cdecl] ptr) => new PfnPthreadStartRoutine(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate uint PthreadStartRoutine(void* arg0); +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnWmidprequest.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnWmidprequest.gen.cs new file mode 100644 index 0000000000..3f7f2855e7 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/PfnWmidprequest.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public unsafe readonly struct PfnWmidprequest : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnWmidprequest + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnWmidprequest + ( + Wmidprequest proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnWmidprequest From(Wmidprequest proc) => new PfnWmidprequest(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnWmidprequest pfn) => (nint) pfn.Handle; + public static explicit operator PfnWmidprequest(nint pfn) + => new PfnWmidprequest((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnWmidprequest(Wmidprequest proc) + => new PfnWmidprequest(proc); + + public static explicit operator Wmidprequest(PfnWmidprequest pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnWmidprequest pfn) => pfn.Handle; + public static implicit operator PfnWmidprequest(delegate* unmanaged[Cdecl] ptr) => new PfnWmidprequest(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate uint Wmidprequest(Wmidprequestcode arg0, void* arg1, uint* arg2, void* arg3); +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntry.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntry.gen.cs new file mode 100644 index 0000000000..2bb8565711 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntry.gen.cs @@ -0,0 +1,134 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_PROCESS_HEAP_ENTRY")] + public unsafe partial struct ProcessHeapEntry + { + public ProcessHeapEntry + ( + void* lpData = null, + uint? cbData = null, + byte? cbOverhead = null, + byte? iRegionIndex = null, + ushort? wFlags = null, + ProcessHeapEntryUnion? anonymous = null, + ProcessHeapEntryUnionBlock? block = null, + ProcessHeapEntryUnionRegion? region = null + ) : this() + { + if (lpData is not null) + { + LpData = lpData; + } + + if (cbData is not null) + { + CbData = cbData.Value; + } + + if (cbOverhead is not null) + { + CbOverhead = cbOverhead.Value; + } + + if (iRegionIndex is not null) + { + IRegionIndex = iRegionIndex.Value; + } + + if (wFlags is not null) + { + WFlags = wFlags.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (block is not null) + { + Block = block.Value; + } + + if (region is not null) + { + Region = region.Value; + } + } + + + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "lpData")] + public void* LpData; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "cbData")] + public uint CbData; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "cbOverhead")] + public byte CbOverhead; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "iRegionIndex")] + public byte IRegionIndex; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wFlags")] + public ushort WFlags; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_minwinbase_L244_C5")] + [NativeName("Name", "anonymous1")] + public ProcessHeapEntryUnion Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ProcessHeapEntryUnionBlock Block + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Block; + } +#else + public ProcessHeapEntryUnionBlock Block + { + get => Anonymous.Block; + set => Anonymous.Block = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ProcessHeapEntryUnionRegion Region + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Region; + } +#else + public ProcessHeapEntryUnionRegion Region + { + get => Anonymous.Region; + set => Anonymous.Region = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnion.gen.cs new file mode 100644 index 0000000000..c080f0bfbd --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnion.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_minwinbase_L244_C5")] + public unsafe partial struct ProcessHeapEntryUnion + { + public ProcessHeapEntryUnion + ( + ProcessHeapEntryUnionBlock? block = null, + ProcessHeapEntryUnionRegion? region = null + ) : this() + { + if (block is not null) + { + Block = block.Value; + } + + if (region is not null) + { + Region = region.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:245:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:245:9)")] + [NativeName("Name", "Block")] + public ProcessHeapEntryUnionBlock Block; + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:249:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:249:9)")] + [NativeName("Name", "Region")] + public ProcessHeapEntryUnionRegion Region; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnionBlock.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnionBlock.gen.cs new file mode 100644 index 0000000000..6bed37e018 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnionBlock.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_minwinbase_L245_C9")] + public unsafe partial struct ProcessHeapEntryUnionBlock + { + public ProcessHeapEntryUnionBlock + ( + void* hMem = null + ) : this() + { + if (hMem is not null) + { + HMem = hMem; + } + } + + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "hMem")] + public void* HMem; + [NativeName("Type", "DWORD [3]")] + [NativeName("Type.Name", "DWORD [3]")] + [NativeName("Name", "dwReserved")] + public fixed uint DwReserved[3]; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnionRegion.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnionRegion.gen.cs new file mode 100644 index 0000000000..a33b70aca2 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProcessHeapEntryUnionRegion.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_minwinbase_L249_C9")] + public unsafe partial struct ProcessHeapEntryUnionRegion + { + public ProcessHeapEntryUnionRegion + ( + uint? dwCommittedSize = null, + uint? dwUnCommittedSize = null, + void* lpFirstBlock = null, + void* lpLastBlock = null + ) : this() + { + if (dwCommittedSize is not null) + { + DwCommittedSize = dwCommittedSize.Value; + } + + if (dwUnCommittedSize is not null) + { + DwUnCommittedSize = dwUnCommittedSize.Value; + } + + if (lpFirstBlock is not null) + { + LpFirstBlock = lpFirstBlock; + } + + if (lpLastBlock is not null) + { + LpLastBlock = lpLastBlock; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwCommittedSize")] + public uint DwCommittedSize; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwUnCommittedSize")] + public uint DwUnCommittedSize; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpFirstBlock")] + public void* LpFirstBlock; + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpLastBlock")] + public void* LpLastBlock; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ProfileSourceInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProfileSourceInfo.gen.cs new file mode 100644 index 0000000000..3a6fd24696 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ProfileSourceInfo.gen.cs @@ -0,0 +1,88 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + [NativeName("Name", "_PROFILE_SOURCE_INFO")] + public unsafe partial struct ProfileSourceInfo + { + public ProfileSourceInfo + ( + uint? nextEntryOffset = null, + uint? source = null, + uint? minInterval = null, + uint? maxInterval = null, + ulong? reserved = null + ) : this() + { + if (nextEntryOffset is not null) + { + NextEntryOffset = nextEntryOffset.Value; + } + + if (source is not null) + { + Source = source.Value; + } + + if (minInterval is not null) + { + MinInterval = minInterval.Value; + } + + if (maxInterval is not null) + { + MaxInterval = maxInterval.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "NextEntryOffset")] + public uint NextEntryOffset; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Source")] + public uint Source; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MinInterval")] + public uint MinInterval; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaxInterval")] + public uint MaxInterval; + + [NativeName("Type", "ULONG64")] + [NativeName("Type.Name", "ULONG64")] + [NativeName("Name", "Reserved")] + public ulong Reserved; + [NativeName("Type", "WCHAR [1]")] + [NativeName("Type.Name", "WCHAR [1]")] + [NativeName("Name", "Description")] + public fixed char Description[1]; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContext.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContext.gen.cs new file mode 100644 index 0000000000..7ab65999c5 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContext.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_REASON_CONTEXT")] + public unsafe partial struct ReasonContext + { + public ReasonContext + ( + uint? version = null, + uint? flags = null, + ReasonContextReason? reason = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (reason is not null) + { + Reason = reason.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Flags")] + public uint Flags; + + [NativeName("Type", "union (anonymous union at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:268:5)")] + [NativeName("Type.Name", "union (anonymous union at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:268:5)")] + [NativeName("Name", "Reason")] + public ReasonContextReason Reason; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContextReason.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContextReason.gen.cs new file mode 100644 index 0000000000..7cf158044c --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContextReason.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit, CharSet = CharSet.Unicode)] + [NativeName("Name", "__AnonymousRecord_minwinbase_L268_C5")] + public unsafe partial struct ReasonContextReason + { + public ReasonContextReason + ( + ReasonContextReasonDetailed? detailed = null, + char* simpleReasonString = null + ) : this() + { + if (detailed is not null) + { + Detailed = detailed.Value; + } + + if (simpleReasonString is not null) + { + SimpleReasonString = simpleReasonString; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:269:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\minwinbase.h:269:9)")] + [NativeName("Name", "Detailed")] + public ReasonContextReasonDetailed Detailed; + + [FieldOffset(0)] + [NativeName("Type", "LPWSTR")] + [NativeName("Type.Name", "LPWSTR")] + [NativeName("Name", "SimpleReasonString")] + public char* SimpleReasonString; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContextReasonDetailed.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContextReasonDetailed.gen.cs new file mode 100644 index 0000000000..0e519c6838 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/ReasonContextReasonDetailed.gen.cs @@ -0,0 +1,73 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + [NativeName("Name", "__AnonymousRecord_minwinbase_L269_C9")] + public unsafe partial struct ReasonContextReasonDetailed + { + public ReasonContextReasonDetailed + ( + nint? localizedReasonModule = null, + uint? localizedReasonId = null, + uint? reasonStringCount = null, + char** reasonStrings = null + ) : this() + { + if (localizedReasonModule is not null) + { + LocalizedReasonModule = localizedReasonModule.Value; + } + + if (localizedReasonId is not null) + { + LocalizedReasonId = localizedReasonId.Value; + } + + if (reasonStringCount is not null) + { + ReasonStringCount = reasonStringCount.Value; + } + + if (reasonStrings is not null) + { + ReasonStrings = reasonStrings; + } + } + + + [NativeName("Type", "HMODULE")] + [NativeName("Type.Name", "HMODULE")] + [NativeName("Name", "LocalizedReasonModule")] + public nint LocalizedReasonModule; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LocalizedReasonId")] + public uint LocalizedReasonId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ReasonStringCount")] + public uint ReasonStringCount; + + [NativeName("Type", "LPWSTR *")] + [NativeName("Type.Name", "LPWSTR *")] + [NativeName("Name", "ReasonStrings")] + public char** ReasonStrings; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/RipInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/RipInfo.gen.cs new file mode 100644 index 0000000000..5ce4979cc2 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/RipInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_RIP_INFO")] + public unsafe partial struct RipInfo + { + public RipInfo + ( + uint? dwError = null, + uint? dwType = null + ) : this() + { + if (dwError is not null) + { + DwError = dwError.Value; + } + + if (dwType is not null) + { + DwType = dwType.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwError")] + public uint DwError; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwType")] + public uint DwType; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/Systemtime.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/Systemtime.gen.cs new file mode 100644 index 0000000000..5f9d03db35 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/Systemtime.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_SYSTEMTIME")] + public unsafe partial struct Systemtime + { + public Systemtime + ( + ushort? wYear = null, + ushort? wMonth = null, + ushort? wDayOfWeek = null, + ushort? wDay = null, + ushort? wHour = null, + ushort? wMinute = null, + ushort? wSecond = null, + ushort? wMilliseconds = null + ) : this() + { + if (wYear is not null) + { + WYear = wYear.Value; + } + + if (wMonth is not null) + { + WMonth = wMonth.Value; + } + + if (wDayOfWeek is not null) + { + WDayOfWeek = wDayOfWeek.Value; + } + + if (wDay is not null) + { + WDay = wDay.Value; + } + + if (wHour is not null) + { + WHour = wHour.Value; + } + + if (wMinute is not null) + { + WMinute = wMinute.Value; + } + + if (wSecond is not null) + { + WSecond = wSecond.Value; + } + + if (wMilliseconds is not null) + { + WMilliseconds = wMilliseconds.Value; + } + } + + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wYear")] + public ushort WYear; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wMonth")] + public ushort WMonth; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wDayOfWeek")] + public ushort WDayOfWeek; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wDay")] + public ushort WDay; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wHour")] + public ushort WHour; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wMinute")] + public ushort WMinute; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wSecond")] + public ushort WSecond; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wMilliseconds")] + public ushort WMilliseconds; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceEnableInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceEnableInfo.gen.cs new file mode 100644 index 0000000000..3e712ba574 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceEnableInfo.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_ENABLE_INFO")] + public unsafe partial struct TraceEnableInfo + { + public TraceEnableInfo + ( + uint? isEnabled = null, + byte? level = null, + byte? reserved1 = null, + ushort? loggerId = null, + uint? enableProperty = null, + uint? reserved2 = null, + ulong? matchAnyKeyword = null, + ulong? matchAllKeyword = null + ) : this() + { + if (isEnabled is not null) + { + IsEnabled = isEnabled.Value; + } + + if (level is not null) + { + Level = level.Value; + } + + if (reserved1 is not null) + { + Reserved1 = reserved1.Value; + } + + if (loggerId is not null) + { + LoggerId = loggerId.Value; + } + + if (enableProperty is not null) + { + EnableProperty = enableProperty.Value; + } + + if (reserved2 is not null) + { + Reserved2 = reserved2.Value; + } + + if (matchAnyKeyword is not null) + { + MatchAnyKeyword = matchAnyKeyword.Value; + } + + if (matchAllKeyword is not null) + { + MatchAllKeyword = matchAllKeyword.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "IsEnabled")] + public uint IsEnabled; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Level")] + public byte Level; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Reserved1")] + public byte Reserved1; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "LoggerId")] + public ushort LoggerId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableProperty")] + public uint EnableProperty; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Reserved2")] + public uint Reserved2; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "MatchAnyKeyword")] + public ulong MatchAnyKeyword; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "MatchAllKeyword")] + public ulong MatchAllKeyword; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidInfo.gen.cs new file mode 100644 index 0000000000..d9bc35ebb9 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_GUID_INFO")] + public unsafe partial struct TraceGuidInfo + { + public TraceGuidInfo + ( + uint? instanceCount = null, + uint? reserved = null + ) : this() + { + if (instanceCount is not null) + { + InstanceCount = instanceCount.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "InstanceCount")] + public uint InstanceCount; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Reserved")] + public uint Reserved; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidProperties.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidProperties.gen.cs new file mode 100644 index 0000000000..db9c112725 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidProperties.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_GUID_PROPERTIES")] + public unsafe partial struct TraceGuidProperties + { + public TraceGuidProperties + ( + Guid? guid = null, + uint? guidType = null, + uint? loggerId = null, + uint? enableLevel = null, + uint? enableFlags = null, + byte? isEnable = null + ) : this() + { + if (guid is not null) + { + Guid = guid.Value; + } + + if (guidType is not null) + { + GuidType = guidType.Value; + } + + if (loggerId is not null) + { + LoggerId = loggerId.Value; + } + + if (enableLevel is not null) + { + EnableLevel = enableLevel.Value; + } + + if (enableFlags is not null) + { + EnableFlags = enableFlags.Value; + } + + if (isEnable is not null) + { + IsEnable = isEnable.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "Guid")] + public Guid Guid; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "GuidType")] + public uint GuidType; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LoggerId")] + public uint LoggerId; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableLevel")] + public uint EnableLevel; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableFlags")] + public uint EnableFlags; + + [NativeName("Type", "BOOLEAN")] + [NativeName("Type.Name", "BOOLEAN")] + [NativeName("Name", "IsEnable")] + public byte IsEnable; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidRegistration.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidRegistration.gen.cs new file mode 100644 index 0000000000..8d1cf1e370 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceGuidRegistration.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_GUID_REGISTRATION")] + public unsafe partial struct TraceGuidRegistration + { + public TraceGuidRegistration + ( + Guid* guid = null, + void* regHandle = null + ) : this() + { + if (guid is not null) + { + Guid = guid; + } + + if (regHandle is not null) + { + RegHandle = regHandle; + } + } + + + [NativeName("Type", "LPCGUID")] + [NativeName("Type.Name", "LPCGUID")] + [NativeName("Name", "Guid")] + public Guid* Guid; + + [NativeName("Type", "HANDLE")] + [NativeName("Type.Name", "HANDLE")] + [NativeName("Name", "RegHandle")] + public void* RegHandle; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader.gen.cs new file mode 100644 index 0000000000..b915cb1bf4 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader.gen.cs @@ -0,0 +1,387 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + [NativeName("Name", "_TRACE_LOGFILE_HEADER")] + public unsafe partial struct TraceLogfileHeader + { + public TraceLogfileHeader + ( + uint? bufferSize = null, + TraceLogfileHeaderUnion1? anonymous1 = null, + uint? providerVersion = null, + uint? numberOfProcessors = null, + long? endTime = null, + uint? timerResolution = null, + uint? maximumFileSize = null, + uint? logFileMode = null, + uint? buffersWritten = null, + TraceLogfileHeaderUnion2? anonymous2 = null, + char* loggerName = null, + char* logFileName = null, + TimeZoneInformation? timeZone = null, + long? bootTime = null, + long? perfFreq = null, + long? startTime = null, + uint? reservedFlags = null, + uint? buffersLost = null, + uint? version = null, + TraceLogfileHeaderUnion1VersionDetail? versionDetail = null, + Guid? logInstanceGuid = null, + TraceLogfileHeaderUnion2Union? anonymous = null, + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (providerVersion is not null) + { + ProviderVersion = providerVersion.Value; + } + + if (numberOfProcessors is not null) + { + NumberOfProcessors = numberOfProcessors.Value; + } + + if (endTime is not null) + { + EndTime = endTime.Value; + } + + if (timerResolution is not null) + { + TimerResolution = timerResolution.Value; + } + + if (maximumFileSize is not null) + { + MaximumFileSize = maximumFileSize.Value; + } + + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (buffersWritten is not null) + { + BuffersWritten = buffersWritten.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (loggerName is not null) + { + LoggerName = loggerName; + } + + if (logFileName is not null) + { + LogFileName = logFileName; + } + + if (timeZone is not null) + { + TimeZone = timeZone.Value; + } + + if (bootTime is not null) + { + BootTime = bootTime.Value; + } + + if (perfFreq is not null) + { + PerfFreq = perfFreq.Value; + } + + if (startTime is not null) + { + StartTime = startTime.Value; + } + + if (reservedFlags is not null) + { + ReservedFlags = reservedFlags.Value; + } + + if (buffersLost is not null) + { + BuffersLost = buffersLost.Value; + } + + if (version is not null) + { + Version = version.Value; + } + + if (versionDetail is not null) + { + VersionDetail = versionDetail.Value; + } + + if (logInstanceGuid is not null) + { + LogInstanceGuid = logInstanceGuid.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BufferSize")] + public uint BufferSize; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L699_C5")] + [NativeName("Name", "anonymous1")] + public TraceLogfileHeaderUnion1 Anonymous1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProviderVersion")] + public uint ProviderVersion; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "NumberOfProcessors")] + public uint NumberOfProcessors; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "EndTime")] + public long EndTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "TimerResolution")] + public uint TimerResolution; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaximumFileSize")] + public uint MaximumFileSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileMode")] + public uint LogFileMode; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersWritten")] + public uint BuffersWritten; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L715_C5")] + [NativeName("Name", "anonymous2")] + public TraceLogfileHeaderUnion2 Anonymous2; + + [NativeName("Type", "LPWSTR")] + [NativeName("Type.Name", "LPWSTR")] + [NativeName("Name", "LoggerName")] + public char* LoggerName; + + [NativeName("Type", "LPWSTR")] + [NativeName("Type.Name", "LPWSTR")] + [NativeName("Name", "LogFileName")] + public char* LogFileName; + + [NativeName("Type", "TIME_ZONE_INFORMATION")] + [NativeName("Type.Name", "TIME_ZONE_INFORMATION")] + [NativeName("Name", "TimeZone")] + public TimeZoneInformation TimeZone; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "BootTime")] + public long BootTime; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "PerfFreq")] + public long PerfFreq; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "StartTime")] + public long StartTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ReservedFlags")] + public uint ReservedFlags; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersLost")] + public uint BuffersLost; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Version + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].Version; + } +#else + public uint Version + { + get => Anonymous1.Version; + set => Anonymous1.Version = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref TraceLogfileHeaderUnion1VersionDetail VersionDetail + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].VersionDetail; + } +#else + public TraceLogfileHeaderUnion1VersionDetail VersionDetail + { + get => Anonymous1.VersionDetail; + set => Anonymous1.VersionDetail = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref Guid LogInstanceGuid + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].LogInstanceGuid; + } +#else + public Guid LogInstanceGuid + { + get => Anonymous2.LogInstanceGuid; + set => Anonymous2.LogInstanceGuid = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref TraceLogfileHeaderUnion2Union Anonymous + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Anonymous; + } +#else + public TraceLogfileHeaderUnion2Union Anonymous + { + get => Anonymous2.Anonymous; + set => Anonymous2.Anonymous = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint StartBuffers + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].StartBuffers; + } +#else + public uint StartBuffers + { + get => Anonymous2.StartBuffers; + set => Anonymous2.StartBuffers = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint PointerSize + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].PointerSize; + } +#else + public uint PointerSize + { + get => Anonymous2.PointerSize; + set => Anonymous2.PointerSize = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventsLost + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventsLost; + } +#else + public uint EventsLost + { + get => Anonymous2.EventsLost; + set => Anonymous2.EventsLost = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint CpuSpeedInMHz + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].CpuSpeedInMHz; + } +#else + public uint CpuSpeedInMHz + { + get => Anonymous2.CpuSpeedInMHz; + set => Anonymous2.CpuSpeedInMHz = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32.gen.cs new file mode 100644 index 0000000000..e7a3f18dad --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32.gen.cs @@ -0,0 +1,386 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_LOGFILE_HEADER32")] + public unsafe partial struct TraceLogfileHeader32 + { + public TraceLogfileHeader32 + ( + uint? bufferSize = null, + TraceLogfileHeader32Union1? anonymous1 = null, + uint? providerVersion = null, + uint? numberOfProcessors = null, + long? endTime = null, + uint? timerResolution = null, + uint? maximumFileSize = null, + uint? logFileMode = null, + uint? buffersWritten = null, + TraceLogfileHeader32Union2? anonymous2 = null, + uint? loggerName = null, + uint? logFileName = null, + TimeZoneInformation? timeZone = null, + long? bootTime = null, + long? perfFreq = null, + long? startTime = null, + uint? reservedFlags = null, + uint? buffersLost = null, + uint? version = null, + TraceLogfileHeader32Union1VersionDetail? versionDetail = null, + Guid? logInstanceGuid = null, + TraceLogfileHeader32Union2Union? anonymous = null, + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (providerVersion is not null) + { + ProviderVersion = providerVersion.Value; + } + + if (numberOfProcessors is not null) + { + NumberOfProcessors = numberOfProcessors.Value; + } + + if (endTime is not null) + { + EndTime = endTime.Value; + } + + if (timerResolution is not null) + { + TimerResolution = timerResolution.Value; + } + + if (maximumFileSize is not null) + { + MaximumFileSize = maximumFileSize.Value; + } + + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (buffersWritten is not null) + { + BuffersWritten = buffersWritten.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (loggerName is not null) + { + LoggerName = loggerName.Value; + } + + if (logFileName is not null) + { + LogFileName = logFileName.Value; + } + + if (timeZone is not null) + { + TimeZone = timeZone.Value; + } + + if (bootTime is not null) + { + BootTime = bootTime.Value; + } + + if (perfFreq is not null) + { + PerfFreq = perfFreq.Value; + } + + if (startTime is not null) + { + StartTime = startTime.Value; + } + + if (reservedFlags is not null) + { + ReservedFlags = reservedFlags.Value; + } + + if (buffersLost is not null) + { + BuffersLost = buffersLost.Value; + } + + if (version is not null) + { + Version = version.Value; + } + + if (versionDetail is not null) + { + VersionDetail = versionDetail.Value; + } + + if (logInstanceGuid is not null) + { + LogInstanceGuid = logInstanceGuid.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BufferSize")] + public uint BufferSize; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L742_C5")] + [NativeName("Name", "anonymous1")] + public TraceLogfileHeader32Union1 Anonymous1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProviderVersion")] + public uint ProviderVersion; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "NumberOfProcessors")] + public uint NumberOfProcessors; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "EndTime")] + public long EndTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "TimerResolution")] + public uint TimerResolution; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaximumFileSize")] + public uint MaximumFileSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileMode")] + public uint LogFileMode; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersWritten")] + public uint BuffersWritten; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L758_C5")] + [NativeName("Name", "anonymous2")] + public TraceLogfileHeader32Union2 Anonymous2; + + [NativeName("Type", "ULONG32")] + [NativeName("Type.Name", "ULONG32")] + [NativeName("Name", "LoggerName")] + public uint LoggerName; + + [NativeName("Type", "ULONG32")] + [NativeName("Type.Name", "ULONG32")] + [NativeName("Name", "LogFileName")] + public uint LogFileName; + + [NativeName("Type", "TIME_ZONE_INFORMATION")] + [NativeName("Type.Name", "TIME_ZONE_INFORMATION")] + [NativeName("Name", "TimeZone")] + public TimeZoneInformation TimeZone; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "BootTime")] + public long BootTime; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "PerfFreq")] + public long PerfFreq; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "StartTime")] + public long StartTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ReservedFlags")] + public uint ReservedFlags; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersLost")] + public uint BuffersLost; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Version + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].Version; + } +#else + public uint Version + { + get => Anonymous1.Version; + set => Anonymous1.Version = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref TraceLogfileHeader32Union1VersionDetail VersionDetail + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].VersionDetail; + } +#else + public TraceLogfileHeader32Union1VersionDetail VersionDetail + { + get => Anonymous1.VersionDetail; + set => Anonymous1.VersionDetail = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref Guid LogInstanceGuid + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].LogInstanceGuid; + } +#else + public Guid LogInstanceGuid + { + get => Anonymous2.LogInstanceGuid; + set => Anonymous2.LogInstanceGuid = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref TraceLogfileHeader32Union2Union Anonymous + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Anonymous; + } +#else + public TraceLogfileHeader32Union2Union Anonymous + { + get => Anonymous2.Anonymous; + set => Anonymous2.Anonymous = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint StartBuffers + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].StartBuffers; + } +#else + public uint StartBuffers + { + get => Anonymous2.StartBuffers; + set => Anonymous2.StartBuffers = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint PointerSize + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].PointerSize; + } +#else + public uint PointerSize + { + get => Anonymous2.PointerSize; + set => Anonymous2.PointerSize = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventsLost + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventsLost; + } +#else + public uint EventsLost + { + get => Anonymous2.EventsLost; + set => Anonymous2.EventsLost = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint CpuSpeedInMHz + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].CpuSpeedInMHz; + } +#else + public uint CpuSpeedInMHz + { + get => Anonymous2.CpuSpeedInMHz; + set => Anonymous2.CpuSpeedInMHz = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union1.gen.cs new file mode 100644 index 0000000000..1e8b32731a --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union1.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L742_C5")] + public unsafe partial struct TraceLogfileHeader32Union1 + { + public TraceLogfileHeader32Union1 + ( + uint? version = null, + TraceLogfileHeader32Union1VersionDetail? versionDetail = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (versionDetail is not null) + { + VersionDetail = versionDetail.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:744:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:744:9)")] + [NativeName("Name", "VersionDetail")] + public TraceLogfileHeader32Union1VersionDetail VersionDetail; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union1VersionDetail.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union1VersionDetail.gen.cs new file mode 100644 index 0000000000..226c7ce7e4 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union1VersionDetail.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L744_C9")] + public unsafe partial struct TraceLogfileHeader32Union1VersionDetail + { + public TraceLogfileHeader32Union1VersionDetail + ( + byte? majorVersion = null, + byte? minorVersion = null, + byte? subVersion = null, + byte? subMinorVersion = null + ) : this() + { + if (majorVersion is not null) + { + MajorVersion = majorVersion.Value; + } + + if (minorVersion is not null) + { + MinorVersion = minorVersion.Value; + } + + if (subVersion is not null) + { + SubVersion = subVersion.Value; + } + + if (subMinorVersion is not null) + { + SubMinorVersion = subMinorVersion.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MajorVersion")] + public byte MajorVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MinorVersion")] + public byte MinorVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "SubVersion")] + public byte SubVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "SubMinorVersion")] + public byte SubMinorVersion; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union2.gen.cs new file mode 100644 index 0000000000..cac5e7a3ea --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union2.gen.cs @@ -0,0 +1,133 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L758_C5")] + public unsafe partial struct TraceLogfileHeader32Union2 + { + public TraceLogfileHeader32Union2 + ( + Guid? logInstanceGuid = null, + TraceLogfileHeader32Union2Union? anonymous = null, + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (logInstanceGuid is not null) + { + LogInstanceGuid = logInstanceGuid.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "LogInstanceGuid")] + public Guid LogInstanceGuid; + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L760_C9")] + [NativeName("Name", "anonymous1")] + public TraceLogfileHeader32Union2Union Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint StartBuffers + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].StartBuffers; + } +#else + public uint StartBuffers + { + get => Anonymous.StartBuffers; + set => Anonymous.StartBuffers = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint PointerSize + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].PointerSize; + } +#else + public uint PointerSize + { + get => Anonymous.PointerSize; + set => Anonymous.PointerSize = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventsLost + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].EventsLost; + } +#else + public uint EventsLost + { + get => Anonymous.EventsLost; + set => Anonymous.EventsLost = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint CpuSpeedInMHz + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].CpuSpeedInMHz; + } +#else + public uint CpuSpeedInMHz + { + get => Anonymous.CpuSpeedInMHz; + set => Anonymous.CpuSpeedInMHz = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union2Union.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union2Union.gen.cs new file mode 100644 index 0000000000..4d493510bb --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader32Union2Union.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L760_C9")] + public unsafe partial struct TraceLogfileHeader32Union2Union + { + public TraceLogfileHeader32Union2Union + ( + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "StartBuffers")] + public uint StartBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "PointerSize")] + public uint PointerSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventsLost")] + public uint EventsLost; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "CpuSpeedInMHz")] + public uint CpuSpeedInMHz; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64.gen.cs new file mode 100644 index 0000000000..02e5027d44 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64.gen.cs @@ -0,0 +1,386 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_LOGFILE_HEADER64")] + public unsafe partial struct TraceLogfileHeader64 + { + public TraceLogfileHeader64 + ( + uint? bufferSize = null, + TraceLogfileHeader64Union1? anonymous1 = null, + uint? providerVersion = null, + uint? numberOfProcessors = null, + long? endTime = null, + uint? timerResolution = null, + uint? maximumFileSize = null, + uint? logFileMode = null, + uint? buffersWritten = null, + TraceLogfileHeader64Union2? anonymous2 = null, + ulong? loggerName = null, + ulong? logFileName = null, + TimeZoneInformation? timeZone = null, + long? bootTime = null, + long? perfFreq = null, + long? startTime = null, + uint? reservedFlags = null, + uint? buffersLost = null, + uint? version = null, + TraceLogfileHeader64Union1VersionDetail? versionDetail = null, + Guid? logInstanceGuid = null, + TraceLogfileHeader64Union2Union? anonymous = null, + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (bufferSize is not null) + { + BufferSize = bufferSize.Value; + } + + if (anonymous1 is not null) + { + Anonymous1 = anonymous1.Value; + } + + if (providerVersion is not null) + { + ProviderVersion = providerVersion.Value; + } + + if (numberOfProcessors is not null) + { + NumberOfProcessors = numberOfProcessors.Value; + } + + if (endTime is not null) + { + EndTime = endTime.Value; + } + + if (timerResolution is not null) + { + TimerResolution = timerResolution.Value; + } + + if (maximumFileSize is not null) + { + MaximumFileSize = maximumFileSize.Value; + } + + if (logFileMode is not null) + { + LogFileMode = logFileMode.Value; + } + + if (buffersWritten is not null) + { + BuffersWritten = buffersWritten.Value; + } + + if (anonymous2 is not null) + { + Anonymous2 = anonymous2.Value; + } + + if (loggerName is not null) + { + LoggerName = loggerName.Value; + } + + if (logFileName is not null) + { + LogFileName = logFileName.Value; + } + + if (timeZone is not null) + { + TimeZone = timeZone.Value; + } + + if (bootTime is not null) + { + BootTime = bootTime.Value; + } + + if (perfFreq is not null) + { + PerfFreq = perfFreq.Value; + } + + if (startTime is not null) + { + StartTime = startTime.Value; + } + + if (reservedFlags is not null) + { + ReservedFlags = reservedFlags.Value; + } + + if (buffersLost is not null) + { + BuffersLost = buffersLost.Value; + } + + if (version is not null) + { + Version = version.Value; + } + + if (versionDetail is not null) + { + VersionDetail = versionDetail.Value; + } + + if (logInstanceGuid is not null) + { + LogInstanceGuid = logInstanceGuid.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BufferSize")] + public uint BufferSize; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L785_C5")] + [NativeName("Name", "anonymous1")] + public TraceLogfileHeader64Union1 Anonymous1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProviderVersion")] + public uint ProviderVersion; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "NumberOfProcessors")] + public uint NumberOfProcessors; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "EndTime")] + public long EndTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "TimerResolution")] + public uint TimerResolution; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "MaximumFileSize")] + public uint MaximumFileSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "LogFileMode")] + public uint LogFileMode; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersWritten")] + public uint BuffersWritten; + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L801_C5")] + [NativeName("Name", "anonymous2")] + public TraceLogfileHeader64Union2 Anonymous2; + + [NativeName("Type", "ULONG64")] + [NativeName("Type.Name", "ULONG64")] + [NativeName("Name", "LoggerName")] + public ulong LoggerName; + + [NativeName("Type", "ULONG64")] + [NativeName("Type.Name", "ULONG64")] + [NativeName("Name", "LogFileName")] + public ulong LogFileName; + + [NativeName("Type", "TIME_ZONE_INFORMATION")] + [NativeName("Type.Name", "TIME_ZONE_INFORMATION")] + [NativeName("Name", "TimeZone")] + public TimeZoneInformation TimeZone; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "BootTime")] + public long BootTime; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "PerfFreq")] + public long PerfFreq; + + [NativeName("Type", "LARGE_INTEGER")] + [NativeName("Type.Name", "LARGE_INTEGER")] + [NativeName("Name", "StartTime")] + public long StartTime; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ReservedFlags")] + public uint ReservedFlags; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "BuffersLost")] + public uint BuffersLost; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Version + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].Version; + } +#else + public uint Version + { + get => Anonymous1.Version; + set => Anonymous1.Version = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref TraceLogfileHeader64Union1VersionDetail VersionDetail + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].VersionDetail; + } +#else + public TraceLogfileHeader64Union1VersionDetail VersionDetail + { + get => Anonymous1.VersionDetail; + set => Anonymous1.VersionDetail = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref Guid LogInstanceGuid + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].LogInstanceGuid; + } +#else + public Guid LogInstanceGuid + { + get => Anonymous2.LogInstanceGuid; + set => Anonymous2.LogInstanceGuid = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref TraceLogfileHeader64Union2Union Anonymous + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].Anonymous; + } +#else + public TraceLogfileHeader64Union2Union Anonymous + { + get => Anonymous2.Anonymous; + set => Anonymous2.Anonymous = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint StartBuffers + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].StartBuffers; + } +#else + public uint StartBuffers + { + get => Anonymous2.StartBuffers; + set => Anonymous2.StartBuffers = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint PointerSize + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].PointerSize; + } +#else + public uint PointerSize + { + get => Anonymous2.PointerSize; + set => Anonymous2.PointerSize = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventsLost + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].EventsLost; + } +#else + public uint EventsLost + { + get => Anonymous2.EventsLost; + set => Anonymous2.EventsLost = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint CpuSpeedInMHz + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].CpuSpeedInMHz; + } +#else + public uint CpuSpeedInMHz + { + get => Anonymous2.CpuSpeedInMHz; + set => Anonymous2.CpuSpeedInMHz = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union1.gen.cs new file mode 100644 index 0000000000..a8d30beafd --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union1.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L785_C5")] + public unsafe partial struct TraceLogfileHeader64Union1 + { + public TraceLogfileHeader64Union1 + ( + uint? version = null, + TraceLogfileHeader64Union1VersionDetail? versionDetail = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (versionDetail is not null) + { + VersionDetail = versionDetail.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:787:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:787:9)")] + [NativeName("Name", "VersionDetail")] + public TraceLogfileHeader64Union1VersionDetail VersionDetail; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union1VersionDetail.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union1VersionDetail.gen.cs new file mode 100644 index 0000000000..8190722e34 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union1VersionDetail.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L787_C9")] + public unsafe partial struct TraceLogfileHeader64Union1VersionDetail + { + public TraceLogfileHeader64Union1VersionDetail + ( + byte? majorVersion = null, + byte? minorVersion = null, + byte? subVersion = null, + byte? subMinorVersion = null + ) : this() + { + if (majorVersion is not null) + { + MajorVersion = majorVersion.Value; + } + + if (minorVersion is not null) + { + MinorVersion = minorVersion.Value; + } + + if (subVersion is not null) + { + SubVersion = subVersion.Value; + } + + if (subMinorVersion is not null) + { + SubMinorVersion = subMinorVersion.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MajorVersion")] + public byte MajorVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MinorVersion")] + public byte MinorVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "SubVersion")] + public byte SubVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "SubMinorVersion")] + public byte SubMinorVersion; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union2.gen.cs new file mode 100644 index 0000000000..9b495710f1 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union2.gen.cs @@ -0,0 +1,133 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L801_C5")] + public unsafe partial struct TraceLogfileHeader64Union2 + { + public TraceLogfileHeader64Union2 + ( + Guid? logInstanceGuid = null, + TraceLogfileHeader64Union2Union? anonymous = null, + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (logInstanceGuid is not null) + { + LogInstanceGuid = logInstanceGuid.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "LogInstanceGuid")] + public Guid LogInstanceGuid; + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L803_C9")] + [NativeName("Name", "anonymous1")] + public TraceLogfileHeader64Union2Union Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint StartBuffers + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].StartBuffers; + } +#else + public uint StartBuffers + { + get => Anonymous.StartBuffers; + set => Anonymous.StartBuffers = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint PointerSize + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].PointerSize; + } +#else + public uint PointerSize + { + get => Anonymous.PointerSize; + set => Anonymous.PointerSize = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventsLost + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].EventsLost; + } +#else + public uint EventsLost + { + get => Anonymous.EventsLost; + set => Anonymous.EventsLost = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint CpuSpeedInMHz + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].CpuSpeedInMHz; + } +#else + public uint CpuSpeedInMHz + { + get => Anonymous.CpuSpeedInMHz; + set => Anonymous.CpuSpeedInMHz = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union2Union.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union2Union.gen.cs new file mode 100644 index 0000000000..564e1bf3f5 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeader64Union2Union.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L803_C9")] + public unsafe partial struct TraceLogfileHeader64Union2Union + { + public TraceLogfileHeader64Union2Union + ( + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "StartBuffers")] + public uint StartBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "PointerSize")] + public uint PointerSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventsLost")] + public uint EventsLost; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "CpuSpeedInMHz")] + public uint CpuSpeedInMHz; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion1.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion1.gen.cs new file mode 100644 index 0000000000..a4fc7d05e8 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion1.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L699_C5")] + public unsafe partial struct TraceLogfileHeaderUnion1 + { + public TraceLogfileHeaderUnion1 + ( + uint? version = null, + TraceLogfileHeaderUnion1VersionDetail? versionDetail = null + ) : this() + { + if (version is not null) + { + Version = version.Value; + } + + if (versionDetail is not null) + { + VersionDetail = versionDetail.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Version")] + public uint Version; + + [FieldOffset(0)] + [NativeName("Type", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:701:9)")] + [NativeName("Type.Name", "struct (anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h:701:9)")] + [NativeName("Name", "VersionDetail")] + public TraceLogfileHeaderUnion1VersionDetail VersionDetail; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion1VersionDetail.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion1VersionDetail.gen.cs new file mode 100644 index 0000000000..cdc42e6cfb --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion1VersionDetail.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L701_C9")] + public unsafe partial struct TraceLogfileHeaderUnion1VersionDetail + { + public TraceLogfileHeaderUnion1VersionDetail + ( + byte? majorVersion = null, + byte? minorVersion = null, + byte? subVersion = null, + byte? subMinorVersion = null + ) : this() + { + if (majorVersion is not null) + { + MajorVersion = majorVersion.Value; + } + + if (minorVersion is not null) + { + MinorVersion = minorVersion.Value; + } + + if (subVersion is not null) + { + SubVersion = subVersion.Value; + } + + if (subMinorVersion is not null) + { + SubMinorVersion = subMinorVersion.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MajorVersion")] + public byte MajorVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "MinorVersion")] + public byte MinorVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "SubVersion")] + public byte SubVersion; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "SubMinorVersion")] + public byte SubMinorVersion; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion2.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion2.gen.cs new file mode 100644 index 0000000000..acfb34b6d2 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion2.gen.cs @@ -0,0 +1,133 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_evntrace_L715_C5")] + public unsafe partial struct TraceLogfileHeaderUnion2 + { + public TraceLogfileHeaderUnion2 + ( + Guid? logInstanceGuid = null, + TraceLogfileHeaderUnion2Union? anonymous = null, + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (logInstanceGuid is not null) + { + LogInstanceGuid = logInstanceGuid.Value; + } + + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "LogInstanceGuid")] + public Guid LogInstanceGuid; + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_evntrace_L717_C9")] + [NativeName("Name", "anonymous1")] + public TraceLogfileHeaderUnion2Union Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint StartBuffers + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].StartBuffers; + } +#else + public uint StartBuffers + { + get => Anonymous.StartBuffers; + set => Anonymous.StartBuffers = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint PointerSize + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].PointerSize; + } +#else + public uint PointerSize + { + get => Anonymous.PointerSize; + set => Anonymous.PointerSize = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint EventsLost + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].EventsLost; + } +#else + public uint EventsLost + { + get => Anonymous.EventsLost; + set => Anonymous.EventsLost = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint CpuSpeedInMHz + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].CpuSpeedInMHz; + } +#else + public uint CpuSpeedInMHz + { + get => Anonymous.CpuSpeedInMHz; + set => Anonymous.CpuSpeedInMHz = value; + } +#endif + + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion2Union.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion2Union.gen.cs new file mode 100644 index 0000000000..dab8c736c9 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceLogfileHeaderUnion2Union.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "__AnonymousRecord_evntrace_L717_C9")] + public unsafe partial struct TraceLogfileHeaderUnion2Union + { + public TraceLogfileHeaderUnion2Union + ( + uint? startBuffers = null, + uint? pointerSize = null, + uint? eventsLost = null, + uint? cpuSpeedInMHz = null + ) : this() + { + if (startBuffers is not null) + { + StartBuffers = startBuffers.Value; + } + + if (pointerSize is not null) + { + PointerSize = pointerSize.Value; + } + + if (eventsLost is not null) + { + EventsLost = eventsLost.Value; + } + + if (cpuSpeedInMHz is not null) + { + CpuSpeedInMHz = cpuSpeedInMHz.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "StartBuffers")] + public uint StartBuffers; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "PointerSize")] + public uint PointerSize; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EventsLost")] + public uint EventsLost; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "CpuSpeedInMHz")] + public uint CpuSpeedInMHz; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TracePeriodicCaptureStateInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TracePeriodicCaptureStateInfo.gen.cs new file mode 100644 index 0000000000..44c8ff3a52 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TracePeriodicCaptureStateInfo.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_PERIODIC_CAPTURE_STATE_INFO")] + public unsafe partial struct TracePeriodicCaptureStateInfo + { + public TracePeriodicCaptureStateInfo + ( + uint? captureStateFrequencyInSeconds = null, + ushort? providerCount = null, + ushort? reserved = null + ) : this() + { + if (captureStateFrequencyInSeconds is not null) + { + CaptureStateFrequencyInSeconds = captureStateFrequencyInSeconds.Value; + } + + if (providerCount is not null) + { + ProviderCount = providerCount.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "CaptureStateFrequencyInSeconds")] + public uint CaptureStateFrequencyInSeconds; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "ProviderCount")] + public ushort ProviderCount; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Reserved")] + public ushort Reserved; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceProfileInterval.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceProfileInterval.gen.cs new file mode 100644 index 0000000000..7b098707d3 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceProfileInterval.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_PROFILE_INTERVAL")] + public unsafe partial struct TraceProfileInterval + { + public TraceProfileInterval + ( + uint? source = null, + uint? interval = null + ) : this() + { + if (source is not null) + { + Source = source.Value; + } + + if (interval is not null) + { + Interval = interval.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Source")] + public uint Source; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Interval")] + public uint Interval; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceProviderInstanceInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceProviderInstanceInfo.gen.cs new file mode 100644 index 0000000000..dd5219b573 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceProviderInstanceInfo.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_PROVIDER_INSTANCE_INFO")] + public unsafe partial struct TraceProviderInstanceInfo + { + public TraceProviderInstanceInfo + ( + uint? nextOffset = null, + uint? enableCount = null, + uint? pid = null, + uint? flags = null + ) : this() + { + if (nextOffset is not null) + { + NextOffset = nextOffset.Value; + } + + if (enableCount is not null) + { + EnableCount = enableCount.Value; + } + + if (pid is not null) + { + Pid = pid.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "NextOffset")] + public uint NextOffset; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "EnableCount")] + public uint EnableCount; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Pid")] + public uint Pid; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Flags")] + public uint Flags; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceVersionInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceVersionInfo.gen.cs new file mode 100644 index 0000000000..01422e16ce --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/TraceVersionInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_TRACE_VERSION_INFO")] + public unsafe partial struct TraceVersionInfo + { + public TraceVersionInfo + ( + uint? etwTraceProcessingVersion = null, + uint? reserved = null + ) : this() + { + if (etwTraceProcessingVersion is not null) + { + EtwTraceProcessingVersion = etwTraceProcessingVersion.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "EtwTraceProcessingVersion")] + public uint EtwTraceProcessingVersion; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Reserved")] + public uint Reserved; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/UnloadDllDebugInfo.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/UnloadDllDebugInfo.gen.cs new file mode 100644 index 0000000000..55a36e5ce3 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/UnloadDllDebugInfo.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_UNLOAD_DLL_DEBUG_INFO")] + public unsafe partial struct UnloadDllDebugInfo + { + public UnloadDllDebugInfo + ( + void* lpBaseOfDll = null + ) : this() + { + if (lpBaseOfDll is not null) + { + LpBaseOfDll = lpBaseOfDll; + } + } + + + [NativeName("Type", "LPVOID")] + [NativeName("Type.Name", "LPVOID")] + [NativeName("Name", "lpBaseOfDll")] + public void* LpBaseOfDll; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/Win32FindDataa.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/Win32FindDataa.gen.cs new file mode 100644 index 0000000000..5135ef9e0b --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/Win32FindDataa.gen.cs @@ -0,0 +1,124 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [NativeName("Name", "_WIN32_FIND_DATAA")] + public unsafe partial struct Win32FindDataa + { + public Win32FindDataa + ( + uint? dwFileAttributes = null, + Filetime? ftCreationTime = null, + Filetime? ftLastAccessTime = null, + Filetime? ftLastWriteTime = null, + uint? nFileSizeHigh = null, + uint? nFileSizeLow = null, + uint? dwReserved0 = null, + uint? dwReserved1 = null + ) : this() + { + if (dwFileAttributes is not null) + { + DwFileAttributes = dwFileAttributes.Value; + } + + if (ftCreationTime is not null) + { + FtCreationTime = ftCreationTime.Value; + } + + if (ftLastAccessTime is not null) + { + FtLastAccessTime = ftLastAccessTime.Value; + } + + if (ftLastWriteTime is not null) + { + FtLastWriteTime = ftLastWriteTime.Value; + } + + if (nFileSizeHigh is not null) + { + NFileSizeHigh = nFileSizeHigh.Value; + } + + if (nFileSizeLow is not null) + { + NFileSizeLow = nFileSizeLow.Value; + } + + if (dwReserved0 is not null) + { + DwReserved0 = dwReserved0.Value; + } + + if (dwReserved1 is not null) + { + DwReserved1 = dwReserved1.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwFileAttributes")] + public uint DwFileAttributes; + + [NativeName("Type", "FILETIME")] + [NativeName("Type.Name", "FILETIME")] + [NativeName("Name", "ftCreationTime")] + public Filetime FtCreationTime; + + [NativeName("Type", "FILETIME")] + [NativeName("Type.Name", "FILETIME")] + [NativeName("Name", "ftLastAccessTime")] + public Filetime FtLastAccessTime; + + [NativeName("Type", "FILETIME")] + [NativeName("Type.Name", "FILETIME")] + [NativeName("Name", "ftLastWriteTime")] + public Filetime FtLastWriteTime; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "nFileSizeHigh")] + public uint NFileSizeHigh; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "nFileSizeLow")] + public uint NFileSizeLow; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwReserved0")] + public uint DwReserved0; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwReserved1")] + public uint DwReserved1; + [NativeName("Type", "CHAR [260]")] + [NativeName("Type.Name", "CHAR [260]")] + [NativeName("Name", "cFileName")] + public fixed byte CFileName[260]; + [NativeName("Type", "CHAR [14]")] + [NativeName("Type.Name", "CHAR [14]")] + [NativeName("Name", "cAlternateFileName")] + public fixed byte CAlternateFileName[14]; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Structs/Win32FindDataw.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Structs/Win32FindDataw.gen.cs new file mode 100644 index 0000000000..e41a9b3de7 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Structs/Win32FindDataw.gen.cs @@ -0,0 +1,125 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + [NativeName("Name", "_WIN32_FIND_DATAW")] + public unsafe partial struct Win32FindDataw + { + public Win32FindDataw + ( + uint? dwFileAttributes = null, + Filetime? ftCreationTime = null, + Filetime? ftLastAccessTime = null, + Filetime? ftLastWriteTime = null, + uint? nFileSizeHigh = null, + uint? nFileSizeLow = null, + uint? dwReserved0 = null, + uint? dwReserved1 = null + ) : this() + { + if (dwFileAttributes is not null) + { + DwFileAttributes = dwFileAttributes.Value; + } + + if (ftCreationTime is not null) + { + FtCreationTime = ftCreationTime.Value; + } + + if (ftLastAccessTime is not null) + { + FtLastAccessTime = ftLastAccessTime.Value; + } + + if (ftLastWriteTime is not null) + { + FtLastWriteTime = ftLastWriteTime.Value; + } + + if (nFileSizeHigh is not null) + { + NFileSizeHigh = nFileSizeHigh.Value; + } + + if (nFileSizeLow is not null) + { + NFileSizeLow = nFileSizeLow.Value; + } + + if (dwReserved0 is not null) + { + DwReserved0 = dwReserved0.Value; + } + + if (dwReserved1 is not null) + { + DwReserved1 = dwReserved1.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwFileAttributes")] + public uint DwFileAttributes; + + [NativeName("Type", "FILETIME")] + [NativeName("Type.Name", "FILETIME")] + [NativeName("Name", "ftCreationTime")] + public Filetime FtCreationTime; + + [NativeName("Type", "FILETIME")] + [NativeName("Type.Name", "FILETIME")] + [NativeName("Name", "ftLastAccessTime")] + public Filetime FtLastAccessTime; + + [NativeName("Type", "FILETIME")] + [NativeName("Type.Name", "FILETIME")] + [NativeName("Name", "ftLastWriteTime")] + public Filetime FtLastWriteTime; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "nFileSizeHigh")] + public uint NFileSizeHigh; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "nFileSizeLow")] + public uint NFileSizeLow; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwReserved0")] + public uint DwReserved0; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwReserved1")] + public uint DwReserved1; + [NativeName("Type", "WCHAR [260]")] + [NativeName("Type.Name", "WCHAR [260]")] + [NativeName("Name", "cFileName")] + public fixed char CFileName[260]; + [NativeName("Type", "WCHAR [14]")] + [NativeName("Type.Name", "WCHAR [14]")] + [NativeName("Name", "cAlternateFileName")] + public fixed char CAlternateFileName[14]; + } +} diff --git a/src/Core/Silk.NET.Core.Win32Extras/Windows.cs b/src/Core/Silk.NET.Core.Win32Extras/Windows.cs new file mode 100644 index 0000000000..5cd72b89c3 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Windows.cs @@ -0,0 +1,38 @@ +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; +using static Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public partial class Windows + { + public static Windows GetApi() + { + throw new NotImplementedException(); + } + + public bool TryGetExtension(out T ext) + where T:NativeExtension + { + ext = IsExtensionPresent(GetExtensionAttribute(typeof(T)).Name) + ? (T) Activator.CreateInstance(typeof(T), Context) + : null; + return ext is not null; + } + + public override bool IsExtensionPresent(string extension) + { + throw new NotImplementedException(); + } + } +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/Windows.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/Windows.gen.cs new file mode 100644 index 0000000000..de267f442b --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/Windows.gen.cs @@ -0,0 +1,11671 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public unsafe partial class Windows : NativeAPI + { + [NativeName("Type", "int")] + [NativeName("Name", "ANYSIZE_ARRAY")] + public const int AnysizeArray = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "MEMORY_ALLOCATION_ALIGNMENT")] + public const int MemoryAllocationAlignment = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_CACHE_ALIGNMENT_SIZE")] + public const int SystemCacheAlignmentSize = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "PRAGMA_DEPRECATED_DDK")] + public const int PragmaDeprecatedDdk = unchecked((int) 0x0); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "UCSCHAR_INVALID_CHARACTER")] + public const uint UcscharInvalidCharacter = unchecked((uint) 0xFFFFFFFFFFFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "MIN_UCSCHAR")] + public const int MinUcschar = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "MAX_UCSCHAR")] + public const int MaxUcschar = unchecked((int) 0x10FFFF); + [NativeName("Type", "int")] + [NativeName("Name", "ALL_PROCESSOR_GROUPS")] + public const int AllProcessorGroups = unchecked((int) 0xFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "MAXIMUM_PROC_PER_GROUP")] + public const int MaximumProcPerGroup = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "MAXIMUM_PROCESSORS")] + public const int MaximumProcessors = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "APPLICATION_ERROR_MASK")] + public const int ApplicationErrorMask = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "ERROR_SEVERITY_SUCCESS")] + public const int ErrorSeveritySuccess = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "ERROR_SEVERITY_INFORMATIONAL")] + public const int ErrorSeverityInformational = unchecked((int) 0x40000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "ERROR_SEVERITY_WARNING")] + public const uint ErrorSeverityWarning = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "ERROR_SEVERITY_ERROR")] + public const uint ErrorSeverityError = unchecked((uint) 0xFFFFFFFFC0000000); + [NativeName("Type", "long long")] + [NativeName("Name", "MAXLONGLONG")] + public const long Maxlonglong = unchecked((long) 0x7FFFFFFFFFFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "UNICODE_STRING_MAX_CHARS")] + public const int UnicodeStringMaxChars = unchecked((int) 0x7FFF); + [NativeName("Type", "int")] + [NativeName("Name", "MINCHAR")] + public const int Minchar = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "MAXCHAR")] + public const int Maxchar = unchecked((int) 0x7F); + [NativeName("Type", "int")] + [NativeName("Name", "MINSHORT")] + public const int Minshort = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "MAXSHORT")] + public const int Maxshort = unchecked((int) 0x7FFF); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "MINLONG")] + public const uint Minlong = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "MAXLONG")] + public const int Maxlong = unchecked((int) 0x7FFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "MAXBYTE")] + public const int Maxbyte = unchecked((int) 0xFF); + [NativeName("Type", "int")] + [NativeName("Name", "MAXWORD")] + public const int Maxword = unchecked((int) 0xFFFF); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "MAXDWORD")] + public const uint Maxdword = unchecked((uint) 0xFFFFFFFFFFFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "ENCLAVE_SHORT_ID_LENGTH")] + public const int EnclaveShortIDLength = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "ENCLAVE_LONG_ID_LENGTH")] + public const int EnclaveLongIDLength = unchecked((int) 0x20); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "VER_SERVER_NT")] + public const uint VerServerNT = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "VER_WORKSTATION_NT")] + public const int VerWorkstationNT = unchecked((int) 0x40000000); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_SMALLBUSINESS")] + public const int VerSuiteSmallbusiness = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_ENTERPRISE")] + public const int VerSuiteEnterprise = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_BACKOFFICE")] + public const int VerSuiteBackoffice = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_COMMUNICATIONS")] + public const int VerSuiteCommunications = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_TERMINAL")] + public const int VerSuiteTerminal = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_SMALLBUSINESS_RESTRICTED")] + public const int VerSuiteSmallbusinessRestricted = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_EMBEDDEDNT")] + public const int VerSuiteEmbeddednt = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_DATACENTER")] + public const int VerSuiteDatacenter = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_SINGLEUSERTS")] + public const int VerSuiteSingleuserts = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_PERSONAL")] + public const int VerSuitePersonal = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_BLADE")] + public const int VerSuiteBlade = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_EMBEDDED_RESTRICTED")] + public const int VerSuiteEmbeddedRestricted = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_SECURITY_APPLIANCE")] + public const int VerSuiteSecurityAppliance = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_STORAGE_SERVER")] + public const int VerSuiteStorageServer = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_COMPUTE_SERVER")] + public const int VerSuiteComputeServer = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_WH_SERVER")] + public const int VerSuiteWHServer = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITE_MULTIUSERTS")] + public const int VerSuiteMultiuserts = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_UNDEFINED")] + public const int ProductUndefined = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ULTIMATE")] + public const int ProductUltimate = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_BASIC")] + public const int ProductHomeBasic = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_PREMIUM")] + public const int ProductHomePremium = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE")] + public const int ProductEnterprise = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_BASIC_N")] + public const int ProductHomeBasicN = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_BUSINESS")] + public const int ProductBusiness = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_SERVER")] + public const int ProductStandardServer = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_SERVER")] + public const int ProductDatacenterServer = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SMALLBUSINESS_SERVER")] + public const int ProductSmallbusinessServer = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_SERVER")] + public const int ProductEnterpriseServer = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STARTER")] + public const int ProductStarter = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_SERVER_CORE")] + public const int ProductDatacenterServerCore = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_SERVER_CORE")] + public const int ProductStandardServerCore = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_SERVER_CORE")] + public const int ProductEnterpriseServerCore = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_SERVER_IA64")] + public const int ProductEnterpriseServerIA64 = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_BUSINESS_N")] + public const int ProductBusinessN = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_WEB_SERVER")] + public const int ProductWebServer = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLUSTER_SERVER")] + public const int ProductClusterServer = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_SERVER")] + public const int ProductHomeServer = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_EXPRESS_SERVER")] + public const int ProductStorageExpressServer = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_STANDARD_SERVER")] + public const int ProductStorageStandardServer = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_WORKGROUP_SERVER")] + public const int ProductStorageWorkgroupServer = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_ENTERPRISE_SERVER")] + public const int ProductStorageEnterpriseServer = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SERVER_FOR_SMALLBUSINESS")] + public const int ProductServerForSmallbusiness = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SMALLBUSINESS_SERVER_PREMIUM")] + public const int ProductSmallbusinessServerPremium = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_PREMIUM_N")] + public const int ProductHomePremiumN = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_N")] + public const int ProductEnterpriseN = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ULTIMATE_N")] + public const int ProductUltimateN = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_WEB_SERVER_CORE")] + public const int ProductWebServerCore = unchecked((int) 0x1D); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT")] + public const int ProductMediumbusinessServerManagement = unchecked((int) 0x1E); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY")] + public const int ProductMediumbusinessServerSecurity = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING")] + public const int ProductMediumbusinessServerMessaging = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SERVER_FOUNDATION")] + public const int ProductServerFoundation = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_PREMIUM_SERVER")] + public const int ProductHomePremiumServer = unchecked((int) 0x22); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SERVER_FOR_SMALLBUSINESS_V")] + public const int ProductServerForSmallbusinessV = unchecked((int) 0x23); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_SERVER_V")] + public const int ProductStandardServerV = unchecked((int) 0x24); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_SERVER_V")] + public const int ProductDatacenterServerV = unchecked((int) 0x25); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_SERVER_V")] + public const int ProductEnterpriseServerV = unchecked((int) 0x26); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_SERVER_CORE_V")] + public const int ProductDatacenterServerCoreV = unchecked((int) 0x27); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_SERVER_CORE_V")] + public const int ProductStandardServerCoreV = unchecked((int) 0x28); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_SERVER_CORE_V")] + public const int ProductEnterpriseServerCoreV = unchecked((int) 0x29); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HYPERV")] + public const int ProductHyperv = unchecked((int) 0x2A); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_EXPRESS_SERVER_CORE")] + public const int ProductStorageExpressServerCore = unchecked((int) 0x2B); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_STANDARD_SERVER_CORE")] + public const int ProductStorageStandardServerCore = unchecked((int) 0x2C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_WORKGROUP_SERVER_CORE")] + public const int ProductStorageWorkgroupServerCore = unchecked((int) 0x2D); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_ENTERPRISE_SERVER_CORE")] + public const int ProductStorageEnterpriseServerCore = unchecked((int) 0x2E); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STARTER_N")] + public const int ProductStarterN = unchecked((int) 0x2F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL")] + public const int ProductProfessional = unchecked((int) 0x30); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_N")] + public const int ProductProfessionalN = unchecked((int) 0x31); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SB_SOLUTION_SERVER")] + public const int ProductSBSolutionServer = unchecked((int) 0x32); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SERVER_FOR_SB_SOLUTIONS")] + public const int ProductServerForSBSolutions = unchecked((int) 0x33); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_SERVER_SOLUTIONS")] + public const int ProductStandardServerSolutions = unchecked((int) 0x34); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_SERVER_SOLUTIONS_CORE")] + public const int ProductStandardServerSolutionsCore = unchecked((int) 0x35); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SB_SOLUTION_SERVER_EM")] + public const int ProductSBSolutionServerEM = unchecked((int) 0x36); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SERVER_FOR_SB_SOLUTIONS_EM")] + public const int ProductServerForSBSolutionsEM = unchecked((int) 0x37); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SOLUTION_EMBEDDEDSERVER")] + public const int ProductSolutionEmbeddedserver = unchecked((int) 0x38); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SOLUTION_EMBEDDEDSERVER_CORE")] + public const int ProductSolutionEmbeddedserverCore = unchecked((int) 0x39); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_EMBEDDED")] + public const int ProductProfessionalEmbedded = unchecked((int) 0x3A); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT")] + public const int ProductEssentialbusinessServerMgmt = unchecked((int) 0x3B); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL")] + public const int ProductEssentialbusinessServerAddl = unchecked((int) 0x3C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC")] + public const int ProductEssentialbusinessServerMgmtsvc = unchecked((int) 0x3D); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC")] + public const int ProductEssentialbusinessServerAddlsvc = unchecked((int) 0x3E); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE")] + public const int ProductSmallbusinessServerPremiumCore = unchecked((int) 0x3F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLUSTER_SERVER_V")] + public const int ProductClusterServerV = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED")] + public const int ProductEmbedded = unchecked((int) 0x41); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STARTER_E")] + public const int ProductStarterE = unchecked((int) 0x42); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_BASIC_E")] + public const int ProductHomeBasicE = unchecked((int) 0x43); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOME_PREMIUM_E")] + public const int ProductHomePremiumE = unchecked((int) 0x44); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_E")] + public const int ProductProfessionalE = unchecked((int) 0x45); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_E")] + public const int ProductEnterpriseE = unchecked((int) 0x46); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ULTIMATE_E")] + public const int ProductUltimateE = unchecked((int) 0x47); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_EVALUATION")] + public const int ProductEnterpriseEvaluation = unchecked((int) 0x48); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_MULTIPOINT_STANDARD_SERVER")] + public const int ProductMultipointStandardServer = unchecked((int) 0x4C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_MULTIPOINT_PREMIUM_SERVER")] + public const int ProductMultipointPremiumServer = unchecked((int) 0x4D); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_EVALUATION_SERVER")] + public const int ProductStandardEvaluationServer = unchecked((int) 0x4F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_EVALUATION_SERVER")] + public const int ProductDatacenterEvaluationServer = unchecked((int) 0x50); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_N_EVALUATION")] + public const int ProductEnterpriseNEvaluation = unchecked((int) 0x54); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_AUTOMOTIVE")] + public const int ProductEmbeddedAutomotive = unchecked((int) 0x55); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_INDUSTRY_A")] + public const int ProductEmbeddedIndustryA = unchecked((int) 0x56); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_THINPC")] + public const int ProductThinpc = unchecked((int) 0x57); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_A")] + public const int ProductEmbeddedA = unchecked((int) 0x58); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_INDUSTRY")] + public const int ProductEmbeddedIndustry = unchecked((int) 0x59); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_E")] + public const int ProductEmbeddedE = unchecked((int) 0x5A); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_INDUSTRY_E")] + public const int ProductEmbeddedIndustryE = unchecked((int) 0x5B); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_INDUSTRY_A_E")] + public const int ProductEmbeddedIndustryAE = unchecked((int) 0x5C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_WORKGROUP_EVALUATION_SERVER")] + public const int ProductStorageWorkgroupEvaluationServer = unchecked((int) 0x5F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STORAGE_STANDARD_EVALUATION_SERVER")] + public const int ProductStorageStandardEvaluationServer = unchecked((int) 0x60); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_ARM")] + public const int ProductCoreArm = unchecked((int) 0x61); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_N")] + public const int ProductCoreN = unchecked((int) 0x62); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_COUNTRYSPECIFIC")] + public const int ProductCoreCountryspecific = unchecked((int) 0x63); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_SINGLELANGUAGE")] + public const int ProductCoreSinglelanguage = unchecked((int) 0x64); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE")] + public const int ProductCore = unchecked((int) 0x65); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_WMC")] + public const int ProductProfessionalWmc = unchecked((int) 0x67); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_INDUSTRY_EVAL")] + public const int ProductEmbeddedIndustryEval = unchecked((int) 0x69); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_INDUSTRY_E_EVAL")] + public const int ProductEmbeddedIndustryEEval = unchecked((int) 0x6A); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_EVAL")] + public const int ProductEmbeddedEval = unchecked((int) 0x6B); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EMBEDDED_E_EVAL")] + public const int ProductEmbeddedEEval = unchecked((int) 0x6C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_NANO_SERVER")] + public const int ProductNanoServer = unchecked((int) 0x6D); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLOUD_STORAGE_SERVER")] + public const int ProductCloudStorageServer = unchecked((int) 0x6E); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_CONNECTED")] + public const int ProductCoreConnected = unchecked((int) 0x6F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_STUDENT")] + public const int ProductProfessionalStudent = unchecked((int) 0x70); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_CONNECTED_N")] + public const int ProductCoreConnectedN = unchecked((int) 0x71); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_STUDENT_N")] + public const int ProductProfessionalStudentN = unchecked((int) 0x72); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_CONNECTED_SINGLELANGUAGE")] + public const int ProductCoreConnectedSinglelanguage = unchecked((int) 0x73); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CORE_CONNECTED_COUNTRYSPECIFIC")] + public const int ProductCoreConnectedCountryspecific = unchecked((int) 0x74); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CONNECTED_CAR")] + public const int ProductConnectedCar = unchecked((int) 0x75); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_INDUSTRY_HANDHELD")] + public const int ProductIndustryHandheld = unchecked((int) 0x76); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PPI_PRO")] + public const int ProductPpiPro = unchecked((int) 0x77); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ARM64_SERVER")] + public const int ProductArm64Server = unchecked((int) 0x78); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EDUCATION")] + public const int ProductEducation = unchecked((int) 0x79); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_EDUCATION_N")] + public const int ProductEducationN = unchecked((int) 0x7A); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_IOTUAP")] + public const int ProductIotuap = unchecked((int) 0x7B); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLOUD_HOST_INFRASTRUCTURE_SERVER")] + public const int ProductCloudHostInfrastructureServer = unchecked((int) 0x7C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_S")] + public const int ProductEnterpriseS = unchecked((int) 0x7D); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_S_N")] + public const int ProductEnterpriseSN = unchecked((int) 0x7E); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_S")] + public const int ProductProfessionalS = unchecked((int) 0x7F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PROFESSIONAL_S_N")] + public const int ProductProfessionalSN = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_S_EVALUATION")] + public const int ProductEnterpriseSEvaluation = unchecked((int) 0x81); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_S_N_EVALUATION")] + public const int ProductEnterpriseSNEvaluation = unchecked((int) 0x82); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOLOGRAPHIC")] + public const int ProductHolographic = unchecked((int) 0x87); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HOLOGRAPHIC_BUSINESS")] + public const int ProductHolographicBusiness = unchecked((int) 0x88); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PRO_SINGLE_LANGUAGE")] + public const int ProductProSingleLanguage = unchecked((int) 0x8A); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PRO_CHINA")] + public const int ProductProChina = unchecked((int) 0x8B); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_SUBSCRIPTION")] + public const int ProductEnterpriseSubscription = unchecked((int) 0x8C); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISE_SUBSCRIPTION_N")] + public const int ProductEnterpriseSubscriptionN = unchecked((int) 0x8D); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_NANO_SERVER")] + public const int ProductDatacenterNanoServer = unchecked((int) 0x8F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_NANO_SERVER")] + public const int ProductStandardNanoServer = unchecked((int) 0x90); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_A_SERVER_CORE")] + public const int ProductDatacenterAServerCore = unchecked((int) 0x91); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_A_SERVER_CORE")] + public const int ProductStandardAServerCore = unchecked((int) 0x92); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_WS_SERVER_CORE")] + public const int ProductDatacenterWSServerCore = unchecked((int) 0x93); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_WS_SERVER_CORE")] + public const int ProductStandardWSServerCore = unchecked((int) 0x94); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_UTILITY_VM")] + public const int ProductUtilityVM = unchecked((int) 0x95); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_DATACENTER_EVALUATION_SERVER_CORE")] + public const int ProductDatacenterEvaluationServerCore = unchecked((int) 0x9F); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_STANDARD_EVALUATION_SERVER_CORE")] + public const int ProductStandardEvaluationServerCore = unchecked((int) 0xA0); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PRO_WORKSTATION")] + public const int ProductProWorkstation = unchecked((int) 0xA1); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PRO_WORKSTATION_N")] + public const int ProductProWorkstationN = unchecked((int) 0xA2); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PRO_FOR_EDUCATION")] + public const int ProductProForEducation = unchecked((int) 0xA4); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_PRO_FOR_EDUCATION_N")] + public const int ProductProForEducationN = unchecked((int) 0xA5); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_AZURE_SERVER_CORE")] + public const int ProductAzureServerCore = unchecked((int) 0xA8); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_AZURE_NANO_SERVER")] + public const int ProductAzureNanoServer = unchecked((int) 0xA9); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISEG")] + public const int ProductEnterpriseg = unchecked((int) 0xAB); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ENTERPRISEGN")] + public const int ProductEnterprisegn = unchecked((int) 0xAC); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_SERVERRDSH")] + public const int ProductServerrdsh = unchecked((int) 0xAF); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLOUD")] + public const int ProductCloud = unchecked((int) 0xB2); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLOUDN")] + public const int ProductCloudn = unchecked((int) 0xB3); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_HUBOS")] + public const int ProductHubos = unchecked((int) 0xB4); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ONECOREUPDATEOS")] + public const int ProductOnecoreupdateos = unchecked((int) 0xB6); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLOUDE")] + public const int ProductCloude = unchecked((int) 0xB7); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_ANDROMEDA")] + public const int ProductAndromeda = unchecked((int) 0xB8); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_IOTOS")] + public const int ProductIotos = unchecked((int) 0xB9); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_CLOUDEN")] + public const int ProductClouden = unchecked((int) 0xBA); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_IOTEDGEOS")] + public const int ProductIotedgeos = unchecked((int) 0xBB); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_IOTENTERPRISE")] + public const int ProductIotenterprise = unchecked((int) 0xBC); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_LITE")] + public const int ProductLite = unchecked((int) 0xBD); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_IOTENTERPRISES")] + public const int ProductIotenterprises = unchecked((int) 0xBF); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_XBOX_SYSTEMOS")] + public const int ProductXboxSystemos = unchecked((int) 0xC0); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_XBOX_NATIVEOS")] + public const int ProductXboxNativeos = unchecked((int) 0xC1); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_XBOX_GAMEOS")] + public const int ProductXboxGameos = unchecked((int) 0xC2); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_XBOX_ERAOS")] + public const int ProductXboxEraos = unchecked((int) 0xC3); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_XBOX_DURANGOHOSTOS")] + public const int ProductXboxDurangohostos = unchecked((int) 0xC4); + [NativeName("Type", "int")] + [NativeName("Name", "PRODUCT_XBOX_SCARLETTHOSTOS")] + public const int ProductXboxScarletthostos = unchecked((int) 0xC5); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "PRODUCT_UNLICENSED")] + public const uint ProductUnlicensed = unchecked((uint) 0xFFFFFFFFABCDABCD); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_NEUTRAL")] + public const int LangNeutral = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_INVARIANT")] + public const int LangInvariant = unchecked((int) 0x7F); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_AFRIKAANS")] + public const int LangAfrikaans = unchecked((int) 0x36); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ALBANIAN")] + public const int LangAlbanian = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ALSATIAN")] + public const int LangAlsatian = unchecked((int) 0x84); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_AMHARIC")] + public const int LangAmharic = unchecked((int) 0x5E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ARABIC")] + public const int LangArabic = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ARMENIAN")] + public const int LangArmenian = unchecked((int) 0x2B); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ASSAMESE")] + public const int LangAssamese = unchecked((int) 0x4D); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_AZERI")] + public const int LangAzeri = unchecked((int) 0x2C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_AZERBAIJANI")] + public const int LangAzerbaijani = unchecked((int) 0x2C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BANGLA")] + public const int LangBangla = unchecked((int) 0x45); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BASHKIR")] + public const int LangBashkir = unchecked((int) 0x6D); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BASQUE")] + public const int LangBasque = unchecked((int) 0x2D); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BELARUSIAN")] + public const int LangBelarusian = unchecked((int) 0x23); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BENGALI")] + public const int LangBengali = unchecked((int) 0x45); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BRETON")] + public const int LangBreton = unchecked((int) 0x7E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BOSNIAN")] + public const int LangBosnian = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BOSNIAN_NEUTRAL")] + public const int LangBosnianNeutral = unchecked((int) 0x781A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_BULGARIAN")] + public const int LangBulgarian = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CATALAN")] + public const int LangCatalan = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CENTRAL_KURDISH")] + public const int LangCentralKurdish = unchecked((int) 0x92); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CHEROKEE")] + public const int LangCherokee = unchecked((int) 0x5C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CHINESE")] + public const int LangChinese = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CHINESE_SIMPLIFIED")] + public const int LangChineseSimplified = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CHINESE_TRADITIONAL")] + public const int LangChineseTraditional = unchecked((int) 0x7C04); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CORSICAN")] + public const int LangCorsican = unchecked((int) 0x83); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CROATIAN")] + public const int LangCroatian = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_CZECH")] + public const int LangCzech = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_DANISH")] + public const int LangDanish = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_DARI")] + public const int LangDari = unchecked((int) 0x8C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_DIVEHI")] + public const int LangDivehi = unchecked((int) 0x65); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_DUTCH")] + public const int LangDutch = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ENGLISH")] + public const int LangEnglish = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ESTONIAN")] + public const int LangEstonian = unchecked((int) 0x25); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_FAEROESE")] + public const int LangFaeroese = unchecked((int) 0x38); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_FARSI")] + public const int LangFarsi = unchecked((int) 0x29); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_FILIPINO")] + public const int LangFilipino = unchecked((int) 0x64); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_FINNISH")] + public const int LangFinnish = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_FRENCH")] + public const int LangFrench = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_FRISIAN")] + public const int LangFrisian = unchecked((int) 0x62); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_FULAH")] + public const int LangFulah = unchecked((int) 0x67); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_GALICIAN")] + public const int LangGalician = unchecked((int) 0x56); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_GEORGIAN")] + public const int LangGeorgian = unchecked((int) 0x37); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_GERMAN")] + public const int LangGerman = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_GREEK")] + public const int LangGreek = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_GREENLANDIC")] + public const int LangGreenlandic = unchecked((int) 0x6F); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_GUJARATI")] + public const int LangGujarati = unchecked((int) 0x47); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_HAUSA")] + public const int LangHausa = unchecked((int) 0x68); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_HAWAIIAN")] + public const int LangHawaiian = unchecked((int) 0x75); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_HEBREW")] + public const int LangHebrew = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_HINDI")] + public const int LangHindi = unchecked((int) 0x39); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_HUNGARIAN")] + public const int LangHungarian = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ICELANDIC")] + public const int LangIcelandic = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_IGBO")] + public const int LangIgbo = unchecked((int) 0x70); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_INDONESIAN")] + public const int LangIndonesian = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_INUKTITUT")] + public const int LangInuktitut = unchecked((int) 0x5D); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_IRISH")] + public const int LangIrish = unchecked((int) 0x3C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ITALIAN")] + public const int LangItalian = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_JAPANESE")] + public const int LangJapanese = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KANNADA")] + public const int LangKannada = unchecked((int) 0x4B); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KASHMIRI")] + public const int LangKashmiri = unchecked((int) 0x60); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KAZAK")] + public const int LangKazak = unchecked((int) 0x3F); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KHMER")] + public const int LangKhmer = unchecked((int) 0x53); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KICHE")] + public const int LangKiche = unchecked((int) 0x86); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KINYARWANDA")] + public const int LangKinyarwanda = unchecked((int) 0x87); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KONKANI")] + public const int LangKonkani = unchecked((int) 0x57); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KOREAN")] + public const int LangKorean = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_KYRGYZ")] + public const int LangKyrgyz = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_LAO")] + public const int LangLao = unchecked((int) 0x54); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_LATVIAN")] + public const int LangLatvian = unchecked((int) 0x26); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_LITHUANIAN")] + public const int LangLithuanian = unchecked((int) 0x27); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_LOWER_SORBIAN")] + public const int LangLowerSorbian = unchecked((int) 0x2E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_LUXEMBOURGISH")] + public const int LangLuxembourgish = unchecked((int) 0x6E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MACEDONIAN")] + public const int LangMacedonian = unchecked((int) 0x2F); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MALAY")] + public const int LangMalay = unchecked((int) 0x3E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MALAYALAM")] + public const int LangMalayalam = unchecked((int) 0x4C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MALTESE")] + public const int LangMaltese = unchecked((int) 0x3A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MANIPURI")] + public const int LangManipuri = unchecked((int) 0x58); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MAORI")] + public const int LangMaori = unchecked((int) 0x81); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MAPUDUNGUN")] + public const int LangMapudungun = unchecked((int) 0x7A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MARATHI")] + public const int LangMarathi = unchecked((int) 0x4E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MOHAWK")] + public const int LangMohawk = unchecked((int) 0x7C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_MONGOLIAN")] + public const int LangMongolian = unchecked((int) 0x50); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_NEPALI")] + public const int LangNepali = unchecked((int) 0x61); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_NORWEGIAN")] + public const int LangNorwegian = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_OCCITAN")] + public const int LangOccitan = unchecked((int) 0x82); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ODIA")] + public const int LangOdia = unchecked((int) 0x48); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ORIYA")] + public const int LangOriya = unchecked((int) 0x48); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_PASHTO")] + public const int LangPashto = unchecked((int) 0x63); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_PERSIAN")] + public const int LangPersian = unchecked((int) 0x29); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_POLISH")] + public const int LangPolish = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_PORTUGUESE")] + public const int LangPortuguese = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_PULAR")] + public const int LangPular = unchecked((int) 0x67); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_PUNJABI")] + public const int LangPunjabi = unchecked((int) 0x46); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_QUECHUA")] + public const int LangQuechua = unchecked((int) 0x6B); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ROMANIAN")] + public const int LangRomanian = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ROMANSH")] + public const int LangRomansh = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_RUSSIAN")] + public const int LangRussian = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SAKHA")] + public const int LangSakha = unchecked((int) 0x85); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SAMI")] + public const int LangSami = unchecked((int) 0x3B); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SANSKRIT")] + public const int LangSanskrit = unchecked((int) 0x4F); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SCOTTISH_GAELIC")] + public const int LangScottishGaelic = unchecked((int) 0x91); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SERBIAN")] + public const int LangSerbian = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SERBIAN_NEUTRAL")] + public const int LangSerbianNeutral = unchecked((int) 0x7C1A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SINDHI")] + public const int LangSindhi = unchecked((int) 0x59); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SINHALESE")] + public const int LangSinhalese = unchecked((int) 0x5B); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SLOVAK")] + public const int LangSlovak = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SLOVENIAN")] + public const int LangSlovenian = unchecked((int) 0x24); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SOTHO")] + public const int LangSotho = unchecked((int) 0x6C); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SPANISH")] + public const int LangSpanish = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SWAHILI")] + public const int LangSwahili = unchecked((int) 0x41); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SWEDISH")] + public const int LangSwedish = unchecked((int) 0x1D); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_SYRIAC")] + public const int LangSyriac = unchecked((int) 0x5A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TAJIK")] + public const int LangTajik = unchecked((int) 0x28); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TAMAZIGHT")] + public const int LangTamazight = unchecked((int) 0x5F); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TAMIL")] + public const int LangTamil = unchecked((int) 0x49); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TATAR")] + public const int LangTatar = unchecked((int) 0x44); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TELUGU")] + public const int LangTelugu = unchecked((int) 0x4A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_THAI")] + public const int LangThai = unchecked((int) 0x1E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TIBETAN")] + public const int LangTibetan = unchecked((int) 0x51); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TIGRIGNA")] + public const int LangTigrigna = unchecked((int) 0x73); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TIGRINYA")] + public const int LangTigrinya = unchecked((int) 0x73); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TSWANA")] + public const int LangTswana = unchecked((int) 0x32); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TURKISH")] + public const int LangTurkish = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_TURKMEN")] + public const int LangTurkmen = unchecked((int) 0x42); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_UIGHUR")] + public const int LangUighur = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_UKRAINIAN")] + public const int LangUkrainian = unchecked((int) 0x22); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_UPPER_SORBIAN")] + public const int LangUpperSorbian = unchecked((int) 0x2E); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_URDU")] + public const int LangUrdu = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_UZBEK")] + public const int LangUzbek = unchecked((int) 0x43); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_VALENCIAN")] + public const int LangValencian = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_VIETNAMESE")] + public const int LangVietnamese = unchecked((int) 0x2A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_WELSH")] + public const int LangWelsh = unchecked((int) 0x52); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_WOLOF")] + public const int LangWolof = unchecked((int) 0x88); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_XHOSA")] + public const int LangXhosa = unchecked((int) 0x34); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_YAKUT")] + public const int LangYakut = unchecked((int) 0x85); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_YI")] + public const int LangYI = unchecked((int) 0x78); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_YORUBA")] + public const int LangYoruba = unchecked((int) 0x6A); + [NativeName("Type", "int")] + [NativeName("Name", "LANG_ZULU")] + public const int LangZulu = unchecked((int) 0x35); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_NEUTRAL")] + public const int SublangNeutral = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_DEFAULT")] + public const int SublangDefault = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SYS_DEFAULT")] + public const int SublangSysDefault = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CUSTOM_DEFAULT")] + public const int SublangCustomDefault = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CUSTOM_UNSPECIFIED")] + public const int SublangCustomUnspecified = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_UI_CUSTOM_DEFAULT")] + public const int SublangUICustomDefault = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_AFRIKAANS_SOUTH_AFRICA")] + public const int SublangAfrikaansSouthAfrica = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ALBANIAN_ALBANIA")] + public const int SublangAlbanianAlbania = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ALSATIAN_FRANCE")] + public const int SublangAlsatianFrance = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_AMHARIC_ETHIOPIA")] + public const int SublangAmharicEthiopia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_SAUDI_ARABIA")] + public const int SublangArabicSaudiArabia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_IRAQ")] + public const int SublangArabicIraq = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_EGYPT")] + public const int SublangArabicEgypt = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_LIBYA")] + public const int SublangArabicLibya = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_ALGERIA")] + public const int SublangArabicAlgeria = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_MOROCCO")] + public const int SublangArabicMorocco = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_TUNISIA")] + public const int SublangArabicTunisia = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_OMAN")] + public const int SublangArabicOman = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_YEMEN")] + public const int SublangArabicYemen = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_SYRIA")] + public const int SublangArabicSyria = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_JORDAN")] + public const int SublangArabicJordan = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_LEBANON")] + public const int SublangArabicLebanon = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_KUWAIT")] + public const int SublangArabicKuwait = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_UAE")] + public const int SublangArabicUae = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_BAHRAIN")] + public const int SublangArabicBahrain = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARABIC_QATAR")] + public const int SublangArabicQatar = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ARMENIAN_ARMENIA")] + public const int SublangArmenianArmenia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ASSAMESE_INDIA")] + public const int SublangAssameseIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_AZERI_LATIN")] + public const int SublangAzeriLatin = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_AZERI_CYRILLIC")] + public const int SublangAzeriCyrillic = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_AZERBAIJANI_AZERBAIJAN_LATIN")] + public const int SublangAzerbaijaniAzerbaijanLatin = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_AZERBAIJANI_AZERBAIJAN_CYRILLIC")] + public const int SublangAzerbaijaniAzerbaijanCyrillic = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BANGLA_INDIA")] + public const int SublangBanglaIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BANGLA_BANGLADESH")] + public const int SublangBanglaBangladesh = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BASHKIR_RUSSIA")] + public const int SublangBashkirRussia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BASQUE_BASQUE")] + public const int SublangBasqueBasque = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BELARUSIAN_BELARUS")] + public const int SublangBelarusianBelarus = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BENGALI_INDIA")] + public const int SublangBengaliIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BENGALI_BANGLADESH")] + public const int SublangBengaliBangladesh = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN")] + public const int SublangBosnianBosniaHerzegovinaLatin = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC")] + public const int SublangBosnianBosniaHerzegovinaCyrillic = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BRETON_FRANCE")] + public const int SublangBretonFrance = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_BULGARIAN_BULGARIA")] + public const int SublangBulgarianBulgaria = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CATALAN_CATALAN")] + public const int SublangCatalanCatalan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CENTRAL_KURDISH_IRAQ")] + public const int SublangCentralKurdishIraq = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CHEROKEE_CHEROKEE")] + public const int SublangCherokeeCherokee = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CHINESE_TRADITIONAL")] + public const int SublangChineseTraditional = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CHINESE_SIMPLIFIED")] + public const int SublangChineseSimplified = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CHINESE_HONGKONG")] + public const int SublangChineseHongkong = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CHINESE_SINGAPORE")] + public const int SublangChineseSingapore = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CHINESE_MACAU")] + public const int SublangChineseMacau = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CORSICAN_FRANCE")] + public const int SublangCorsicanFrance = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CZECH_CZECH_REPUBLIC")] + public const int SublangCzechCzechRepublic = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CROATIAN_CROATIA")] + public const int SublangCroatianCroatia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN")] + public const int SublangCroatianBosniaHerzegovinaLatin = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_DANISH_DENMARK")] + public const int SublangDanishDenmark = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_DARI_AFGHANISTAN")] + public const int SublangDariAfghanistan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_DIVEHI_MALDIVES")] + public const int SublangDivehiMaldives = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_DUTCH")] + public const int SublangDutch = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_DUTCH_BELGIAN")] + public const int SublangDutchBelgian = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_US")] + public const int SublangEnglishUS = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_UK")] + public const int SublangEnglishUK = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_AUS")] + public const int SublangEnglishAus = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_CAN")] + public const int SublangEnglishCan = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_NZ")] + public const int SublangEnglishNZ = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_EIRE")] + public const int SublangEnglishEire = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_SOUTH_AFRICA")] + public const int SublangEnglishSouthAfrica = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_JAMAICA")] + public const int SublangEnglishJamaica = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_CARIBBEAN")] + public const int SublangEnglishCaribbean = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_BELIZE")] + public const int SublangEnglishBelize = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_TRINIDAD")] + public const int SublangEnglishTrinidad = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_ZIMBABWE")] + public const int SublangEnglishZimbabwe = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_PHILIPPINES")] + public const int SublangEnglishPhilippines = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_INDIA")] + public const int SublangEnglishIndia = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_MALAYSIA")] + public const int SublangEnglishMalaysia = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ENGLISH_SINGAPORE")] + public const int SublangEnglishSingapore = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ESTONIAN_ESTONIA")] + public const int SublangEstonianEstonia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FAEROESE_FAROE_ISLANDS")] + public const int SublangFaeroeseFaroeIslands = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FILIPINO_PHILIPPINES")] + public const int SublangFilipinoPhilippines = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FINNISH_FINLAND")] + public const int SublangFinnishFinland = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FRENCH")] + public const int SublangFrench = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FRENCH_BELGIAN")] + public const int SublangFrenchBelgian = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FRENCH_CANADIAN")] + public const int SublangFrenchCanadian = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FRENCH_SWISS")] + public const int SublangFrenchSwiss = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FRENCH_LUXEMBOURG")] + public const int SublangFrenchLuxembourg = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FRENCH_MONACO")] + public const int SublangFrenchMonaco = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FRISIAN_NETHERLANDS")] + public const int SublangFrisianNetherlands = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_FULAH_SENEGAL")] + public const int SublangFulahSenegal = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GALICIAN_GALICIAN")] + public const int SublangGalicianGalician = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GEORGIAN_GEORGIA")] + public const int SublangGeorgianGeorgia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GERMAN")] + public const int SublangGerman = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GERMAN_SWISS")] + public const int SublangGermanSwiss = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GERMAN_AUSTRIAN")] + public const int SublangGermanAustrian = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GERMAN_LUXEMBOURG")] + public const int SublangGermanLuxembourg = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GERMAN_LIECHTENSTEIN")] + public const int SublangGermanLiechtenstein = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GREEK_GREECE")] + public const int SublangGreekGreece = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GREENLANDIC_GREENLAND")] + public const int SublangGreenlandicGreenland = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_GUJARATI_INDIA")] + public const int SublangGujaratiIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_HAUSA_NIGERIA_LATIN")] + public const int SublangHausaNigeriaLatin = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_HAWAIIAN_US")] + public const int SublangHawaiianUS = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_HEBREW_ISRAEL")] + public const int SublangHebrewIsrael = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_HINDI_INDIA")] + public const int SublangHindiIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_HUNGARIAN_HUNGARY")] + public const int SublangHungarianHungary = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ICELANDIC_ICELAND")] + public const int SublangIcelandicIceland = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_IGBO_NIGERIA")] + public const int SublangIgboNigeria = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_INDONESIAN_INDONESIA")] + public const int SublangIndonesianIndonesia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_INUKTITUT_CANADA")] + public const int SublangInuktitutCanada = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_INUKTITUT_CANADA_LATIN")] + public const int SublangInuktitutCanadaLatin = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_IRISH_IRELAND")] + public const int SublangIrishIreland = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ITALIAN")] + public const int SublangItalian = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ITALIAN_SWISS")] + public const int SublangItalianSwiss = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_JAPANESE_JAPAN")] + public const int SublangJapaneseJapan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KANNADA_INDIA")] + public const int SublangKannadaIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KASHMIRI_SASIA")] + public const int SublangKashmiriSasia = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KASHMIRI_INDIA")] + public const int SublangKashmiriIndia = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KAZAK_KAZAKHSTAN")] + public const int SublangKazakKazakhstan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KHMER_CAMBODIA")] + public const int SublangKhmerCambodia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KICHE_GUATEMALA")] + public const int SublangKicheGuatemala = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KINYARWANDA_RWANDA")] + public const int SublangKinyarwandaRwanda = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KONKANI_INDIA")] + public const int SublangKonkaniIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KOREAN")] + public const int SublangKorean = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_KYRGYZ_KYRGYZSTAN")] + public const int SublangKyrgyzKyrgyzstan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_LAO_LAO")] + public const int SublangLaoLao = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_LATVIAN_LATVIA")] + public const int SublangLatvianLatvia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_LITHUANIAN")] + public const int SublangLithuanian = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_LOWER_SORBIAN_GERMANY")] + public const int SublangLowerSorbianGermany = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_LUXEMBOURGISH_LUXEMBOURG")] + public const int SublangLuxembourgishLuxembourg = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MACEDONIAN_MACEDONIA")] + public const int SublangMacedonianMacedonia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MALAY_MALAYSIA")] + public const int SublangMalayMalaysia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MALAY_BRUNEI_DARUSSALAM")] + public const int SublangMalayBruneiDarussalam = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MALAYALAM_INDIA")] + public const int SublangMalayalamIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MALTESE_MALTA")] + public const int SublangMalteseMalta = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MAORI_NEW_ZEALAND")] + public const int SublangMaoriNewZealand = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MAPUDUNGUN_CHILE")] + public const int SublangMapudungunChile = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MARATHI_INDIA")] + public const int SublangMarathiIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MOHAWK_MOHAWK")] + public const int SublangMohawkMohawk = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA")] + public const int SublangMongolianCyrillicMongolia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_MONGOLIAN_PRC")] + public const int SublangMongolianPrc = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_NEPALI_INDIA")] + public const int SublangNepaliIndia = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_NEPALI_NEPAL")] + public const int SublangNepaliNepal = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_NORWEGIAN_BOKMAL")] + public const int SublangNorwegianBokmal = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_NORWEGIAN_NYNORSK")] + public const int SublangNorwegianNynorsk = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_OCCITAN_FRANCE")] + public const int SublangOccitanFrance = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ODIA_INDIA")] + public const int SublangOdiaIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ORIYA_INDIA")] + public const int SublangOriyaIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_PASHTO_AFGHANISTAN")] + public const int SublangPashtoAfghanistan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_PERSIAN_IRAN")] + public const int SublangPersianIran = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_POLISH_POLAND")] + public const int SublangPolishPoland = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_PORTUGUESE")] + public const int SublangPortuguese = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_PORTUGUESE_BRAZILIAN")] + public const int SublangPortugueseBrazilian = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_PULAR_SENEGAL")] + public const int SublangPularSenegal = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_PUNJABI_INDIA")] + public const int SublangPunjabiIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_PUNJABI_PAKISTAN")] + public const int SublangPunjabiPakistan = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_QUECHUA_BOLIVIA")] + public const int SublangQuechuaBolivia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_QUECHUA_ECUADOR")] + public const int SublangQuechuaEcuador = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_QUECHUA_PERU")] + public const int SublangQuechuaPeru = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ROMANIAN_ROMANIA")] + public const int SublangRomanianRomania = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ROMANSH_SWITZERLAND")] + public const int SublangRomanshSwitzerland = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_RUSSIAN_RUSSIA")] + public const int SublangRussianRussia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAKHA_RUSSIA")] + public const int SublangSakhaRussia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_NORTHERN_NORWAY")] + public const int SublangSamiNorthernNorway = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_NORTHERN_SWEDEN")] + public const int SublangSamiNorthernSweden = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_NORTHERN_FINLAND")] + public const int SublangSamiNorthernFinland = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_LULE_NORWAY")] + public const int SublangSamiLuleNorway = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_LULE_SWEDEN")] + public const int SublangSamiLuleSweden = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_SOUTHERN_NORWAY")] + public const int SublangSamiSouthernNorway = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_SOUTHERN_SWEDEN")] + public const int SublangSamiSouthernSweden = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_SKOLT_FINLAND")] + public const int SublangSamiSkoltFinland = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SAMI_INARI_FINLAND")] + public const int SublangSamiInariFinland = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SANSKRIT_INDIA")] + public const int SublangSanskritIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SCOTTISH_GAELIC")] + public const int SublangScottishGaelic = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_LATIN")] + public const int SublangSerbianBosniaHerzegovinaLatin = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC")] + public const int SublangSerbianBosniaHerzegovinaCyrillic = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_MONTENEGRO_LATIN")] + public const int SublangSerbianMontenegroLatin = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_MONTENEGRO_CYRILLIC")] + public const int SublangSerbianMontenegroCyrillic = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_SERBIA_LATIN")] + public const int SublangSerbianSerbiaLatin = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_SERBIA_CYRILLIC")] + public const int SublangSerbianSerbiaCyrillic = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_CROATIA")] + public const int SublangSerbianCroatia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_LATIN")] + public const int SublangSerbianLatin = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SERBIAN_CYRILLIC")] + public const int SublangSerbianCyrillic = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SINDHI_INDIA")] + public const int SublangSindhiIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SINDHI_PAKISTAN")] + public const int SublangSindhiPakistan = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SINDHI_AFGHANISTAN")] + public const int SublangSindhiAfghanistan = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SINHALESE_SRI_LANKA")] + public const int SublangSinhaleseSriLanka = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SOTHO_NORTHERN_SOUTH_AFRICA")] + public const int SublangSothoNorthernSouthAfrica = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SLOVAK_SLOVAKIA")] + public const int SublangSlovakSlovakia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SLOVENIAN_SLOVENIA")] + public const int SublangSlovenianSlovenia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH")] + public const int SublangSpanish = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_MEXICAN")] + public const int SublangSpanishMexican = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_MODERN")] + public const int SublangSpanishModern = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_GUATEMALA")] + public const int SublangSpanishGuatemala = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_COSTA_RICA")] + public const int SublangSpanishCostaRica = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_PANAMA")] + public const int SublangSpanishPanama = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_DOMINICAN_REPUBLIC")] + public const int SublangSpanishDominicanRepublic = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_VENEZUELA")] + public const int SublangSpanishVenezuela = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_COLOMBIA")] + public const int SublangSpanishColombia = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_PERU")] + public const int SublangSpanishPeru = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_ARGENTINA")] + public const int SublangSpanishArgentina = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_ECUADOR")] + public const int SublangSpanishEcuador = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_CHILE")] + public const int SublangSpanishChile = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_URUGUAY")] + public const int SublangSpanishUruguay = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_PARAGUAY")] + public const int SublangSpanishParaguay = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_BOLIVIA")] + public const int SublangSpanishBolivia = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_EL_SALVADOR")] + public const int SublangSpanishELSalvador = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_HONDURAS")] + public const int SublangSpanishHonduras = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_NICARAGUA")] + public const int SublangSpanishNicaragua = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_PUERTO_RICO")] + public const int SublangSpanishPuertoRico = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SPANISH_US")] + public const int SublangSpanishUS = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SWAHILI_KENYA")] + public const int SublangSwahiliKenya = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SWEDISH")] + public const int SublangSwedish = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SWEDISH_FINLAND")] + public const int SublangSwedishFinland = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_SYRIAC_SYRIA")] + public const int SublangSyriacSyria = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TAJIK_TAJIKISTAN")] + public const int SublangTajikTajikistan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TAMAZIGHT_ALGERIA_LATIN")] + public const int SublangTamazightAlgeriaLatin = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TAMAZIGHT_MOROCCO_TIFINAGH")] + public const int SublangTamazightMoroccoTifinagh = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TAMIL_INDIA")] + public const int SublangTamilIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TAMIL_SRI_LANKA")] + public const int SublangTamilSriLanka = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TATAR_RUSSIA")] + public const int SublangTatarRussia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TELUGU_INDIA")] + public const int SublangTeluguIndia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_THAI_THAILAND")] + public const int SublangThaiThailand = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TIBETAN_PRC")] + public const int SublangTibetanPrc = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TIGRIGNA_ERITREA")] + public const int SublangTigrignaEritrea = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TIGRINYA_ERITREA")] + public const int SublangTigrinyaEritrea = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TIGRINYA_ETHIOPIA")] + public const int SublangTigrinyaEthiopia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TSWANA_BOTSWANA")] + public const int SublangTswanaBotswana = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TSWANA_SOUTH_AFRICA")] + public const int SublangTswanaSouthAfrica = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TURKISH_TURKEY")] + public const int SublangTurkishTurkey = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_TURKMEN_TURKMENISTAN")] + public const int SublangTurkmenTurkmenistan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_UIGHUR_PRC")] + public const int SublangUighurPrc = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_UKRAINIAN_UKRAINE")] + public const int SublangUkrainianUkraine = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_UPPER_SORBIAN_GERMANY")] + public const int SublangUpperSorbianGermany = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_URDU_PAKISTAN")] + public const int SublangUrduPakistan = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_URDU_INDIA")] + public const int SublangUrduIndia = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_UZBEK_LATIN")] + public const int SublangUzbekLatin = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_UZBEK_CYRILLIC")] + public const int SublangUzbekCyrillic = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_VALENCIAN_VALENCIA")] + public const int SublangValencianValencia = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_VIETNAMESE_VIETNAM")] + public const int SublangVietnameseVietnam = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_WELSH_UNITED_KINGDOM")] + public const int SublangWelshUnitedKingdom = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_WOLOF_SENEGAL")] + public const int SublangWolofSenegal = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_XHOSA_SOUTH_AFRICA")] + public const int SublangXhosaSouthAfrica = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_YAKUT_RUSSIA")] + public const int SublangYakutRussia = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_YI_PRC")] + public const int SublangYIPrc = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_YORUBA_NIGERIA")] + public const int SublangYorubaNigeria = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SUBLANG_ZULU_SOUTH_AFRICA")] + public const int SublangZuluSouthAfrica = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_DEFAULT")] + public const int SortDefault = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_INVARIANT_MATH")] + public const int SortInvariantMath = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_JAPANESE_XJIS")] + public const int SortJapaneseXjis = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_JAPANESE_UNICODE")] + public const int SortJapaneseUnicode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_JAPANESE_RADICALSTROKE")] + public const int SortJapaneseRadicalstroke = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_CHINESE_BIG5")] + public const int SortChineseBig5 = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_CHINESE_PRCP")] + public const int SortChinesePrcp = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_CHINESE_UNICODE")] + public const int SortChineseUnicode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_CHINESE_PRC")] + public const int SortChinesePrc = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_CHINESE_BOPOMOFO")] + public const int SortChineseBopomofo = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_CHINESE_RADICALSTROKE")] + public const int SortChineseRadicalstroke = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_KOREAN_KSC")] + public const int SortKoreanKsc = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_KOREAN_UNICODE")] + public const int SortKoreanUnicode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_GERMAN_PHONE_BOOK")] + public const int SortGermanPhoneBook = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_HUNGARIAN_DEFAULT")] + public const int SortHungarianDefault = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_HUNGARIAN_TECHNICAL")] + public const int SortHungarianTechnical = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_GEORGIAN_TRADITIONAL")] + public const int SortGeorgianTraditional = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SORT_GEORGIAN_MODERN")] + public const int SortGeorgianModern = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "NLS_VALID_LOCALE_MASK")] + public const int NlsValidLocaleMask = unchecked((int) 0xFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "LOCALE_NAME_MAX_LENGTH")] + public const int LocaleNameMaxLength = unchecked((int) 0x55); + [NativeName("Type", "int")] + [NativeName("Name", "LOCALE_TRANSIENT_KEYBOARD1")] + public const int LocaleTransientKeyboard1 = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "LOCALE_TRANSIENT_KEYBOARD2")] + public const int LocaleTransientKeyboard2 = unchecked((int) 0x2400); + [NativeName("Type", "int")] + [NativeName("Name", "LOCALE_TRANSIENT_KEYBOARD3")] + public const int LocaleTransientKeyboard3 = unchecked((int) 0x2800); + [NativeName("Type", "int")] + [NativeName("Name", "LOCALE_TRANSIENT_KEYBOARD4")] + public const int LocaleTransientKeyboard4 = unchecked((int) 0x2C00); + [NativeName("Type", "int")] + [NativeName("Name", "MAXIMUM_WAIT_OBJECTS")] + public const int MaximumWaitObjects = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "MAXIMUM_SUSPEND_COUNT")] + public const int MaximumSuspendCount = unchecked((int) 0x7F); + [NativeName("Type", "int")] + [NativeName("Name", "_MM_HINT_T0")] + public const int MMHintT0 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "_MM_HINT_T1")] + public const int MMHintT1 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "_MM_HINT_T2")] + public const int MMHintT2 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "_MM_HINT_NTA")] + public const int MMHintNta = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PF_TEMPORAL_LEVEL_1")] + public const int PFTemporalLevel1 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PF_TEMPORAL_LEVEL_2")] + public const int PFTemporalLevel2 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PF_TEMPORAL_LEVEL_3")] + public const int PFTemporalLevel3 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PF_NON_TEMPORAL_LEVEL_ALL")] + public const int PFNonTemporalLevelAll = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_READ_FAULT")] + public const int ExceptionReadFault = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_WRITE_FAULT")] + public const int ExceptionWriteFault = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_EXECUTE_FAULT")] + public const int ExceptionExecuteFault = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SIZE_OF_80387_REGISTERS")] + public const int SizeOf80387Registers = unchecked((int) 0x50); + [NativeName("Type", "long")] + [NativeName("Name", "CONTEXT_i386")] + public const int ContextI386 = unchecked((int) 0x10000); + [NativeName("Type", "long")] + [NativeName("Name", "CONTEXT_i486")] + public const int ContextI486 = unchecked((int) 0x10000); + [NativeName("Type", "long")] + [NativeName("Name", "CONTEXT_EXCEPTION_ACTIVE")] + public const int ContextExceptionActive = unchecked((int) 0x8000000); + [NativeName("Type", "long")] + [NativeName("Name", "CONTEXT_SERVICE_ACTIVE")] + public const int ContextServiceActive = unchecked((int) 0x10000000); + [NativeName("Type", "long")] + [NativeName("Name", "CONTEXT_EXCEPTION_REQUEST")] + public const int ContextExceptionRequest = unchecked((int) 0x40000000); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "CONTEXT_EXCEPTION_REPORTING")] + public const uint ContextExceptionReporting = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "MAXIMUM_SUPPORTED_EXTENSION")] + public const int MaximumSupportedExtension = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "WOW64_CONTEXT_i386")] + public const int Wow64ContextI386 = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "WOW64_CONTEXT_i486")] + public const int Wow64ContextI486 = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "WOW64_CONTEXT_EXCEPTION_ACTIVE")] + public const int Wow64ContextExceptionActive = unchecked((int) 0x8000000); + [NativeName("Type", "int")] + [NativeName("Name", "WOW64_CONTEXT_SERVICE_ACTIVE")] + public const int Wow64ContextServiceActive = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "WOW64_CONTEXT_EXCEPTION_REQUEST")] + public const int Wow64ContextExceptionRequest = unchecked((int) 0x40000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "WOW64_CONTEXT_EXCEPTION_REPORTING")] + public const uint Wow64ContextExceptionReporting = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "WOW64_SIZE_OF_80387_REGISTERS")] + public const int Wow64SizeOf80387Registers = unchecked((int) 0x50); + [NativeName("Type", "int")] + [NativeName("Name", "WOW64_MAXIMUM_SUPPORTED_EXTENSION")] + public const int Wow64MaximumSupportedExtension = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_NONCONTINUABLE")] + public const int ExceptionNoncontinuable = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_UNWINDING")] + public const int ExceptionUnwinding = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_EXIT_UNWIND")] + public const int ExceptionExitUnwind = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_STACK_INVALID")] + public const int ExceptionStackInvalid = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_NESTED_CALL")] + public const int ExceptionNestedCall = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_TARGET_UNWIND")] + public const int ExceptionTargetUnwind = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_COLLIDED_UNWIND")] + public const int ExceptionCollidedUnwind = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_MAXIMUM_PARAMETERS")] + public const int ExceptionMaximumParameters = unchecked((int) 0xF); + [NativeName("Type", "long")] + [NativeName("Name", "DELETE")] + public const int Delete = unchecked((int) 0x10000); + [NativeName("Type", "long")] + [NativeName("Name", "READ_CONTROL")] + public const int ReadControl = unchecked((int) 0x20000); + [NativeName("Type", "long")] + [NativeName("Name", "WRITE_DAC")] + public const int WriteDac = unchecked((int) 0x40000); + [NativeName("Type", "long")] + [NativeName("Name", "WRITE_OWNER")] + public const int WriteOwner = unchecked((int) 0x80000); + [NativeName("Type", "long")] + [NativeName("Name", "SYNCHRONIZE")] + public const int Synchronize = unchecked((int) 0x100000); + [NativeName("Type", "long")] + [NativeName("Name", "STANDARD_RIGHTS_REQUIRED")] + public const int StandardRightsRequired = unchecked((int) 0xF0000); + [NativeName("Type", "long")] + [NativeName("Name", "STANDARD_RIGHTS_READ")] + public const int StandardRightsRead = unchecked((int) 0x20000); + [NativeName("Type", "long")] + [NativeName("Name", "STANDARD_RIGHTS_WRITE")] + public const int StandardRightsWrite = unchecked((int) 0x20000); + [NativeName("Type", "long")] + [NativeName("Name", "STANDARD_RIGHTS_EXECUTE")] + public const int StandardRightsExecute = unchecked((int) 0x20000); + [NativeName("Type", "long")] + [NativeName("Name", "STANDARD_RIGHTS_ALL")] + public const int StandardRightsAll = unchecked((int) 0x1F0000); + [NativeName("Type", "long")] + [NativeName("Name", "SPECIFIC_RIGHTS_ALL")] + public const int SpecificRightsAll = unchecked((int) 0xFFFF); + [NativeName("Type", "long")] + [NativeName("Name", "ACCESS_SYSTEM_SECURITY")] + public const int AccessSystemSecurity = unchecked((int) 0x1000000); + [NativeName("Type", "long")] + [NativeName("Name", "MAXIMUM_ALLOWED")] + public const int MaximumAllowed = unchecked((int) 0x2000000); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "GENERIC_READ")] + public const uint GenericRead = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "long")] + [NativeName("Name", "GENERIC_WRITE")] + public const int GenericWrite = unchecked((int) 0x40000000); + [NativeName("Type", "long")] + [NativeName("Name", "GENERIC_EXECUTE")] + public const int GenericExecute = unchecked((int) 0x20000000); + [NativeName("Type", "long")] + [NativeName("Name", "GENERIC_ALL")] + public const int GenericAll = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "SID_REVISION")] + public const int SidRevision = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SID_MAX_SUB_AUTHORITIES")] + public const int SidMaxSubAuthorities = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "SID_RECOMMENDED_SUB_AUTHORITIES")] + public const int SidRecommendedSubAuthorities = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SID_HASH_SIZE")] + public const int SidHashSize = unchecked((int) 0x20); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_NULL_RID")] + public const int SecurityNullRid = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WORLD_RID")] + public const int SecurityWorldRid = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOCAL_RID")] + public const int SecurityLocalRid = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOCAL_LOGON_RID")] + public const int SecurityLocalLogonRid = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CREATOR_OWNER_RID")] + public const int SecurityCreatorOwnerRid = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CREATOR_GROUP_RID")] + public const int SecurityCreatorGroupRid = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CREATOR_OWNER_SERVER_RID")] + public const int SecurityCreatorOwnerServerRid = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CREATOR_GROUP_SERVER_RID")] + public const int SecurityCreatorGroupServerRid = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CREATOR_OWNER_RIGHTS_RID")] + public const int SecurityCreatorOwnerRightsRid = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_DIALUP_RID")] + public const int SecurityDialupRid = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_NETWORK_RID")] + public const int SecurityNetworkRid = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_BATCH_RID")] + public const int SecurityBatchRid = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_INTERACTIVE_RID")] + public const int SecurityInteractiveRid = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOGON_IDS_RID")] + public const int SecurityLogonIdsRid = unchecked((int) 0x5); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOGON_IDS_RID_COUNT")] + public const int SecurityLogonIdsRidCount = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_SERVICE_RID")] + public const int SecurityServiceRid = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_ANONYMOUS_LOGON_RID")] + public const int SecurityAnonymousLogonRid = unchecked((int) 0x7); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROXY_RID")] + public const int SecurityProxyRid = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_ENTERPRISE_CONTROLLERS_RID")] + public const int SecurityEnterpriseControllersRid = unchecked((int) 0x9); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_SERVER_LOGON_RID")] + public const int SecurityServerLogonRid = unchecked((int) 0x9); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PRINCIPAL_SELF_RID")] + public const int SecurityPrincipalSelfRid = unchecked((int) 0xA); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATED_USER_RID")] + public const int SecurityAuthenticatedUserRid = unchecked((int) 0xB); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_RESTRICTED_CODE_RID")] + public const int SecurityRestrictedCodeRid = unchecked((int) 0xC); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_TERMINAL_SERVER_RID")] + public const int SecurityTerminalServerRid = unchecked((int) 0xD); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_REMOTE_LOGON_RID")] + public const int SecurityRemoteLogonRid = unchecked((int) 0xE); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_THIS_ORGANIZATION_RID")] + public const int SecurityThisOrganizationRid = unchecked((int) 0xF); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_IUSER_RID")] + public const int SecurityIuserRid = unchecked((int) 0x11); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOCAL_SYSTEM_RID")] + public const int SecurityLocalSystemRid = unchecked((int) 0x12); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOCAL_SERVICE_RID")] + public const int SecurityLocalServiceRid = unchecked((int) 0x13); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_NETWORK_SERVICE_RID")] + public const int SecurityNetworkServiceRid = unchecked((int) 0x14); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_NT_NON_UNIQUE")] + public const int SecurityNTNonUnique = unchecked((int) 0x15); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_NT_NON_UNIQUE_SUB_AUTH_COUNT")] + public const int SecurityNTNonUniqueSubAuthCount = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_ENTERPRISE_READONLY_CONTROLLERS_RID")] + public const int SecurityEnterpriseReadonlyControllersRid = unchecked((int) 0x16); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_BUILTIN_DOMAIN_RID")] + public const int SecurityBuiltinDomainRid = unchecked((int) 0x20); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WRITE_RESTRICTED_CODE_RID")] + public const int SecurityWriteRestrictedCodeRid = unchecked((int) 0x21); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PACKAGE_BASE_RID")] + public const int SecurityPackageBaseRid = unchecked((int) 0x40); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PACKAGE_RID_COUNT")] + public const int SecurityPackageRidCount = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PACKAGE_NTLM_RID")] + public const int SecurityPackageNtlmRid = unchecked((int) 0xA); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PACKAGE_SCHANNEL_RID")] + public const int SecurityPackageSchannelRid = unchecked((int) 0xE); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PACKAGE_DIGEST_RID")] + public const int SecurityPackageDigestRid = unchecked((int) 0x15); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CRED_TYPE_BASE_RID")] + public const int SecurityCredTypeBaseRid = unchecked((int) 0x41); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CRED_TYPE_RID_COUNT")] + public const int SecurityCredTypeRidCount = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CRED_TYPE_THIS_ORG_CERT_RID")] + public const int SecurityCredTypeThisOrgCertRid = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MIN_BASE_RID")] + public const int SecurityMinBaseRid = unchecked((int) 0x50); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_SERVICE_ID_BASE_RID")] + public const int SecurityServiceIDBaseRid = unchecked((int) 0x50); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_SERVICE_ID_RID_COUNT")] + public const int SecurityServiceIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_RESERVED_ID_BASE_RID")] + public const int SecurityReservedIDBaseRid = unchecked((int) 0x51); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_APPPOOL_ID_BASE_RID")] + public const int SecurityApppoolIDBaseRid = unchecked((int) 0x52); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_APPPOOL_ID_RID_COUNT")] + public const int SecurityApppoolIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_VIRTUALSERVER_ID_BASE_RID")] + public const int SecurityVirtualserverIDBaseRid = unchecked((int) 0x53); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_VIRTUALSERVER_ID_RID_COUNT")] + public const int SecurityVirtualserverIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_USERMODEDRIVERHOST_ID_BASE_RID")] + public const int SecurityUsermodedriverhostIDBaseRid = unchecked((int) 0x54); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT")] + public const int SecurityUsermodedriverhostIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID")] + public const int SecurityCloudInfrastructureServicesIDBaseRid = unchecked((int) 0x55); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT")] + public const int SecurityCloudInfrastructureServicesIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WMIHOST_ID_BASE_RID")] + public const int SecurityWmihostIDBaseRid = unchecked((int) 0x56); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WMIHOST_ID_RID_COUNT")] + public const int SecurityWmihostIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_TASK_ID_BASE_RID")] + public const int SecurityTaskIDBaseRid = unchecked((int) 0x57); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_NFS_ID_BASE_RID")] + public const int SecurityNfsIDBaseRid = unchecked((int) 0x58); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_COM_ID_BASE_RID")] + public const int SecurityComIDBaseRid = unchecked((int) 0x59); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WINDOW_MANAGER_BASE_RID")] + public const int SecurityWindowManagerBaseRid = unchecked((int) 0x5A); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_RDV_GFX_BASE_RID")] + public const int SecurityRdvGfxBaseRid = unchecked((int) 0x5B); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_DASHOST_ID_BASE_RID")] + public const int SecurityDashostIDBaseRid = unchecked((int) 0x5C); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_DASHOST_ID_RID_COUNT")] + public const int SecurityDashostIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_USERMANAGER_ID_BASE_RID")] + public const int SecurityUsermanagerIDBaseRid = unchecked((int) 0x5D); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_USERMANAGER_ID_RID_COUNT")] + public const int SecurityUsermanagerIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WINRM_ID_BASE_RID")] + public const int SecurityWinrmIDBaseRid = unchecked((int) 0x5E); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WINRM_ID_RID_COUNT")] + public const int SecurityWinrmIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CCG_ID_BASE_RID")] + public const int SecurityCcgIDBaseRid = unchecked((int) 0x5F); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_UMFD_BASE_RID")] + public const int SecurityUmfdBaseRid = unchecked((int) 0x60); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_VIRTUALACCOUNT_ID_RID_COUNT")] + public const int SecurityVirtualaccountIDRidCount = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MAX_BASE_RID")] + public const int SecurityMaxBaseRid = unchecked((int) 0x6F); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MAX_ALWAYS_FILTERED")] + public const int SecurityMaxAlwaysFiltered = unchecked((int) 0x3E7); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MIN_NEVER_FILTERED")] + public const int SecurityMinNeverFiltered = unchecked((int) 0x3E8); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_OTHER_ORGANIZATION_RID")] + public const int SecurityOtherOrganizationRid = unchecked((int) 0x3E8); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_WINDOWSMOBILE_ID_BASE_RID")] + public const int SecurityWindowsmobileIDBaseRid = unchecked((int) 0x70); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_INSTALLER_GROUP_CAPABILITY_BASE")] + public const int SecurityInstallerGroupCapabilityBase = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_INSTALLER_GROUP_CAPABILITY_RID_COUNT")] + public const int SecurityInstallerGroupCapabilityRidCount = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_INSTALLER_CAPABILITY_RID_COUNT")] + public const int SecurityInstallerCapabilityRidCount = unchecked((int) 0xA); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOCAL_ACCOUNT_RID")] + public const int SecurityLocalAccountRid = unchecked((int) 0x71); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_LOCAL_ACCOUNT_AND_ADMIN_RID")] + public const int SecurityLocalAccountAndAdminRid = unchecked((int) 0x72); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_AUTHORIZATION_DATA_IS_COMPOUNDED")] + public const int DomainGroupRidAuthorizationDataIsCompounded = unchecked((int) 0x1F0); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_AUTHORIZATION_DATA_CONTAINS_CLAIMS")] + public const int DomainGroupRidAuthorizationDataContainsClaims = unchecked((int) 0x1F1); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS")] + public const int DomainGroupRidEnterpriseReadonlyDomainControllers = unchecked((int) 0x1F2); + [NativeName("Type", "long")] + [NativeName("Name", "FOREST_USER_RID_MAX")] + public const int ForestUserRidMax = unchecked((int) 0x1F3); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_USER_RID_ADMIN")] + public const int DomainUserRidAdmin = unchecked((int) 0x1F4); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_USER_RID_GUEST")] + public const int DomainUserRidGuest = unchecked((int) 0x1F5); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_USER_RID_KRBTGT")] + public const int DomainUserRidKrbtgt = unchecked((int) 0x1F6); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_USER_RID_DEFAULT_ACCOUNT")] + public const int DomainUserRidDefaultAccount = unchecked((int) 0x1F7); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_USER_RID_WDAG_ACCOUNT")] + public const int DomainUserRidWdagAccount = unchecked((int) 0x1F8); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_USER_RID_MAX")] + public const int DomainUserRidMax = unchecked((int) 0x3E7); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_ADMINS")] + public const int DomainGroupRidAdmins = unchecked((int) 0x200); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_USERS")] + public const int DomainGroupRidUsers = unchecked((int) 0x201); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_GUESTS")] + public const int DomainGroupRidGuests = unchecked((int) 0x202); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_COMPUTERS")] + public const int DomainGroupRidComputers = unchecked((int) 0x203); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_CONTROLLERS")] + public const int DomainGroupRidControllers = unchecked((int) 0x204); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_CERT_ADMINS")] + public const int DomainGroupRidCertAdmins = unchecked((int) 0x205); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_SCHEMA_ADMINS")] + public const int DomainGroupRidSchemaAdmins = unchecked((int) 0x206); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_ENTERPRISE_ADMINS")] + public const int DomainGroupRidEnterpriseAdmins = unchecked((int) 0x207); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_POLICY_ADMINS")] + public const int DomainGroupRidPolicyAdmins = unchecked((int) 0x208); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_READONLY_CONTROLLERS")] + public const int DomainGroupRidReadonlyControllers = unchecked((int) 0x209); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_CLONEABLE_CONTROLLERS")] + public const int DomainGroupRidCloneableControllers = unchecked((int) 0x20A); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_CDC_RESERVED")] + public const int DomainGroupRidCdcReserved = unchecked((int) 0x20C); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_PROTECTED_USERS")] + public const int DomainGroupRidProtectedUsers = unchecked((int) 0x20D); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_KEY_ADMINS")] + public const int DomainGroupRidKeyAdmins = unchecked((int) 0x20E); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_GROUP_RID_ENTERPRISE_KEY_ADMINS")] + public const int DomainGroupRidEnterpriseKeyAdmins = unchecked((int) 0x20F); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_ADMINS")] + public const int DomainAliasRidAdmins = unchecked((int) 0x220); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_USERS")] + public const int DomainAliasRidUsers = unchecked((int) 0x221); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_GUESTS")] + public const int DomainAliasRidGuests = unchecked((int) 0x222); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_POWER_USERS")] + public const int DomainAliasRidPowerUsers = unchecked((int) 0x223); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_ACCOUNT_OPS")] + public const int DomainAliasRidAccountOps = unchecked((int) 0x224); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_SYSTEM_OPS")] + public const int DomainAliasRidSystemOps = unchecked((int) 0x225); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_PRINT_OPS")] + public const int DomainAliasRidPrintOps = unchecked((int) 0x226); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_BACKUP_OPS")] + public const int DomainAliasRidBackupOps = unchecked((int) 0x227); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_REPLICATOR")] + public const int DomainAliasRidReplicator = unchecked((int) 0x228); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_RAS_SERVERS")] + public const int DomainAliasRidRasServers = unchecked((int) 0x229); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_PREW2KCOMPACCESS")] + public const int DomainAliasRidPrew2Kcompaccess = unchecked((int) 0x22A); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS")] + public const int DomainAliasRidRemoteDesktopUsers = unchecked((int) 0x22B); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS")] + public const int DomainAliasRidNetworkConfigurationOps = unchecked((int) 0x22C); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS")] + public const int DomainAliasRidIncomingForestTrustBuilders = unchecked((int) 0x22D); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_MONITORING_USERS")] + public const int DomainAliasRidMonitoringUsers = unchecked((int) 0x22E); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_LOGGING_USERS")] + public const int DomainAliasRidLoggingUsers = unchecked((int) 0x22F); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS")] + public const int DomainAliasRidAuthorizationaccess = unchecked((int) 0x230); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS")] + public const int DomainAliasRidTSLicenseServers = unchecked((int) 0x231); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_DCOM_USERS")] + public const int DomainAliasRidDcomUsers = unchecked((int) 0x232); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_IUSERS")] + public const int DomainAliasRidIusers = unchecked((int) 0x238); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_CRYPTO_OPERATORS")] + public const int DomainAliasRidCryptoOperators = unchecked((int) 0x239); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_CACHEABLE_PRINCIPALS_GROUP")] + public const int DomainAliasRidCacheablePrincipalsGroup = unchecked((int) 0x23B); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_NON_CACHEABLE_PRINCIPALS_GROUP")] + public const int DomainAliasRidNonCacheablePrincipalsGroup = unchecked((int) 0x23C); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_EVENT_LOG_READERS_GROUP")] + public const int DomainAliasRidEventLogReadersGroup = unchecked((int) 0x23D); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP")] + public const int DomainAliasRidCertsvcDcomAccessGroup = unchecked((int) 0x23E); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_RDS_REMOTE_ACCESS_SERVERS")] + public const int DomainAliasRidRdsRemoteAccessServers = unchecked((int) 0x23F); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_RDS_ENDPOINT_SERVERS")] + public const int DomainAliasRidRdsEndpointServers = unchecked((int) 0x240); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_RDS_MANAGEMENT_SERVERS")] + public const int DomainAliasRidRdsManagementServers = unchecked((int) 0x241); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_HYPER_V_ADMINS")] + public const int DomainAliasRidHyperVAdmins = unchecked((int) 0x242); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_ACCESS_CONTROL_ASSISTANCE_OPS")] + public const int DomainAliasRidAccessControlAssistanceOps = unchecked((int) 0x243); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_REMOTE_MANAGEMENT_USERS")] + public const int DomainAliasRidRemoteManagementUsers = unchecked((int) 0x244); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_DEFAULT_ACCOUNT")] + public const int DomainAliasRidDefaultAccount = unchecked((int) 0x245); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_STORAGE_REPLICA_ADMINS")] + public const int DomainAliasRidStorageReplicaAdmins = unchecked((int) 0x246); + [NativeName("Type", "long")] + [NativeName("Name", "DOMAIN_ALIAS_RID_DEVICE_OWNERS")] + public const int DomainAliasRidDeviceOwners = unchecked((int) 0x247); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_APP_PACKAGE_BASE_RID")] + public const int SecurityAppPackageBaseRid = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_BUILTIN_APP_PACKAGE_RID_COUNT")] + public const int SecurityBuiltinAppPackageRidCount = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_APP_PACKAGE_RID_COUNT")] + public const int SecurityAppPackageRidCount = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_BASE_RID")] + public const int SecurityCapabilityBaseRid = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_CAPABILITY_APP_RID")] + public const int SecurityCapabilityAppRid = unchecked((int) 0x400); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_BUILTIN_CAPABILITY_RID_COUNT")] + public const int SecurityBuiltinCapabilityRidCount = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_RID_COUNT")] + public const int SecurityCapabilityRidCount = unchecked((int) 0x5); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PARENT_PACKAGE_RID_COUNT")] + public const int SecurityParentPackageRidCount = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CHILD_PACKAGE_RID_COUNT")] + public const int SecurityChildPackageRidCount = unchecked((int) 0xC); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE")] + public const int SecurityBuiltinPackageAnyPackage = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_BUILTIN_PACKAGE_ANY_RESTRICTED_PACKAGE")] + public const int SecurityBuiltinPackageAnyRestrictedPackage = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_INTERNET_CLIENT")] + public const int SecurityCapabilityInternetClient = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_INTERNET_CLIENT_SERVER")] + public const int SecurityCapabilityInternetClientServer = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_PRIVATE_NETWORK_CLIENT_SERVER")] + public const int SecurityCapabilityPrivateNetworkClientServer = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_PICTURES_LIBRARY")] + public const int SecurityCapabilityPicturesLibrary = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_VIDEOS_LIBRARY")] + public const int SecurityCapabilityVideosLibrary = unchecked((int) 0x5); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_MUSIC_LIBRARY")] + public const int SecurityCapabilityMusicLibrary = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_DOCUMENTS_LIBRARY")] + public const int SecurityCapabilityDocumentsLibrary = unchecked((int) 0x7); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_ENTERPRISE_AUTHENTICATION")] + public const int SecurityCapabilityEnterpriseAuthentication = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_SHARED_USER_CERTIFICATES")] + public const int SecurityCapabilitySharedUserCertificates = unchecked((int) 0x9); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_REMOVABLE_STORAGE")] + public const int SecurityCapabilityRemovableStorage = unchecked((int) 0xA); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_APPOINTMENTS")] + public const int SecurityCapabilityAppointments = unchecked((int) 0xB); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_CONTACTS")] + public const int SecurityCapabilityContacts = unchecked((int) 0xC); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_CAPABILITY_INTERNET_EXPLORER")] + public const int SecurityCapabilityInternetExplorer = unchecked((int) 0x1000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MANDATORY_UNTRUSTED_RID")] + public const int SecurityMandatoryUntrustedRid = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MANDATORY_LOW_RID")] + public const int SecurityMandatoryLowRid = unchecked((int) 0x1000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MANDATORY_MEDIUM_RID")] + public const int SecurityMandatoryMediumRid = unchecked((int) 0x2000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MANDATORY_HIGH_RID")] + public const int SecurityMandatoryHighRid = unchecked((int) 0x3000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MANDATORY_SYSTEM_RID")] + public const int SecurityMandatorySystemRid = unchecked((int) 0x4000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MANDATORY_PROTECTED_PROCESS_RID")] + public const int SecurityMandatoryProtectedProcessRid = unchecked((int) 0x5000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_MANDATORY_MAXIMUM_USER_RID")] + public const int SecurityMandatoryMaximumUserRid = unchecked((int) 0x4000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATION_AUTHORITY_RID_COUNT")] + public const int SecurityAuthenticationAuthorityRidCount = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATION_AUTHORITY_ASSERTED_RID")] + public const int SecurityAuthenticationAuthorityAssertedRid = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATION_SERVICE_ASSERTED_RID")] + public const int SecurityAuthenticationServiceAssertedRid = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATION_FRESH_KEY_AUTH_RID")] + public const int SecurityAuthenticationFreshKeyAuthRid = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATION_KEY_TRUST_RID")] + public const int SecurityAuthenticationKeyTrustRid = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATION_KEY_PROPERTY_MFA_RID")] + public const int SecurityAuthenticationKeyPropertyMfaRid = unchecked((int) 0x5); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_AUTHENTICATION_KEY_PROPERTY_ATTESTATION_RID")] + public const int SecurityAuthenticationKeyPropertyAttestationRid = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_TRUST_AUTHORITY_RID_COUNT")] + public const int SecurityProcessTrustAuthorityRidCount = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_TYPE_FULL_RID")] + public const int SecurityProcessProtectionTypeFullRid = unchecked((int) 0x400); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_TYPE_LITE_RID")] + public const int SecurityProcessProtectionTypeLiteRid = unchecked((int) 0x200); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_TYPE_NONE_RID")] + public const int SecurityProcessProtectionTypeNoneRid = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_LEVEL_WINTCB_RID")] + public const int SecurityProcessProtectionLevelWintcbRid = unchecked((int) 0x2000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_LEVEL_WINDOWS_RID")] + public const int SecurityProcessProtectionLevelWindowsRid = unchecked((int) 0x1000); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_LEVEL_APP_RID")] + public const int SecurityProcessProtectionLevelAppRid = unchecked((int) 0x800); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_LEVEL_ANTIMALWARE_RID")] + public const int SecurityProcessProtectionLevelAntimalwareRid = unchecked((int) 0x600); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_LEVEL_AUTHENTICODE_RID")] + public const int SecurityProcessProtectionLevelAuthenticodeRid = unchecked((int) 0x400); + [NativeName("Type", "long")] + [NativeName("Name", "SECURITY_PROCESS_PROTECTION_LEVEL_NONE_RID")] + public const int SecurityProcessProtectionLevelNoneRid = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_TRUSTED_INSTALLER_RID1")] + public const int SecurityTrustedInstallerRid1 = unchecked((int) 0x38FB89B5); + [NativeName("Type", "long long")] + [NativeName("Name", "SECURITY_TRUSTED_INSTALLER_RID2")] + public const long SecurityTrustedInstallerRid2 = unchecked((long) 0xCBC28419); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_TRUSTED_INSTALLER_RID3")] + public const int SecurityTrustedInstallerRid3 = unchecked((int) 0x6D236C5C); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_TRUSTED_INSTALLER_RID4")] + public const int SecurityTrustedInstallerRid4 = unchecked((int) 0x6E770057); + [NativeName("Type", "long long")] + [NativeName("Name", "SECURITY_TRUSTED_INSTALLER_RID5")] + public const long SecurityTrustedInstallerRid5 = unchecked((long) 0x876402C0); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_MANDATORY")] + public const int SEGroupMandatory = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_ENABLED_BY_DEFAULT")] + public const int SEGroupEnabledByDefault = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_ENABLED")] + public const int SEGroupEnabled = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_OWNER")] + public const int SEGroupOwner = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_USE_FOR_DENY_ONLY")] + public const int SEGroupUseForDenyOnly = unchecked((int) 0x10); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_INTEGRITY")] + public const int SEGroupIntegrity = unchecked((int) 0x20); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_INTEGRITY_ENABLED")] + public const int SEGroupIntegrityEnabled = unchecked((int) 0x40); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "SE_GROUP_LOGON_ID")] + public const uint SEGroupLogonID = unchecked((uint) 0xFFFFFFFFC0000000); + [NativeName("Type", "long")] + [NativeName("Name", "SE_GROUP_RESOURCE")] + public const int SEGroupResource = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "ACL_REVISION")] + public const int AclRevision = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ACL_REVISION_DS")] + public const int AclRevisionDS = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "ACL_REVISION1")] + public const int AclRevision1 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "MIN_ACL_REVISION")] + public const int MinAclRevision = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ACL_REVISION2")] + public const int AclRevision2 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ACL_REVISION3")] + public const int AclRevision3 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "ACL_REVISION4")] + public const int AclRevision4 = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "MAX_ACL_REVISION")] + public const int MaxAclRevision = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MIN_MS_ACE_TYPE")] + public const int AccessMinMSAceType = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_ALLOWED_ACE_TYPE")] + public const int AccessAllowedAceType = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_DENIED_ACE_TYPE")] + public const int AccessDeniedAceType = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_AUDIT_ACE_TYPE")] + public const int SystemAuditAceType = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_ALARM_ACE_TYPE")] + public const int SystemAlarmAceType = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MAX_MS_V2_ACE_TYPE")] + public const int AccessMaxMSV2AceType = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_ALLOWED_COMPOUND_ACE_TYPE")] + public const int AccessAllowedCompoundAceType = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MAX_MS_V3_ACE_TYPE")] + public const int AccessMaxMSV3AceType = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MIN_MS_OBJECT_ACE_TYPE")] + public const int AccessMinMSObjectAceType = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_ALLOWED_OBJECT_ACE_TYPE")] + public const int AccessAllowedObjectAceType = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_DENIED_OBJECT_ACE_TYPE")] + public const int AccessDeniedObjectAceType = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_AUDIT_OBJECT_ACE_TYPE")] + public const int SystemAuditObjectAceType = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_ALARM_OBJECT_ACE_TYPE")] + public const int SystemAlarmObjectAceType = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MAX_MS_OBJECT_ACE_TYPE")] + public const int AccessMaxMSObjectAceType = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MAX_MS_V4_ACE_TYPE")] + public const int AccessMaxMSV4AceType = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MAX_MS_ACE_TYPE")] + public const int AccessMaxMSAceType = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_ALLOWED_CALLBACK_ACE_TYPE")] + public const int AccessAllowedCallbackAceType = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_DENIED_CALLBACK_ACE_TYPE")] + public const int AccessDeniedCallbackAceType = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE")] + public const int AccessAllowedCallbackObjectAceType = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE")] + public const int AccessDeniedCallbackObjectAceType = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_AUDIT_CALLBACK_ACE_TYPE")] + public const int SystemAuditCallbackAceType = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_ALARM_CALLBACK_ACE_TYPE")] + public const int SystemAlarmCallbackAceType = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE")] + public const int SystemAuditCallbackObjectAceType = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE")] + public const int SystemAlarmCallbackObjectAceType = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_MANDATORY_LABEL_ACE_TYPE")] + public const int SystemMandatoryLabelAceType = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_RESOURCE_ATTRIBUTE_ACE_TYPE")] + public const int SystemResourceAttributeAceType = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_SCOPED_POLICY_ID_ACE_TYPE")] + public const int SystemScopedPolicyIDAceType = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_PROCESS_TRUST_LABEL_ACE_TYPE")] + public const int SystemProcessTrustLabelAceType = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_ACCESS_FILTER_ACE_TYPE")] + public const int SystemAccessFilterAceType = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MAX_MS_V5_ACE_TYPE")] + public const int AccessMaxMSV5AceType = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "OBJECT_INHERIT_ACE")] + public const int ObjectInheritAce = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CONTAINER_INHERIT_ACE")] + public const int ContainerInheritAce = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "NO_PROPAGATE_INHERIT_ACE")] + public const int NoPropagateInheritAce = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "INHERIT_ONLY_ACE")] + public const int InheritOnlyAce = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "INHERITED_ACE")] + public const int InheritedAce = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "VALID_INHERIT_FLAGS")] + public const int ValidInheritFlags = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "CRITICAL_ACE_FLAG")] + public const int CriticalAceFlag = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "SUCCESSFUL_ACCESS_ACE_FLAG")] + public const int SuccessfulAccessAceFlag = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "FAILED_ACCESS_ACE_FLAG")] + public const int FailedAccessAceFlag = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "TRUST_PROTECTED_FILTER_ACE_FLAG")] + public const int TrustProtectedFilterAceFlag = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_MANDATORY_LABEL_NO_WRITE_UP")] + public const int SystemMandatoryLabelNoWriteUp = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_MANDATORY_LABEL_NO_READ_UP")] + public const int SystemMandatoryLabelNoReadUp = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP")] + public const int SystemMandatoryLabelNoExecuteUp = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_PROCESS_TRUST_LABEL_VALID_MASK")] + public const int SystemProcessTrustLabelValidMask = unchecked((int) 0xFFFFFF); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "SYSTEM_PROCESS_TRUST_NOCONSTRAINT_MASK")] + public const uint SystemProcessTrustNoconstraintMask = unchecked((uint) 0xFFFFFFFFFFFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_ACCESS_FILTER_VALID_MASK")] + public const int SystemAccessFilterValidMask = unchecked((int) 0xFFFFFF); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "SYSTEM_ACCESS_FILTER_NOCONSTRAINT_MASK")] + public const uint SystemAccessFilterNoconstraintMask = unchecked((uint) 0xFFFFFFFFFFFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "ACE_OBJECT_TYPE_PRESENT")] + public const int AceObjectTypePresent = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ACE_INHERITED_OBJECT_TYPE_PRESENT")] + public const int AceInheritedObjectTypePresent = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_DESCRIPTOR_REVISION")] + public const int SecurityDescriptorRevision = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_DESCRIPTOR_REVISION1")] + public const int SecurityDescriptorRevision1 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SE_OWNER_DEFAULTED")] + public const int SEOwnerDefaulted = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SE_GROUP_DEFAULTED")] + public const int SEGroupDefaulted = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SE_DACL_PRESENT")] + public const int SEDaclPresent = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SE_DACL_DEFAULTED")] + public const int SEDaclDefaulted = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SACL_PRESENT")] + public const int SESaclPresent = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SACL_DEFAULTED")] + public const int SESaclDefaulted = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "SE_DACL_AUTO_INHERIT_REQ")] + public const int SEDaclAutoInheritReq = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SACL_AUTO_INHERIT_REQ")] + public const int SESaclAutoInheritReq = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "SE_DACL_AUTO_INHERITED")] + public const int SEDaclAutoInherited = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SACL_AUTO_INHERITED")] + public const int SESaclAutoInherited = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "SE_DACL_PROTECTED")] + public const int SEDaclProtected = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SACL_PROTECTED")] + public const int SESaclProtected = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "SE_RM_CONTROL_VALID")] + public const int SERMControlValid = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SELF_RELATIVE")] + public const int SESelfRelative = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_OBJECT_GUID")] + public const int AccessObjectGuid = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_PROPERTY_SET_GUID")] + public const int AccessPropertySetGuid = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_PROPERTY_GUID")] + public const int AccessPropertyGuid = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_MAX_LEVEL")] + public const int AccessMaxLevel = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "AUDIT_ALLOW_NO_PRIVILEGE")] + public const int AuditAllowNoPrivilege = unchecked((int) 0x1); + [NativeName("Type", "")] + [NativeName("Name", "ACCESS_DS_SOURCE_A")] + public const string AccessDSSourceA = unchecked((string) "DS"); + [NativeName("Type", "")] + [NativeName("Name", "ACCESS_DS_SOURCE_W")] + public const string AccessDSSourceW = unchecked((string) "DS"); + [NativeName("Type", "")] + [NativeName("Name", "ACCESS_DS_OBJECT_TYPE_NAME_A")] + public const string AccessDSObjectTypeNameA = unchecked((string) "Directory Service Object"); + [NativeName("Type", "")] + [NativeName("Name", "ACCESS_DS_OBJECT_TYPE_NAME_W")] + public const string AccessDSObjectTypeNameW = unchecked((string) "Directory Service Object"); + [NativeName("Type", "long")] + [NativeName("Name", "SE_PRIVILEGE_ENABLED_BY_DEFAULT")] + public const int SEPrivilegeEnabledByDefault = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "SE_PRIVILEGE_ENABLED")] + public const int SEPrivilegeEnabled = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "SE_PRIVILEGE_REMOVED")] + public const int SEPrivilegeRemoved = unchecked((int) 0x4); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "SE_PRIVILEGE_USED_FOR_ACCESS")] + public const uint SEPrivilegeUsedForAccess = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "PRIVILEGE_SET_ALL_NECESSARY")] + public const int PrivilegeSetAllNecessary = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_REASON_TYPE_MASK")] + public const int AccessReasonTypeMask = unchecked((int) 0xFF0000); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_REASON_DATA_MASK")] + public const int AccessReasonDataMask = unchecked((int) 0xFFFF); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "ACCESS_REASON_STAGING_MASK")] + public const uint AccessReasonStagingMask = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "ACCESS_REASON_EXDATA_MASK")] + public const int AccessReasonExdataMask = unchecked((int) 0x7F000000); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE")] + public const int SESecurityDescriptorFlagNoOwnerAce = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE")] + public const int SESecurityDescriptorFlagNoLabelAce = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SECURITY_DESCRIPTOR_FLAG_NO_ACCESS_FILTER_ACE")] + public const int SESecurityDescriptorFlagNoAccessFilterAce = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SECURITY_DESCRIPTOR_VALID_FLAGS")] + public const int SESecurityDescriptorValidFlags = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SE_ACCESS_CHECK_FLAG_NO_LEARNING_MODE_LOGGING")] + public const int SEAccessCheckFlagNoLearningModeLogging = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SE_ACCESS_CHECK_VALID_FLAGS")] + public const int SEAccessCheckValidFlags = unchecked((int) 0x8); + [NativeName("Type", "")] + [NativeName("Name", "SE_CREATE_TOKEN_NAME")] + public const string SECreateTokenName = unchecked((string) "SeCreateTokenPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_ASSIGNPRIMARYTOKEN_NAME")] + public const string SEAssignprimarytokenName = unchecked((string) "SeAssignPrimaryTokenPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_LOCK_MEMORY_NAME")] + public const string SELockMemoryName = unchecked((string) "SeLockMemoryPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_INCREASE_QUOTA_NAME")] + public const string SEIncreaseQuotaName = unchecked((string) "SeIncreaseQuotaPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_UNSOLICITED_INPUT_NAME")] + public const string SEUnsolicitedInputName = unchecked((string) "SeUnsolicitedInputPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_MACHINE_ACCOUNT_NAME")] + public const string SEMachineAccountName = unchecked((string) "SeMachineAccountPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_TCB_NAME")] + public const string SETcbName = unchecked((string) "SeTcbPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_SECURITY_NAME")] + public const string SESecurityName = unchecked((string) "SeSecurityPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_TAKE_OWNERSHIP_NAME")] + public const string SETakeOwnershipName = unchecked((string) "SeTakeOwnershipPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_LOAD_DRIVER_NAME")] + public const string SELoadDriverName = unchecked((string) "SeLoadDriverPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_SYSTEM_PROFILE_NAME")] + public const string SESystemProfileName = unchecked((string) "SeSystemProfilePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_SYSTEMTIME_NAME")] + public const string SESystemtimeName = unchecked((string) "SeSystemtimePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_PROF_SINGLE_PROCESS_NAME")] + public const string SEProfSingleProcessName = unchecked((string) "SeProfileSingleProcessPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_INC_BASE_PRIORITY_NAME")] + public const string SEIncBasePriorityName = unchecked((string) "SeIncreaseBasePriorityPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_CREATE_PAGEFILE_NAME")] + public const string SECreatePagefileName = unchecked((string) "SeCreatePagefilePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_CREATE_PERMANENT_NAME")] + public const string SECreatePermanentName = unchecked((string) "SeCreatePermanentPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_BACKUP_NAME")] + public const string SEBackupName = unchecked((string) "SeBackupPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_RESTORE_NAME")] + public const string SERestoreName = unchecked((string) "SeRestorePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_SHUTDOWN_NAME")] + public const string SEShutdownName = unchecked((string) "SeShutdownPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_DEBUG_NAME")] + public const string SEDebugName = unchecked((string) "SeDebugPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_AUDIT_NAME")] + public const string SEAuditName = unchecked((string) "SeAuditPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_SYSTEM_ENVIRONMENT_NAME")] + public const string SESystemEnvironmentName = unchecked((string) "SeSystemEnvironmentPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_CHANGE_NOTIFY_NAME")] + public const string SEChangeNotifyName = unchecked((string) "SeChangeNotifyPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_REMOTE_SHUTDOWN_NAME")] + public const string SERemoteShutdownName = unchecked((string) "SeRemoteShutdownPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_UNDOCK_NAME")] + public const string SEUndockName = unchecked((string) "SeUndockPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_SYNC_AGENT_NAME")] + public const string SESyncAgentName = unchecked((string) "SeSyncAgentPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_ENABLE_DELEGATION_NAME")] + public const string SEEnableDelegationName = unchecked((string) "SeEnableDelegationPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_MANAGE_VOLUME_NAME")] + public const string SEManageVolumeName = unchecked((string) "SeManageVolumePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_IMPERSONATE_NAME")] + public const string SEImpersonateName = unchecked((string) "SeImpersonatePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_CREATE_GLOBAL_NAME")] + public const string SECreateGlobalName = unchecked((string) "SeCreateGlobalPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_TRUSTED_CREDMAN_ACCESS_NAME")] + public const string SETrustedCredmanAccessName = unchecked((string) "SeTrustedCredManAccessPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_RELABEL_NAME")] + public const string SERelabelName = unchecked((string) "SeRelabelPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_INC_WORKING_SET_NAME")] + public const string SEIncWorkingSetName = unchecked((string) "SeIncreaseWorkingSetPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_TIME_ZONE_NAME")] + public const string SETimeZoneName = unchecked((string) "SeTimeZonePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_CREATE_SYMBOLIC_LINK_NAME")] + public const string SECreateSymbolicLinkName = unchecked((string) "SeCreateSymbolicLinkPrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_DELEGATE_SESSION_USER_IMPERSONATE_NAME")] + public const string SEDelegateSessionUserImpersonateName = unchecked((string) "SeDelegateSessionUserImpersonatePrivilege"); + [NativeName("Type", "")] + [NativeName("Name", "SE_ACTIVATE_AS_USER_CAPABILITY")] + public const string SEActivateAsUserCapability = unchecked((string) "activateAsUser"); + [NativeName("Type", "")] + [NativeName("Name", "SE_CONSTRAINED_IMPERSONATION_CAPABILITY")] + public const string SEConstrainedImpersonationCapability = unchecked((string) "constrainedImpersonation"); + [NativeName("Type", "")] + [NativeName("Name", "SE_SESSION_IMPERSONATION_CAPABILITY")] + public const string SESessionImpersonationCapability = unchecked((string) "sessionImpersonation"); + [NativeName("Type", "")] + [NativeName("Name", "SE_MUMA_CAPABILITY")] + public const string SEMumaCapability = unchecked((string) "muma"); + [NativeName("Type", "")] + [NativeName("Name", "SE_DEVELOPMENT_MODE_NETWORK_CAPABILITY")] + public const string SEDevelopmentModeNetworkCapability = unchecked((string) "developmentModeNetwork"); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_ASSIGN_PRIMARY")] + public const int TokenAssignPrimary = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_DUPLICATE")] + public const int TokenDuplicate = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_IMPERSONATE")] + public const int TokenImpersonate = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_QUERY")] + public const int TokenQuery = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_QUERY_SOURCE")] + public const int TokenQuerySource = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_ADJUST_PRIVILEGES")] + public const int TokenAdjustPrivileges = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_ADJUST_GROUPS")] + public const int TokenAdjustGroups = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_ADJUST_DEFAULT")] + public const int TokenAdjustDefault = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_ADJUST_SESSIONID")] + public const int TokenAdjustSessionid = unchecked((int) 0x100); + [NativeName("Type", "long")] + [NativeName("Name", "TOKEN_EXECUTE")] + public const int TokenExecute = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_MANDATORY_POLICY_OFF")] + public const int TokenMandatoryPolicyOff = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_MANDATORY_POLICY_NO_WRITE_UP")] + public const int TokenMandatoryPolicyNoWriteUp = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN")] + public const int TokenMandatoryPolicyNewProcessMin = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POLICY_AUDIT_SUBCATEGORY_COUNT")] + public const int PolicyAuditSubcategoryCount = unchecked((int) 0x3B); + [NativeName("Type", "int")] + [NativeName("Name", "TOKEN_SOURCE_LENGTH")] + public const int TokenSourceLength = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_INVALID")] + public const int ClaimSecurityAttributeTypeInvalid = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_INT64")] + public const int ClaimSecurityAttributeTypeInt64 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_UINT64")] + public const int ClaimSecurityAttributeTypeUint64 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_STRING")] + public const int ClaimSecurityAttributeTypeString = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_FQBN")] + public const int ClaimSecurityAttributeTypeFqbn = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_SID")] + public const int ClaimSecurityAttributeTypeSid = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_BOOLEAN")] + public const int ClaimSecurityAttributeTypeBoolean = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING")] + public const int ClaimSecurityAttributeTypeOctetString = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_NON_INHERITABLE")] + public const int ClaimSecurityAttributeNonInheritable = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE")] + public const int ClaimSecurityAttributeValueCaseSensitive = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_USE_FOR_DENY_ONLY")] + public const int ClaimSecurityAttributeUseForDenyOnly = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_DISABLED_BY_DEFAULT")] + public const int ClaimSecurityAttributeDisabledByDefault = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_DISABLED")] + public const int ClaimSecurityAttributeDisabled = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_MANDATORY")] + public const int ClaimSecurityAttributeMandatory = unchecked((int) 0x20); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTE_CUSTOM_FLAGS")] + public const uint ClaimSecurityAttributeCustomFlags = unchecked((uint) 0xFFFFFFFFFFFF0000); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTES_INFORMATION_VERSION_V1")] + public const int ClaimSecurityAttributesInformationVersionV1 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CLAIM_SECURITY_ATTRIBUTES_INFORMATION_VERSION")] + public const int ClaimSecurityAttributesInformationVersion = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_DYNAMIC_TRACKING")] + public const int SecurityDynamicTracking = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SECURITY_STATIC_TRACKING")] + public const int SecurityStaticTracking = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "DISABLE_MAX_PRIVILEGE")] + public const int DisableMaxPrivilege = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SANDBOX_INERT")] + public const int SandboxInert = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "LUA_TOKEN")] + public const int LuaToken = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "WRITE_RESTRICTED")] + public const int WriteRestricted = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "OWNER_SECURITY_INFORMATION")] + public const int OwnerSecurityInformation = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "GROUP_SECURITY_INFORMATION")] + public const int GroupSecurityInformation = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "DACL_SECURITY_INFORMATION")] + public const int DaclSecurityInformation = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "SACL_SECURITY_INFORMATION")] + public const int SaclSecurityInformation = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "LABEL_SECURITY_INFORMATION")] + public const int LabelSecurityInformation = unchecked((int) 0x10); + [NativeName("Type", "long")] + [NativeName("Name", "ATTRIBUTE_SECURITY_INFORMATION")] + public const int AttributeSecurityInformation = unchecked((int) 0x20); + [NativeName("Type", "long")] + [NativeName("Name", "SCOPE_SECURITY_INFORMATION")] + public const int ScopeSecurityInformation = unchecked((int) 0x40); + [NativeName("Type", "long")] + [NativeName("Name", "PROCESS_TRUST_LABEL_SECURITY_INFORMATION")] + public const int ProcessTrustLabelSecurityInformation = unchecked((int) 0x80); + [NativeName("Type", "long")] + [NativeName("Name", "ACCESS_FILTER_SECURITY_INFORMATION")] + public const int AccessFilterSecurityInformation = unchecked((int) 0x100); + [NativeName("Type", "long")] + [NativeName("Name", "BACKUP_SECURITY_INFORMATION")] + public const int BackupSecurityInformation = unchecked((int) 0x10000); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "PROTECTED_DACL_SECURITY_INFORMATION")] + public const uint ProtectedDaclSecurityInformation = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "long")] + [NativeName("Name", "PROTECTED_SACL_SECURITY_INFORMATION")] + public const int ProtectedSaclSecurityInformation = unchecked((int) 0x40000000); + [NativeName("Type", "long")] + [NativeName("Name", "UNPROTECTED_DACL_SECURITY_INFORMATION")] + public const int UnprotectedDaclSecurityInformation = unchecked((int) 0x20000000); + [NativeName("Type", "long")] + [NativeName("Name", "UNPROTECTED_SACL_SECURITY_INFORMATION")] + public const int UnprotectedSaclSecurityInformation = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_UNCHECKED")] + public const int SESigningLevelUnchecked = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_UNSIGNED")] + public const int SESigningLevelUnsigned = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_ENTERPRISE")] + public const int SESigningLevelEnterprise = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_CUSTOM_1")] + public const int SESigningLevelCustom1 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_DEVELOPER")] + public const int SESigningLevelDeveloper = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_AUTHENTICODE")] + public const int SESigningLevelAuthenticode = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_CUSTOM_2")] + public const int SESigningLevelCustom2 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_STORE")] + public const int SESigningLevelStore = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_CUSTOM_3")] + public const int SESigningLevelCustom3 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_ANTIMALWARE")] + public const int SESigningLevelAntimalware = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_MICROSOFT")] + public const int SESigningLevelMicrosoft = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_CUSTOM_4")] + public const int SESigningLevelCustom4 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_CUSTOM_5")] + public const int SESigningLevelCustom5 = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_DYNAMIC_CODEGEN")] + public const int SESigningLevelDynamicCodegen = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_WINDOWS")] + public const int SESigningLevelWindows = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_CUSTOM_7")] + public const int SESigningLevelCustom7 = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_WINDOWS_TCB")] + public const int SESigningLevelWindowsTcb = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "SE_SIGNING_LEVEL_CUSTOM_6")] + public const int SESigningLevelCustom6 = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "SE_LEARNING_MODE_FLAG_PERMISSIVE")] + public const int SELearningModeFlagPermissive = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_TERMINATE")] + public const int ProcessTerminate = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_CREATE_THREAD")] + public const int ProcessCreateThread = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_SET_SESSIONID")] + public const int ProcessSetSessionid = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_VM_OPERATION")] + public const int ProcessVMOperation = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_VM_READ")] + public const int ProcessVMRead = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_VM_WRITE")] + public const int ProcessVMWrite = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_DUP_HANDLE")] + public const int ProcessDupHandle = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_CREATE_PROCESS")] + public const int ProcessCreateProcess = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_SET_QUOTA")] + public const int ProcessSetQuota = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_SET_INFORMATION")] + public const int ProcessSetInformation = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_QUERY_INFORMATION")] + public const int ProcessQueryInformation = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_SUSPEND_RESUME")] + public const int ProcessSuspendResume = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_QUERY_LIMITED_INFORMATION")] + public const int ProcessQueryLimitedInformation = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_SET_LIMITED_INFORMATION")] + public const int ProcessSetLimitedInformation = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_TERMINATE")] + public const int ThreadTerminate = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_SUSPEND_RESUME")] + public const int ThreadSuspendResume = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_GET_CONTEXT")] + public const int ThreadGetContext = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_SET_CONTEXT")] + public const int ThreadSetContext = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_QUERY_INFORMATION")] + public const int ThreadQueryInformation = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_SET_INFORMATION")] + public const int ThreadSetInformation = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_SET_THREAD_TOKEN")] + public const int ThreadSetThreadToken = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_IMPERSONATE")] + public const int ThreadImpersonate = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_DIRECT_IMPERSONATION")] + public const int ThreadDirectImpersonation = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_SET_LIMITED_INFORMATION")] + public const int ThreadSetLimitedInformation = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_QUERY_LIMITED_INFORMATION")] + public const int ThreadQueryLimitedInformation = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_RESUME")] + public const int ThreadResume = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_ASSIGN_PROCESS")] + public const int JobObjectAssignProcess = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_SET_ATTRIBUTES")] + public const int JobObjectSetAttributes = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_QUERY")] + public const int JobObjectQuery = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_TERMINATE")] + public const int JobObjectTerminate = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_SET_SECURITY_ATTRIBUTES")] + public const int JobObjectSetSecurityAttributes = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_IMPERSONATE")] + public const int JobObjectImpersonate = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FLS_MAXIMUM_AVAILABLE")] + public const int FlsMaximumAvailable = unchecked((int) 0xFF0); + [NativeName("Type", "int")] + [NativeName("Name", "TLS_MINIMUM_AVAILABLE")] + public const int TlsMinimumAvailable = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_DYNAMIC_CODE_ALLOW")] + public const int ThreadDynamicCodeAllow = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_BASE_PRIORITY_LOWRT")] + public const int ThreadBasePriorityLowrt = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_BASE_PRIORITY_MAX")] + public const int ThreadBasePriorityMax = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "MEMORY_PRIORITY_LOWEST")] + public const int MemoryPriorityLowest = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "MEMORY_PRIORITY_VERY_LOW")] + public const int MemoryPriorityVeryLow = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "MEMORY_PRIORITY_LOW")] + public const int MemoryPriorityLow = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "MEMORY_PRIORITY_MEDIUM")] + public const int MemoryPriorityMedium = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "MEMORY_PRIORITY_BELOW_NORMAL")] + public const int MemoryPriorityBelowNormal = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "MEMORY_PRIORITY_NORMAL")] + public const int MemoryPriorityNormal = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "DYNAMIC_EH_CONTINUATION_TARGET_ADD")] + public const int DynamicEHContinuationTargetAdd = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DYNAMIC_EH_CONTINUATION_TARGET_PROCESSED")] + public const int DynamicEHContinuationTargetProcessed = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "DYNAMIC_ENFORCED_ADDRESS_RANGE_ADD")] + public const int DynamicEnforcedAddressRangeAdd = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DYNAMIC_ENFORCED_ADDRESS_RANGE_PROCESSED")] + public const int DynamicEnforcedAddressRangeProcessed = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "QUOTA_LIMITS_HARDWS_MIN_ENABLE")] + public const int QuotaLimitsHardwsMinEnable = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "QUOTA_LIMITS_HARDWS_MIN_DISABLE")] + public const int QuotaLimitsHardwsMinDisable = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "QUOTA_LIMITS_HARDWS_MAX_ENABLE")] + public const int QuotaLimitsHardwsMaxEnable = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "QUOTA_LIMITS_HARDWS_MAX_DISABLE")] + public const int QuotaLimitsHardwsMaxDisable = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "QUOTA_LIMITS_USE_DEFAULT_LIMITS")] + public const int QuotaLimitsUseDefaultLimits = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "MAX_HW_COUNTERS")] + public const int MaxHWCounters = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "THREAD_PROFILING_FLAG_DISPATCH")] + public const int ThreadProfilingFlagDispatch = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_NET_RATE_CONTROL_MAX_DSCP_TAG")] + public const int JobObjectNetRateControlMaxDscpTag = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_TERMINATE_AT_END_OF_JOB")] + public const int JobObjectTerminateATEndOfJob = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_POST_AT_END_OF_JOB")] + public const int JobObjectPostATEndOfJob = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_END_OF_JOB_TIME")] + public const int JobObjectMsgEndOfJobTime = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_END_OF_PROCESS_TIME")] + public const int JobObjectMsgEndOfProcessTime = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_ACTIVE_PROCESS_LIMIT")] + public const int JobObjectMsgActiveProcessLimit = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO")] + public const int JobObjectMsgActiveProcessZero = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_NEW_PROCESS")] + public const int JobObjectMsgNewProcess = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_EXIT_PROCESS")] + public const int JobObjectMsgExitProcess = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_ABNORMAL_EXIT_PROCESS")] + public const int JobObjectMsgAbnormalExitProcess = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_PROCESS_MEMORY_LIMIT")] + public const int JobObjectMsgProcessMemoryLimit = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_JOB_MEMORY_LIMIT")] + public const int JobObjectMsgJobMemoryLimit = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_NOTIFICATION_LIMIT")] + public const int JobObjectMsgNotificationLimit = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_JOB_CYCLE_TIME_LIMIT")] + public const int JobObjectMsgJobCycleTimeLimit = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_SILO_TERMINATED")] + public const int JobObjectMsgSiloTerminated = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_MINIMUM")] + public const int JobObjectMsgMinimum = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_MSG_MAXIMUM")] + public const int JobObjectMsgMaximum = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_WORKINGSET")] + public const int JobObjectLimitWorkingset = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_PROCESS_TIME")] + public const int JobObjectLimitProcessTime = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_JOB_TIME")] + public const int JobObjectLimitJobTime = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_ACTIVE_PROCESS")] + public const int JobObjectLimitActiveProcess = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_AFFINITY")] + public const int JobObjectLimitAffinity = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_PRIORITY_CLASS")] + public const int JobObjectLimitPriorityClass = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_PRESERVE_JOB_TIME")] + public const int JobObjectLimitPreserveJobTime = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_SCHEDULING_CLASS")] + public const int JobObjectLimitSchedulingClass = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_PROCESS_MEMORY")] + public const int JobObjectLimitProcessMemory = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_JOB_MEMORY")] + public const int JobObjectLimitJobMemory = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_JOB_MEMORY_HIGH")] + public const int JobObjectLimitJobMemoryHigh = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION")] + public const int JobObjectLimitDieOnUnhandledException = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_BREAKAWAY_OK")] + public const int JobObjectLimitBreakawayOK = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK")] + public const int JobObjectLimitSilentBreakawayOK = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE")] + public const int JobObjectLimitKillOnJobClose = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_SUBSET_AFFINITY")] + public const int JobObjectLimitSubsetAffinity = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_JOB_MEMORY_LOW")] + public const int JobObjectLimitJobMemoryLow = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_JOB_READ_BYTES")] + public const int JobObjectLimitJobReadBytes = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_JOB_WRITE_BYTES")] + public const int JobObjectLimitJobWriteBytes = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_RATE_CONTROL")] + public const int JobObjectLimitRateControl = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_CPU_RATE_CONTROL")] + public const int JobObjectLimitCpuRateControl = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_IO_RATE_CONTROL")] + public const int JobObjectLimitIORateControl = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_NET_RATE_CONTROL")] + public const int JobObjectLimitNetRateControl = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_LIMIT_VALID_FLAGS")] + public const int JobObjectLimitValidFlags = unchecked((int) 0x7FFFF); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_BASIC_LIMIT_VALID_FLAGS")] + public const int JobObjectBasicLimitValidFlags = unchecked((int) 0xFF); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_EXTENDED_LIMIT_VALID_FLAGS")] + public const int JobObjectExtendedLimitValidFlags = unchecked((int) 0x7FFF); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_NONE")] + public const int JobObjectUilimitNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_HANDLES")] + public const int JobObjectUilimitHandles = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_READCLIPBOARD")] + public const int JobObjectUilimitReadclipboard = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_WRITECLIPBOARD")] + public const int JobObjectUilimitWriteclipboard = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS")] + public const int JobObjectUilimitSystemparameters = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_DISPLAYSETTINGS")] + public const int JobObjectUilimitDisplaysettings = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_GLOBALATOMS")] + public const int JobObjectUilimitGlobalatoms = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_DESKTOP")] + public const int JobObjectUilimitDesktop = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_EXITWINDOWS")] + public const int JobObjectUilimitExitwindows = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UILIMIT_ALL")] + public const int JobObjectUilimitAll = unchecked((int) 0xFF); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_UI_VALID_FLAGS")] + public const int JobObjectUIValidFlags = unchecked((int) 0xFF); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_SECURITY_NO_ADMIN")] + public const int JobObjectSecurityNoAdmin = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_SECURITY_RESTRICTED_TOKEN")] + public const int JobObjectSecurityRestrictedToken = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_SECURITY_ONLY_TOKEN")] + public const int JobObjectSecurityOnlyToken = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_SECURITY_FILTER_TOKENS")] + public const int JobObjectSecurityFilterTokens = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_SECURITY_VALID_FLAGS")] + public const int JobObjectSecurityValidFlags = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_CPU_RATE_CONTROL_ENABLE")] + public const int JobObjectCpuRateControlEnable = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_CPU_RATE_CONTROL_WEIGHT_BASED")] + public const int JobObjectCpuRateControlWeightBased = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_CPU_RATE_CONTROL_HARD_CAP")] + public const int JobObjectCpuRateControlHardCap = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_CPU_RATE_CONTROL_NOTIFY")] + public const int JobObjectCpuRateControlNotify = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_CPU_RATE_CONTROL_MIN_MAX_RATE")] + public const int JobObjectCpuRateControlMinMaxRate = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "JOB_OBJECT_CPU_RATE_CONTROL_VALID_FLAGS")] + public const int JobObjectCpuRateControlValidFlags = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_MODIFY_STATE")] + public const int EventModifyState = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "MUTANT_QUERY_STATE")] + public const int MutantQueryState = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SEMAPHORE_MODIFY_STATE")] + public const int SemaphoreModifyState = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TIMER_QUERY_STATE")] + public const int TimerQueryState = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TIMER_MODIFY_STATE")] + public const int TimerModifyState = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TIME_ZONE_ID_UNKNOWN")] + public const int TimeZoneIDUnknown = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "TIME_ZONE_ID_STANDARD")] + public const int TimeZoneIDStandard = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TIME_ZONE_ID_DAYLIGHT")] + public const int TimeZoneIDDaylight = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "LTP_PC_SMT")] + public const int LtpPCSmt = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CACHE_FULLY_ASSOCIATIVE")] + public const int CacheFullyAssociative = unchecked((int) 0xFF); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_CPU_SET_INFORMATION_PARKED")] + public const int SystemCpuSetInformationParked = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_CPU_SET_INFORMATION_ALLOCATED")] + public const int SystemCpuSetInformationAllocated = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_CPU_SET_INFORMATION_ALLOCATED_TO_TARGET_PROCESS")] + public const int SystemCpuSetInformationAllocatedToTargetProcess = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_CPU_SET_INFORMATION_REALTIME")] + public const int SystemCpuSetInformationRealtime = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_INTEL_386")] + public const int ProcessorIntel386 = unchecked((int) 0x182); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_INTEL_486")] + public const int ProcessorIntel486 = unchecked((int) 0x1E6); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_INTEL_PENTIUM")] + public const int ProcessorIntelPentium = unchecked((int) 0x24A); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_INTEL_IA64")] + public const int ProcessorIntelIA64 = unchecked((int) 0x898); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_AMD_X8664")] + public const int ProcessorAmdX8664 = unchecked((int) 0x21D8); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_MIPS_R4000")] + public const int ProcessorMipsR4000 = unchecked((int) 0xFA0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ALPHA_21064")] + public const int ProcessorAlpha21064 = unchecked((int) 0x5248); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PPC_601")] + public const int ProcessorPpc601 = unchecked((int) 0x259); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PPC_603")] + public const int ProcessorPpc603 = unchecked((int) 0x25B); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PPC_604")] + public const int ProcessorPpc604 = unchecked((int) 0x25C); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PPC_620")] + public const int ProcessorPpc620 = unchecked((int) 0x26C); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_HITACHI_SH3")] + public const int ProcessorHitachiSH3 = unchecked((int) 0x2713); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_HITACHI_SH3E")] + public const int ProcessorHitachiSH3E = unchecked((int) 0x2714); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_HITACHI_SH4")] + public const int ProcessorHitachiSH4 = unchecked((int) 0x2715); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_MOTOROLA_821")] + public const int ProcessorMotorola821 = unchecked((int) 0x335); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_SHx_SH3")] + public const int ProcessorSHxSH3 = unchecked((int) 0x67); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_SHx_SH4")] + public const int ProcessorSHxSH4 = unchecked((int) 0x68); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_STRONGARM")] + public const int ProcessorStrongarm = unchecked((int) 0xA11); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARM720")] + public const int ProcessorArm720 = unchecked((int) 0x720); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARM820")] + public const int ProcessorArm820 = unchecked((int) 0x820); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARM920")] + public const int ProcessorArm920 = unchecked((int) 0x920); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARM_7TDMI")] + public const int ProcessorArm7Tdmi = unchecked((int) 0x11171); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_OPTIL")] + public const int ProcessorOptil = unchecked((int) 0x494F); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_INTEL")] + public const int ProcessorArchitectureIntel = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_MIPS")] + public const int ProcessorArchitectureMips = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_ALPHA")] + public const int ProcessorArchitectureAlpha = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_PPC")] + public const int ProcessorArchitecturePpc = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_SHX")] + public const int ProcessorArchitectureShx = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_ARM")] + public const int ProcessorArchitectureArm = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_IA64")] + public const int ProcessorArchitectureIA64 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_ALPHA64")] + public const int ProcessorArchitectureAlpha64 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_MSIL")] + public const int ProcessorArchitectureMsil = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_AMD64")] + public const int ProcessorArchitectureAmd64 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_IA32_ON_WIN64")] + public const int ProcessorArchitectureIA32OnWin64 = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_NEUTRAL")] + public const int ProcessorArchitectureNeutral = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_ARM64")] + public const int ProcessorArchitectureArm64 = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64")] + public const int ProcessorArchitectureArm32OnWin64 = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_IA32_ON_ARM64")] + public const int ProcessorArchitectureIA32OnArm64 = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_ARCHITECTURE_UNKNOWN")] + public const int ProcessorArchitectureUnknown = unchecked((int) 0xFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "PF_FLOATING_POINT_PRECISION_ERRATA")] + public const int PFFloatingPointPrecisionErrata = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PF_FLOATING_POINT_EMULATED")] + public const int PFFloatingPointEmulated = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PF_COMPARE_EXCHANGE_DOUBLE")] + public const int PFCompareExchangeDouble = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PF_MMX_INSTRUCTIONS_AVAILABLE")] + public const int PFMmxInstructionsAvailable = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PF_PPC_MOVEMEM_64BIT_OK")] + public const int PFPpcMovemem64BitOK = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ALPHA_BYTE_INSTRUCTIONS")] + public const int PFAlphaByteInstructions = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "PF_XMMI_INSTRUCTIONS_AVAILABLE")] + public const int PFXmmiInstructionsAvailable = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "PF_3DNOW_INSTRUCTIONS_AVAILABLE")] + public const int PF3DnowInstructionsAvailable = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "PF_RDTSC_INSTRUCTION_AVAILABLE")] + public const int PFRdtscInstructionAvailable = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PF_PAE_ENABLED")] + public const int PFPaeEnabled = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "PF_XMMI64_INSTRUCTIONS_AVAILABLE")] + public const int PFXmmi64InstructionsAvailable = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "PF_SSE_DAZ_MODE_AVAILABLE")] + public const int PFSseDazModeAvailable = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "PF_NX_ENABLED")] + public const int PFNXEnabled = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "PF_SSE3_INSTRUCTIONS_AVAILABLE")] + public const int PFSse3InstructionsAvailable = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "PF_COMPARE_EXCHANGE128")] + public const int PFCompareExchange128 = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "PF_COMPARE64_EXCHANGE128")] + public const int PFCompare64Exchange128 = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "PF_CHANNELS_ENABLED")] + public const int PFChannelsEnabled = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PF_XSAVE_ENABLED")] + public const int PFXsaveEnabled = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_VFP_32_REGISTERS_AVAILABLE")] + public const int PFArmVfp32RegistersAvailable = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_NEON_INSTRUCTIONS_AVAILABLE")] + public const int PFArmNeonInstructionsAvailable = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "PF_SECOND_LEVEL_ADDRESS_TRANSLATION")] + public const int PFSecondLevelAddressTranslation = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "PF_VIRT_FIRMWARE_ENABLED")] + public const int PFVirtFirmwareEnabled = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "PF_RDWRFSGSBASE_AVAILABLE")] + public const int PFRdwrfsgsbaseAvailable = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "PF_FASTFAIL_AVAILABLE")] + public const int PFFastfailAvailable = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE")] + public const int PFArmDivideInstructionAvailable = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_64BIT_LOADSTORE_ATOMIC")] + public const int PFArm64BitLoadstoreAtomic = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_EXTERNAL_CACHE_AVAILABLE")] + public const int PFArmExternalCacheAvailable = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE")] + public const int PFArmFmacInstructionsAvailable = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "PF_RDRAND_INSTRUCTION_AVAILABLE")] + public const int PFRdrandInstructionAvailable = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_V8_INSTRUCTIONS_AVAILABLE")] + public const int PFArmV8InstructionsAvailable = unchecked((int) 0x1D); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE")] + public const int PFArmV8CryptoInstructionsAvailable = unchecked((int) 0x1E); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE")] + public const int PFArmV8Crc32InstructionsAvailable = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "PF_RDTSCP_INSTRUCTION_AVAILABLE")] + public const int PFRdtscpInstructionAvailable = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "PF_RDPID_INSTRUCTION_AVAILABLE")] + public const int PFRdpidInstructionAvailable = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "PF_ARM_V81_ATOMIC_INSTRUCTIONS_AVAILABLE")] + public const int PFArmV81AtomicInstructionsAvailable = unchecked((int) 0x22); + [NativeName("Type", "int")] + [NativeName("Name", "PF_MONITORX_INSTRUCTION_AVAILABLE")] + public const int PFMonitorxInstructionAvailable = unchecked((int) 0x23); + [NativeName("Type", "int")] + [NativeName("Name", "PF_SSSE3_INSTRUCTIONS_AVAILABLE")] + public const int PFSsse3InstructionsAvailable = unchecked((int) 0x24); + [NativeName("Type", "int")] + [NativeName("Name", "PF_SSE4_1_INSTRUCTIONS_AVAILABLE")] + public const int PFSse41InstructionsAvailable = unchecked((int) 0x25); + [NativeName("Type", "int")] + [NativeName("Name", "PF_SSE4_2_INSTRUCTIONS_AVAILABLE")] + public const int PFSse42InstructionsAvailable = unchecked((int) 0x26); + [NativeName("Type", "int")] + [NativeName("Name", "PF_AVX_INSTRUCTIONS_AVAILABLE")] + public const int PFAvxInstructionsAvailable = unchecked((int) 0x27); + [NativeName("Type", "int")] + [NativeName("Name", "PF_AVX2_INSTRUCTIONS_AVAILABLE")] + public const int PFAvx2InstructionsAvailable = unchecked((int) 0x28); + [NativeName("Type", "int")] + [NativeName("Name", "PF_AVX512F_INSTRUCTIONS_AVAILABLE")] + public const int PFAvx512fInstructionsAvailable = unchecked((int) 0x29); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_LEGACY_FLOATING_POINT")] + public const int XstateLegacyFloatingPoint = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_LEGACY_SSE")] + public const int XstateLegacySse = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_GSSE")] + public const int XstateGsse = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_AVX")] + public const int XstateAvx = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_MPX_BNDREGS")] + public const int XstateMpxBndregs = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_MPX_BNDCSR")] + public const int XstateMpxBndcsr = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_AVX512_KMASK")] + public const int XstateAvx512Kmask = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_AVX512_ZMM_H")] + public const int XstateAvx512ZmmH = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_AVX512_ZMM")] + public const int XstateAvx512Zmm = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_IPT")] + public const int XstateIpt = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_CET_U")] + public const int XstateCetU = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_LWP")] + public const int XstateLwp = unchecked((int) 0x3E); + [NativeName("Type", "int")] + [NativeName("Name", "MAXIMUM_XSTATE_FEATURES")] + public const int MaximumXstateFeatures = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_COMPACTION_ENABLE")] + public const int XstateCompactionEnable = unchecked((int) 0x3F); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_ALIGN_BIT")] + public const int XstateAlignBit = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_CONTROLFLAG_XSAVEOPT_MASK")] + public const int XstateControlflagXsaveoptMask = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "XSTATE_CONTROLFLAG_XSAVEC_MASK")] + public const int XstateControlflagXsavecMask = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "CFG_CALL_TARGET_VALID")] + public const int CfgCallTargetValid = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CFG_CALL_TARGET_PROCESSED")] + public const int CfgCallTargetProcessed = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "CFG_CALL_TARGET_CONVERT_EXPORT_SUPPRESSED_TO_VALID")] + public const int CfgCallTargetConvertExportSuppressedToValid = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SECTION_QUERY")] + public const int SectionQuery = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SECTION_MAP_WRITE")] + public const int SectionMapWrite = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SECTION_MAP_READ")] + public const int SectionMapRead = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SECTION_MAP_EXECUTE")] + public const int SectionMapExecute = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SECTION_EXTEND_SIZE")] + public const int SectionExtendSize = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SECTION_MAP_EXECUTE_EXPLICIT")] + public const int SectionMapExecuteExplicit = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "SESSION_QUERY_ACCESS")] + public const int SessionQueryAccess = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SESSION_MODIFY_ACCESS")] + public const int SessionModifyAccess = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_NOACCESS")] + public const int PageNoaccess = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_READONLY")] + public const int PageReadonly = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_READWRITE")] + public const int PageReadwrite = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_WRITECOPY")] + public const int PageWritecopy = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_EXECUTE")] + public const int PageExecute = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_EXECUTE_READ")] + public const int PageExecuteRead = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_EXECUTE_READWRITE")] + public const int PageExecuteReadwrite = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_EXECUTE_WRITECOPY")] + public const int PageExecuteWritecopy = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GUARD")] + public const int PageGuard = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_NOCACHE")] + public const int PageNocache = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_WRITECOMBINE")] + public const int PageWritecombine = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_NOACCESS")] + public const int PageGraphicsNoaccess = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_READONLY")] + public const int PageGraphicsReadonly = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_READWRITE")] + public const int PageGraphicsReadwrite = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_EXECUTE")] + public const int PageGraphicsExecute = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_EXECUTE_READ")] + public const int PageGraphicsExecuteRead = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_EXECUTE_READWRITE")] + public const int PageGraphicsExecuteReadwrite = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_COHERENT")] + public const int PageGraphicsCoherent = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_GRAPHICS_NOCACHE")] + public const int PageGraphicsNocache = unchecked((int) 0x40000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "PAGE_ENCLAVE_THREAD_CONTROL")] + public const uint PageEnclaveThreadControl = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "PAGE_REVERT_TO_FILE_MAP")] + public const uint PageRevertToFileMap = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_TARGETS_NO_UPDATE")] + public const int PageTargetsNoUpdate = unchecked((int) 0x40000000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_TARGETS_INVALID")] + public const int PageTargetsInvalid = unchecked((int) 0x40000000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_ENCLAVE_UNVALIDATED")] + public const int PageEnclaveUnvalidated = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "PAGE_ENCLAVE_MASK")] + public const int PageEnclaveMask = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_COMMIT")] + public const int MemCommit = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_RESERVE")] + public const int MemReserve = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_REPLACE_PLACEHOLDER")] + public const int MemReplacePlaceholder = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_RESERVE_PLACEHOLDER")] + public const int MemReservePlaceholder = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_RESET")] + public const int MemReset = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_TOP_DOWN")] + public const int MemTopDown = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_WRITE_WATCH")] + public const int MemWriteWatch = unchecked((int) 0x200000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_PHYSICAL")] + public const int MemPhysical = unchecked((int) 0x400000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_ROTATE")] + public const int MemRotate = unchecked((int) 0x800000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_DIFFERENT_IMAGE_BASE_OK")] + public const int MemDifferentImageBaseOK = unchecked((int) 0x800000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_RESET_UNDO")] + public const int MemResetUndo = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_LARGE_PAGES")] + public const int MemLargePages = unchecked((int) 0x20000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "MEM_4MB_PAGES")] + public const uint Mem4MBPages = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_UNMAP_WITH_TRANSIENT_BOOST")] + public const int MemUnmapWithTransientBoost = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_COALESCE_PLACEHOLDERS")] + public const int MemCoalescePlaceholders = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_PRESERVE_PLACEHOLDER")] + public const int MemPreservePlaceholder = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_DECOMMIT")] + public const int MemDecommit = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_RELEASE")] + public const int MemRelease = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_FREE")] + public const int MemFree = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_EXTENDED_PARAMETER_GRAPHICS")] + public const int MemExtendedParameterGraphics = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_EXTENDED_PARAMETER_NONPAGED")] + public const int MemExtendedParameterNonpaged = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_EXTENDED_PARAMETER_ZERO_PAGES_OPTIONAL")] + public const int MemExtendedParameterZeroPagesOptional = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_EXTENDED_PARAMETER_NONPAGED_LARGE")] + public const int MemExtendedParameterNonpagedLarge = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_EXTENDED_PARAMETER_NONPAGED_HUGE")] + public const int MemExtendedParameterNonpagedHuge = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_EXTENDED_PARAMETER_SOFT_FAULT_PAGES")] + public const int MemExtendedParameterSoftFaultPages = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_EXTENDED_PARAMETER_TYPE_BITS")] + public const int MemExtendedParameterTypeBits = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_PARTITION_OWNER_HANDLE")] + public const int SecPartitionOwnerHandle = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_64K_PAGES")] + public const int Sec64KPages = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_FILE")] + public const int SecFile = unchecked((int) 0x800000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_IMAGE")] + public const int SecImage = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_PROTECTED_IMAGE")] + public const int SecProtectedImage = unchecked((int) 0x2000000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_RESERVE")] + public const int SecReserve = unchecked((int) 0x4000000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_COMMIT")] + public const int SecCommit = unchecked((int) 0x8000000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_NOCACHE")] + public const int SecNocache = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "SEC_WRITECOMBINE")] + public const int SecWritecombine = unchecked((int) 0x40000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "SEC_LARGE_PAGES")] + public const uint SecLargePages = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_PRIVATE")] + public const int MemPrivate = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_MAPPED")] + public const int MemMapped = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "MEM_IMAGE")] + public const int MemImage = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "WRITE_WATCH_FLAG_RESET")] + public const int WriteWatchFlagReset = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ENCLAVE_TYPE_SGX")] + public const int EnclaveTypeSgx = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ENCLAVE_TYPE_SGX2")] + public const int EnclaveTypeSgx2 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ENCLAVE_TYPE_VBS")] + public const int EnclaveTypeVbs = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "ENCLAVE_VBS_FLAG_DEBUG")] + public const int EnclaveVbsFlagDebug = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ENCLAVE_TYPE_VBS_BASIC")] + public const int EnclaveTypeVbsBasic = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "VBS_BASIC_PAGE_MEASURED_DATA")] + public const int VbsBasicPageMeasuredData = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "VBS_BASIC_PAGE_UNMEASURED_DATA")] + public const int VbsBasicPageUnmeasuredData = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "VBS_BASIC_PAGE_ZERO_FILL")] + public const int VbsBasicPageZeroFill = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "VBS_BASIC_PAGE_THREAD_DESCRIPTOR")] + public const int VbsBasicPageThreadDescriptor = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "VBS_BASIC_PAGE_SYSTEM_CALL")] + public const int VbsBasicPageSystemCall = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_READ_DATA")] + public const int FileReadData = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_LIST_DIRECTORY")] + public const int FileListDirectory = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_WRITE_DATA")] + public const int FileWriteData = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ADD_FILE")] + public const int FileAddFile = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_APPEND_DATA")] + public const int FileAppendData = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ADD_SUBDIRECTORY")] + public const int FileAddSubdirectory = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_CREATE_PIPE_INSTANCE")] + public const int FileCreatePipeInstance = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_READ_EA")] + public const int FileReadEA = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_WRITE_EA")] + public const int FileWriteEA = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_EXECUTE")] + public const int FileExecute = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_TRAVERSE")] + public const int FileTraverse = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_DELETE_CHILD")] + public const int FileDeleteChild = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_READ_ATTRIBUTES")] + public const int FileReadAttributes = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_WRITE_ATTRIBUTES")] + public const int FileWriteAttributes = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SHARE_READ")] + public const int FileShareRead = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SHARE_WRITE")] + public const int FileShareWrite = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SHARE_DELETE")] + public const int FileShareDelete = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_READONLY")] + public const int FileAttributeReadonly = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_HIDDEN")] + public const int FileAttributeHidden = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_SYSTEM")] + public const int FileAttributeSystem = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_DIRECTORY")] + public const int FileAttributeDirectory = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_ARCHIVE")] + public const int FileAttributeArchive = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_DEVICE")] + public const int FileAttributeDevice = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_NORMAL")] + public const int FileAttributeNormal = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_TEMPORARY")] + public const int FileAttributeTemporary = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_SPARSE_FILE")] + public const int FileAttributeSparseFile = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_REPARSE_POINT")] + public const int FileAttributeReparsePoint = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_COMPRESSED")] + public const int FileAttributeCompressed = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_OFFLINE")] + public const int FileAttributeOffline = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_NOT_CONTENT_INDEXED")] + public const int FileAttributeNotContentIndexed = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_ENCRYPTED")] + public const int FileAttributeEncrypted = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_INTEGRITY_STREAM")] + public const int FileAttributeIntegrityStream = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_VIRTUAL")] + public const int FileAttributeVirtual = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_NO_SCRUB_DATA")] + public const int FileAttributeNoScrubData = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_EA")] + public const int FileAttributeEA = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_PINNED")] + public const int FileAttributePinned = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_UNPINNED")] + public const int FileAttributeUnpinned = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_RECALL_ON_OPEN")] + public const int FileAttributeRecallOnOpen = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS")] + public const int FileAttributeRecallOnDataAccess = unchecked((int) 0x400000); + [NativeName("Type", "int")] + [NativeName("Name", "TREE_CONNECT_ATTRIBUTE_PRIVACY")] + public const int TreeConnectAttributePrivacy = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "TREE_CONNECT_ATTRIBUTE_INTEGRITY")] + public const int TreeConnectAttributeIntegrity = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "TREE_CONNECT_ATTRIBUTE_GLOBAL")] + public const int TreeConnectAttributeGlobal = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TREE_CONNECT_ATTRIBUTE_PINNED")] + public const int TreeConnectAttributePinned = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ATTRIBUTE_STRICTLY_SEQUENTIAL")] + public const int FileAttributeStrictlySequential = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_FILE_NAME")] + public const int FileNotifyChangeFileName = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_DIR_NAME")] + public const int FileNotifyChangeDirName = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_ATTRIBUTES")] + public const int FileNotifyChangeAttributes = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_SIZE")] + public const int FileNotifyChangeSize = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_LAST_WRITE")] + public const int FileNotifyChangeLastWrite = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_LAST_ACCESS")] + public const int FileNotifyChangeLastAccess = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_CREATION")] + public const int FileNotifyChangeCreation = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NOTIFY_CHANGE_SECURITY")] + public const int FileNotifyChangeSecurity = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ACTION_ADDED")] + public const int FileActionAdded = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ACTION_REMOVED")] + public const int FileActionRemoved = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ACTION_MODIFIED")] + public const int FileActionModified = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ACTION_RENAMED_OLD_NAME")] + public const int FileActionRenamedOldName = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_ACTION_RENAMED_NEW_NAME")] + public const int FileActionRenamedNewName = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_CASE_SENSITIVE_SEARCH")] + public const int FileCaseSensitiveSearch = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_CASE_PRESERVED_NAMES")] + public const int FileCasePreservedNames = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_UNICODE_ON_DISK")] + public const int FileUnicodeOnDisk = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_PERSISTENT_ACLS")] + public const int FilePersistentAcls = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_FILE_COMPRESSION")] + public const int FileFileCompression = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_VOLUME_QUOTAS")] + public const int FileVolumeQuotas = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_SPARSE_FILES")] + public const int FileSupportsSparseFiles = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_REPARSE_POINTS")] + public const int FileSupportsReparsePoints = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_REMOTE_STORAGE")] + public const int FileSupportsRemoteStorage = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_RETURNS_CLEANUP_RESULT_INFO")] + public const int FileReturnsCleanupResultInfo = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_POSIX_UNLINK_RENAME")] + public const int FileSupportsPosixUnlinkRename = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_VOLUME_IS_COMPRESSED")] + public const int FileVolumeIsCompressed = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_OBJECT_IDS")] + public const int FileSupportsObjectIds = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_ENCRYPTION")] + public const int FileSupportsEncryption = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_NAMED_STREAMS")] + public const int FileNamedStreams = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_READ_ONLY_VOLUME")] + public const int FileReadOnlyVolume = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SEQUENTIAL_WRITE_ONCE")] + public const int FileSequentialWriteOnce = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_TRANSACTIONS")] + public const int FileSupportsTransactions = unchecked((int) 0x200000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_HARD_LINKS")] + public const int FileSupportsHardLinks = unchecked((int) 0x400000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_EXTENDED_ATTRIBUTES")] + public const int FileSupportsExtendedAttributes = unchecked((int) 0x800000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_OPEN_BY_FILE_ID")] + public const int FileSupportsOpenByFileID = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_USN_JOURNAL")] + public const int FileSupportsUsnJournal = unchecked((int) 0x2000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_INTEGRITY_STREAMS")] + public const int FileSupportsIntegrityStreams = unchecked((int) 0x4000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_BLOCK_REFCOUNTING")] + public const int FileSupportsBlockRefcounting = unchecked((int) 0x8000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_SPARSE_VDL")] + public const int FileSupportsSparseVdl = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_DAX_VOLUME")] + public const int FileDaxVolume = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_SUPPORTS_GHOSTING")] + public const int FileSupportsGhosting = unchecked((int) 0x40000000); + [NativeName("Type", "int")] + [NativeName("Name", "FILE_CS_FLAG_CASE_SENSITIVE_DIR")] + public const int FileCSFlagCaseSensitiveDir = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FLUSH_FLAGS_FILE_DATA_ONLY")] + public const int FlushFlagsFileDataOnly = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FLUSH_FLAGS_NO_SYNC")] + public const int FlushFlagsNoSync = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FLUSH_FLAGS_FILE_DATA_SYNC_ONLY")] + public const int FlushFlagsFileDataSyncOnly = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IO_REPARSE_TAG_RESERVED_ZERO")] + public const int IOReparseTagReservedZero = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IO_REPARSE_TAG_RESERVED_ONE")] + public const int IOReparseTagReservedOne = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IO_REPARSE_TAG_RESERVED_TWO")] + public const int IOReparseTagReservedTwo = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IO_REPARSE_TAG_RESERVED_RANGE")] + public const int IOReparseTagReservedRange = unchecked((int) 0x2); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_MOUNT_POINT")] + public const uint IOReparseTagMountPoint = unchecked((uint) 0xFFFFFFFFA0000003); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_HSM")] + public const uint IOReparseTagHsm = unchecked((uint) 0xFFFFFFFFC0000004); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_HSM2")] + public const uint IOReparseTagHsm2 = unchecked((uint) 0xFFFFFFFF80000006); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_SIS")] + public const uint IOReparseTagSis = unchecked((uint) 0xFFFFFFFF80000007); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_WIM")] + public const uint IOReparseTagWim = unchecked((uint) 0xFFFFFFFF80000008); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CSV")] + public const uint IOReparseTagCsv = unchecked((uint) 0xFFFFFFFF80000009); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_DFS")] + public const uint IOReparseTagDfs = unchecked((uint) 0xFFFFFFFF8000000A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_SYMLINK")] + public const uint IOReparseTagSymlink = unchecked((uint) 0xFFFFFFFFA000000C); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_DFSR")] + public const uint IOReparseTagDfsr = unchecked((uint) 0xFFFFFFFF80000012); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_DEDUP")] + public const uint IOReparseTagDedup = unchecked((uint) 0xFFFFFFFF80000013); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_NFS")] + public const uint IOReparseTagNfs = unchecked((uint) 0xFFFFFFFF80000014); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_FILE_PLACEHOLDER")] + public const uint IOReparseTagFilePlaceholder = unchecked((uint) 0xFFFFFFFF80000015); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_WOF")] + public const uint IOReparseTagWof = unchecked((uint) 0xFFFFFFFF80000017); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_WCI")] + public const uint IOReparseTagWci = unchecked((uint) 0xFFFFFFFF80000018); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_WCI_1")] + public const uint IOReparseTagWci1 = unchecked((uint) 0xFFFFFFFF90001018); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_GLOBAL_REPARSE")] + public const uint IOReparseTagGlobalReparse = unchecked((uint) 0xFFFFFFFFA0000019); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD")] + public const uint IOReparseTagCloud = unchecked((uint) 0xFFFFFFFF9000001A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_1")] + public const uint IOReparseTagCloud1 = unchecked((uint) 0xFFFFFFFF9000101A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_2")] + public const uint IOReparseTagCloud2 = unchecked((uint) 0xFFFFFFFF9000201A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_3")] + public const uint IOReparseTagCloud3 = unchecked((uint) 0xFFFFFFFF9000301A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_4")] + public const uint IOReparseTagCloud4 = unchecked((uint) 0xFFFFFFFF9000401A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_5")] + public const uint IOReparseTagCloud5 = unchecked((uint) 0xFFFFFFFF9000501A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_6")] + public const uint IOReparseTagCloud6 = unchecked((uint) 0xFFFFFFFF9000601A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_7")] + public const uint IOReparseTagCloud7 = unchecked((uint) 0xFFFFFFFF9000701A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_8")] + public const uint IOReparseTagCloud8 = unchecked((uint) 0xFFFFFFFF9000801A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_9")] + public const uint IOReparseTagCloud9 = unchecked((uint) 0xFFFFFFFF9000901A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_A")] + public const uint IOReparseTagCloudA = unchecked((uint) 0xFFFFFFFF9000A01A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_B")] + public const uint IOReparseTagCloudB = unchecked((uint) 0xFFFFFFFF9000B01A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_C")] + public const uint IOReparseTagCloudC = unchecked((uint) 0xFFFFFFFF9000C01A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_D")] + public const uint IOReparseTagCloudD = unchecked((uint) 0xFFFFFFFF9000D01A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_E")] + public const uint IOReparseTagCloudE = unchecked((uint) 0xFFFFFFFF9000E01A); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_F")] + public const uint IOReparseTagCloudF = unchecked((uint) 0xFFFFFFFF9000F01A); + [NativeName("Type", "long")] + [NativeName("Name", "IO_REPARSE_TAG_CLOUD_MASK")] + public const int IOReparseTagCloudMask = unchecked((int) 0xF000); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_APPEXECLINK")] + public const uint IOReparseTagAppexeclink = unchecked((uint) 0xFFFFFFFF8000001B); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_PROJFS")] + public const uint IOReparseTagProjfs = unchecked((uint) 0xFFFFFFFF9000001C); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_STORAGE_SYNC")] + public const uint IOReparseTagStorageSync = unchecked((uint) 0xFFFFFFFF8000001E); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_WCI_TOMBSTONE")] + public const uint IOReparseTagWciTombstone = unchecked((uint) 0xFFFFFFFFA000001F); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_UNHANDLED")] + public const uint IOReparseTagUnhandled = unchecked((uint) 0xFFFFFFFF80000020); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_ONEDRIVE")] + public const uint IOReparseTagOnedrive = unchecked((uint) 0xFFFFFFFF80000021); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_PROJFS_TOMBSTONE")] + public const uint IOReparseTagProjfsTombstone = unchecked((uint) 0xFFFFFFFFA0000022); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_AF_UNIX")] + public const uint IOReparseTagAFUnix = unchecked((uint) 0xFFFFFFFF80000023); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_WCI_LINK")] + public const uint IOReparseTagWciLink = unchecked((uint) 0xFFFFFFFFA0000027); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "IO_REPARSE_TAG_WCI_LINK_1")] + public const uint IOReparseTagWciLink1 = unchecked((uint) 0xFFFFFFFFA0001027); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_INPUT_FLAG_RESUME")] + public const int ScrubDataInputFlagResume = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_INPUT_FLAG_SKIP_IN_SYNC")] + public const int ScrubDataInputFlagSkipInSync = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_INPUT_FLAG_SKIP_NON_INTEGRITY_DATA")] + public const int ScrubDataInputFlagSkipNonIntegrityData = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_INPUT_FLAG_IGNORE_REDUNDANCY")] + public const int ScrubDataInputFlagIgnoreRedundancy = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_INPUT_FLAG_SKIP_DATA")] + public const int ScrubDataInputFlagSkipData = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_INPUT_FLAG_SCRUB_BY_OBJECT_ID")] + public const int ScrubDataInputFlagScrubByObjectID = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_INPUT_FLAG_OPLOCK_NOT_ACQUIRED")] + public const int ScrubDataInputFlagOplockNotAcquired = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_OUTPUT_FLAG_INCOMPLETE")] + public const int ScrubDataOutputFlagIncomplete = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_OUTPUT_FLAG_NON_USER_DATA_RANGE")] + public const int ScrubDataOutputFlagNonUserDataRange = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_OUTPUT_FLAG_PARITY_EXTENT_DATA_RETURNED")] + public const int ScrubDataOutputFlagParityExtentDataReturned = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "SCRUB_DATA_OUTPUT_FLAG_RESUME_CONTEXT_LENGTH_SPECIFIED")] + public const int ScrubDataOutputFlagResumeContextLengthSpecified = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "SHUFFLE_FILE_FLAG_SKIP_INITIALIZING_NEW_CLUSTERS")] + public const int ShuffleFileFlagSkipInitializingNewClusters = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IO_COMPLETION_MODIFY_STATE")] + public const int IOCompletionModifyState = unchecked((int) 0x2); + [NativeName("Type", "unsigned long long")] + [NativeName("Name", "IO_QOS_MAX_RESERVATION")] + public const ulong IOQosMaxReservation = unchecked((ulong) 0x3B9ACA00); + [NativeName("Type", "")] + [NativeName("Name", "SMB_CCF_APP_INSTANCE_EA_NAME")] + public const string SmbCcfAppInstanceEAName = unchecked((string) "ClusteredApplicationInstance"); + [NativeName("Type", "int")] + [NativeName("Name", "NETWORK_APP_INSTANCE_CSV_FLAGS_VALID_ONLY_IF_CSV_COORDINATOR")] + public const int NetworkAppInstanceCsvFlagsValidOnlyIFCsvCoordinator = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DUPLICATE_CLOSE_SOURCE")] + public const int DuplicateCloseSource = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DUPLICATE_SAME_ACCESS")] + public const int DuplicateSameAccess = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_INDEX_NOTHING")] + public const int PowerbuttonActionIndexNothing = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_INDEX_SLEEP")] + public const int PowerbuttonActionIndexSleep = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_INDEX_HIBERNATE")] + public const int PowerbuttonActionIndexHibernate = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_INDEX_SHUTDOWN")] + public const int PowerbuttonActionIndexShutdown = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_INDEX_TURN_OFF_THE_DISPLAY")] + public const int PowerbuttonActionIndexTurnOffTheDisplay = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_VALUE_NOTHING")] + public const int PowerbuttonActionValueNothing = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_VALUE_SLEEP")] + public const int PowerbuttonActionValueSleep = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_VALUE_HIBERNATE")] + public const int PowerbuttonActionValueHibernate = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_VALUE_SHUTDOWN")] + public const int PowerbuttonActionValueShutdown = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "POWERBUTTON_ACTION_VALUE_TURN_OFF_THE_DISPLAY")] + public const int PowerbuttonActionValueTurnOffTheDisplay = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PERFSTATE_POLICY_CHANGE_IDEAL")] + public const int PerfstatePolicyChangeIdeal = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PERFSTATE_POLICY_CHANGE_SINGLE")] + public const int PerfstatePolicyChangeSingle = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PERFSTATE_POLICY_CHANGE_ROCKET")] + public const int PerfstatePolicyChangeRocket = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PERFSTATE_POLICY_CHANGE_IDEAL_AGGRESSIVE")] + public const int PerfstatePolicyChangeIdealAggressive = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PERFSTATE_POLICY_CHANGE_DECREASE_MAX")] + public const int PerfstatePolicyChangeDecreaseMax = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PERFSTATE_POLICY_CHANGE_INCREASE_MAX")] + public const int PerfstatePolicyChangeIncreaseMax = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_THROTTLE_DISABLED")] + public const int ProcessorThrottleDisabled = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_THROTTLE_ENABLED")] + public const int ProcessorThrottleEnabled = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_THROTTLE_AUTOMATIC")] + public const int ProcessorThrottleAutomatic = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_POLICY_DISABLED")] + public const int ProcessorPerfBoostPolicyDisabled = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_POLICY_MAX")] + public const int ProcessorPerfBoostPolicyMax = unchecked((int) 0x64); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_DISABLED")] + public const int ProcessorPerfBoostModeDisabled = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_ENABLED")] + public const int ProcessorPerfBoostModeEnabled = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_AGGRESSIVE")] + public const int ProcessorPerfBoostModeAggressive = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_EFFICIENT_ENABLED")] + public const int ProcessorPerfBoostModeEfficientEnabled = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_EFFICIENT_AGGRESSIVE")] + public const int ProcessorPerfBoostModeEfficientAggressive = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_AGGRESSIVE_AT_GUARANTEED")] + public const int ProcessorPerfBoostModeAggressiveATGuaranteed = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_EFFICIENT_AGGRESSIVE_AT_GUARANTEED")] + public const int ProcessorPerfBoostModeEfficientAggressiveATGuaranteed = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_BOOST_MODE_MAX")] + public const int ProcessorPerfBoostModeMax = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_AUTONOMOUS_MODE_DISABLED")] + public const int ProcessorPerfAutonomousModeDisabled = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_AUTONOMOUS_MODE_ENABLED")] + public const int ProcessorPerfAutonomousModeEnabled = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_PERFORMANCE_PREFERENCE")] + public const int ProcessorPerfPerformancePreference = unchecked((int) 0xFF); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_ENERGY_PREFERENCE")] + public const int ProcessorPerfEnergyPreference = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_MINIMUM_ACTIVITY_WINDOW")] + public const int ProcessorPerfMinimumActivityWindow = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_PERF_MAXIMUM_ACTIVITY_WINDOW")] + public const int ProcessorPerfMaximumActivityWindow = unchecked((int) 0x4BB2A980); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_DUTY_CYCLING_DISABLED")] + public const int ProcessorDutyCyclingDisabled = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_DUTY_CYCLING_ENABLED")] + public const int ProcessorDutyCyclingEnabled = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CORE_PARKING_POLICY_CHANGE_IDEAL")] + public const int CoreParkingPolicyChangeIdeal = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "CORE_PARKING_POLICY_CHANGE_SINGLE")] + public const int CoreParkingPolicyChangeSingle = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CORE_PARKING_POLICY_CHANGE_ROCKET")] + public const int CoreParkingPolicyChangeRocket = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "CORE_PARKING_POLICY_CHANGE_MULTISTEP")] + public const int CoreParkingPolicyChangeMultistep = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "CORE_PARKING_POLICY_CHANGE_MAX")] + public const int CoreParkingPolicyChangeMax = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_DEVICE_IDLE_POLICY_PERFORMANCE")] + public const int PowerDeviceIdlePolicyPerformance = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_DEVICE_IDLE_POLICY_CONSERVATIVE")] + public const int PowerDeviceIdlePolicyConservative = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_CONNECTIVITY_IN_STANDBY_DISABLED")] + public const int PowerConnectivityInStandbyDisabled = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_CONNECTIVITY_IN_STANDBY_ENABLED")] + public const int PowerConnectivityInStandbyEnabled = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_CONNECTIVITY_IN_STANDBY_SYSTEM_MANAGED")] + public const int PowerConnectivityInStandbySystemManaged = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_DISCONNECTED_STANDBY_MODE_NORMAL")] + public const int PowerDisconnectedStandbyModeNormal = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_DISCONNECTED_STANDBY_MODE_AGGRESSIVE")] + public const int PowerDisconnectedStandbyModeAggressive = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_SYSTEM_MAXIMUM")] + public const int PowerSystemMaximum = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "DIAGNOSTIC_REASON_VERSION")] + public const int DiagnosticReasonVersion = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "DIAGNOSTIC_REASON_SIMPLE_STRING")] + public const int DiagnosticReasonSimpleString = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DIAGNOSTIC_REASON_DETAILED_STRING")] + public const int DiagnosticReasonDetailedString = unchecked((int) 0x2); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "DIAGNOSTIC_REASON_NOT_SPECIFIED")] + public const uint DiagnosticReasonNotSpecified = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_REQUEST_CONTEXT_VERSION")] + public const int PowerRequestContextVersion = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_REQUEST_CONTEXT_SIMPLE_STRING")] + public const int PowerRequestContextSimpleString = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_REQUEST_CONTEXT_DETAILED_STRING")] + public const int PowerRequestContextDetailedString = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_D0_SUPPORTED")] + public const int PdcapD0Supported = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_D1_SUPPORTED")] + public const int PdcapD1Supported = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_D2_SUPPORTED")] + public const int PdcapD2Supported = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_D3_SUPPORTED")] + public const int PdcapD3Supported = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_WAKE_FROM_D0_SUPPORTED")] + public const int PdcapWakeFromD0Supported = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_WAKE_FROM_D1_SUPPORTED")] + public const int PdcapWakeFromD1Supported = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_WAKE_FROM_D2_SUPPORTED")] + public const int PdcapWakeFromD2Supported = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_WAKE_FROM_D3_SUPPORTED")] + public const int PdcapWakeFromD3Supported = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "PDCAP_WARM_EJECT_SUPPORTED")] + public const int PdcapWarmEjectSupported = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_SETTING_VALUE_VERSION")] + public const int PowerSettingValueVersion = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_PLATFORM_ROLE_V1")] + public const int PowerPlatformRoleV1 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_PLATFORM_ROLE_V2")] + public const int PowerPlatformRoleV2 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_PLATFORM_ROLE_VERSION")] + public const int PowerPlatformRoleVersion = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PROC_IDLE_BUCKET_COUNT")] + public const int ProcIdleBucketCount = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "PROC_IDLE_BUCKET_COUNT_EX")] + public const int ProcIdleBucketCountEX = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "ACPI_PPM_SOFTWARE_ALL")] + public const int AcpiPpmSoftwareAll = unchecked((int) 0xFC); + [NativeName("Type", "int")] + [NativeName("Name", "ACPI_PPM_SOFTWARE_ANY")] + public const int AcpiPpmSoftwareAny = unchecked((int) 0xFD); + [NativeName("Type", "int")] + [NativeName("Name", "ACPI_PPM_HARDWARE_ALL")] + public const int AcpiPpmHardwareAll = unchecked((int) 0xFE); + [NativeName("Type", "int")] + [NativeName("Name", "MS_PPM_SOFTWARE_ALL")] + public const int MSPpmSoftwareAll = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_ACPI1C2")] + public const int PpmFirmwareAcpi1C2 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_ACPI1C3")] + public const int PpmFirmwareAcpi1C3 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_ACPI1TSTATES")] + public const int PpmFirmwareAcpi1Tstates = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_CST")] + public const int PpmFirmwareCst = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_CSD")] + public const int PpmFirmwareCsd = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PCT")] + public const int PpmFirmwarePct = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PSS")] + public const int PpmFirmwarePss = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_XPSS")] + public const int PpmFirmwareXpss = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PPC")] + public const int PpmFirmwarePpc = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PSD")] + public const int PpmFirmwarePsd = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PTC")] + public const int PpmFirmwarePtc = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_TSS")] + public const int PpmFirmwareTss = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_TPC")] + public const int PpmFirmwareTpc = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_TSD")] + public const int PpmFirmwareTsd = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PCCH")] + public const int PpmFirmwarePcch = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PCCP")] + public const int PpmFirmwarePccp = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_OSC")] + public const int PpmFirmwareOsc = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_PDC")] + public const int PpmFirmwarePdc = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_CPC")] + public const int PpmFirmwareCpc = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_FIRMWARE_LPI")] + public const int PpmFirmwareLpi = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_PERFORMANCE_IMPLEMENTATION_NONE")] + public const int PpmPerformanceImplementationNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_PERFORMANCE_IMPLEMENTATION_PSTATES")] + public const int PpmPerformanceImplementationPstates = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_PERFORMANCE_IMPLEMENTATION_PCCV1")] + public const int PpmPerformanceImplementationPccv1 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_PERFORMANCE_IMPLEMENTATION_CPPC")] + public const int PpmPerformanceImplementationCppc = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_PERFORMANCE_IMPLEMENTATION_PEP")] + public const int PpmPerformanceImplementationPep = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_IDLE_IMPLEMENTATION_NONE")] + public const int PpmIdleImplementationNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_IDLE_IMPLEMENTATION_CSTATES")] + public const int PpmIdleImplementationCstates = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_IDLE_IMPLEMENTATION_PEP")] + public const int PpmIdleImplementationPep = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_IDLE_IMPLEMENTATION_MICROPEP")] + public const int PpmIdleImplementationMicropep = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PPM_IDLE_IMPLEMENTATION_LPISTATES")] + public const int PpmIdleImplementationLpistates = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_QUERY_ALLOWED")] + public const int PowerActionQueryAllowed = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_UI_ALLOWED")] + public const int PowerActionUIAllowed = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_OVERRIDE_APPS")] + public const int PowerActionOverrideApps = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_HIBERBOOT")] + public const int PowerActionHiberboot = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_USER_NOTIFY")] + public const int PowerActionUserNotify = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_DOZE_TO_HIBERNATE")] + public const int PowerActionDozeToHibernate = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_ACPI_CRITICAL")] + public const int PowerActionAcpiCritical = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_ACPI_USER_NOTIFY")] + public const int PowerActionAcpiUserNotify = unchecked((int) 0x2000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_DIRECTED_DRIPS")] + public const int PowerActionDirectedDrips = unchecked((int) 0x4000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_PSEUDO_TRANSITION")] + public const int PowerActionPseudoTransition = unchecked((int) 0x8000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_LIGHTEST_FIRST")] + public const int PowerActionLightestFirst = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_LOCK_CONSOLE")] + public const int PowerActionLockConsole = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_ACTION_DISABLE_WAKES")] + public const int PowerActionDisableWakes = unchecked((int) 0x40000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "POWER_ACTION_CRITICAL")] + public const uint PowerActionCritical = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_LEVEL_USER_NOTIFY_TEXT")] + public const int PowerLevelUserNotifyText = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_LEVEL_USER_NOTIFY_SOUND")] + public const int PowerLevelUserNotifySound = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_LEVEL_USER_NOTIFY_EXEC")] + public const int PowerLevelUserNotifyExec = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_USER_NOTIFY_BUTTON")] + public const int PowerUserNotifyButton = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_USER_NOTIFY_SHUTDOWN")] + public const int PowerUserNotifyShutdown = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "POWER_USER_NOTIFY_FORCED_SHUTDOWN")] + public const int PowerUserNotifyForcedShutdown = unchecked((int) 0x20); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "POWER_FORCE_TRIGGER_RESET")] + public const uint PowerForceTriggerReset = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "BATTERY_DISCHARGE_FLAGS_EVENTCODE_MASK")] + public const int BatteryDischargeFlagsEventcodeMask = unchecked((int) 0x7); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "BATTERY_DISCHARGE_FLAGS_ENABLE")] + public const uint BatteryDischargeFlagsEnable = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "NUM_DISCHARGE_POLICIES")] + public const int NumDischargePolicies = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "DISCHARGE_POLICY_CRITICAL")] + public const int DischargePolicyCritical = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "DISCHARGE_POLICY_LOW")] + public const int DischargePolicyLow = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESSOR_IDLESTATE_POLICY_COUNT")] + public const int ProcessorIdlestatePolicyCount = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PO_THROTTLE_NONE")] + public const int POThrottleNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "PO_THROTTLE_CONSTANT")] + public const int POThrottleConstant = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PO_THROTTLE_DEGRADE")] + public const int POThrottleDegrade = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PO_THROTTLE_ADAPTIVE")] + public const int POThrottleAdaptive = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "PO_THROTTLE_MAXIMUM")] + public const int POThrottleMaximum = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "HIBERFILE_TYPE_NONE")] + public const int HiberfileTypeNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "HIBERFILE_TYPE_REDUCED")] + public const int HiberfileTypeReduced = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "HIBERFILE_TYPE_FULL")] + public const int HiberfileTypeFull = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "HIBERFILE_TYPE_MAX")] + public const int HiberfileTypeMax = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DOS_SIGNATURE")] + public const int ImageDosSignature = unchecked((int) 0x5A4D); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_OS2_SIGNATURE")] + public const int ImageOS2Signature = unchecked((int) 0x454E); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_OS2_SIGNATURE_LE")] + public const int ImageOS2SignatureLE = unchecked((int) 0x454C); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_VXD_SIGNATURE")] + public const int ImageVxdSignature = unchecked((int) 0x454C); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_NT_SIGNATURE")] + public const int ImageNTSignature = unchecked((int) 0x4550); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SIZEOF_FILE_HEADER")] + public const int ImageSizeofFileHeader = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_RELOCS_STRIPPED")] + public const int ImageFileRelocsStripped = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_EXECUTABLE_IMAGE")] + public const int ImageFileExecutableImage = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_LINE_NUMS_STRIPPED")] + public const int ImageFileLineNumsStripped = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_LOCAL_SYMS_STRIPPED")] + public const int ImageFileLocalSymsStripped = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_AGGRESIVE_WS_TRIM")] + public const int ImageFileAggresiveWSTrim = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_LARGE_ADDRESS_AWARE")] + public const int ImageFileLargeAddressAware = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_BYTES_REVERSED_LO")] + public const int ImageFileBytesReversedLO = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_32BIT_MACHINE")] + public const int ImageFile32BitMachine = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_DEBUG_STRIPPED")] + public const int ImageFileDebugStripped = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP")] + public const int ImageFileRemovableRunFromSwap = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_NET_RUN_FROM_SWAP")] + public const int ImageFileNetRunFromSwap = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_SYSTEM")] + public const int ImageFileSystem = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_DLL")] + public const int ImageFileDll = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_UP_SYSTEM_ONLY")] + public const int ImageFileUpSystemOnly = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_BYTES_REVERSED_HI")] + public const int ImageFileBytesReversedHI = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_UNKNOWN")] + public const int ImageFileMachineUnknown = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_TARGET_HOST")] + public const int ImageFileMachineTargetHost = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_I386")] + public const int ImageFileMachineI386 = unchecked((int) 0x14C); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_R3000")] + public const int ImageFileMachineR3000 = unchecked((int) 0x162); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_R4000")] + public const int ImageFileMachineR4000 = unchecked((int) 0x166); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_R10000")] + public const int ImageFileMachineR10000 = unchecked((int) 0x168); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_WCEMIPSV2")] + public const int ImageFileMachineWcemipsv2 = unchecked((int) 0x169); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_ALPHA")] + public const int ImageFileMachineAlpha = unchecked((int) 0x184); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_SH3")] + public const int ImageFileMachineSH3 = unchecked((int) 0x1A2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_SH3DSP")] + public const int ImageFileMachineSH3Dsp = unchecked((int) 0x1A3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_SH3E")] + public const int ImageFileMachineSH3E = unchecked((int) 0x1A4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_SH4")] + public const int ImageFileMachineSH4 = unchecked((int) 0x1A6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_SH5")] + public const int ImageFileMachineSH5 = unchecked((int) 0x1A8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_ARM")] + public const int ImageFileMachineArm = unchecked((int) 0x1C0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_THUMB")] + public const int ImageFileMachineThumb = unchecked((int) 0x1C2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_ARMNT")] + public const int ImageFileMachineArmnt = unchecked((int) 0x1C4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_AM33")] + public const int ImageFileMachineAM33 = unchecked((int) 0x1D3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_POWERPC")] + public const int ImageFileMachinePowerpc = unchecked((int) 0x1F0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_POWERPCFP")] + public const int ImageFileMachinePowerpcfp = unchecked((int) 0x1F1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_IA64")] + public const int ImageFileMachineIA64 = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_MIPS16")] + public const int ImageFileMachineMips16 = unchecked((int) 0x266); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_ALPHA64")] + public const int ImageFileMachineAlpha64 = unchecked((int) 0x284); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_MIPSFPU")] + public const int ImageFileMachineMipsfpu = unchecked((int) 0x366); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_MIPSFPU16")] + public const int ImageFileMachineMipsfpu16 = unchecked((int) 0x466); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_AXP64")] + public const int ImageFileMachineAxp64 = unchecked((int) 0x284); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_TRICORE")] + public const int ImageFileMachineTricore = unchecked((int) 0x520); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_CEF")] + public const int ImageFileMachineCef = unchecked((int) 0xCEF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_EBC")] + public const int ImageFileMachineEbc = unchecked((int) 0xEBC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_AMD64")] + public const int ImageFileMachineAmd64 = unchecked((int) 0x8664); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_M32R")] + public const int ImageFileMachineM32R = unchecked((int) 0x9041); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_ARM64")] + public const int ImageFileMachineArm64 = unchecked((int) 0xAA64); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_FILE_MACHINE_CEE")] + public const int ImageFileMachineCee = unchecked((int) 0xC0EE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_NUMBEROF_DIRECTORY_ENTRIES")] + public const int ImageNumberofDirectoryEntries = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_NT_OPTIONAL_HDR32_MAGIC")] + public const int ImageNTOptionalHdr32Magic = unchecked((int) 0x10B); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_NT_OPTIONAL_HDR64_MAGIC")] + public const int ImageNTOptionalHdr64Magic = unchecked((int) 0x20B); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ROM_OPTIONAL_HDR_MAGIC")] + public const int ImageRomOptionalHdrMagic = unchecked((int) 0x107); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_NT_OPTIONAL_HDR_MAGIC")] + public const int ImageNTOptionalHdrMagic = unchecked((int) 0x10B); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_UNKNOWN")] + public const int ImageSubsystemUnknown = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_NATIVE")] + public const int ImageSubsystemNative = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_WINDOWS_GUI")] + public const int ImageSubsystemWindowsGui = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_WINDOWS_CUI")] + public const int ImageSubsystemWindowsCui = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_OS2_CUI")] + public const int ImageSubsystemOS2Cui = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_POSIX_CUI")] + public const int ImageSubsystemPosixCui = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_NATIVE_WINDOWS")] + public const int ImageSubsystemNativeWindows = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_WINDOWS_CE_GUI")] + public const int ImageSubsystemWindowsCEGui = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_EFI_APPLICATION")] + public const int ImageSubsystemEfiApplication = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER")] + public const int ImageSubsystemEfiBootServiceDriver = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER")] + public const int ImageSubsystemEfiRuntimeDriver = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_EFI_ROM")] + public const int ImageSubsystemEfiRom = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_XBOX")] + public const int ImageSubsystemXbox = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION")] + public const int ImageSubsystemWindowsBootApplication = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SUBSYSTEM_XBOX_CODE_CATALOG")] + public const int ImageSubsystemXboxCodeCatalog = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA")] + public const int ImageDllcharacteristicsHighEntropyVA = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE")] + public const int ImageDllcharacteristicsDynamicBase = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY")] + public const int ImageDllcharacteristicsForceIntegrity = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_NX_COMPAT")] + public const int ImageDllcharacteristicsNXCompat = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_NO_ISOLATION")] + public const int ImageDllcharacteristicsNoIsolation = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_NO_SEH")] + public const int ImageDllcharacteristicsNoSeh = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_NO_BIND")] + public const int ImageDllcharacteristicsNoBind = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_APPCONTAINER")] + public const int ImageDllcharacteristicsAppcontainer = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_WDM_DRIVER")] + public const int ImageDllcharacteristicsWdmDriver = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_GUARD_CF")] + public const int ImageDllcharacteristicsGuardCF = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE")] + public const int ImageDllcharacteristicsTerminalServerAware = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_EXPORT")] + public const int ImageDirectoryEntryExport = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_IMPORT")] + public const int ImageDirectoryEntryImport = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_RESOURCE")] + public const int ImageDirectoryEntryResource = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_EXCEPTION")] + public const int ImageDirectoryEntryException = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_SECURITY")] + public const int ImageDirectoryEntrySecurity = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_BASERELOC")] + public const int ImageDirectoryEntryBasereloc = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_DEBUG")] + public const int ImageDirectoryEntryDebug = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_ARCHITECTURE")] + public const int ImageDirectoryEntryArchitecture = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_GLOBALPTR")] + public const int ImageDirectoryEntryGlobalptr = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_TLS")] + public const int ImageDirectoryEntryTls = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG")] + public const int ImageDirectoryEntryLoadConfig = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT")] + public const int ImageDirectoryEntryBoundImport = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_IAT")] + public const int ImageDirectoryEntryIat = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT")] + public const int ImageDirectoryEntryDelayImport = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR")] + public const int ImageDirectoryEntryComDescriptor = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SIZEOF_SHORT_NAME")] + public const int ImageSizeofShortName = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SIZEOF_SECTION_HEADER")] + public const int ImageSizeofSectionHeader = unchecked((int) 0x28); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_TYPE_NO_PAD")] + public const int ImageScnTypeNoPad = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_CNT_CODE")] + public const int ImageScnCntCode = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_CNT_INITIALIZED_DATA")] + public const int ImageScnCntInitializedData = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_CNT_UNINITIALIZED_DATA")] + public const int ImageScnCntUninitializedData = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_LNK_OTHER")] + public const int ImageScnLnkOther = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_LNK_INFO")] + public const int ImageScnLnkInfo = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_LNK_REMOVE")] + public const int ImageScnLnkRemove = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_LNK_COMDAT")] + public const int ImageScnLnkComdat = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_NO_DEFER_SPEC_EXC")] + public const int ImageScnNoDeferSpecExc = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_GPREL")] + public const int ImageScnGprel = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_FARDATA")] + public const int ImageScnMemFardata = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_PURGEABLE")] + public const int ImageScnMemPurgeable = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_16BIT")] + public const int ImageScnMem16Bit = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_LOCKED")] + public const int ImageScnMemLocked = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_PRELOAD")] + public const int ImageScnMemPreload = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_1BYTES")] + public const int ImageScnAlign1Bytes = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_2BYTES")] + public const int ImageScnAlign2Bytes = unchecked((int) 0x200000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_4BYTES")] + public const int ImageScnAlign4Bytes = unchecked((int) 0x300000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_8BYTES")] + public const int ImageScnAlign8Bytes = unchecked((int) 0x400000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_16BYTES")] + public const int ImageScnAlign16Bytes = unchecked((int) 0x500000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_32BYTES")] + public const int ImageScnAlign32Bytes = unchecked((int) 0x600000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_64BYTES")] + public const int ImageScnAlign64Bytes = unchecked((int) 0x700000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_128BYTES")] + public const int ImageScnAlign128Bytes = unchecked((int) 0x800000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_256BYTES")] + public const int ImageScnAlign256Bytes = unchecked((int) 0x900000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_512BYTES")] + public const int ImageScnAlign512Bytes = unchecked((int) 0xA00000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_1024BYTES")] + public const int ImageScnAlign1024Bytes = unchecked((int) 0xB00000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_2048BYTES")] + public const int ImageScnAlign2048Bytes = unchecked((int) 0xC00000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_4096BYTES")] + public const int ImageScnAlign4096Bytes = unchecked((int) 0xD00000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_8192BYTES")] + public const int ImageScnAlign8192Bytes = unchecked((int) 0xE00000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_ALIGN_MASK")] + public const int ImageScnAlignMask = unchecked((int) 0xF00000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_LNK_NRELOC_OVFL")] + public const int ImageScnLnkNrelocOvfl = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_DISCARDABLE")] + public const int ImageScnMemDiscardable = unchecked((int) 0x2000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_NOT_CACHED")] + public const int ImageScnMemNotCached = unchecked((int) 0x4000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_NOT_PAGED")] + public const int ImageScnMemNotPaged = unchecked((int) 0x8000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_SHARED")] + public const int ImageScnMemShared = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_EXECUTE")] + public const int ImageScnMemExecute = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_MEM_READ")] + public const int ImageScnMemRead = unchecked((int) 0x40000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "IMAGE_SCN_MEM_WRITE")] + public const uint ImageScnMemWrite = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SCN_SCALE_INDEX")] + public const int ImageScnScaleIndex = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SIZEOF_SYMBOL")] + public const int ImageSizeofSymbol = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_SECTION_MAX")] + public const int ImageSymSectionMax = unchecked((int) 0xFEFF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_SECTION_MAX_EX")] + public const int ImageSymSectionMaxEX = unchecked((int) 0x7FFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_NULL")] + public const int ImageSymTypeNull = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_VOID")] + public const int ImageSymTypeVoid = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_CHAR")] + public const int ImageSymTypeChar = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_SHORT")] + public const int ImageSymTypeShort = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_INT")] + public const int ImageSymTypeInt = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_LONG")] + public const int ImageSymTypeLong = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_FLOAT")] + public const int ImageSymTypeFloat = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_DOUBLE")] + public const int ImageSymTypeDouble = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_STRUCT")] + public const int ImageSymTypeStruct = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_UNION")] + public const int ImageSymTypeUnion = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_ENUM")] + public const int ImageSymTypeEnum = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_MOE")] + public const int ImageSymTypeMoe = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_BYTE")] + public const int ImageSymTypeByte = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_WORD")] + public const int ImageSymTypeWord = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_UINT")] + public const int ImageSymTypeUint = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_DWORD")] + public const int ImageSymTypeDword = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_TYPE_PCODE")] + public const int ImageSymTypePcode = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_DTYPE_NULL")] + public const int ImageSymDtypeNull = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_DTYPE_POINTER")] + public const int ImageSymDtypePointer = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_DTYPE_FUNCTION")] + public const int ImageSymDtypeFunction = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_DTYPE_ARRAY")] + public const int ImageSymDtypeArray = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_NULL")] + public const int ImageSymClassNull = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_AUTOMATIC")] + public const int ImageSymClassAutomatic = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_EXTERNAL")] + public const int ImageSymClassExternal = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_STATIC")] + public const int ImageSymClassStatic = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_REGISTER")] + public const int ImageSymClassRegister = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_EXTERNAL_DEF")] + public const int ImageSymClassExternalDef = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_LABEL")] + public const int ImageSymClassLabel = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_UNDEFINED_LABEL")] + public const int ImageSymClassUndefinedLabel = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_MEMBER_OF_STRUCT")] + public const int ImageSymClassMemberOfStruct = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_ARGUMENT")] + public const int ImageSymClassArgument = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_STRUCT_TAG")] + public const int ImageSymClassStructTag = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_MEMBER_OF_UNION")] + public const int ImageSymClassMemberOfUnion = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_UNION_TAG")] + public const int ImageSymClassUnionTag = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_TYPE_DEFINITION")] + public const int ImageSymClassTypeDefinition = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_UNDEFINED_STATIC")] + public const int ImageSymClassUndefinedStatic = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_ENUM_TAG")] + public const int ImageSymClassEnumTag = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_MEMBER_OF_ENUM")] + public const int ImageSymClassMemberOfEnum = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_REGISTER_PARAM")] + public const int ImageSymClassRegisterParam = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_BIT_FIELD")] + public const int ImageSymClassBitField = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_FAR_EXTERNAL")] + public const int ImageSymClassFarExternal = unchecked((int) 0x44); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_BLOCK")] + public const int ImageSymClassBlock = unchecked((int) 0x64); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_FUNCTION")] + public const int ImageSymClassFunction = unchecked((int) 0x65); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_END_OF_STRUCT")] + public const int ImageSymClassEndOfStruct = unchecked((int) 0x66); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_FILE")] + public const int ImageSymClassFile = unchecked((int) 0x67); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_SECTION")] + public const int ImageSymClassSection = unchecked((int) 0x68); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_WEAK_EXTERNAL")] + public const int ImageSymClassWeakExternal = unchecked((int) 0x69); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SYM_CLASS_CLR_TOKEN")] + public const int ImageSymClassClrToken = unchecked((int) 0x6B); + [NativeName("Type", "int")] + [NativeName("Name", "N_BTMASK")] + public const int NBtmask = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "N_TMASK")] + public const int NTmask = unchecked((int) 0x30); + [NativeName("Type", "int")] + [NativeName("Name", "N_TMASK1")] + public const int NTmask1 = unchecked((int) 0xC0); + [NativeName("Type", "int")] + [NativeName("Name", "N_TMASK2")] + public const int NTmask2 = unchecked((int) 0xF0); + [NativeName("Type", "int")] + [NativeName("Name", "N_BTSHFT")] + public const int NBtshft = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "N_TSHIFT")] + public const int NTshift = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_COMDAT_SELECT_NODUPLICATES")] + public const int ImageComdatSelectNoduplicates = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_COMDAT_SELECT_ANY")] + public const int ImageComdatSelectAny = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_COMDAT_SELECT_SAME_SIZE")] + public const int ImageComdatSelectSameSize = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_COMDAT_SELECT_EXACT_MATCH")] + public const int ImageComdatSelectExactMatch = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_COMDAT_SELECT_ASSOCIATIVE")] + public const int ImageComdatSelectAssociative = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_COMDAT_SELECT_LARGEST")] + public const int ImageComdatSelectLargest = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_COMDAT_SELECT_NEWEST")] + public const int ImageComdatSelectNewest = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY")] + public const int ImageWeakExternSearchNolibrary = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_WEAK_EXTERN_SEARCH_LIBRARY")] + public const int ImageWeakExternSearchLibrary = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_WEAK_EXTERN_SEARCH_ALIAS")] + public const int ImageWeakExternSearchAlias = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_WEAK_EXTERN_ANTI_DEPENDENCY")] + public const int ImageWeakExternAntiDependency = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_ABSOLUTE")] + public const int ImageRelI386Absolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_DIR16")] + public const int ImageRelI386Dir16 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_REL16")] + public const int ImageRelI386Rel16 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_DIR32")] + public const int ImageRelI386Dir32 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_DIR32NB")] + public const int ImageRelI386Dir32NB = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_SEG12")] + public const int ImageRelI386Seg12 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_SECTION")] + public const int ImageRelI386Section = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_SECREL")] + public const int ImageRelI386Secrel = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_TOKEN")] + public const int ImageRelI386Token = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_SECREL7")] + public const int ImageRelI386Secrel7 = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_I386_REL32")] + public const int ImageRelI386Rel32 = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_ABSOLUTE")] + public const int ImageRelMipsAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_REFHALF")] + public const int ImageRelMipsRefhalf = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_REFWORD")] + public const int ImageRelMipsRefword = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_JMPADDR")] + public const int ImageRelMipsJmpaddr = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_REFHI")] + public const int ImageRelMipsRefhi = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_REFLO")] + public const int ImageRelMipsReflo = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_GPREL")] + public const int ImageRelMipsGprel = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_LITERAL")] + public const int ImageRelMipsLiteral = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_SECTION")] + public const int ImageRelMipsSection = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_SECREL")] + public const int ImageRelMipsSecrel = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_SECRELLO")] + public const int ImageRelMipsSecrello = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_SECRELHI")] + public const int ImageRelMipsSecrelhi = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_TOKEN")] + public const int ImageRelMipsToken = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_JMPADDR16")] + public const int ImageRelMipsJmpaddr16 = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_REFWORDNB")] + public const int ImageRelMipsRefwordnb = unchecked((int) 0x22); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_MIPS_PAIR")] + public const int ImageRelMipsPair = unchecked((int) 0x25); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_ABSOLUTE")] + public const int ImageRelAlphaAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFLONG")] + public const int ImageRelAlphaReflong = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFQUAD")] + public const int ImageRelAlphaRefquad = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_GPREL32")] + public const int ImageRelAlphaGprel32 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_LITERAL")] + public const int ImageRelAlphaLiteral = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_LITUSE")] + public const int ImageRelAlphaLituse = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_GPDISP")] + public const int ImageRelAlphaGpdisp = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_BRADDR")] + public const int ImageRelAlphaBraddr = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_HINT")] + public const int ImageRelAlphaHint = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_INLINE_REFLONG")] + public const int ImageRelAlphaInlineReflong = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFHI")] + public const int ImageRelAlphaRefhi = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFLO")] + public const int ImageRelAlphaReflo = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_PAIR")] + public const int ImageRelAlphaPair = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_MATCH")] + public const int ImageRelAlphaMatch = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_SECTION")] + public const int ImageRelAlphaSection = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_SECREL")] + public const int ImageRelAlphaSecrel = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFLONGNB")] + public const int ImageRelAlphaReflongnb = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_SECRELLO")] + public const int ImageRelAlphaSecrello = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_SECRELHI")] + public const int ImageRelAlphaSecrelhi = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFQ3")] + public const int ImageRelAlphaRefq3 = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFQ2")] + public const int ImageRelAlphaRefq2 = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_REFQ1")] + public const int ImageRelAlphaRefq1 = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_GPRELLO")] + public const int ImageRelAlphaGprello = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ALPHA_GPRELHI")] + public const int ImageRelAlphaGprelhi = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_ABSOLUTE")] + public const int ImageRelPpcAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_ADDR64")] + public const int ImageRelPpcAddr64 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_ADDR32")] + public const int ImageRelPpcAddr32 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_ADDR24")] + public const int ImageRelPpcAddr24 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_ADDR16")] + public const int ImageRelPpcAddr16 = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_ADDR14")] + public const int ImageRelPpcAddr14 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_REL24")] + public const int ImageRelPpcRel24 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_REL14")] + public const int ImageRelPpcRel14 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_TOCREL16")] + public const int ImageRelPpcTocrel16 = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_TOCREL14")] + public const int ImageRelPpcTocrel14 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_ADDR32NB")] + public const int ImageRelPpcAddr32NB = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_SECREL")] + public const int ImageRelPpcSecrel = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_SECTION")] + public const int ImageRelPpcSection = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_IFGLUE")] + public const int ImageRelPpcIfglue = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_IMGLUE")] + public const int ImageRelPpcImglue = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_SECREL16")] + public const int ImageRelPpcSecrel16 = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_REFHI")] + public const int ImageRelPpcRefhi = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_REFLO")] + public const int ImageRelPpcReflo = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_PAIR")] + public const int ImageRelPpcPair = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_SECRELLO")] + public const int ImageRelPpcSecrello = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_SECRELHI")] + public const int ImageRelPpcSecrelhi = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_GPREL")] + public const int ImageRelPpcGprel = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_TOKEN")] + public const int ImageRelPpcToken = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_TYPEMASK")] + public const int ImageRelPpcTypemask = unchecked((int) 0xFF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_NEG")] + public const int ImageRelPpcNeg = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_BRTAKEN")] + public const int ImageRelPpcBrtaken = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_BRNTAKEN")] + public const int ImageRelPpcBrntaken = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_PPC_TOCDEFN")] + public const int ImageRelPpcTocdefn = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_ABSOLUTE")] + public const int ImageRelSH3Absolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT16")] + public const int ImageRelSH3Direct16 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT32")] + public const int ImageRelSH3Direct32 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT8")] + public const int ImageRelSH3Direct8 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT8_WORD")] + public const int ImageRelSH3Direct8Word = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT8_LONG")] + public const int ImageRelSH3Direct8Long = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT4")] + public const int ImageRelSH3Direct4 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT4_WORD")] + public const int ImageRelSH3Direct4Word = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT4_LONG")] + public const int ImageRelSH3Direct4Long = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_PCREL8_WORD")] + public const int ImageRelSH3Pcrel8Word = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_PCREL8_LONG")] + public const int ImageRelSH3Pcrel8Long = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_PCREL12_WORD")] + public const int ImageRelSH3Pcrel12Word = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_STARTOF_SECTION")] + public const int ImageRelSH3StartofSection = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_SIZEOF_SECTION")] + public const int ImageRelSH3SizeofSection = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_SECTION")] + public const int ImageRelSH3Section = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_SECREL")] + public const int ImageRelSH3Secrel = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_DIRECT32_NB")] + public const int ImageRelSH3Direct32NB = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_GPREL4_LONG")] + public const int ImageRelSH3Gprel4Long = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH3_TOKEN")] + public const int ImageRelSH3Token = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SHM_PCRELPT")] + public const int ImageRelShmPcrelpt = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SHM_REFLO")] + public const int ImageRelShmReflo = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SHM_REFHALF")] + public const int ImageRelShmRefhalf = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SHM_RELLO")] + public const int ImageRelShmRello = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SHM_RELHALF")] + public const int ImageRelShmRelhalf = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SHM_PAIR")] + public const int ImageRelShmPair = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_SH_NOMODE")] + public const int ImageRelSHNomode = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_ABSOLUTE")] + public const int ImageRelArmAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_ADDR32")] + public const int ImageRelArmAddr32 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_ADDR32NB")] + public const int ImageRelArmAddr32NB = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_BRANCH24")] + public const int ImageRelArmBranch24 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_BRANCH11")] + public const int ImageRelArmBranch11 = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_TOKEN")] + public const int ImageRelArmToken = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_GPREL12")] + public const int ImageRelArmGprel12 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_GPREL7")] + public const int ImageRelArmGprel7 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_BLX24")] + public const int ImageRelArmBlx24 = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_BLX11")] + public const int ImageRelArmBlx11 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_SECTION")] + public const int ImageRelArmSection = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_SECREL")] + public const int ImageRelArmSecrel = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_MOV32A")] + public const int ImageRelArmMov32A = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_MOV32")] + public const int ImageRelArmMov32 = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_MOV32T")] + public const int ImageRelArmMov32T = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_THUMB_MOV32")] + public const int ImageRelThumbMov32 = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_BRANCH20T")] + public const int ImageRelArmBranch20T = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_THUMB_BRANCH20")] + public const int ImageRelThumbBranch20 = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_BRANCH24T")] + public const int ImageRelArmBranch24T = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_THUMB_BRANCH24")] + public const int ImageRelThumbBranch24 = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM_BLX23T")] + public const int ImageRelArmBlx23T = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_THUMB_BLX23")] + public const int ImageRelThumbBlx23 = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_ABSOLUTE")] + public const int ImageRelAMAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_ADDR32")] + public const int ImageRelAMAddr32 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_ADDR32NB")] + public const int ImageRelAMAddr32NB = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_CALL32")] + public const int ImageRelAMCall32 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_FUNCINFO")] + public const int ImageRelAMFuncinfo = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_REL32_1")] + public const int ImageRelAMRel321 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_REL32_2")] + public const int ImageRelAMRel322 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_SECREL")] + public const int ImageRelAMSecrel = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_SECTION")] + public const int ImageRelAMSection = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AM_TOKEN")] + public const int ImageRelAMToken = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_ABSOLUTE")] + public const int ImageRelArm64Absolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_ADDR32")] + public const int ImageRelArm64Addr32 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_ADDR32NB")] + public const int ImageRelArm64Addr32NB = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_BRANCH26")] + public const int ImageRelArm64Branch26 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_PAGEBASE_REL21")] + public const int ImageRelArm64PagebaseRel21 = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_REL21")] + public const int ImageRelArm64Rel21 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_PAGEOFFSET_12A")] + public const int ImageRelArm64Pageoffset12A = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_PAGEOFFSET_12L")] + public const int ImageRelArm64Pageoffset12L = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_SECREL")] + public const int ImageRelArm64Secrel = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_SECREL_LOW12A")] + public const int ImageRelArm64SecrelLow12A = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_SECREL_HIGH12A")] + public const int ImageRelArm64SecrelHigh12A = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_SECREL_LOW12L")] + public const int ImageRelArm64SecrelLow12L = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_TOKEN")] + public const int ImageRelArm64Token = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_SECTION")] + public const int ImageRelArm64Section = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_ADDR64")] + public const int ImageRelArm64Addr64 = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_ARM64_BRANCH19")] + public const int ImageRelArm64Branch19 = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_ABSOLUTE")] + public const int ImageRelAmd64Absolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_ADDR64")] + public const int ImageRelAmd64Addr64 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_ADDR32")] + public const int ImageRelAmd64Addr32 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_ADDR32NB")] + public const int ImageRelAmd64Addr32NB = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_REL32")] + public const int ImageRelAmd64Rel32 = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_REL32_1")] + public const int ImageRelAmd64Rel321 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_REL32_2")] + public const int ImageRelAmd64Rel322 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_REL32_3")] + public const int ImageRelAmd64Rel323 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_REL32_4")] + public const int ImageRelAmd64Rel324 = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_REL32_5")] + public const int ImageRelAmd64Rel325 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_SECTION")] + public const int ImageRelAmd64Section = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_SECREL")] + public const int ImageRelAmd64Secrel = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_SECREL7")] + public const int ImageRelAmd64Secrel7 = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_TOKEN")] + public const int ImageRelAmd64Token = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_SREL32")] + public const int ImageRelAmd64Srel32 = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_PAIR")] + public const int ImageRelAmd64Pair = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_SSPAN32")] + public const int ImageRelAmd64Sspan32 = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_EHANDLER")] + public const int ImageRelAmd64Ehandler = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_IMPORT_BR")] + public const int ImageRelAmd64ImportBR = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_IMPORT_CALL")] + public const int ImageRelAmd64ImportCall = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_CFG_BR")] + public const int ImageRelAmd64CfgBR = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_CFG_BR_REX")] + public const int ImageRelAmd64CfgBRRex = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_CFG_CALL")] + public const int ImageRelAmd64CfgCall = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_INDIR_BR")] + public const int ImageRelAmd64IndirBR = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_INDIR_BR_REX")] + public const int ImageRelAmd64IndirBRRex = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_INDIR_CALL")] + public const int ImageRelAmd64IndirCall = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_INDIR_BR_SWITCHTABLE_FIRST")] + public const int ImageRelAmd64IndirBRSwitchtableFirst = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_AMD64_INDIR_BR_SWITCHTABLE_LAST")] + public const int ImageRelAmd64IndirBRSwitchtableLast = unchecked((int) 0x2F); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_ABSOLUTE")] + public const int ImageRelIA64Absolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_IMM14")] + public const int ImageRelIA64Imm14 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_IMM22")] + public const int ImageRelIA64Imm22 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_IMM64")] + public const int ImageRelIA64Imm64 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_DIR32")] + public const int ImageRelIA64Dir32 = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_DIR64")] + public const int ImageRelIA64Dir64 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL21B")] + public const int ImageRelIA64Pcrel21B = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL21M")] + public const int ImageRelIA64Pcrel21M = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL21F")] + public const int ImageRelIA64Pcrel21f = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_GPREL22")] + public const int ImageRelIA64Gprel22 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_LTOFF22")] + public const int ImageRelIA64Ltoff22 = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_SECTION")] + public const int ImageRelIA64Section = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_SECREL22")] + public const int ImageRelIA64Secrel22 = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_SECREL64I")] + public const int ImageRelIA64Secrel64i = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_SECREL32")] + public const int ImageRelIA64Secrel32 = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_DIR32NB")] + public const int ImageRelIA64Dir32NB = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_SREL14")] + public const int ImageRelIA64Srel14 = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_SREL22")] + public const int ImageRelIA64Srel22 = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_SREL32")] + public const int ImageRelIA64Srel32 = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_UREL32")] + public const int ImageRelIA64Urel32 = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL60X")] + public const int ImageRelIA64Pcrel60X = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL60B")] + public const int ImageRelIA64Pcrel60B = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL60F")] + public const int ImageRelIA64Pcrel60f = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL60I")] + public const int ImageRelIA64Pcrel60i = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_PCREL60M")] + public const int ImageRelIA64Pcrel60M = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_IMMGPREL64")] + public const int ImageRelIA64Immgprel64 = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_TOKEN")] + public const int ImageRelIA64Token = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_GPREL32")] + public const int ImageRelIA64Gprel32 = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_IA64_ADDEND")] + public const int ImageRelIA64Addend = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEF_ABSOLUTE")] + public const int ImageRelCefAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEF_ADDR32")] + public const int ImageRelCefAddr32 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEF_ADDR64")] + public const int ImageRelCefAddr64 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEF_ADDR32NB")] + public const int ImageRelCefAddr32NB = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEF_SECTION")] + public const int ImageRelCefSection = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEF_SECREL")] + public const int ImageRelCefSecrel = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEF_TOKEN")] + public const int ImageRelCefToken = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEE_ABSOLUTE")] + public const int ImageRelCeeAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEE_ADDR32")] + public const int ImageRelCeeAddr32 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEE_ADDR64")] + public const int ImageRelCeeAddr64 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEE_ADDR32NB")] + public const int ImageRelCeeAddr32NB = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEE_SECTION")] + public const int ImageRelCeeSection = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEE_SECREL")] + public const int ImageRelCeeSecrel = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_CEE_TOKEN")] + public const int ImageRelCeeToken = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_ABSOLUTE")] + public const int ImageRelM32RAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_ADDR32")] + public const int ImageRelM32RAddr32 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_ADDR32NB")] + public const int ImageRelM32RAddr32NB = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_ADDR24")] + public const int ImageRelM32RAddr24 = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_GPREL16")] + public const int ImageRelM32RGprel16 = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_PCREL24")] + public const int ImageRelM32RPcrel24 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_PCREL16")] + public const int ImageRelM32RPcrel16 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_PCREL8")] + public const int ImageRelM32RPcrel8 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_REFHALF")] + public const int ImageRelM32RRefhalf = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_REFHI")] + public const int ImageRelM32RRefhi = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_REFLO")] + public const int ImageRelM32RReflo = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_PAIR")] + public const int ImageRelM32RPair = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_SECTION")] + public const int ImageRelM32RSection = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_SECREL32")] + public const int ImageRelM32RSecrel32 = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_M32R_TOKEN")] + public const int ImageRelM32RToken = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_EBC_ABSOLUTE")] + public const int ImageRelEbcAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_EBC_ADDR32NB")] + public const int ImageRelEbcAddr32NB = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_EBC_REL32")] + public const int ImageRelEbcRel32 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_EBC_SECTION")] + public const int ImageRelEbcSection = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_EBC_SECREL")] + public const int ImageRelEbcSecrel = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM7B_INST_WORD_X")] + public const int EmarchEncI17Imm7BInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM7B_SIZE_X")] + public const int EmarchEncI17Imm7BSizeX = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM7B_INST_WORD_POS_X")] + public const int EmarchEncI17Imm7BInstWordPosX = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM7B_VAL_POS_X")] + public const int EmarchEncI17Imm7BValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM9D_INST_WORD_X")] + public const int EmarchEncI17Imm9DInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM9D_SIZE_X")] + public const int EmarchEncI17Imm9DSizeX = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM9D_INST_WORD_POS_X")] + public const int EmarchEncI17Imm9DInstWordPosX = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM9D_VAL_POS_X")] + public const int EmarchEncI17Imm9DValPosX = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM5C_INST_WORD_X")] + public const int EmarchEncI17Imm5CInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM5C_SIZE_X")] + public const int EmarchEncI17Imm5CSizeX = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM5C_INST_WORD_POS_X")] + public const int EmarchEncI17Imm5CInstWordPosX = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM5C_VAL_POS_X")] + public const int EmarchEncI17Imm5CValPosX = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IC_INST_WORD_X")] + public const int EmarchEncI17ICInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IC_SIZE_X")] + public const int EmarchEncI17ICSizeX = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IC_INST_WORD_POS_X")] + public const int EmarchEncI17ICInstWordPosX = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IC_VAL_POS_X")] + public const int EmarchEncI17ICValPosX = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41a_INST_WORD_X")] + public const int EmarchEncI17Imm41aInstWordX = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41a_SIZE_X")] + public const int EmarchEncI17Imm41aSizeX = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41a_INST_WORD_POS_X")] + public const int EmarchEncI17Imm41aInstWordPosX = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41a_VAL_POS_X")] + public const int EmarchEncI17Imm41aValPosX = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41b_INST_WORD_X")] + public const int EmarchEncI17Imm41bInstWordX = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41b_SIZE_X")] + public const int EmarchEncI17Imm41bSizeX = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41b_INST_WORD_POS_X")] + public const int EmarchEncI17Imm41bInstWordPosX = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41b_VAL_POS_X")] + public const int EmarchEncI17Imm41bValPosX = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41c_INST_WORD_X")] + public const int EmarchEncI17Imm41cInstWordX = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41c_SIZE_X")] + public const int EmarchEncI17Imm41cSizeX = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41c_INST_WORD_POS_X")] + public const int EmarchEncI17Imm41cInstWordPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_IMM41c_VAL_POS_X")] + public const int EmarchEncI17Imm41cValPosX = unchecked((int) 0x28); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_SIGN_INST_WORD_X")] + public const int EmarchEncI17SignInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_SIGN_SIZE_X")] + public const int EmarchEncI17SignSizeX = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_SIGN_INST_WORD_POS_X")] + public const int EmarchEncI17SignInstWordPosX = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "EMARCH_ENC_I17_SIGN_VAL_POS_X")] + public const int EmarchEncI17SignValPosX = unchecked((int) 0x3F); + [NativeName("Type", "int")] + [NativeName("Name", "X3_OPCODE_INST_WORD_X")] + public const int X3OpcodeInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "X3_OPCODE_SIZE_X")] + public const int X3OpcodeSizeX = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "X3_OPCODE_INST_WORD_POS_X")] + public const int X3OpcodeInstWordPosX = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "X3_OPCODE_SIGN_VAL_POS_X")] + public const int X3OpcodeSignValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_I_INST_WORD_X")] + public const int X3IInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "X3_I_SIZE_X")] + public const int X3ISizeX = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "X3_I_INST_WORD_POS_X")] + public const int X3IInstWordPosX = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "X3_I_SIGN_VAL_POS_X")] + public const int X3ISignValPosX = unchecked((int) 0x3B); + [NativeName("Type", "int")] + [NativeName("Name", "X3_D_WH_INST_WORD_X")] + public const int X3DWHInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "X3_D_WH_SIZE_X")] + public const int X3DWHSizeX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "X3_D_WH_INST_WORD_POS_X")] + public const int X3DWHInstWordPosX = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "X3_D_WH_SIGN_VAL_POS_X")] + public const int X3DWHSignValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM20_INST_WORD_X")] + public const int X3Imm20InstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM20_SIZE_X")] + public const int X3Imm20SizeX = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM20_INST_WORD_POS_X")] + public const int X3Imm20InstWordPosX = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM20_SIGN_VAL_POS_X")] + public const int X3Imm20SignValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_1_INST_WORD_X")] + public const int X3Imm391InstWordX = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_1_SIZE_X")] + public const int X3Imm391SizeX = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_1_INST_WORD_POS_X")] + public const int X3Imm391InstWordPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_1_SIGN_VAL_POS_X")] + public const int X3Imm391SignValPosX = unchecked((int) 0x24); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_2_INST_WORD_X")] + public const int X3Imm392InstWordX = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_2_SIZE_X")] + public const int X3Imm392SizeX = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_2_INST_WORD_POS_X")] + public const int X3Imm392InstWordPosX = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "X3_IMM39_2_SIGN_VAL_POS_X")] + public const int X3Imm392SignValPosX = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "X3_P_INST_WORD_X")] + public const int X3PInstWordX = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "X3_P_SIZE_X")] + public const int X3PSizeX = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "X3_P_INST_WORD_POS_X")] + public const int X3PInstWordPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_P_SIGN_VAL_POS_X")] + public const int X3PSignValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_TMPLT_INST_WORD_X")] + public const int X3TmpltInstWordX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_TMPLT_SIZE_X")] + public const int X3TmpltSizeX = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "X3_TMPLT_INST_WORD_POS_X")] + public const int X3TmpltInstWordPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_TMPLT_SIGN_VAL_POS_X")] + public const int X3TmpltSignValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_BTYPE_QP_INST_WORD_X")] + public const int X3BtypeQPInstWordX = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "X3_BTYPE_QP_SIZE_X")] + public const int X3BtypeQPSizeX = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "X3_BTYPE_QP_INST_WORD_POS_X")] + public const int X3BtypeQPInstWordPosX = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "X3_BTYPE_QP_INST_VAL_POS_X")] + public const int X3BtypeQPInstValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "X3_EMPTY_INST_WORD_X")] + public const int X3EmptyInstWordX = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "X3_EMPTY_SIZE_X")] + public const int X3EmptySizeX = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "X3_EMPTY_INST_WORD_POS_X")] + public const int X3EmptyInstWordPosX = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "X3_EMPTY_INST_VAL_POS_X")] + public const int X3EmptyInstValPosX = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_ABSOLUTE")] + public const int ImageRelBasedAbsolute = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_HIGH")] + public const int ImageRelBasedHigh = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_LOW")] + public const int ImageRelBasedLow = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_HIGHLOW")] + public const int ImageRelBasedHighlow = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_HIGHADJ")] + public const int ImageRelBasedHighadj = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_MACHINE_SPECIFIC_5")] + public const int ImageRelBasedMachineSpecific5 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_RESERVED")] + public const int ImageRelBasedReserved = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_MACHINE_SPECIFIC_7")] + public const int ImageRelBasedMachineSpecific7 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_MACHINE_SPECIFIC_8")] + public const int ImageRelBasedMachineSpecific8 = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_MACHINE_SPECIFIC_9")] + public const int ImageRelBasedMachineSpecific9 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_DIR64")] + public const int ImageRelBasedDir64 = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_IA64_IMM64")] + public const int ImageRelBasedIA64Imm64 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_MIPS_JMPADDR")] + public const int ImageRelBasedMipsJmpaddr = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_MIPS_JMPADDR16")] + public const int ImageRelBasedMipsJmpaddr16 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_ARM_MOV32")] + public const int ImageRelBasedArmMov32 = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_REL_BASED_THUMB_MOV32")] + public const int ImageRelBasedThumbMov32 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ARCHIVE_START_SIZE")] + public const int ImageArchiveStartSize = unchecked((int) 0x8); + [NativeName("Type", "")] + [NativeName("Name", "IMAGE_ARCHIVE_START")] + public const string ImageArchiveStart = unchecked((string) "!\n"); + [NativeName("Type", "")] + [NativeName("Name", "IMAGE_ARCHIVE_END")] + public const string ImageArchiveEnd = unchecked((string) "`\n"); + [NativeName("Type", "")] + [NativeName("Name", "IMAGE_ARCHIVE_PAD")] + public const string ImageArchivePad = unchecked((string) "\n"); + [NativeName("Type", "")] + [NativeName("Name", "IMAGE_ARCHIVE_LINKER_MEMBER")] + public const string ImageArchiveLinkerMember = unchecked((string) "/ "); + [NativeName("Type", "")] + [NativeName("Name", "IMAGE_ARCHIVE_LONGNAMES_MEMBER")] + public const string ImageArchiveLongnamesMember = unchecked((string) "// "); + [NativeName("Type", "")] + [NativeName("Name", "IMAGE_ARCHIVE_HYBRIDMAP_MEMBER")] + public const string ImageArchiveHybridmapMember = unchecked((string) "// "); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR")] + public const int ImageSizeofArchiveMemberHdr = unchecked((int) 0x3C); + [NativeName("Type", "unsigned long long")] + [NativeName("Name", "IMAGE_ORDINAL_FLAG64")] + public const ulong ImageOrdinalFlag64 = unchecked((ulong) 0x8000000000000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "IMAGE_ORDINAL_FLAG32")] + public const uint ImageOrdinalFlag32 = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "IMAGE_ORDINAL_FLAG")] + public const uint ImageOrdinalFlag = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "IMAGE_RESOURCE_NAME_IS_STRING")] + public const uint ImageResourceNameIsString = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "IMAGE_RESOURCE_DATA_IS_DIRECTORY")] + public const uint ImageResourceDataIsDirectory = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DYNAMIC_RELOCATION_GUARD_RF_PROLOGUE")] + public const int ImageDynamicRelocationGuardRFPrologue = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DYNAMIC_RELOCATION_GUARD_RF_EPILOGUE")] + public const int ImageDynamicRelocationGuardRFEpilogue = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DYNAMIC_RELOCATION_GUARD_IMPORT_CONTROL_TRANSFER")] + public const int ImageDynamicRelocationGuardImportControlTransfer = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DYNAMIC_RELOCATION_GUARD_INDIR_CONTROL_TRANSFER")] + public const int ImageDynamicRelocationGuardIndirControlTransfer = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DYNAMIC_RELOCATION_GUARD_SWITCHTABLE_BRANCH")] + public const int ImageDynamicRelocationGuardSwitchtableBranch = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_BASE_OBLIGATORY")] + public const int ImageHotPatchBaseObligatory = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_BASE_CAN_ROLL_BACK")] + public const int ImageHotPatchBaseCanRollBack = unchecked((int) 0x2); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CHUNK_INVERSE")] + public const uint ImageHotPatchChunkInverse = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CHUNK_OBLIGATORY")] + public const int ImageHotPatchChunkObligatory = unchecked((int) 0x40000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CHUNK_RESERVED")] + public const int ImageHotPatchChunkReserved = unchecked((int) 0x3FF03000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CHUNK_TYPE")] + public const int ImageHotPatchChunkType = unchecked((int) 0xFC000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CHUNK_SOURCE_RVA")] + public const int ImageHotPatchChunkSourceRva = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CHUNK_TARGET_RVA")] + public const int ImageHotPatchChunkTargetRva = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CHUNK_SIZE")] + public const int ImageHotPatchChunkSize = unchecked((int) 0xFFF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_NONE")] + public const int ImageHotPatchNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_FUNCTION")] + public const int ImageHotPatchFunction = unchecked((int) 0x1C000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_ABSOLUTE")] + public const int ImageHotPatchAbsolute = unchecked((int) 0x2C000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_REL32")] + public const int ImageHotPatchRel32 = unchecked((int) 0x3C000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_CALL_TARGET")] + public const int ImageHotPatchCallTarget = unchecked((int) 0x44000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_INDIRECT")] + public const int ImageHotPatchIndirect = unchecked((int) 0x5C000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_NO_CALL_TARGET")] + public const int ImageHotPatchNoCallTarget = unchecked((int) 0x64000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_HOT_PATCH_DYNAMIC_VALUE")] + public const int ImageHotPatchDynamicValue = unchecked((int) 0x78000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_CF_INSTRUMENTED")] + public const int ImageGuardCFInstrumented = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_CFW_INSTRUMENTED")] + public const int ImageGuardCfwInstrumented = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_CF_FUNCTION_TABLE_PRESENT")] + public const int ImageGuardCFFunctionTablePresent = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_SECURITY_COOKIE_UNUSED")] + public const int ImageGuardSecurityCookieUnused = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_PROTECT_DELAYLOAD_IAT")] + public const int ImageGuardProtectDelayloadIat = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_DELAYLOAD_IAT_IN_ITS_OWN_SECTION")] + public const int ImageGuardDelayloadIatInItsOwnSection = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_CF_EXPORT_SUPPRESSION_INFO_PRESENT")] + public const int ImageGuardCFExportSuppressionInfoPresent = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_CF_ENABLE_EXPORT_SUPPRESSION")] + public const int ImageGuardCFEnableExportSuppression = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_CF_LONGJUMP_TABLE_PRESENT")] + public const int ImageGuardCFLongjumpTablePresent = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_RF_INSTRUMENTED")] + public const int ImageGuardRFInstrumented = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_RF_ENABLE")] + public const int ImageGuardRFEnable = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_RF_STRICT")] + public const int ImageGuardRFStrict = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_RETPOLINE_PRESENT")] + public const int ImageGuardRetpolinePresent = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_EH_CONTINUATION_TABLE_PRESENT")] + public const int ImageGuardEHContinuationTablePresent = unchecked((int) 0x400000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "IMAGE_GUARD_CF_FUNCTION_TABLE_SIZE_MASK")] + public const uint ImageGuardCFFunctionTableSizeMask = unchecked((uint) 0xFFFFFFFFF0000000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_CF_FUNCTION_TABLE_SIZE_SHIFT")] + public const int ImageGuardCFFunctionTableSizeShift = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_FLAG_FID_SUPPRESSED")] + public const int ImageGuardFlagFidSuppressed = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_GUARD_FLAG_EXPORT_SUPPRESSED")] + public const int ImageGuardFlagExportSuppressed = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_LONG_ID_LENGTH")] + public const int ImageEnclaveLongIDLength = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_SHORT_ID_LENGTH")] + public const int ImageEnclaveShortIDLength = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_POLICY_DEBUGGABLE")] + public const int ImageEnclavePolicyDebuggable = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_FLAG_PRIMARY_IMAGE")] + public const int ImageEnclaveFlagPrimaryImage = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_IMPORT_MATCH_NONE")] + public const int ImageEnclaveImportMatchNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_IMPORT_MATCH_UNIQUE_ID")] + public const int ImageEnclaveImportMatchUniqueID = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_IMPORT_MATCH_AUTHOR_ID")] + public const int ImageEnclaveImportMatchAuthorID = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_IMPORT_MATCH_FAMILY_ID")] + public const int ImageEnclaveImportMatchFamilyID = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_ENCLAVE_IMPORT_MATCH_IMAGE_ID")] + public const int ImageEnclaveImportMatchImageID = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_UNKNOWN")] + public const int ImageDebugTypeUnknown = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_COFF")] + public const int ImageDebugTypeCoff = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_CODEVIEW")] + public const int ImageDebugTypeCodeview = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_FPO")] + public const int ImageDebugTypeFpo = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_MISC")] + public const int ImageDebugTypeMisc = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_EXCEPTION")] + public const int ImageDebugTypeException = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_FIXUP")] + public const int ImageDebugTypeFixup = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_OMAP_TO_SRC")] + public const int ImageDebugTypeOmapToSrc = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_OMAP_FROM_SRC")] + public const int ImageDebugTypeOmapFromSrc = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_BORLAND")] + public const int ImageDebugTypeBorland = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_RESERVED10")] + public const int ImageDebugTypeReserved10 = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_CLSID")] + public const int ImageDebugTypeClsid = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_VC_FEATURE")] + public const int ImageDebugTypeVCFeature = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_POGO")] + public const int ImageDebugTypePogo = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_ILTCG")] + public const int ImageDebugTypeIltcg = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_MPX")] + public const int ImageDebugTypeMpx = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_REPRO")] + public const int ImageDebugTypeRepro = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS")] + public const int ImageDebugTypeEXDllcharacteristics = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_EX_CET_COMPAT")] + public const int ImageDllcharacteristicsEXCetCompat = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_EX_CET_COMPAT_STRICT_MODE")] + public const int ImageDllcharacteristicsEXCetCompatStrictMode = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_EX_CET_SET_CONTEXT_IP_VALIDATION_RELAXED_MODE")] + public const int ImageDllcharacteristicsEXCetSetContextIPValidationRelaxedMode = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_EX_CET_DYNAMIC_APIS_ALLOW_IN_PROC")] + public const int ImageDllcharacteristicsEXCetDynamicApisAllowInProc = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_EX_CET_RESERVED_1")] + public const int ImageDllcharacteristicsEXCetReserved1 = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DLLCHARACTERISTICS_EX_CET_RESERVED_2")] + public const int ImageDllcharacteristicsEXCetReserved2 = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FRAME_FPO")] + public const int FrameFpo = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "FRAME_TRAP")] + public const int FrameTrap = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FRAME_TSS")] + public const int FrameTss = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FRAME_NONFPO")] + public const int FrameNonfpo = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SIZEOF_RFPO_DATA")] + public const int SizeofRfpoData = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_DEBUG_MISC_EXENAME")] + public const int ImageDebugMiscExename = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SEPARATE_DEBUG_SIGNATURE")] + public const int ImageSeparateDebugSignature = unchecked((int) 0x4944); + [NativeName("Type", "int")] + [NativeName("Name", "NON_PAGED_DEBUG_SIGNATURE")] + public const int NonPagedDebugSignature = unchecked((int) 0x494E); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SEPARATE_DEBUG_FLAGS_MASK")] + public const int ImageSeparateDebugFlagsMask = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_SEPARATE_DEBUG_MISMATCH")] + public const int ImageSeparateDebugMismatch = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "IMPORT_OBJECT_HDR_SIG2")] + public const int ImportObjectHdrSig2 = unchecked((int) 0xFFFF); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "RTL_RUN_ONCE_CHECK_ONLY")] + public const uint RtlRunOnceCheckOnly = unchecked((uint) 0x1); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "RTL_RUN_ONCE_ASYNC")] + public const uint RtlRunOnceAsync = unchecked((uint) 0x2); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "RTL_RUN_ONCE_INIT_FAILED")] + public const uint RtlRunOnceInitFailed = unchecked((uint) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_RUN_ONCE_CTX_RESERVED_BITS")] + public const int RtlRunOnceCtxReservedBits = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_LEGACY_GS_VIOLATION")] + public const int FastFailLegacyGSViolation = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_VTGUARD_CHECK_FAILURE")] + public const int FastFailVtguardCheckFailure = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_STACK_COOKIE_CHECK_FAILURE")] + public const int FastFailStackCookieCheckFailure = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_CORRUPT_LIST_ENTRY")] + public const int FastFailCorruptListEntry = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INCORRECT_STACK")] + public const int FastFailIncorrectStack = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_ARG")] + public const int FastFailInvalidArg = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_GS_COOKIE_INIT")] + public const int FastFailGSCookieInit = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_FATAL_APP_EXIT")] + public const int FastFailFatalAppExit = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_RANGE_CHECK_FAILURE")] + public const int FastFailRangeCheckFailure = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_UNSAFE_REGISTRY_ACCESS")] + public const int FastFailUnsafeRegistryAccess = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_GUARD_ICALL_CHECK_FAILURE")] + public const int FastFailGuardIcallCheckFailure = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_GUARD_WRITE_CHECK_FAILURE")] + public const int FastFailGuardWriteCheckFailure = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_FIBER_SWITCH")] + public const int FastFailInvalidFiberSwitch = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_SET_OF_CONTEXT")] + public const int FastFailInvalidSetOfContext = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_REFERENCE_COUNT")] + public const int FastFailInvalidReferenceCount = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_JUMP_BUFFER")] + public const int FastFailInvalidJumpBuffer = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_MRDATA_MODIFIED")] + public const int FastFailMrdataModified = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_CERTIFICATION_FAILURE")] + public const int FastFailCertificationFailure = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_EXCEPTION_CHAIN")] + public const int FastFailInvalidExceptionChain = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_CRYPTO_LIBRARY")] + public const int FastFailCryptoLibrary = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_CALL_IN_DLL_CALLOUT")] + public const int FastFailInvalidCallInDllCallout = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_IMAGE_BASE")] + public const int FastFailInvalidImageBase = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_DLOAD_PROTECTION_FAILURE")] + public const int FastFailDloadProtectionFailure = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_UNSAFE_EXTENSION_CALL")] + public const int FastFailUnsafeExtensionCall = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_DEPRECATED_SERVICE_INVOKED")] + public const int FastFailDeprecatedServiceInvoked = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_BUFFER_ACCESS")] + public const int FastFailInvalidBufferAccess = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_BALANCED_TREE")] + public const int FastFailInvalidBalancedTree = unchecked((int) 0x1D); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_NEXT_THREAD")] + public const int FastFailInvalidNextThread = unchecked((int) 0x1E); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_GUARD_ICALL_CHECK_SUPPRESSED")] + public const int FastFailGuardIcallCheckSuppressed = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_APCS_DISABLED")] + public const int FastFailApcsDisabled = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_IDLE_STATE")] + public const int FastFailInvalidIdleState = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_MRDATA_PROTECTION_FAILURE")] + public const int FastFailMrdataProtectionFailure = unchecked((int) 0x22); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_UNEXPECTED_HEAP_EXCEPTION")] + public const int FastFailUnexpectedHeapException = unchecked((int) 0x23); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_LOCK_STATE")] + public const int FastFailInvalidLockState = unchecked((int) 0x24); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_GUARD_JUMPTABLE")] + public const int FastFailGuardJumptable = unchecked((int) 0x25); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_LONGJUMP_TARGET")] + public const int FastFailInvalidLongjumpTarget = unchecked((int) 0x26); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_DISPATCH_CONTEXT")] + public const int FastFailInvalidDispatchContext = unchecked((int) 0x27); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_THREAD")] + public const int FastFailInvalidThread = unchecked((int) 0x28); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_SYSCALL_NUMBER")] + public const int FastFailInvalidSyscallNumber = unchecked((int) 0x29); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_FILE_OPERATION")] + public const int FastFailInvalidFileOperation = unchecked((int) 0x2A); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_LPAC_ACCESS_DENIED")] + public const int FastFailLpacAccessDenied = unchecked((int) 0x2B); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_GUARD_SS_FAILURE")] + public const int FastFailGuardSSFailure = unchecked((int) 0x2C); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_LOADER_CONTINUITY_FAILURE")] + public const int FastFailLoaderContinuityFailure = unchecked((int) 0x2D); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_GUARD_EXPORT_SUPPRESSION_FAILURE")] + public const int FastFailGuardExportSuppressionFailure = unchecked((int) 0x2E); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_CONTROL_STACK")] + public const int FastFailInvalidControlStack = unchecked((int) 0x2F); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_SET_CONTEXT_DENIED")] + public const int FastFailSetContextDenied = unchecked((int) 0x30); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_IAT")] + public const int FastFailInvalidIat = unchecked((int) 0x31); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_HEAP_METADATA_CORRUPTION")] + public const int FastFailHeapMetadataCorruption = unchecked((int) 0x32); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_PAYLOAD_RESTRICTION_VIOLATION")] + public const int FastFailPayloadRestrictionViolation = unchecked((int) 0x33); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_LOW_LABEL_ACCESS_DENIED")] + public const int FastFailLowLabelAccessDenied = unchecked((int) 0x34); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_ENCLAVE_CALL_FAILURE")] + public const int FastFailEnclaveCallFailure = unchecked((int) 0x35); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_UNHANDLED_LSS_EXCEPTON")] + public const int FastFailUnhandledLssExcepton = unchecked((int) 0x36); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_ADMINLESS_ACCESS_DENIED")] + public const int FastFailAdminlessAccessDenied = unchecked((int) 0x37); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_UNEXPECTED_CALL")] + public const int FastFailUnexpectedCall = unchecked((int) 0x38); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_CONTROL_INVALID_RETURN_ADDRESS")] + public const int FastFailControlInvalidReturnAddress = unchecked((int) 0x39); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_UNEXPECTED_HOST_BEHAVIOR")] + public const int FastFailUnexpectedHostBehavior = unchecked((int) 0x3A); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_FLAGS_CORRUPTION")] + public const int FastFailFlagsCorruption = unchecked((int) 0x3B); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_VEH_CORRUPTION")] + public const int FastFailVehCorruption = unchecked((int) 0x3C); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_ETW_CORRUPTION")] + public const int FastFailEtwCorruption = unchecked((int) 0x3D); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_RIO_ABORT")] + public const int FastFailRioAbort = unchecked((int) 0x3E); + [NativeName("Type", "int")] + [NativeName("Name", "FAST_FAIL_INVALID_PFN")] + public const int FastFailInvalidPfn = unchecked((int) 0x3F); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "FAST_FAIL_INVALID_FAST_FAIL_CODE")] + public const uint FastFailInvalidFastFailCode = unchecked((uint) 0xFFFFFFFFFFFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_NO_SERIALIZE")] + public const int HeapNoSerialize = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_GROWABLE")] + public const int HeapGrowable = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_GENERATE_EXCEPTIONS")] + public const int HeapGenerateExceptions = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_ZERO_MEMORY")] + public const int HeapZeroMemory = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_REALLOC_IN_PLACE_ONLY")] + public const int HeapReallocInPlaceOnly = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_TAIL_CHECKING_ENABLED")] + public const int HeapTailCheckingEnabled = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_FREE_CHECKING_ENABLED")] + public const int HeapFreeCheckingEnabled = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_DISABLE_COALESCE_ON_FREE")] + public const int HeapDisableCoalesceOnFree = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_CREATE_ALIGN_16")] + public const int HeapCreateAlign16 = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_CREATE_ENABLE_TRACING")] + public const int HeapCreateEnableTracing = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_CREATE_ENABLE_EXECUTE")] + public const int HeapCreateEnableExecute = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_MAXIMUM_TAG")] + public const int HeapMaximumTag = unchecked((int) 0xFFF); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_PSEUDO_TAG_FLAG")] + public const int HeapPseudoTagFlag = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_TAG_SHIFT")] + public const int HeapTagShift = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_CREATE_SEGMENT_HEAP")] + public const int HeapCreateSegmentHeap = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_CREATE_HARDENED")] + public const int HeapCreateHardened = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_ASCII16")] + public const int IsTextUnicodeAscii16 = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_REVERSE_ASCII16")] + public const int IsTextUnicodeReverseAscii16 = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_STATISTICS")] + public const int IsTextUnicodeStatistics = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_REVERSE_STATISTICS")] + public const int IsTextUnicodeReverseStatistics = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_CONTROLS")] + public const int IsTextUnicodeControls = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_REVERSE_CONTROLS")] + public const int IsTextUnicodeReverseControls = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_SIGNATURE")] + public const int IsTextUnicodeSignature = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_REVERSE_SIGNATURE")] + public const int IsTextUnicodeReverseSignature = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_ILLEGAL_CHARS")] + public const int IsTextUnicodeIllegalChars = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_ODD_LENGTH")] + public const int IsTextUnicodeOddLength = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_DBCS_LEADBYTE")] + public const int IsTextUnicodeDbcsLeadbyte = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_NULL_BYTES")] + public const int IsTextUnicodeNullBytes = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_UNICODE_MASK")] + public const int IsTextUnicodeUnicodeMask = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_REVERSE_MASK")] + public const int IsTextUnicodeReverseMask = unchecked((int) 0xF0); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_NOT_UNICODE_MASK")] + public const int IsTextUnicodeNotUnicodeMask = unchecked((int) 0xF00); + [NativeName("Type", "int")] + [NativeName("Name", "IS_TEXT_UNICODE_NOT_ASCII_MASK")] + public const int IsTextUnicodeNotAsciiMask = unchecked((int) 0xF000); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_FORMAT_NONE")] + public const int CompressionFormatNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_FORMAT_DEFAULT")] + public const int CompressionFormatDefault = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_FORMAT_LZNT1")] + public const int CompressionFormatLznt1 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_FORMAT_XPRESS")] + public const int CompressionFormatXpress = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_FORMAT_XPRESS_HUFF")] + public const int CompressionFormatXpressHuff = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_ENGINE_STANDARD")] + public const int CompressionEngineStandard = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_ENGINE_MAXIMUM")] + public const int CompressionEngineMaximum = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "COMPRESSION_ENGINE_HIBER")] + public const int CompressionEngineHiber = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_DACL_AUTO_INHERIT")] + public const int SefDaclAutoInherit = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_SACL_AUTO_INHERIT")] + public const int SefSaclAutoInherit = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_DEFAULT_DESCRIPTOR_FOR_OBJECT")] + public const int SefDefaultDescriptorForObject = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_AVOID_PRIVILEGE_CHECK")] + public const int SefAvoidPrivilegeCheck = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_AVOID_OWNER_CHECK")] + public const int SefAvoidOwnerCheck = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_DEFAULT_OWNER_FROM_PARENT")] + public const int SefDefaultOwnerFromParent = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_DEFAULT_GROUP_FROM_PARENT")] + public const int SefDefaultGroupFromParent = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_MACL_NO_WRITE_UP")] + public const int SefMaclNoWriteUp = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_MACL_NO_READ_UP")] + public const int SefMaclNoReadUp = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_MACL_NO_EXECUTE_UP")] + public const int SefMaclNoExecuteUp = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_AI_USE_EXTRA_PARAMS")] + public const int SefAIUseExtraParams = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_AVOID_OWNER_RESTRICTION")] + public const int SefAvoidOwnerRestriction = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "SEF_FORCE_USER_MODE")] + public const int SefForceUserMode = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "MESSAGE_RESOURCE_UNICODE")] + public const int MessageResourceUnicode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "MESSAGE_RESOURCE_UTF8")] + public const int MessageResourceUtf8 = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "VER_EQUAL")] + public const int VerEqual = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "VER_GREATER")] + public const int VerGreater = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "VER_GREATER_EQUAL")] + public const int VerGreaterEqual = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "VER_LESS")] + public const int VerLess = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "VER_LESS_EQUAL")] + public const int VerLessEqual = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "VER_AND")] + public const int VerAnd = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "VER_OR")] + public const int VerOr = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "VER_CONDITION_MASK")] + public const int VerConditionMask = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "VER_NUM_BITS_PER_CONDITION_MASK")] + public const int VerNumBitsPerConditionMask = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "VER_MINORVERSION")] + public const int VerMinorversion = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "VER_MAJORVERSION")] + public const int VerMajorversion = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "VER_BUILDNUMBER")] + public const int VerBuildnumber = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "VER_PLATFORMID")] + public const int VerPlatformid = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SERVICEPACKMINOR")] + public const int VerServicepackminor = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SERVICEPACKMAJOR")] + public const int VerServicepackmajor = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "VER_SUITENAME")] + public const int VerSuitename = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "VER_PRODUCT_TYPE")] + public const int VerProductType = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "VER_NT_WORKSTATION")] + public const int VerNTWorkstation = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "VER_NT_DOMAIN_CONTROLLER")] + public const int VerNTDomainController = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "VER_NT_SERVER")] + public const int VerNTServer = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "VER_PLATFORM_WIN32s")] + public const int VerPlatformWin32s = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "VER_PLATFORM_WIN32_WINDOWS")] + public const int VerPlatformWin32Windows = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "VER_PLATFORM_WIN32_NT")] + public const int VerPlatformWin32NT = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_UMS_VERSION")] + public const int RtlUmsVersion = unchecked((int) 0x100); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "CTMF_INCLUDE_APPCONTAINER")] + public const uint CtmfIncludeAppcontainer = unchecked((uint) 0x1); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "CTMF_INCLUDE_LPAC")] + public const uint CtmfIncludeLpac = unchecked((uint) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FLUSH_NV_MEMORY_IN_FLAG_NO_DRAIN")] + public const int FlushNVMemoryInFlagNoDrain = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "WRITE_NV_MEMORY_FLAG_FLUSH")] + public const int WriteNVMemoryFlagFlush = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "WRITE_NV_MEMORY_FLAG_NON_TEMPORAL")] + public const int WriteNVMemoryFlagNonTemporal = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "WRITE_NV_MEMORY_FLAG_NO_DRAIN")] + public const int WriteNVMemoryFlagNoDrain = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "FILL_NV_MEMORY_FLAG_FLUSH")] + public const int FillNVMemoryFlagFlush = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FILL_NV_MEMORY_FLAG_NON_TEMPORAL")] + public const int FillNVMemoryFlagNonTemporal = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FILL_NV_MEMORY_FLAG_NO_DRAIN")] + public const int FillNVMemoryFlagNoDrain = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CORRELATION_VECTOR_STRING_LENGTH")] + public const int RtlCorrelationVectorStringLength = unchecked((int) 0x81); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CORRELATION_VECTOR_V1_PREFIX_LENGTH")] + public const int RtlCorrelationVectorV1PrefixLength = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CORRELATION_VECTOR_V1_LENGTH")] + public const int RtlCorrelationVectorV1Length = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH")] + public const int RtlCorrelationVectorV2PrefixLength = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CORRELATION_VECTOR_V2_LENGTH")] + public const int RtlCorrelationVectorV2Length = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "IMAGE_POLICY_METADATA_VERSION")] + public const int ImagePolicyMetadataVersion = unchecked((int) 0x1); + [NativeName("Type", "")] + [NativeName("Name", "IMAGE_POLICY_SECTION_NAME")] + public const string ImagePolicySectionName = unchecked((string) ".tPolicy"); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO")] + public const int RtlCriticalSectionFlagNoDebugInfo = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CRITICAL_SECTION_FLAG_DYNAMIC_SPIN")] + public const int RtlCriticalSectionFlagDynamicSpin = unchecked((int) 0x2000000); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CRITICAL_SECTION_FLAG_STATIC_INIT")] + public const int RtlCriticalSectionFlagStaticInit = unchecked((int) 0x4000000); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CRITICAL_SECTION_FLAG_RESOURCE_TYPE")] + public const int RtlCriticalSectionFlagResourceType = unchecked((int) 0x8000000); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO")] + public const int RtlCriticalSectionFlagForceDebugInfo = unchecked((int) 0x10000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "RTL_CRITICAL_SECTION_ALL_FLAG_BITS")] + public const uint RtlCriticalSectionAllFlagBits = unchecked((uint) 0xFFFFFFFFFF000000); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CRITICAL_SECTION_DEBUG_FLAG_STATIC_INIT")] + public const int RtlCriticalSectionDebugFlagStaticInit = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "RTL_CONDITION_VARIABLE_LOCKMODE_SHARED")] + public const int RtlConditionVariableLockmodeShared = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "HEAP_OPTIMIZE_RESOURCES_CURRENT_VERSION")] + public const int HeapOptimizeResourcesCurrentVersion = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEDEFAULT")] + public const int WTExecutedefault = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEINIOTHREAD")] + public const int WTExecuteiniothread = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEINUITHREAD")] + public const int WTExecuteinuithread = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEINWAITTHREAD")] + public const int WTExecuteinwaitthread = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEONLYONCE")] + public const int WTExecuteonlyonce = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEINTIMERTHREAD")] + public const int WTExecuteintimerthread = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTELONGFUNCTION")] + public const int WTExecutelongfunction = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEINPERSISTENTIOTHREAD")] + public const int WTExecuteinpersistentiothread = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEINPERSISTENTTHREAD")] + public const int WTExecuteinpersistentthread = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "WT_TRANSFER_IMPERSONATION")] + public const int WTTransferImpersonation = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEINLONGTHREAD")] + public const int WTExecuteinlongthread = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "WT_EXECUTEDELETEWAIT")] + public const int WTExecutedeletewait = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_PATH_TYPE_NONE")] + public const int ActivationContextPathTypeNone = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_PATH_TYPE_WIN32_FILE")] + public const int ActivationContextPathTypeWin32File = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_PATH_TYPE_URL")] + public const int ActivationContextPathTypeUrl = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_PATH_TYPE_ASSEMBLYREF")] + public const int ActivationContextPathTypeAssemblyref = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "CREATE_BOUNDARY_DESCRIPTOR_ADD_APPCONTAINER_SID")] + public const int CreateBoundaryDescriptorAddAppcontainerSid = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PERFORMANCE_DATA_VERSION")] + public const int PerformanceDataVersion = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "READ_THREAD_PROFILING_FLAG_DISPATCHING")] + public const int ReadThreadProfilingFlagDispatching = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "READ_THREAD_PROFILING_FLAG_HARDWARE_COUNTERS")] + public const int ReadThreadProfilingFlagHardwareCounters = unchecked((int) 0x2); + [NativeName("Type", "")] + [NativeName("Name", "UNIFIEDBUILDREVISION_KEY")] + public const string UnifiedbuildrevisionKey = unchecked((string) "\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion"); + [NativeName("Type", "")] + [NativeName("Name", "UNIFIEDBUILDREVISION_VALUE")] + public const string UnifiedbuildrevisionValue = unchecked((string) "UBR"); + [NativeName("Type", "int")] + [NativeName("Name", "UNIFIEDBUILDREVISION_MIN")] + public const int UnifiedbuildrevisionMin = unchecked((int) 0x0); + [NativeName("Type", "")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_KEY")] + public const string DevicefamilydeviceformKey = unchecked((string) "\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\OEM"); + [NativeName("Type", "")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_VALUE")] + public const string DevicefamilydeviceformValue = unchecked((string) "DeviceForm"); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_UAP")] + public const int DevicefamilyinfoenumUap = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_WINDOWS_8X")] + public const int DevicefamilyinfoenumWindows8X = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_WINDOWS_PHONE_8X")] + public const int DevicefamilyinfoenumWindowsPhone8X = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_DESKTOP")] + public const int DevicefamilyinfoenumDesktop = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_MOBILE")] + public const int DevicefamilyinfoenumMobile = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_XBOX")] + public const int DevicefamilyinfoenumXbox = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_TEAM")] + public const int DevicefamilyinfoenumTeam = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_IOT")] + public const int DevicefamilyinfoenumIot = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_IOT_HEADLESS")] + public const int DevicefamilyinfoenumIotHeadless = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_SERVER")] + public const int DevicefamilyinfoenumServer = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_HOLOGRAPHIC")] + public const int DevicefamilyinfoenumHolographic = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_XBOXSRA")] + public const int DevicefamilyinfoenumXboxsra = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_XBOXERA")] + public const int DevicefamilyinfoenumXboxera = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_SERVER_NANO")] + public const int DevicefamilyinfoenumServerNano = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_8828080")] + public const int Devicefamilyinfoenum8828080 = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_7067329")] + public const int Devicefamilyinfoenum7067329 = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_WINDOWS_CORE")] + public const int DevicefamilyinfoenumWindowsCore = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_WINDOWS_CORE_HEADLESS")] + public const int DevicefamilyinfoenumWindowsCoreHeadless = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYINFOENUM_MAX")] + public const int DevicefamilyinfoenumMax = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_UNKNOWN")] + public const int DevicefamilydeviceformUnknown = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_PHONE")] + public const int DevicefamilydeviceformPhone = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_TABLET")] + public const int DevicefamilydeviceformTablet = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_DESKTOP")] + public const int DevicefamilydeviceformDesktop = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_NOTEBOOK")] + public const int DevicefamilydeviceformNotebook = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_CONVERTIBLE")] + public const int DevicefamilydeviceformConvertible = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_DETACHABLE")] + public const int DevicefamilydeviceformDetachable = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_ALLINONE")] + public const int DevicefamilydeviceformAllinone = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_STICKPC")] + public const int DevicefamilydeviceformStickpc = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_PUCK")] + public const int DevicefamilydeviceformPuck = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_LARGESCREEN")] + public const int DevicefamilydeviceformLargescreen = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_HMD")] + public const int DevicefamilydeviceformHmd = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_INDUSTRY_HANDHELD")] + public const int DevicefamilydeviceformIndustryHandheld = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_INDUSTRY_TABLET")] + public const int DevicefamilydeviceformIndustryTablet = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_BANKING")] + public const int DevicefamilydeviceformBanking = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_BUILDING_AUTOMATION")] + public const int DevicefamilydeviceformBuildingAutomation = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_DIGITAL_SIGNAGE")] + public const int DevicefamilydeviceformDigitalSignage = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_GAMING")] + public const int DevicefamilydeviceformGaming = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_HOME_AUTOMATION")] + public const int DevicefamilydeviceformHomeAutomation = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_INDUSTRIAL_AUTOMATION")] + public const int DevicefamilydeviceformIndustrialAutomation = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_KIOSK")] + public const int DevicefamilydeviceformKiosk = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_MAKER_BOARD")] + public const int DevicefamilydeviceformMakerBoard = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_MEDICAL")] + public const int DevicefamilydeviceformMedical = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_NETWORKING")] + public const int DevicefamilydeviceformNetworking = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_POINT_OF_SERVICE")] + public const int DevicefamilydeviceformPointOfService = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_PRINTING")] + public const int DevicefamilydeviceformPrinting = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_THIN_CLIENT")] + public const int DevicefamilydeviceformThinClient = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_TOY")] + public const int DevicefamilydeviceformToy = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_VENDING")] + public const int DevicefamilydeviceformVending = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_INDUSTRY_OTHER")] + public const int DevicefamilydeviceformIndustryOther = unchecked((int) 0x1D); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_XBOX_ONE")] + public const int DevicefamilydeviceformXboxOne = unchecked((int) 0x1E); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_XBOX_ONE_S")] + public const int DevicefamilydeviceformXboxOneS = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_XBOX_ONE_X")] + public const int DevicefamilydeviceformXboxOneX = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_XBOX_ONE_X_DEVKIT")] + public const int DevicefamilydeviceformXboxOneXDevkit = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "DEVICEFAMILYDEVICEFORM_MAX")] + public const int DevicefamilydeviceformMax = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "DLL_PROCESS_ATTACH")] + public const int DllProcessAttach = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DLL_THREAD_ATTACH")] + public const int DllThreadAttach = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "DLL_THREAD_DETACH")] + public const int DllThreadDetach = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "DLL_PROCESS_DETACH")] + public const int DllProcessDetach = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_SEQUENTIAL_READ")] + public const int EventlogSequentialRead = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_SEEK_READ")] + public const int EventlogSeekRead = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_FORWARDS_READ")] + public const int EventlogForwardsRead = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_BACKWARDS_READ")] + public const int EventlogBackwardsRead = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_SUCCESS")] + public const int EventlogSuccess = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_ERROR_TYPE")] + public const int EventlogErrorType = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_WARNING_TYPE")] + public const int EventlogWarningType = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_INFORMATION_TYPE")] + public const int EventlogInformationType = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_AUDIT_SUCCESS")] + public const int EventlogAuditSuccess = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_AUDIT_FAILURE")] + public const int EventlogAuditFailure = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_START_PAIRED_EVENT")] + public const int EventlogStartPairedEvent = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_END_PAIRED_EVENT")] + public const int EventlogEndPairedEvent = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_END_ALL_PAIRED_EVENTS")] + public const int EventlogEndAllPairedEvents = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_PAIRED_EVENT_ACTIVE")] + public const int EventlogPairedEventActive = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EVENTLOG_PAIRED_EVENT_INACTIVE")] + public const int EventlogPairedEventInactive = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "MAXLOGICALLOGNAMESIZE")] + public const int Maxlogicallognamesize = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_QUERY_VALUE")] + public const int KeyQueryValue = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_SET_VALUE")] + public const int KeySetValue = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_CREATE_SUB_KEY")] + public const int KeyCreateSubKey = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_ENUMERATE_SUB_KEYS")] + public const int KeyEnumerateSubKeys = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_NOTIFY")] + public const int KeyNotify = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_CREATE_LINK")] + public const int KeyCreateLink = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_WOW64_32KEY")] + public const int KeyWow6432Key = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_WOW64_64KEY")] + public const int KeyWow6464Key = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "KEY_WOW64_RES")] + public const int KeyWow64Res = unchecked((int) 0x300); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPTION_RESERVED")] + public const int RegOptionReserved = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPTION_NON_VOLATILE")] + public const int RegOptionNonVolatile = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPTION_VOLATILE")] + public const int RegOptionVolatile = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPTION_CREATE_LINK")] + public const int RegOptionCreateLink = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPTION_BACKUP_RESTORE")] + public const int RegOptionBackupRestore = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPTION_OPEN_LINK")] + public const int RegOptionOpenLink = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPTION_DONT_VIRTUALIZE")] + public const int RegOptionDontVirtualize = unchecked((int) 0x10); + [NativeName("Type", "long")] + [NativeName("Name", "REG_CREATED_NEW_KEY")] + public const int RegCreatedNewKey = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPENED_EXISTING_KEY")] + public const int RegOpenedExistingKey = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "REG_STANDARD_FORMAT")] + public const int RegStandardFormat = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "REG_LATEST_FORMAT")] + public const int RegLatestFormat = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "REG_NO_COMPRESSION")] + public const int RegNoCompression = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "REG_WHOLE_HIVE_VOLATILE")] + public const int RegWholeHiveVolatile = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "REG_REFRESH_HIVE")] + public const int RegRefreshHive = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "REG_NO_LAZY_FLUSH")] + public const int RegNoLazyFlush = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "REG_FORCE_RESTORE")] + public const int RegForceRestore = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "REG_APP_HIVE")] + public const int RegAppHive = unchecked((int) 0x10); + [NativeName("Type", "long")] + [NativeName("Name", "REG_PROCESS_PRIVATE")] + public const int RegProcessPrivate = unchecked((int) 0x20); + [NativeName("Type", "long")] + [NativeName("Name", "REG_START_JOURNAL")] + public const int RegStartJournal = unchecked((int) 0x40); + [NativeName("Type", "long")] + [NativeName("Name", "REG_HIVE_EXACT_FILE_GROWTH")] + public const int RegHiveExactFileGrowth = unchecked((int) 0x80); + [NativeName("Type", "long")] + [NativeName("Name", "REG_HIVE_NO_RM")] + public const int RegHiveNoRM = unchecked((int) 0x100); + [NativeName("Type", "long")] + [NativeName("Name", "REG_HIVE_SINGLE_LOG")] + public const int RegHiveSingleLog = unchecked((int) 0x200); + [NativeName("Type", "long")] + [NativeName("Name", "REG_BOOT_HIVE")] + public const int RegBootHive = unchecked((int) 0x400); + [NativeName("Type", "long")] + [NativeName("Name", "REG_LOAD_HIVE_OPEN_HANDLE")] + public const int RegLoadHiveOpenHandle = unchecked((int) 0x800); + [NativeName("Type", "long")] + [NativeName("Name", "REG_FLUSH_HIVE_FILE_GROWTH")] + public const int RegFlushHiveFileGrowth = unchecked((int) 0x1000); + [NativeName("Type", "long")] + [NativeName("Name", "REG_OPEN_READ_ONLY")] + public const int RegOpenReadOnly = unchecked((int) 0x2000); + [NativeName("Type", "long")] + [NativeName("Name", "REG_IMMUTABLE")] + public const int RegImmutable = unchecked((int) 0x4000); + [NativeName("Type", "long")] + [NativeName("Name", "REG_NO_IMPERSONATION_FALLBACK")] + public const int RegNoImpersonationFallback = unchecked((int) 0x8000); + [NativeName("Type", "long")] + [NativeName("Name", "REG_APP_HIVE_OPEN_READ_ONLY")] + public const int RegAppHiveOpenReadOnly = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "REG_FORCE_UNLOAD")] + public const int RegForceUnload = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "REG_UNLOAD_LEGAL_FLAGS")] + public const int RegUnloadLegalFlags = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "REG_NOTIFY_CHANGE_NAME")] + public const int RegNotifyChangeName = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "REG_NOTIFY_CHANGE_ATTRIBUTES")] + public const int RegNotifyChangeAttributes = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "REG_NOTIFY_CHANGE_LAST_SET")] + public const int RegNotifyChangeLastSet = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "REG_NOTIFY_CHANGE_SECURITY")] + public const int RegNotifyChangeSecurity = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "REG_NOTIFY_THREAD_AGNOSTIC")] + public const int RegNotifyThreadAgnostic = unchecked((int) 0x10000000); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_NONE")] + public const uint RegNone = unchecked((uint) 0x0); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_SZ")] + public const uint RegSZ = unchecked((uint) 0x1); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_EXPAND_SZ")] + public const uint RegExpandSZ = unchecked((uint) 0x2); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_BINARY")] + public const uint RegBinary = unchecked((uint) 0x3); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_DWORD")] + public const uint RegDword = unchecked((uint) 0x4); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_DWORD_LITTLE_ENDIAN")] + public const uint RegDwordLittleEndian = unchecked((uint) 0x4); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_DWORD_BIG_ENDIAN")] + public const uint RegDwordBigEndian = unchecked((uint) 0x5); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_LINK")] + public const uint RegLink = unchecked((uint) 0x6); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_MULTI_SZ")] + public const uint RegMultiSZ = unchecked((uint) 0x7); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_RESOURCE_LIST")] + public const uint RegResourceList = unchecked((uint) 0x8); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_FULL_RESOURCE_DESCRIPTOR")] + public const uint RegFullResourceDescriptor = unchecked((uint) 0x9); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_RESOURCE_REQUIREMENTS_LIST")] + public const uint RegResourceRequirementsList = unchecked((uint) 0xA); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_QWORD")] + public const uint RegQword = unchecked((uint) 0xB); + [NativeName("Type", "unsigned long")] + [NativeName("Name", "REG_QWORD_LITTLE_ENDIAN")] + public const uint RegQwordLittleEndian = unchecked((uint) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_KERNEL_DRIVER")] + public const int ServiceKernelDriver = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_FILE_SYSTEM_DRIVER")] + public const int ServiceFileSystemDriver = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_ADAPTER")] + public const int ServiceAdapter = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_RECOGNIZER_DRIVER")] + public const int ServiceRecognizerDriver = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_WIN32_OWN_PROCESS")] + public const int ServiceWin32OwnProcess = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_WIN32_SHARE_PROCESS")] + public const int ServiceWin32ShareProcess = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_USER_SERVICE")] + public const int ServiceUserService = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_USERSERVICE_INSTANCE")] + public const int ServiceUserserviceInstance = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_INTERACTIVE_PROCESS")] + public const int ServiceInteractiveProcess = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_PKG_SERVICE")] + public const int ServicePkgService = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_BOOT_START")] + public const int ServiceBootStart = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_SYSTEM_START")] + public const int ServiceSystemStart = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_AUTO_START")] + public const int ServiceAutoStart = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_DEMAND_START")] + public const int ServiceDemandStart = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_DISABLED")] + public const int ServiceDisabled = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_ERROR_IGNORE")] + public const int ServiceErrorIgnore = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_ERROR_NORMAL")] + public const int ServiceErrorNormal = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_ERROR_SEVERE")] + public const int ServiceErrorSevere = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "SERVICE_ERROR_CRITICAL")] + public const int ServiceErrorCritical = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_NETWORK_BOOT_LOAD")] + public const int CMServiceNetworkBootLoad = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD")] + public const int CMServiceVirtualDiskBootLoad = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_USB_DISK_BOOT_LOAD")] + public const int CMServiceUsbDiskBootLoad = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_SD_DISK_BOOT_LOAD")] + public const int CMServiceSDDiskBootLoad = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_USB3_DISK_BOOT_LOAD")] + public const int CMServiceUsb3DiskBootLoad = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_MEASURED_BOOT_LOAD")] + public const int CMServiceMeasuredBootLoad = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_VERIFIER_BOOT_LOAD")] + public const int CMServiceVerifierBootLoad = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_WINPE_BOOT_LOAD")] + public const int CMServiceWinpeBootLoad = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "CM_SERVICE_RAM_DISK_BOOT_LOAD")] + public const int CMServiceRamDiskBootLoad = unchecked((int) 0x100); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_ERASE_SHORT")] + public const int TapeEraseShort = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_ERASE_LONG")] + public const int TapeEraseLong = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_LOAD")] + public const int TapeLoad = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_UNLOAD")] + public const int TapeUnload = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_TENSION")] + public const int TapeTension = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_LOCK")] + public const int TapeLock = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_UNLOCK")] + public const int TapeUnlock = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_FORMAT")] + public const int TapeFormat = unchecked((int) 0x5); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SETMARKS")] + public const int TapeSetmarks = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_FILEMARKS")] + public const int TapeFilemarks = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SHORT_FILEMARKS")] + public const int TapeShortFilemarks = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_LONG_FILEMARKS")] + public const int TapeLongFilemarks = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_ABSOLUTE_POSITION")] + public const int TapeAbsolutePosition = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_LOGICAL_POSITION")] + public const int TapeLogicalPosition = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_PSEUDO_LOGICAL_POSITION")] + public const int TapePseudoLogicalPosition = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_REWIND")] + public const int TapeRewind = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_ABSOLUTE_BLOCK")] + public const int TapeAbsoluteBlock = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_LOGICAL_BLOCK")] + public const int TapeLogicalBlock = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_PSEUDO_LOGICAL_BLOCK")] + public const int TapePseudoLogicalBlock = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SPACE_END_OF_DATA")] + public const int TapeSpaceEndOfData = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SPACE_RELATIVE_BLOCKS")] + public const int TapeSpaceRelativeBlocks = unchecked((int) 0x5); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SPACE_FILEMARKS")] + public const int TapeSpaceFilemarks = unchecked((int) 0x6); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SPACE_SEQUENTIAL_FMKS")] + public const int TapeSpaceSequentialFmks = unchecked((int) 0x7); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SPACE_SETMARKS")] + public const int TapeSpaceSetmarks = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SPACE_SEQUENTIAL_SMKS")] + public const int TapeSpaceSequentialSmks = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_FIXED")] + public const int TapeDriveFixed = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_SELECT")] + public const int TapeDriveSelect = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_INITIATOR")] + public const int TapeDriveInitiator = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_ERASE_SHORT")] + public const int TapeDriveEraseShort = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_ERASE_LONG")] + public const int TapeDriveEraseLong = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_ERASE_BOP_ONLY")] + public const int TapeDriveEraseBopOnly = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_ERASE_IMMEDIATE")] + public const int TapeDriveEraseImmediate = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_TAPE_CAPACITY")] + public const int TapeDriveTapeCapacity = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_TAPE_REMAINING")] + public const int TapeDriveTapeRemaining = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_FIXED_BLOCK")] + public const int TapeDriveFixedBlock = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_VARIABLE_BLOCK")] + public const int TapeDriveVariableBlock = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_WRITE_PROTECT")] + public const int TapeDriveWriteProtect = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_EOT_WZ_SIZE")] + public const int TapeDriveEotWZSize = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_ECC")] + public const int TapeDriveEcc = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_COMPRESSION")] + public const int TapeDriveCompression = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_PADDING")] + public const int TapeDrivePadding = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_REPORT_SMKS")] + public const int TapeDriveReportSmks = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_GET_ABSOLUTE_BLK")] + public const int TapeDriveGetAbsoluteBlk = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_GET_LOGICAL_BLK")] + public const int TapeDriveGetLogicalBlk = unchecked((int) 0x200000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_SET_EOT_WZ_SIZE")] + public const int TapeDriveSetEotWZSize = unchecked((int) 0x400000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_EJECT_MEDIA")] + public const int TapeDriveEjectMedia = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_CLEAN_REQUESTS")] + public const int TapeDriveCleanRequests = unchecked((int) 0x2000000); + [NativeName("Type", "int")] + [NativeName("Name", "TAPE_DRIVE_SET_CMP_BOP_ONLY")] + public const int TapeDriveSetCmpBopOnly = unchecked((int) 0x4000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_RESERVED_BIT")] + public const uint TapeDriveReservedBit = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_LOAD_UNLOAD")] + public const uint TapeDriveLoadUnload = unchecked((uint) 0xFFFFFFFF80000001); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_TENSION")] + public const uint TapeDriveTension = unchecked((uint) 0xFFFFFFFF80000002); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_LOCK_UNLOCK")] + public const uint TapeDriveLockUnlock = unchecked((uint) 0xFFFFFFFF80000004); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_REWIND_IMMEDIATE")] + public const uint TapeDriveRewindImmediate = unchecked((uint) 0xFFFFFFFF80000008); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SET_BLOCK_SIZE")] + public const uint TapeDriveSetBlockSize = unchecked((uint) 0xFFFFFFFF80000010); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_LOAD_UNLD_IMMED")] + public const uint TapeDriveLoadUnldImmed = unchecked((uint) 0xFFFFFFFF80000020); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_TENSION_IMMED")] + public const uint TapeDriveTensionImmed = unchecked((uint) 0xFFFFFFFF80000040); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_LOCK_UNLK_IMMED")] + public const uint TapeDriveLockUnlkImmed = unchecked((uint) 0xFFFFFFFF80000080); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SET_ECC")] + public const uint TapeDriveSetEcc = unchecked((uint) 0xFFFFFFFF80000100); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SET_COMPRESSION")] + public const uint TapeDriveSetCompression = unchecked((uint) 0xFFFFFFFF80000200); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SET_PADDING")] + public const uint TapeDriveSetPadding = unchecked((uint) 0xFFFFFFFF80000400); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SET_REPORT_SMKS")] + public const uint TapeDriveSetReportSmks = unchecked((uint) 0xFFFFFFFF80000800); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_ABSOLUTE_BLK")] + public const uint TapeDriveAbsoluteBlk = unchecked((uint) 0xFFFFFFFF80001000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_ABS_BLK_IMMED")] + public const uint TapeDriveAbsBlkImmed = unchecked((uint) 0xFFFFFFFF80002000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_LOGICAL_BLK")] + public const uint TapeDriveLogicalBlk = unchecked((uint) 0xFFFFFFFF80004000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_LOG_BLK_IMMED")] + public const uint TapeDriveLogBlkImmed = unchecked((uint) 0xFFFFFFFF80008000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_END_OF_DATA")] + public const uint TapeDriveEndOfData = unchecked((uint) 0xFFFFFFFF80010000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_RELATIVE_BLKS")] + public const uint TapeDriveRelativeBlks = unchecked((uint) 0xFFFFFFFF80020000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_FILEMARKS")] + public const uint TapeDriveFilemarks = unchecked((uint) 0xFFFFFFFF80040000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SEQUENTIAL_FMKS")] + public const uint TapeDriveSequentialFmks = unchecked((uint) 0xFFFFFFFF80080000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SETMARKS")] + public const uint TapeDriveSetmarks = unchecked((uint) 0xFFFFFFFF80100000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SEQUENTIAL_SMKS")] + public const uint TapeDriveSequentialSmks = unchecked((uint) 0xFFFFFFFF80200000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_REVERSE_POSITION")] + public const uint TapeDriveReversePosition = unchecked((uint) 0xFFFFFFFF80400000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_SPACE_IMMEDIATE")] + public const uint TapeDriveSpaceImmediate = unchecked((uint) 0xFFFFFFFF80800000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_WRITE_SETMARKS")] + public const uint TapeDriveWriteSetmarks = unchecked((uint) 0xFFFFFFFF81000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_WRITE_FILEMARKS")] + public const uint TapeDriveWriteFilemarks = unchecked((uint) 0xFFFFFFFF82000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_WRITE_SHORT_FMKS")] + public const uint TapeDriveWriteShortFmks = unchecked((uint) 0xFFFFFFFF84000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_WRITE_LONG_FMKS")] + public const uint TapeDriveWriteLongFmks = unchecked((uint) 0xFFFFFFFF88000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_WRITE_MARK_IMMED")] + public const uint TapeDriveWriteMarkImmed = unchecked((uint) 0xFFFFFFFF90000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_FORMAT")] + public const uint TapeDriveFormat = unchecked((uint) 0xFFFFFFFFA0000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_FORMAT_IMMEDIATE")] + public const uint TapeDriveFormatImmediate = unchecked((uint) 0xFFFFFFFFC0000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "TAPE_DRIVE_HIGH_FEATURES")] + public const uint TapeDriveHighFeatures = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_FIXED_PARTITIONS")] + public const int TapeFixedPartitions = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_SELECT_PARTITIONS")] + public const int TapeSelectPartitions = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_INITIATOR_PARTITIONS")] + public const int TapeInitiatorPartitions = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_QUERY_DRIVE_PARAMETERS")] + public const int TapeQueryDriveParameters = unchecked((int) 0x0); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_QUERY_MEDIA_CAPACITY")] + public const int TapeQueryMediaCapacity = unchecked((int) 0x1); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_CHECK_FOR_DRIVE_PROBLEM")] + public const int TapeCheckForDriveProblem = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_QUERY_IO_ERROR_DATA")] + public const int TapeQueryIOErrorData = unchecked((int) 0x3); + [NativeName("Type", "long")] + [NativeName("Name", "TAPE_QUERY_DEVICE_ERROR_DATA")] + public const int TapeQueryDeviceErrorData = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTIONMANAGER_QUERY_INFORMATION")] + public const int TransactionmanagerQueryInformation = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTIONMANAGER_SET_INFORMATION")] + public const int TransactionmanagerSetInformation = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTIONMANAGER_RECOVER")] + public const int TransactionmanagerRecover = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTIONMANAGER_RENAME")] + public const int TransactionmanagerRename = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTIONMANAGER_CREATE_RM")] + public const int TransactionmanagerCreateRM = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTIONMANAGER_BIND_TRANSACTION")] + public const int TransactionmanagerBindTransaction = unchecked((int) 0x20); + [NativeName("Type", "long")] + [NativeName("Name", "TRANSACTIONMANAGER_GENERIC_EXECUTE")] + public const int TransactionmanagerGenericExecute = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTION_QUERY_INFORMATION")] + public const int TransactionQueryInformation = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTION_SET_INFORMATION")] + public const int TransactionSetInformation = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTION_ENLIST")] + public const int TransactionEnlist = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTION_COMMIT")] + public const int TransactionCommit = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTION_ROLLBACK")] + public const int TransactionRollback = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTION_PROPAGATE")] + public const int TransactionPropagate = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "TRANSACTION_RIGHT_RESERVED1")] + public const int TransactionRightReserved1 = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "RESOURCEMANAGER_QUERY_INFORMATION")] + public const int ResourcemanagerQueryInformation = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "RESOURCEMANAGER_SET_INFORMATION")] + public const int ResourcemanagerSetInformation = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "RESOURCEMANAGER_RECOVER")] + public const int ResourcemanagerRecover = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "RESOURCEMANAGER_ENLIST")] + public const int ResourcemanagerEnlist = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "RESOURCEMANAGER_GET_NOTIFICATION")] + public const int ResourcemanagerGetNotification = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "RESOURCEMANAGER_REGISTER_PROTOCOL")] + public const int ResourcemanagerRegisterProtocol = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "RESOURCEMANAGER_COMPLETE_PROPAGATION")] + public const int ResourcemanagerCompletePropagation = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "ENLISTMENT_QUERY_INFORMATION")] + public const int EnlistmentQueryInformation = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ENLISTMENT_SET_INFORMATION")] + public const int EnlistmentSetInformation = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ENLISTMENT_RECOVER")] + public const int EnlistmentRecover = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "ENLISTMENT_SUBORDINATE_RIGHTS")] + public const int EnlistmentSubordinateRights = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ENLISTMENT_SUPERIOR_RIGHTS")] + public const int EnlistmentSuperiorRights = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PcTeb")] + public const int PcTeb = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION")] + public const int ActivationContextSectionAssemblyInformation = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION")] + public const int ActivationContextSectionDllRedirection = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION")] + public const int ActivationContextSectionWindowClassRedirection = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION")] + public const int ActivationContextSectionComServerRedirection = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION")] + public const int ActivationContextSectionComInterfaceRedirection = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION")] + public const int ActivationContextSectionComTypeLibraryRedirection = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION")] + public const int ActivationContextSectionComProgidRedirection = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_GLOBAL_OBJECT_RENAME_TABLE")] + public const int ActivationContextSectionGlobalObjectRenameTable = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES")] + public const int ActivationContextSectionClrSurrogates = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_APPLICATION_SETTINGS")] + public const int ActivationContextSectionApplicationSettings = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_COMPATIBILITY_INFO")] + public const int ActivationContextSectionCompatibilityInfo = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "ACTIVATION_CONTEXT_SECTION_WINRT_ACTIVATABLE_CLASSES")] + public const int ActivationContextSectionWinrtActivatableClasses = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "FIND_FIRST_EX_CASE_SENSITIVE")] + public const int FindFirstEXCaseSensitive = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "FIND_FIRST_EX_LARGE_FETCH")] + public const int FindFirstEXLargeFetch = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "FIND_FIRST_EX_ON_DISK_ENTRIES_ONLY")] + public const int FindFirstEXOnDiskEntriesOnly = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "LOCKFILE_FAIL_IMMEDIATELY")] + public const int LockfileFailImmediately = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "LOCKFILE_EXCLUSIVE_LOCK")] + public const int LockfileExclusiveLock = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_HEAP_REGION")] + public const int ProcessHeapRegion = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_HEAP_UNCOMMITTED_RANGE")] + public const int ProcessHeapUncommittedRange = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_HEAP_ENTRY_BUSY")] + public const int ProcessHeapEntryBusy = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_HEAP_SEG_ALLOC")] + public const int ProcessHeapSegAlloc = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_HEAP_ENTRY_MOVEABLE")] + public const int ProcessHeapEntryMoveable = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "PROCESS_HEAP_ENTRY_DDESHARE")] + public const int ProcessHeapEntryDdeshare = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "EXCEPTION_DEBUG_EVENT")] + public const int ExceptionDebugEvent = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "CREATE_THREAD_DEBUG_EVENT")] + public const int CreateThreadDebugEvent = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "CREATE_PROCESS_DEBUG_EVENT")] + public const int CreateProcessDebugEvent = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EXIT_THREAD_DEBUG_EVENT")] + public const int ExitThreadDebugEvent = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EXIT_PROCESS_DEBUG_EVENT")] + public const int ExitProcessDebugEvent = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "LOAD_DLL_DEBUG_EVENT")] + public const int LoadDllDebugEvent = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "UNLOAD_DLL_DEBUG_EVENT")] + public const int UnloadDllDebugEvent = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "OUTPUT_DEBUG_STRING_EVENT")] + public const int OutputDebugStringEvent = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "RIP_EVENT")] + public const int RipEvent = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_FIXED")] + public const int LmemFixed = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_MOVEABLE")] + public const int LmemMoveable = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_NOCOMPACT")] + public const int LmemNocompact = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_NODISCARD")] + public const int LmemNodiscard = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_ZEROINIT")] + public const int LmemZeroinit = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_MODIFY")] + public const int LmemModify = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_DISCARDABLE")] + public const int LmemDiscardable = unchecked((int) 0xF00); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_VALID_FLAGS")] + public const int LmemValidFlags = unchecked((int) 0xF72); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_INVALID_HANDLE")] + public const int LmemInvalidHandle = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "NONZEROLHND")] + public const int Nonzerolhnd = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "NONZEROLPTR")] + public const int Nonzerolptr = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_DISCARDED")] + public const int LmemDiscarded = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "LMEM_LOCKCOUNT")] + public const int LmemLockcount = unchecked((int) 0xFF); + [NativeName("Type", "")] + [NativeName("Name", "KERNEL_LOGGER_NAMEW")] + public const string KernelLoggerNamew = unchecked((string) "NT Kernel Logger"); + [NativeName("Type", "")] + [NativeName("Name", "GLOBAL_LOGGER_NAMEW")] + public const string GlobalLoggerNamew = unchecked((string) "GlobalLogger"); + [NativeName("Type", "")] + [NativeName("Name", "EVENT_LOGGER_NAMEW")] + public const string EventLoggerNamew = unchecked((string) "EventLog"); + [NativeName("Type", "")] + [NativeName("Name", "DIAG_LOGGER_NAMEW")] + public const string DiagLoggerNamew = unchecked((string) "DiagLog"); + [NativeName("Type", "")] + [NativeName("Name", "KERNEL_LOGGER_NAMEA")] + public const string KernelLoggerNamea = unchecked((string) "NT Kernel Logger"); + [NativeName("Type", "")] + [NativeName("Name", "GLOBAL_LOGGER_NAMEA")] + public const string GlobalLoggerNamea = unchecked((string) "GlobalLogger"); + [NativeName("Type", "")] + [NativeName("Name", "EVENT_LOGGER_NAMEA")] + public const string EventLoggerNamea = unchecked((string) "EventLog"); + [NativeName("Type", "")] + [NativeName("Name", "DIAG_LOGGER_NAMEA")] + public const string DiagLoggerNamea = unchecked((string) "DiagLog"); + [NativeName("Type", "int")] + [NativeName("Name", "MAX_MOF_FIELDS")] + public const int MaxMofFields = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "SYSTEM_EVENT_TYPE")] + public const int SystemEventType = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_INFO")] + public const int EventTraceTypeInfo = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_START")] + public const int EventTraceTypeStart = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_END")] + public const int EventTraceTypeEnd = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_STOP")] + public const int EventTraceTypeStop = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_DC_START")] + public const int EventTraceTypeDCStart = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_DC_END")] + public const int EventTraceTypeDCEnd = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_EXTENSION")] + public const int EventTraceTypeExtension = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REPLY")] + public const int EventTraceTypeReply = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_DEQUEUE")] + public const int EventTraceTypeDequeue = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_RESUME")] + public const int EventTraceTypeResume = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CHECKPOINT")] + public const int EventTraceTypeCheckpoint = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_SUSPEND")] + public const int EventTraceTypeSuspend = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_WINEVT_SEND")] + public const int EventTraceTypeWinevtSend = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_WINEVT_RECEIVE")] + public const int EventTraceTypeWinevtReceive = unchecked((int) 0xF0); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_NONE")] + public const int TraceLevelNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_CRITICAL")] + public const int TraceLevelCritical = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_FATAL")] + public const int TraceLevelFatal = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_ERROR")] + public const int TraceLevelError = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_WARNING")] + public const int TraceLevelWarning = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_INFORMATION")] + public const int TraceLevelInformation = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_VERBOSE")] + public const int TraceLevelVerbose = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_RESERVED6")] + public const int TraceLevelReserved6 = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_RESERVED7")] + public const int TraceLevelReserved7 = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_RESERVED8")] + public const int TraceLevelReserved8 = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_LEVEL_RESERVED9")] + public const int TraceLevelReserved9 = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_LOAD")] + public const int EventTraceTypeLoad = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_TERMINATE")] + public const int EventTraceTypeTerminate = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_IO_READ")] + public const int EventTraceTypeIORead = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_IO_WRITE")] + public const int EventTraceTypeIOWrite = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_IO_READ_INIT")] + public const int EventTraceTypeIOReadInit = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_IO_WRITE_INIT")] + public const int EventTraceTypeIOWriteInit = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_IO_FLUSH")] + public const int EventTraceTypeIOFlush = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_IO_FLUSH_INIT")] + public const int EventTraceTypeIOFlushInit = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_IO_REDIRECTED_INIT")] + public const int EventTraceTypeIORedirectedInit = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_MM_TF")] + public const int EventTraceTypeMMTF = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_MM_DZF")] + public const int EventTraceTypeMMDzf = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_MM_COW")] + public const int EventTraceTypeMMCow = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_MM_GPF")] + public const int EventTraceTypeMMGpf = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_MM_HPF")] + public const int EventTraceTypeMMHpf = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_MM_AV")] + public const int EventTraceTypeMMAV = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_SEND")] + public const int EventTraceTypeSend = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_RECEIVE")] + public const int EventTraceTypeReceive = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONNECT")] + public const int EventTraceTypeConnect = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_DISCONNECT")] + public const int EventTraceTypeDisconnect = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_RETRANSMIT")] + public const int EventTraceTypeRetransmit = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_ACCEPT")] + public const int EventTraceTypeAccept = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_RECONNECT")] + public const int EventTraceTypeReconnect = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONNFAIL")] + public const int EventTraceTypeConnfail = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_COPY_TCP")] + public const int EventTraceTypeCopyTcp = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_COPY_ARP")] + public const int EventTraceTypeCopyArp = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_ACKFULL")] + public const int EventTraceTypeAckfull = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_ACKPART")] + public const int EventTraceTypeAckpart = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_ACKDUP")] + public const int EventTraceTypeAckdup = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_GUIDMAP")] + public const int EventTraceTypeGuidmap = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG")] + public const int EventTraceTypeConfig = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_SIDINFO")] + public const int EventTraceTypeSidinfo = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_SECURITY")] + public const int EventTraceTypeSecurity = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_DBGID_RSDS")] + public const int EventTraceTypeDbgidRsds = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGCREATE")] + public const int EventTraceTypeRegcreate = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGOPEN")] + public const int EventTraceTypeRegopen = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGDELETE")] + public const int EventTraceTypeRegdelete = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGQUERY")] + public const int EventTraceTypeRegquery = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGSETVALUE")] + public const int EventTraceTypeRegsetvalue = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGDELETEVALUE")] + public const int EventTraceTypeRegdeletevalue = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGQUERYVALUE")] + public const int EventTraceTypeRegqueryvalue = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGENUMERATEKEY")] + public const int EventTraceTypeRegenumeratekey = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGENUMERATEVALUEKEY")] + public const int EventTraceTypeRegenumeratevaluekey = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGQUERYMULTIPLEVALUE")] + public const int EventTraceTypeRegquerymultiplevalue = unchecked((int) 0x13); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGSETINFORMATION")] + public const int EventTraceTypeRegsetinformation = unchecked((int) 0x14); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGFLUSH")] + public const int EventTraceTypeRegflush = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGKCBCREATE")] + public const int EventTraceTypeRegkcbcreate = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGKCBDELETE")] + public const int EventTraceTypeRegkcbdelete = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGKCBRUNDOWNBEGIN")] + public const int EventTraceTypeRegkcbrundownbegin = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGKCBRUNDOWNEND")] + public const int EventTraceTypeRegkcbrundownend = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGVIRTUALIZE")] + public const int EventTraceTypeRegvirtualize = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGCLOSE")] + public const int EventTraceTypeRegclose = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGSETSECURITY")] + public const int EventTraceTypeRegsetsecurity = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGQUERYSECURITY")] + public const int EventTraceTypeRegquerysecurity = unchecked((int) 0x1D); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGCOMMIT")] + public const int EventTraceTypeRegcommit = unchecked((int) 0x1E); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGPREPARE")] + public const int EventTraceTypeRegprepare = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGROLLBACK")] + public const int EventTraceTypeRegrollback = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_REGMOUNTHIVE")] + public const int EventTraceTypeRegmounthive = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_CPU")] + public const int EventTraceTypeConfigCpu = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_PHYSICALDISK")] + public const int EventTraceTypeConfigPhysicaldisk = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_LOGICALDISK")] + public const int EventTraceTypeConfigLogicaldisk = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_NIC")] + public const int EventTraceTypeConfigNic = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_VIDEO")] + public const int EventTraceTypeConfigVideo = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_SERVICES")] + public const int EventTraceTypeConfigServices = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_POWER")] + public const int EventTraceTypeConfigPower = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_NETINFO")] + public const int EventTraceTypeConfigNetinfo = unchecked((int) 0x11); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_OPTICALMEDIA")] + public const int EventTraceTypeConfigOpticalmedia = unchecked((int) 0x12); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_IRQ")] + public const int EventTraceTypeConfigIrq = unchecked((int) 0x15); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_PNP")] + public const int EventTraceTypeConfigPnp = unchecked((int) 0x16); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_IDECHANNEL")] + public const int EventTraceTypeConfigIdechannel = unchecked((int) 0x17); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_NUMANODE")] + public const int EventTraceTypeConfigNumanode = unchecked((int) 0x18); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_PLATFORM")] + public const int EventTraceTypeConfigPlatform = unchecked((int) 0x19); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_PROCESSORGROUP")] + public const int EventTraceTypeConfigProcessorgroup = unchecked((int) 0x1A); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_PROCESSORNUMBER")] + public const int EventTraceTypeConfigProcessornumber = unchecked((int) 0x1B); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_DPI")] + public const int EventTraceTypeConfigDpi = unchecked((int) 0x1C); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_CI_INFO")] + public const int EventTraceTypeConfigCIInfo = unchecked((int) 0x1D); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_MACHINEID")] + public const int EventTraceTypeConfigMachineid = unchecked((int) 0x1E); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_DEFRAG")] + public const int EventTraceTypeConfigDefrag = unchecked((int) 0x1F); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_MOBILEPLATFORM")] + public const int EventTraceTypeConfigMobileplatform = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_DEVICEFAMILY")] + public const int EventTraceTypeConfigDevicefamily = unchecked((int) 0x21); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_FLIGHTID")] + public const int EventTraceTypeConfigFlightid = unchecked((int) 0x22); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_PROCESSOR")] + public const int EventTraceTypeConfigProcessor = unchecked((int) 0x23); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_VIRTUALIZATION")] + public const int EventTraceTypeConfigVirtualization = unchecked((int) 0x24); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_CONFIG_BOOT")] + public const int EventTraceTypeConfigBoot = unchecked((int) 0x25); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_OPTICAL_IO_READ")] + public const int EventTraceTypeOpticalIORead = unchecked((int) 0x37); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_OPTICAL_IO_WRITE")] + public const int EventTraceTypeOpticalIOWrite = unchecked((int) 0x38); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_OPTICAL_IO_FLUSH")] + public const int EventTraceTypeOpticalIOFlush = unchecked((int) 0x39); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_OPTICAL_IO_READ_INIT")] + public const int EventTraceTypeOpticalIOReadInit = unchecked((int) 0x3A); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_OPTICAL_IO_WRITE_INIT")] + public const int EventTraceTypeOpticalIOWriteInit = unchecked((int) 0x3B); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_OPTICAL_IO_FLUSH_INIT")] + public const int EventTraceTypeOpticalIOFlushInit = unchecked((int) 0x3C); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_FLT_PREOP_INIT")] + public const int EventTraceTypeFltPreopInit = unchecked((int) 0x60); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_FLT_POSTOP_INIT")] + public const int EventTraceTypeFltPostopInit = unchecked((int) 0x61); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_FLT_PREOP_COMPLETION")] + public const int EventTraceTypeFltPreopCompletion = unchecked((int) 0x62); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_FLT_POSTOP_COMPLETION")] + public const int EventTraceTypeFltPostopCompletion = unchecked((int) 0x63); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_FLT_PREOP_FAILURE")] + public const int EventTraceTypeFltPreopFailure = unchecked((int) 0x64); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_TYPE_FLT_POSTOP_FAILURE")] + public const int EventTraceTypeFltPostopFailure = unchecked((int) 0x65); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_PROCESS")] + public const int EventTraceFlagProcess = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_THREAD")] + public const int EventTraceFlagThread = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_IMAGE_LOAD")] + public const int EventTraceFlagImageLoad = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DISK_IO")] + public const int EventTraceFlagDiskIO = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DISK_FILE_IO")] + public const int EventTraceFlagDiskFileIO = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_MEMORY_PAGE_FAULTS")] + public const int EventTraceFlagMemoryPageFaults = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_MEMORY_HARD_FAULTS")] + public const int EventTraceFlagMemoryHardFaults = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_NETWORK_TCPIP")] + public const int EventTraceFlagNetworkTcpip = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_REGISTRY")] + public const int EventTraceFlagRegistry = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DBGPRINT")] + public const int EventTraceFlagDbgprint = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_PROCESS_COUNTERS")] + public const int EventTraceFlagProcessCounters = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_CSWITCH")] + public const int EventTraceFlagCswitch = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DPC")] + public const int EventTraceFlagDpc = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_INTERRUPT")] + public const int EventTraceFlagInterrupt = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_SYSTEMCALL")] + public const int EventTraceFlagSystemcall = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DISK_IO_INIT")] + public const int EventTraceFlagDiskIOInit = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_ALPC")] + public const int EventTraceFlagAlpc = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_SPLIT_IO")] + public const int EventTraceFlagSplitIO = unchecked((int) 0x200000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DRIVER")] + public const int EventTraceFlagDriver = unchecked((int) 0x800000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_PROFILE")] + public const int EventTraceFlagProfile = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_FILE_IO")] + public const int EventTraceFlagFileIO = unchecked((int) 0x2000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_FILE_IO_INIT")] + public const int EventTraceFlagFileIOInit = unchecked((int) 0x4000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DISPATCHER")] + public const int EventTraceFlagDispatcher = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_VIRTUAL_ALLOC")] + public const int EventTraceFlagVirtualAlloc = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_VAMAP")] + public const int EventTraceFlagVamap = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_NO_SYSCONFIG")] + public const int EventTraceFlagNoSysconfig = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_JOB")] + public const int EventTraceFlagJob = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_DEBUG_EVENTS")] + public const int EventTraceFlagDebugEvents = unchecked((int) 0x400000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "EVENT_TRACE_FLAG_EXTENSION")] + public const uint EventTraceFlagExtension = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_FORWARD_WMI")] + public const int EventTraceFlagForwardWmi = unchecked((int) 0x40000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FLAG_ENABLE_RESERVE")] + public const int EventTraceFlagEnableReserve = unchecked((int) 0x20000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FILE_MODE_NONE")] + public const int EventTraceFileModeNone = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FILE_MODE_SEQUENTIAL")] + public const int EventTraceFileModeSequential = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FILE_MODE_CIRCULAR")] + public const int EventTraceFileModeCircular = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FILE_MODE_APPEND")] + public const int EventTraceFileModeAppend = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_REAL_TIME_MODE")] + public const int EventTraceRealTimeMode = unchecked((int) 0x100); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_DELAY_OPEN_FILE_MODE")] + public const int EventTraceDelayOpenFileMode = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_BUFFERING_MODE")] + public const int EventTraceBufferingMode = unchecked((int) 0x400); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_PRIVATE_LOGGER_MODE")] + public const int EventTracePrivateLoggerMode = unchecked((int) 0x800); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_ADD_HEADER_MODE")] + public const int EventTraceAddHeaderMode = unchecked((int) 0x1000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_USE_GLOBAL_SEQUENCE")] + public const int EventTraceUseGlobalSequence = unchecked((int) 0x4000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_USE_LOCAL_SEQUENCE")] + public const int EventTraceUseLocalSequence = unchecked((int) 0x8000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_RELOG_MODE")] + public const int EventTraceRelogMode = unchecked((int) 0x10000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_USE_PAGED_MEMORY")] + public const int EventTraceUsePagedMemory = unchecked((int) 0x1000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FILE_MODE_NEWFILE")] + public const int EventTraceFileModeNewfile = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_FILE_MODE_PREALLOCATE")] + public const int EventTraceFileModePreallocate = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_NONSTOPPABLE_MODE")] + public const int EventTraceNonstoppableMode = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_SECURE_MODE")] + public const int EventTraceSecureMode = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_USE_KBYTES_FOR_SIZE")] + public const int EventTraceUseKbytesForSize = unchecked((int) 0x2000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_PRIVATE_IN_PROC")] + public const int EventTracePrivateInProc = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_MODE_RESERVED")] + public const int EventTraceModeReserved = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_NO_PER_PROCESSOR_BUFFERING")] + public const int EventTraceNoPerProcessorBuffering = unchecked((int) 0x10000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_SYSTEM_LOGGER_MODE")] + public const int EventTraceSystemLoggerMode = unchecked((int) 0x2000000); + [NativeName("Type", "unsigned int")] + [NativeName("Name", "EVENT_TRACE_ADDTO_TRIAGE_DUMP")] + public const uint EventTraceAddtoTriageDump = unchecked((uint) 0xFFFFFFFF80000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_STOP_ON_HYBRID_SHUTDOWN")] + public const int EventTraceStopOnHybridShutdown = unchecked((int) 0x400000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_PERSIST_ON_HYBRID_SHUTDOWN")] + public const int EventTracePersistOnHybridShutdown = unchecked((int) 0x800000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_INDEPENDENT_SESSION_MODE")] + public const int EventTraceIndependentSessionMode = unchecked((int) 0x8000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_COMPRESSED_MODE")] + public const int EventTraceCompressedMode = unchecked((int) 0x4000000); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_CONTROL_QUERY")] + public const int EventTraceControlQuery = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_CONTROL_STOP")] + public const int EventTraceControlStop = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_CONTROL_UPDATE")] + public const int EventTraceControlUpdate = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_CONTROL_FLUSH")] + public const int EventTraceControlFlush = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_CONTROL_INCREMENT_FILE")] + public const int EventTraceControlIncrementFile = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_SEQUENCE")] + public const int TraceMessageSequence = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_GUID")] + public const int TraceMessageGuid = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_COMPONENTID")] + public const int TraceMessageComponentid = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_TIMESTAMP")] + public const int TraceMessageTimestamp = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_PERFORMANCE_TIMESTAMP")] + public const int TraceMessagePerformanceTimestamp = unchecked((int) 0x10); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_SYSTEMINFO")] + public const int TraceMessageSysteminfo = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_POINTER32")] + public const int TraceMessagePointer32 = unchecked((int) 0x40); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_POINTER64")] + public const int TraceMessagePointer64 = unchecked((int) 0x80); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_MESSAGE_FLAG_MASK")] + public const int TraceMessageFlagMask = unchecked((int) 0xFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_USE_PROCTIME")] + public const int EventTraceUseProctime = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_TRACE_USE_NOCPUTIME")] + public const int EventTraceUseNocputime = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_HEADER_FLAG_USE_TIMESTAMP")] + public const int TraceHeaderFlagUseTimestamp = unchecked((int) 0x200); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_HEADER_FLAG_TRACED_GUID")] + public const int TraceHeaderFlagTracedGuid = unchecked((int) 0x20000); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_HEADER_FLAG_LOG_WNODE")] + public const int TraceHeaderFlagLogWnode = unchecked((int) 0x40000); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_HEADER_FLAG_USE_GUID_PTR")] + public const int TraceHeaderFlagUseGuidPtr = unchecked((int) 0x80000); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_HEADER_FLAG_USE_MOF_PTR")] + public const int TraceHeaderFlagUseMofPtr = unchecked((int) 0x100000); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_NULL_TYPE_VALUE")] + public const int EtwNullTypeValue = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_OBJECT_TYPE_VALUE")] + public const int EtwObjectTypeValue = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_STRING_TYPE_VALUE")] + public const int EtwStringTypeValue = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_SBYTE_TYPE_VALUE")] + public const int EtwSbyteTypeValue = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_BYTE_TYPE_VALUE")] + public const int EtwByteTypeValue = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_INT16_TYPE_VALUE")] + public const int EtwInt16TypeValue = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_UINT16_TYPE_VALUE")] + public const int EtwUint16TypeValue = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_INT32_TYPE_VALUE")] + public const int EtwInt32TypeValue = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_UINT32_TYPE_VALUE")] + public const int EtwUint32TypeValue = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_INT64_TYPE_VALUE")] + public const int EtwInt64TypeValue = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_UINT64_TYPE_VALUE")] + public const int EtwUint64TypeValue = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_CHAR_TYPE_VALUE")] + public const int EtwCharTypeValue = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_SINGLE_TYPE_VALUE")] + public const int EtwSingleTypeValue = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_DOUBLE_TYPE_VALUE")] + public const int EtwDoubleTypeValue = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_BOOLEAN_TYPE_VALUE")] + public const int EtwBooleanTypeValue = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_DECIMAL_TYPE_VALUE")] + public const int EtwDecimalTypeValue = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_GUID_TYPE_VALUE")] + public const int EtwGuidTypeValue = unchecked((int) 0x65); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_ASCIICHAR_TYPE_VALUE")] + public const int EtwAsciicharTypeValue = unchecked((int) 0x66); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_ASCIISTRING_TYPE_VALUE")] + public const int EtwAsciistringTypeValue = unchecked((int) 0x67); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_COUNTED_STRING_TYPE_VALUE")] + public const int EtwCountedStringTypeValue = unchecked((int) 0x68); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_POINTER_TYPE_VALUE")] + public const int EtwPointerTypeValue = unchecked((int) 0x69); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_SIZET_TYPE_VALUE")] + public const int EtwSizetTypeValue = unchecked((int) 0x6A); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_HIDDEN_TYPE_VALUE")] + public const int EtwHiddenTypeValue = unchecked((int) 0x6B); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_BOOL_TYPE_VALUE")] + public const int EtwBoolTypeValue = unchecked((int) 0x6C); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_COUNTED_ANSISTRING_TYPE_VALUE")] + public const int EtwCountedAnsistringTypeValue = unchecked((int) 0x6D); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_REVERSED_COUNTED_STRING_TYPE_VALUE")] + public const int EtwReversedCountedStringTypeValue = unchecked((int) 0x6E); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_REVERSED_COUNTED_ANSISTRING_TYPE_VALUE")] + public const int EtwReversedCountedAnsistringTypeValue = unchecked((int) 0x6F); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_NON_NULL_TERMINATED_STRING_TYPE_VALUE")] + public const int EtwNonNullTerminatedStringTypeValue = unchecked((int) 0x70); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_REDUCED_ANSISTRING_TYPE_VALUE")] + public const int EtwReducedAnsistringTypeValue = unchecked((int) 0x71); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_REDUCED_STRING_TYPE_VALUE")] + public const int EtwReducedStringTypeValue = unchecked((int) 0x72); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_SID_TYPE_VALUE")] + public const int EtwSidTypeValue = unchecked((int) 0x73); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_VARIANT_TYPE_VALUE")] + public const int EtwVariantTypeValue = unchecked((int) 0x74); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_PTVECTOR_TYPE_VALUE")] + public const int EtwPtvectorTypeValue = unchecked((int) 0x75); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_WMITIME_TYPE_VALUE")] + public const int EtwWmitimeTypeValue = unchecked((int) 0x76); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_DATETIME_TYPE_VALUE")] + public const int EtwDatetimeTypeValue = unchecked((int) 0x77); + [NativeName("Type", "int")] + [NativeName("Name", "ETW_REFRENCE_TYPE_VALUE")] + public const int EtwRefrenceTypeValue = unchecked((int) 0x78); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_PROVIDER_FLAG_LEGACY")] + public const int TraceProviderFlagLegacy = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "TRACE_PROVIDER_FLAG_PRE_ENABLE")] + public const int TraceProviderFlagPreEnable = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_CONTROL_CODE_DISABLE_PROVIDER")] + public const int EventControlCodeDisableProvider = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_CONTROL_CODE_ENABLE_PROVIDER")] + public const int EventControlCodeEnableProvider = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "EVENT_CONTROL_CODE_CAPTURE_STATE")] + public const int EventControlCodeCaptureState = unchecked((int) 0x2); + [NativeName("Type", "")] + [NativeName("Name", "KERNEL_LOGGER_NAME")] + public const string KernelLoggerName = unchecked((string) "NT Kernel Logger"); + [NativeName("Type", "")] + [NativeName("Name", "GLOBAL_LOGGER_NAME")] + public const string GlobalLoggerName = unchecked((string) "GlobalLogger"); + [NativeName("Type", "")] + [NativeName("Name", "EVENT_LOGGER_NAME")] + public const string EventLoggerName = unchecked((string) "EventLog"); + [NativeName("Type", "int")] + [NativeName("Name", "ENABLE_TRACE_PARAMETERS_VERSION")] + public const int EnableTraceParametersVersion = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "ENABLE_TRACE_PARAMETERS_VERSION_2")] + public const int EnableTraceParametersVersion2 = unchecked((int) 0x2); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ulong* TraceHandle, char* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ulong* TraceHandle, char* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ulong* TraceHandle, ref char InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ulong* TraceHandle, ref char InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ulong* TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ulong* TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ref ulong TraceHandle, char* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ref ulong TraceHandle, char* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ref ulong TraceHandle, ref char InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public partial uint StartTraceW(ref ulong TraceHandle, ref char InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public unsafe partial uint StartTraceW(ref ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceW")] + public partial uint StartTraceW(ref ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ulong* TraceHandle, byte* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ulong* TraceHandle, byte* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ulong* TraceHandle, ref byte InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ulong* TraceHandle, ref byte InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ulong* TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ulong* TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ref ulong TraceHandle, byte* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ref ulong TraceHandle, byte* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ref ulong TraceHandle, ref byte InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public partial uint StartTraceA(ref ulong TraceHandle, ref byte InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public unsafe partial uint StartTraceA(ref ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StartTraceA")] + public partial uint StartTraceA(ref ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceW")] + public unsafe partial uint StopTraceW(ulong TraceHandle, char* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceW")] + public unsafe partial uint StopTraceW(ulong TraceHandle, char* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceW")] + public unsafe partial uint StopTraceW(ulong TraceHandle, ref char InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceW")] + public partial uint StopTraceW(ulong TraceHandle, ref char InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceW")] + public unsafe partial uint StopTraceW(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceW")] + public partial uint StopTraceW(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceA")] + public unsafe partial uint StopTraceA(ulong TraceHandle, byte* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceA")] + public unsafe partial uint StopTraceA(ulong TraceHandle, byte* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceA")] + public unsafe partial uint StopTraceA(ulong TraceHandle, ref byte InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceA")] + public partial uint StopTraceA(ulong TraceHandle, ref byte InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceA")] + public unsafe partial uint StopTraceA(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "StopTraceA")] + public partial uint StopTraceA(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceW")] + public unsafe partial uint QueryTraceW(ulong TraceHandle, char* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceW")] + public unsafe partial uint QueryTraceW(ulong TraceHandle, char* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceW")] + public unsafe partial uint QueryTraceW(ulong TraceHandle, ref char InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceW")] + public partial uint QueryTraceW(ulong TraceHandle, ref char InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceW")] + public unsafe partial uint QueryTraceW(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceW")] + public partial uint QueryTraceW(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceA")] + public unsafe partial uint QueryTraceA(ulong TraceHandle, byte* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceA")] + public unsafe partial uint QueryTraceA(ulong TraceHandle, byte* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceA")] + public unsafe partial uint QueryTraceA(ulong TraceHandle, ref byte InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceA")] + public partial uint QueryTraceA(ulong TraceHandle, ref byte InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceA")] + public unsafe partial uint QueryTraceA(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceA")] + public partial uint QueryTraceA(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceW")] + public unsafe partial uint UpdateTraceW(ulong TraceHandle, char* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceW")] + public unsafe partial uint UpdateTraceW(ulong TraceHandle, char* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceW")] + public unsafe partial uint UpdateTraceW(ulong TraceHandle, ref char InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceW")] + public partial uint UpdateTraceW(ulong TraceHandle, ref char InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceW")] + public unsafe partial uint UpdateTraceW(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceW")] + public partial uint UpdateTraceW(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceA")] + public unsafe partial uint UpdateTraceA(ulong TraceHandle, byte* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceA")] + public unsafe partial uint UpdateTraceA(ulong TraceHandle, byte* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceA")] + public unsafe partial uint UpdateTraceA(ulong TraceHandle, ref byte InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceA")] + public partial uint UpdateTraceA(ulong TraceHandle, ref byte InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceA")] + public unsafe partial uint UpdateTraceA(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UpdateTraceA")] + public partial uint UpdateTraceA(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceW")] + public unsafe partial uint FlushTraceW(ulong TraceHandle, char* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceW")] + public unsafe partial uint FlushTraceW(ulong TraceHandle, char* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceW")] + public unsafe partial uint FlushTraceW(ulong TraceHandle, ref char InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceW")] + public partial uint FlushTraceW(ulong TraceHandle, ref char InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceW")] + public unsafe partial uint FlushTraceW(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceW")] + public partial uint FlushTraceW(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceA")] + public unsafe partial uint FlushTraceA(ulong TraceHandle, byte* InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceA")] + public unsafe partial uint FlushTraceA(ulong TraceHandle, byte* InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceA")] + public unsafe partial uint FlushTraceA(ulong TraceHandle, ref byte InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceA")] + public partial uint FlushTraceA(ulong TraceHandle, ref byte InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceA")] + public unsafe partial uint FlushTraceA(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties); + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "FlushTraceA")] + public partial uint FlushTraceA(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties); + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceW")] + public unsafe partial uint ControlTraceW(ulong TraceHandle, char* InstanceName, EventTraceProperties* Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceW")] + public unsafe partial uint ControlTraceW(ulong TraceHandle, char* InstanceName, ref EventTraceProperties Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceW")] + public unsafe partial uint ControlTraceW(ulong TraceHandle, ref char InstanceName, EventTraceProperties* Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceW")] + public partial uint ControlTraceW(ulong TraceHandle, ref char InstanceName, ref EventTraceProperties Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceW")] + public unsafe partial uint ControlTraceW(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceW")] + public partial uint ControlTraceW(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceA")] + public unsafe partial uint ControlTraceA(ulong TraceHandle, byte* InstanceName, EventTraceProperties* Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceA")] + public unsafe partial uint ControlTraceA(ulong TraceHandle, byte* InstanceName, ref EventTraceProperties Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceA")] + public unsafe partial uint ControlTraceA(ulong TraceHandle, ref byte InstanceName, EventTraceProperties* Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceA")] + public partial uint ControlTraceA(ulong TraceHandle, ref byte InstanceName, ref EventTraceProperties Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceA")] + public unsafe partial uint ControlTraceA(ulong TraceHandle, string InstanceName, EventTraceProperties* Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ControlTraceA")] + public partial uint ControlTraceA(ulong TraceHandle, string InstanceName, ref EventTraceProperties Properties, uint ControlCode); + + /// To be documented. + [NativeName("Src", "Line 1485, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesW")] + public unsafe partial uint QueryAllTracesW(EventTraceProperties** PropertyArray, uint PropertyArrayCount, uint* LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1485, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesW")] + public unsafe partial uint QueryAllTracesW(EventTraceProperties** PropertyArray, uint PropertyArrayCount, ref uint LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1485, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesW")] + public unsafe partial uint QueryAllTracesW(ref EventTraceProperties* PropertyArray, uint PropertyArrayCount, uint* LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1485, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesW")] + public unsafe partial uint QueryAllTracesW(ref EventTraceProperties* PropertyArray, uint PropertyArrayCount, ref uint LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1494, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesA")] + public unsafe partial uint QueryAllTracesA(EventTraceProperties** PropertyArray, uint PropertyArrayCount, uint* LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1494, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesA")] + public unsafe partial uint QueryAllTracesA(EventTraceProperties** PropertyArray, uint PropertyArrayCount, ref uint LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1494, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesA")] + public unsafe partial uint QueryAllTracesA(ref EventTraceProperties* PropertyArray, uint PropertyArrayCount, uint* LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1494, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryAllTracesA")] + public unsafe partial uint QueryAllTracesA(ref EventTraceProperties* PropertyArray, uint PropertyArrayCount, ref uint LoggerCount); + + /// To be documented. + [NativeName("Src", "Line 1513, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTrace")] + public unsafe partial uint EnableTrace(uint Enable, uint EnableFlag, uint EnableLevel, Guid* ControlGuid, ulong TraceHandle); + + /// To be documented. + [NativeName("Src", "Line 1513, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTrace")] + public partial uint EnableTrace(uint Enable, uint EnableFlag, uint EnableLevel, ref Guid ControlGuid, ulong TraceHandle); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public unsafe partial uint EnableTraceEx(Guid* ProviderId, Guid* SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, EventFilterDescriptor* EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public unsafe partial uint EnableTraceEx(Guid* ProviderId, Guid* SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, ref EventFilterDescriptor EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public unsafe partial uint EnableTraceEx(Guid* ProviderId, ref Guid SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, EventFilterDescriptor* EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public unsafe partial uint EnableTraceEx(Guid* ProviderId, ref Guid SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, ref EventFilterDescriptor EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public unsafe partial uint EnableTraceEx(ref Guid ProviderId, Guid* SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, EventFilterDescriptor* EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public unsafe partial uint EnableTraceEx(ref Guid ProviderId, Guid* SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, ref EventFilterDescriptor EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public unsafe partial uint EnableTraceEx(ref Guid ProviderId, ref Guid SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, EventFilterDescriptor* EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx")] + public partial uint EnableTraceEx(ref Guid ProviderId, ref Guid SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, ref EventFilterDescriptor EnableFilterDesc); + + /// To be documented. + [NativeName("Src", "Line 1582, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx2")] + public unsafe partial uint EnableTraceEx2(ulong TraceHandle, Guid* ProviderId, uint ControlCode, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint Timeout, EnableTraceParameters* EnableParameters); + + /// To be documented. + [NativeName("Src", "Line 1582, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx2")] + public unsafe partial uint EnableTraceEx2(ulong TraceHandle, Guid* ProviderId, uint ControlCode, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint Timeout, ref EnableTraceParameters EnableParameters); + + /// To be documented. + [NativeName("Src", "Line 1582, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx2")] + public unsafe partial uint EnableTraceEx2(ulong TraceHandle, ref Guid ProviderId, uint ControlCode, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint Timeout, EnableTraceParameters* EnableParameters); + + /// To be documented. + [NativeName("Src", "Line 1582, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnableTraceEx2")] + public partial uint EnableTraceEx2(ulong TraceHandle, ref Guid ProviderId, uint ControlCode, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint Timeout, ref EnableTraceParameters EnableParameters); + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public unsafe partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, void* InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, uint* ReturnLength); + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public unsafe partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, void* InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, ref uint ReturnLength); + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public unsafe partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, void* InBuffer, uint InBufferSize, ref T0 OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public unsafe partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, void* InBuffer, uint InBufferSize, ref T0 OutBuffer, uint OutBufferSize, ref uint ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public unsafe partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, ref T0 InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public unsafe partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, ref T0 InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, ref uint ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public unsafe partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, ref T0 InBuffer, uint InBufferSize, ref T1 OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged where T1 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuidsEx")] + public partial uint EnumerateTraceGuidsEx(TraceQueryInfoClass TraceQueryInfoClass, ref T0 InBuffer, uint InBufferSize, ref T1 OutBuffer, uint OutBufferSize, ref uint ReturnLength) where T0 : unmanaged where T1 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1943, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceSetInformation")] + public unsafe partial uint TraceSetInformation(ulong SessionHandle, TraceQueryInfoClass InformationClass, void* TraceInformation, uint InformationLength); + + /// To be documented. + [NativeName("Src", "Line 1943, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceSetInformation")] + public partial uint TraceSetInformation(ulong SessionHandle, TraceQueryInfoClass InformationClass, ref T0 TraceInformation, uint InformationLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1955, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceQueryInformation")] + public unsafe partial uint TraceQueryInformation(ulong SessionHandle, TraceQueryInfoClass InformationClass, void* TraceInformation, uint InformationLength, uint* ReturnLength); + + /// To be documented. + [NativeName("Src", "Line 1955, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceQueryInformation")] + public unsafe partial uint TraceQueryInformation(ulong SessionHandle, TraceQueryInfoClass InformationClass, void* TraceInformation, uint InformationLength, ref uint ReturnLength); + + /// To be documented. + [NativeName("Src", "Line 1955, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceQueryInformation")] + public unsafe partial uint TraceQueryInformation(ulong SessionHandle, TraceQueryInfoClass InformationClass, ref T0 TraceInformation, uint InformationLength, uint* ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1955, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceQueryInformation")] + public partial uint TraceQueryInformation(ulong SessionHandle, TraceQueryInfoClass InformationClass, ref T0 TraceInformation, uint InformationLength, ref uint ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1977, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "CreateTraceInstanceId")] + public unsafe partial uint CreateTraceInstanceId(void* RegHandle, EventInstanceInfo* InstInfo); + + /// To be documented. + [NativeName("Src", "Line 1977, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "CreateTraceInstanceId")] + public unsafe partial uint CreateTraceInstanceId(void* RegHandle, ref EventInstanceInfo InstInfo); + + /// To be documented. + [NativeName("Src", "Line 1977, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "CreateTraceInstanceId")] + public unsafe partial uint CreateTraceInstanceId(ref T0 RegHandle, EventInstanceInfo* InstInfo) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1977, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "CreateTraceInstanceId")] + public partial uint CreateTraceInstanceId(ref T0 RegHandle, ref EventInstanceInfo InstInfo) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 1995, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEvent")] + public unsafe partial uint TraceEvent(ulong TraceHandle, EventTraceHeader* EventTrace); + + /// To be documented. + [NativeName("Src", "Line 1995, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEvent")] + public partial uint TraceEvent(ulong TraceHandle, ref EventTraceHeader EventTrace); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public unsafe partial uint TraceEventInstance(ulong TraceHandle, EventInstanceHeader* EventTrace, EventInstanceInfo* InstInfo, EventInstanceInfo* ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public unsafe partial uint TraceEventInstance(ulong TraceHandle, EventInstanceHeader* EventTrace, EventInstanceInfo* InstInfo, ref EventInstanceInfo ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public unsafe partial uint TraceEventInstance(ulong TraceHandle, EventInstanceHeader* EventTrace, ref EventInstanceInfo InstInfo, EventInstanceInfo* ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public unsafe partial uint TraceEventInstance(ulong TraceHandle, EventInstanceHeader* EventTrace, ref EventInstanceInfo InstInfo, ref EventInstanceInfo ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public unsafe partial uint TraceEventInstance(ulong TraceHandle, ref EventInstanceHeader EventTrace, EventInstanceInfo* InstInfo, EventInstanceInfo* ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public unsafe partial uint TraceEventInstance(ulong TraceHandle, ref EventInstanceHeader EventTrace, EventInstanceInfo* InstInfo, ref EventInstanceInfo ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public unsafe partial uint TraceEventInstance(ulong TraceHandle, ref EventInstanceHeader EventTrace, ref EventInstanceInfo InstInfo, EventInstanceInfo* ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceEventInstance")] + public partial uint TraceEventInstance(ulong TraceHandle, ref EventInstanceHeader EventTrace, ref EventInstanceInfo InstInfo, ref EventInstanceInfo ParentInstInfo); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, char* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref char MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, char* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref char MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public unsafe partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsW")] + public partial uint RegisterTraceGuidsW(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, void* RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, Guid* ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, byte* MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, ref byte MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, byte* MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, ref byte MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public unsafe partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RegisterTraceGuidsA")] + public partial uint RegisterTraceGuidsA(PfnWmidprequest RequestAddress, ref T0 RequestContext, ref Guid ControlGuid, uint GuidCount, ref TraceGuidRegistration TraceGuidReg, string MofImagePath, string MofResourceName, ref ulong RegistrationHandle) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2078, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuids")] + public unsafe partial uint EnumerateTraceGuids(TraceGuidProperties** GuidPropertiesArray, uint PropertyArrayCount, uint* GuidCount); + + /// To be documented. + [NativeName("Src", "Line 2078, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuids")] + public unsafe partial uint EnumerateTraceGuids(TraceGuidProperties** GuidPropertiesArray, uint PropertyArrayCount, ref uint GuidCount); + + /// To be documented. + [NativeName("Src", "Line 2078, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuids")] + public unsafe partial uint EnumerateTraceGuids(ref TraceGuidProperties* GuidPropertiesArray, uint PropertyArrayCount, uint* GuidCount); + + /// To be documented. + [NativeName("Src", "Line 2078, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "EnumerateTraceGuids")] + public unsafe partial uint EnumerateTraceGuids(ref TraceGuidProperties* GuidPropertiesArray, uint PropertyArrayCount, ref uint GuidCount); + + /// To be documented. + [NativeName("Src", "Line 2094, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "UnregisterTraceGuids")] + public partial uint UnregisterTraceGuids(ulong RegistrationHandle); + + /// To be documented. + [NativeName("Src", "Line 2101, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "GetTraceLoggerHandle")] + public unsafe partial ulong GetTraceLoggerHandle(void* Buffer); + + /// To be documented. + [NativeName("Src", "Line 2101, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "GetTraceLoggerHandle")] + public partial ulong GetTraceLoggerHandle(ref T0 Buffer) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2108, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "GetTraceEnableLevel")] + public partial byte GetTraceEnableLevel(ulong TraceHandle); + + /// To be documented. + [NativeName("Src", "Line 2115, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "GetTraceEnableFlags")] + public partial uint GetTraceEnableFlags(ulong TraceHandle); + + /// To be documented. + [NativeName("Src", "Line 2140, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "OpenTraceW")] + public unsafe partial ulong OpenTraceW(EventTraceLogfilew* Logfile); + + /// To be documented. + [NativeName("Src", "Line 2140, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "OpenTraceW")] + public partial ulong OpenTraceW(ref EventTraceLogfilew Logfile); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public unsafe partial uint ProcessTrace(ulong* HandleArray, uint HandleCount, Filetime* StartTime, Filetime* EndTime); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public unsafe partial uint ProcessTrace(ulong* HandleArray, uint HandleCount, Filetime* StartTime, ref Filetime EndTime); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public unsafe partial uint ProcessTrace(ulong* HandleArray, uint HandleCount, ref Filetime StartTime, Filetime* EndTime); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public unsafe partial uint ProcessTrace(ulong* HandleArray, uint HandleCount, ref Filetime StartTime, ref Filetime EndTime); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public unsafe partial uint ProcessTrace(ref ulong HandleArray, uint HandleCount, Filetime* StartTime, Filetime* EndTime); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public unsafe partial uint ProcessTrace(ref ulong HandleArray, uint HandleCount, Filetime* StartTime, ref Filetime EndTime); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public unsafe partial uint ProcessTrace(ref ulong HandleArray, uint HandleCount, ref Filetime StartTime, Filetime* EndTime); + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "ProcessTrace")] + public partial uint ProcessTrace(ref ulong HandleArray, uint HandleCount, ref Filetime StartTime, ref Filetime EndTime); + + /// To be documented. + [NativeName("Src", "Line 2159, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "CloseTrace")] + public partial uint CloseTrace(ulong TraceHandle); + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public unsafe partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, void* InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, uint* ReturnLength); + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public unsafe partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, void* InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, ref uint ReturnLength); + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public unsafe partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, void* InBuffer, uint InBufferSize, ref T0 OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public unsafe partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, void* InBuffer, uint InBufferSize, ref T0 OutBuffer, uint OutBufferSize, ref uint ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public unsafe partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, ref T0 InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public unsafe partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, ref T0 InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, ref uint ReturnLength) where T0 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public unsafe partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, ref T0 InBuffer, uint InBufferSize, ref T1 OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged where T1 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "QueryTraceProcessingHandle")] + public partial uint QueryTraceProcessingHandle(ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, ref T0 InBuffer, uint InBufferSize, ref T1 OutBuffer, uint OutBufferSize, ref uint ReturnLength) where T0 : unmanaged where T1 : unmanaged; + + /// To be documented. + [NativeName("Src", "Line 2223, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "OpenTraceA")] + public unsafe partial ulong OpenTraceA(EventTraceLogfilea* Logfile); + + /// To be documented. + [NativeName("Src", "Line 2223, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "OpenTraceA")] + public partial ulong OpenTraceA(ref EventTraceLogfilea Logfile); + + /// To be documented. + [NativeName("Src", "Line 2230, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "SetTraceCallback")] + public unsafe partial uint SetTraceCallback(Guid* pGuid, PfnPeventCallback EventCallback); + + /// To be documented. + [NativeName("Src", "Line 2230, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "SetTraceCallback")] + public partial uint SetTraceCallback(ref Guid pGuid, PfnPeventCallback EventCallback); + + /// To be documented. + [NativeName("Src", "Line 2238, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RemoveTraceCallback")] + public unsafe partial uint RemoveTraceCallback(Guid* pGuid); + + /// To be documented. + [NativeName("Src", "Line 2238, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "RemoveTraceCallback")] + public partial uint RemoveTraceCallback(ref Guid pGuid); + + /// To be documented. + [NativeName("Src", "Line 2255, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessage")] + public unsafe partial uint TraceMessage(ulong LoggerHandle, uint MessageFlags, Guid* MessageGuid, ushort MessageNumber); + + /// To be documented. + [NativeName("Src", "Line 2255, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessage")] + public partial uint TraceMessage(ulong LoggerHandle, uint MessageFlags, ref Guid MessageGuid, ushort MessageNumber); + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessageVa")] + public unsafe partial uint TraceMessageVa(ulong LoggerHandle, uint MessageFlags, Guid* MessageGuid, ushort MessageNumber, byte* MessageArgList); + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessageVa")] + public unsafe partial uint TraceMessageVa(ulong LoggerHandle, uint MessageFlags, Guid* MessageGuid, ushort MessageNumber, ref byte MessageArgList); + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessageVa")] + public unsafe partial uint TraceMessageVa(ulong LoggerHandle, uint MessageFlags, Guid* MessageGuid, ushort MessageNumber, string MessageArgList); + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessageVa")] + public unsafe partial uint TraceMessageVa(ulong LoggerHandle, uint MessageFlags, ref Guid MessageGuid, ushort MessageNumber, byte* MessageArgList); + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessageVa")] + public partial uint TraceMessageVa(ulong LoggerHandle, uint MessageFlags, ref Guid MessageGuid, ushort MessageNumber, ref byte MessageArgList); + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + [NativeApi(EntryPoint = "TraceMessageVa")] + public partial uint TraceMessageVa(ulong LoggerHandle, uint MessageFlags, ref Guid MessageGuid, ushort MessageNumber, string MessageArgList); + + + public Windows(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Core/Silk.NET.Core.Win32Extras/WindowsOverloads.gen.cs b/src/Core/Silk.NET.Core.Win32Extras/WindowsOverloads.gen.cs new file mode 100644 index 0000000000..d3bf91ab01 --- /dev/null +++ b/src/Core/Silk.NET.Core.Win32Extras/WindowsOverloads.gen.cs @@ -0,0 +1,3245 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Core.Win32Extras +{ + public static class WindowsOverloads + { + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, ulong* TraceHandle, char* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, ulong* TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, ulong* TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, ulong* TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, Span TraceHandle, char* InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceW(ref TraceHandle.GetPinnableReference(), InstanceName, Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, Span TraceHandle, char* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceW(ref TraceHandle.GetPinnableReference(), InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, Span TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceW(ref TraceHandle.GetPinnableReference(), ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, Span TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceW(ref TraceHandle.GetPinnableReference(), ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, Span TraceHandle, string InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceW(ref TraceHandle.GetPinnableReference(), InstanceName, Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1260, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceW(this Windows thisApi, Span TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceW(ref TraceHandle.GetPinnableReference(), InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, ulong* TraceHandle, byte* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, ulong* TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, ulong* TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, ulong* TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, Span TraceHandle, byte* InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceA(ref TraceHandle.GetPinnableReference(), InstanceName, Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, Span TraceHandle, byte* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceA(ref TraceHandle.GetPinnableReference(), InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, Span TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceA(ref TraceHandle.GetPinnableReference(), ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, Span TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceA(ref TraceHandle.GetPinnableReference(), ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, Span TraceHandle, string InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StartTraceA(ref TraceHandle.GetPinnableReference(), InstanceName, Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1275, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StartTraceA(this Windows thisApi, Span TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StartTraceA(ref TraceHandle.GetPinnableReference(), InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceW(this Windows thisApi, ulong TraceHandle, char* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StopTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StopTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StopTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1302, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceW(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StopTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceA(this Windows thisApi, ulong TraceHandle, byte* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StopTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.StopTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StopTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1317, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint StopTraceA(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.StopTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceW(this Windows thisApi, ulong TraceHandle, char* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.QueryTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.QueryTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.QueryTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1343, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceW(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.QueryTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceA(this Windows thisApi, ulong TraceHandle, byte* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.QueryTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.QueryTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.QueryTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1358, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceA(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.QueryTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceW(this Windows thisApi, ulong TraceHandle, char* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.UpdateTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.UpdateTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.UpdateTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1378, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceW(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.UpdateTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceA(this Windows thisApi, ulong TraceHandle, byte* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.UpdateTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.UpdateTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.UpdateTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1387, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint UpdateTraceA(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.UpdateTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceW(this Windows thisApi, ulong TraceHandle, char* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.FlushTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.FlushTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.FlushTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1415, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceW(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.FlushTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceA(this Windows thisApi, ulong TraceHandle, byte* InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.FlushTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties) + { + // SpanOverloader + return thisApi.FlushTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), Properties); + } + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.FlushTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1432, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint FlushTraceA(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties) + { + // SpanOverloader + return thisApi.FlushTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceW(this Windows thisApi, ulong TraceHandle, char* InstanceName, Span Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference(), ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), Properties, ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceW(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceW(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference(), ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1451, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceW(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceW(TraceHandle, InstanceName, ref Properties.GetPinnableReference(), ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceA(this Windows thisApi, ulong TraceHandle, byte* InstanceName, Span Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference(), ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, EventTraceProperties* Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), Properties, ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceA(this Windows thisApi, ulong TraceHandle, Span InstanceName, Span Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceA(TraceHandle, ref InstanceName.GetPinnableReference(), ref Properties.GetPinnableReference(), ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1467, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ControlTraceA(this Windows thisApi, ulong TraceHandle, string InstanceName, Span Properties, uint ControlCode) + { + // SpanOverloader + return thisApi.ControlTraceA(TraceHandle, InstanceName, ref Properties.GetPinnableReference(), ControlCode); + } + + /// To be documented. + [NativeName("Src", "Line 1485, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryAllTracesW(this Windows thisApi, EventTraceProperties** PropertyArray, uint PropertyArrayCount, Span LoggerCount) + { + // SpanOverloader + return thisApi.QueryAllTracesW(PropertyArray, PropertyArrayCount, ref LoggerCount.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1485, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryAllTracesW(this Windows thisApi, ref EventTraceProperties* PropertyArray, uint PropertyArrayCount, Span LoggerCount) + { + // SpanOverloader + return thisApi.QueryAllTracesW(ref PropertyArray, PropertyArrayCount, ref LoggerCount.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1494, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryAllTracesA(this Windows thisApi, EventTraceProperties** PropertyArray, uint PropertyArrayCount, Span LoggerCount) + { + // SpanOverloader + return thisApi.QueryAllTracesA(PropertyArray, PropertyArrayCount, ref LoggerCount.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1494, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryAllTracesA(this Windows thisApi, ref EventTraceProperties* PropertyArray, uint PropertyArrayCount, Span LoggerCount) + { + // SpanOverloader + return thisApi.QueryAllTracesA(ref PropertyArray, PropertyArrayCount, ref LoggerCount.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1513, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTrace(this Windows thisApi, uint Enable, uint EnableFlag, uint EnableLevel, Span ControlGuid, ulong TraceHandle) + { + // SpanOverloader + return thisApi.EnableTrace(Enable, EnableFlag, EnableLevel, ref ControlGuid.GetPinnableReference(), TraceHandle); + } + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx(this Windows thisApi, Guid* ProviderId, Guid* SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, Span EnableFilterDesc) + { + // SpanOverloader + return thisApi.EnableTraceEx(ProviderId, SourceId, TraceHandle, IsEnabled, Level, MatchAnyKeyword, MatchAllKeyword, EnableProperty, ref EnableFilterDesc.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx(this Windows thisApi, Guid* ProviderId, Span SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, EventFilterDescriptor* EnableFilterDesc) + { + // SpanOverloader + return thisApi.EnableTraceEx(ProviderId, ref SourceId.GetPinnableReference(), TraceHandle, IsEnabled, Level, MatchAnyKeyword, MatchAllKeyword, EnableProperty, EnableFilterDesc); + } + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx(this Windows thisApi, Guid* ProviderId, Span SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, Span EnableFilterDesc) + { + // SpanOverloader + return thisApi.EnableTraceEx(ProviderId, ref SourceId.GetPinnableReference(), TraceHandle, IsEnabled, Level, MatchAnyKeyword, MatchAllKeyword, EnableProperty, ref EnableFilterDesc.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx(this Windows thisApi, Span ProviderId, Guid* SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, EventFilterDescriptor* EnableFilterDesc) + { + // SpanOverloader + return thisApi.EnableTraceEx(ref ProviderId.GetPinnableReference(), SourceId, TraceHandle, IsEnabled, Level, MatchAnyKeyword, MatchAllKeyword, EnableProperty, EnableFilterDesc); + } + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx(this Windows thisApi, Span ProviderId, Guid* SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, Span EnableFilterDesc) + { + // SpanOverloader + return thisApi.EnableTraceEx(ref ProviderId.GetPinnableReference(), SourceId, TraceHandle, IsEnabled, Level, MatchAnyKeyword, MatchAllKeyword, EnableProperty, ref EnableFilterDesc.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx(this Windows thisApi, Span ProviderId, Span SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, EventFilterDescriptor* EnableFilterDesc) + { + // SpanOverloader + return thisApi.EnableTraceEx(ref ProviderId.GetPinnableReference(), ref SourceId.GetPinnableReference(), TraceHandle, IsEnabled, Level, MatchAnyKeyword, MatchAllKeyword, EnableProperty, EnableFilterDesc); + } + + /// To be documented. + [NativeName("Src", "Line 1535, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx(this Windows thisApi, Span ProviderId, Span SourceId, ulong TraceHandle, uint IsEnabled, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint EnableProperty, Span EnableFilterDesc) + { + // SpanOverloader + return thisApi.EnableTraceEx(ref ProviderId.GetPinnableReference(), ref SourceId.GetPinnableReference(), TraceHandle, IsEnabled, Level, MatchAnyKeyword, MatchAllKeyword, EnableProperty, ref EnableFilterDesc.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1582, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx2(this Windows thisApi, ulong TraceHandle, Guid* ProviderId, uint ControlCode, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint Timeout, Span EnableParameters) + { + // SpanOverloader + return thisApi.EnableTraceEx2(TraceHandle, ProviderId, ControlCode, Level, MatchAnyKeyword, MatchAllKeyword, Timeout, ref EnableParameters.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1582, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx2(this Windows thisApi, ulong TraceHandle, Span ProviderId, uint ControlCode, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint Timeout, EnableTraceParameters* EnableParameters) + { + // SpanOverloader + return thisApi.EnableTraceEx2(TraceHandle, ref ProviderId.GetPinnableReference(), ControlCode, Level, MatchAnyKeyword, MatchAllKeyword, Timeout, EnableParameters); + } + + /// To be documented. + [NativeName("Src", "Line 1582, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnableTraceEx2(this Windows thisApi, ulong TraceHandle, Span ProviderId, uint ControlCode, byte Level, ulong MatchAnyKeyword, ulong MatchAllKeyword, uint Timeout, Span EnableParameters) + { + // SpanOverloader + return thisApi.EnableTraceEx2(TraceHandle, ref ProviderId.GetPinnableReference(), ControlCode, Level, MatchAnyKeyword, MatchAllKeyword, Timeout, ref EnableParameters.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuidsEx(this Windows thisApi, TraceQueryInfoClass TraceQueryInfoClass, void* InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, Span ReturnLength) + { + // SpanOverloader + return thisApi.EnumerateTraceGuidsEx(TraceQueryInfoClass, InBuffer, InBufferSize, OutBuffer, OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuidsEx(this Windows thisApi, TraceQueryInfoClass TraceQueryInfoClass, void* InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.EnumerateTraceGuidsEx(TraceQueryInfoClass, InBuffer, InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ReturnLength); + } + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuidsEx(this Windows thisApi, TraceQueryInfoClass TraceQueryInfoClass, void* InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, Span ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.EnumerateTraceGuidsEx(TraceQueryInfoClass, InBuffer, InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuidsEx(this Windows thisApi, TraceQueryInfoClass TraceQueryInfoClass, Span InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.EnumerateTraceGuidsEx(TraceQueryInfoClass, ref InBuffer.GetPinnableReference(), InBufferSize, OutBuffer, OutBufferSize, ReturnLength); + } + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuidsEx(this Windows thisApi, TraceQueryInfoClass TraceQueryInfoClass, Span InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, Span ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.EnumerateTraceGuidsEx(TraceQueryInfoClass, ref InBuffer.GetPinnableReference(), InBufferSize, OutBuffer, OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuidsEx(this Windows thisApi, TraceQueryInfoClass TraceQueryInfoClass, Span InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.EnumerateTraceGuidsEx(TraceQueryInfoClass, ref InBuffer.GetPinnableReference(), InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ReturnLength); + } + + /// To be documented. + [NativeName("Src", "Line 1897, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuidsEx(this Windows thisApi, TraceQueryInfoClass TraceQueryInfoClass, Span InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, Span ReturnLength) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.EnumerateTraceGuidsEx(TraceQueryInfoClass, ref InBuffer.GetPinnableReference(), InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1943, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceSetInformation(this Windows thisApi, ulong SessionHandle, TraceQueryInfoClass InformationClass, Span TraceInformation, uint InformationLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.TraceSetInformation(SessionHandle, InformationClass, ref TraceInformation.GetPinnableReference(), InformationLength); + } + + /// To be documented. + [NativeName("Src", "Line 1955, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceQueryInformation(this Windows thisApi, ulong SessionHandle, TraceQueryInfoClass InformationClass, void* TraceInformation, uint InformationLength, Span ReturnLength) + { + // SpanOverloader + return thisApi.TraceQueryInformation(SessionHandle, InformationClass, TraceInformation, InformationLength, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1955, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceQueryInformation(this Windows thisApi, ulong SessionHandle, TraceQueryInfoClass InformationClass, Span TraceInformation, uint InformationLength, uint* ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.TraceQueryInformation(SessionHandle, InformationClass, ref TraceInformation.GetPinnableReference(), InformationLength, ReturnLength); + } + + /// To be documented. + [NativeName("Src", "Line 1955, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceQueryInformation(this Windows thisApi, ulong SessionHandle, TraceQueryInfoClass InformationClass, Span TraceInformation, uint InformationLength, Span ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.TraceQueryInformation(SessionHandle, InformationClass, ref TraceInformation.GetPinnableReference(), InformationLength, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1977, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint CreateTraceInstanceId(this Windows thisApi, void* RegHandle, Span InstInfo) + { + // SpanOverloader + return thisApi.CreateTraceInstanceId(RegHandle, ref InstInfo.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1977, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint CreateTraceInstanceId(this Windows thisApi, Span RegHandle, EventInstanceInfo* InstInfo) where T0 : unmanaged + { + // SpanOverloader + return thisApi.CreateTraceInstanceId(ref RegHandle.GetPinnableReference(), InstInfo); + } + + /// To be documented. + [NativeName("Src", "Line 1977, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint CreateTraceInstanceId(this Windows thisApi, Span RegHandle, Span InstInfo) where T0 : unmanaged + { + // SpanOverloader + return thisApi.CreateTraceInstanceId(ref RegHandle.GetPinnableReference(), ref InstInfo.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1995, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEvent(this Windows thisApi, ulong TraceHandle, Span EventTrace) + { + // SpanOverloader + return thisApi.TraceEvent(TraceHandle, ref EventTrace.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEventInstance(this Windows thisApi, ulong TraceHandle, EventInstanceHeader* EventTrace, EventInstanceInfo* InstInfo, Span ParentInstInfo) + { + // SpanOverloader + return thisApi.TraceEventInstance(TraceHandle, EventTrace, InstInfo, ref ParentInstInfo.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEventInstance(this Windows thisApi, ulong TraceHandle, EventInstanceHeader* EventTrace, Span InstInfo, EventInstanceInfo* ParentInstInfo) + { + // SpanOverloader + return thisApi.TraceEventInstance(TraceHandle, EventTrace, ref InstInfo.GetPinnableReference(), ParentInstInfo); + } + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEventInstance(this Windows thisApi, ulong TraceHandle, EventInstanceHeader* EventTrace, Span InstInfo, Span ParentInstInfo) + { + // SpanOverloader + return thisApi.TraceEventInstance(TraceHandle, EventTrace, ref InstInfo.GetPinnableReference(), ref ParentInstInfo.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEventInstance(this Windows thisApi, ulong TraceHandle, Span EventTrace, EventInstanceInfo* InstInfo, EventInstanceInfo* ParentInstInfo) + { + // SpanOverloader + return thisApi.TraceEventInstance(TraceHandle, ref EventTrace.GetPinnableReference(), InstInfo, ParentInstInfo); + } + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEventInstance(this Windows thisApi, ulong TraceHandle, Span EventTrace, EventInstanceInfo* InstInfo, Span ParentInstInfo) + { + // SpanOverloader + return thisApi.TraceEventInstance(TraceHandle, ref EventTrace.GetPinnableReference(), InstInfo, ref ParentInstInfo.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEventInstance(this Windows thisApi, ulong TraceHandle, Span EventTrace, Span InstInfo, EventInstanceInfo* ParentInstInfo) + { + // SpanOverloader + return thisApi.TraceEventInstance(TraceHandle, ref EventTrace.GetPinnableReference(), ref InstInfo.GetPinnableReference(), ParentInstInfo); + } + + /// To be documented. + [NativeName("Src", "Line 2009, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceEventInstance(this Windows thisApi, ulong TraceHandle, Span EventTrace, Span InstInfo, Span ParentInstInfo) + { + // SpanOverloader + return thisApi.TraceEventInstance(TraceHandle, ref EventTrace.GetPinnableReference(), ref InstInfo.GetPinnableReference(), ref ParentInstInfo.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, char* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, char* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2043, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsW(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsW(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, void* RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, RequestContext, ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Guid* ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ControlGuid, GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, TraceGuidRegistration* TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, TraceGuidReg, MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, byte* MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, Span MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), ref MofImagePath.GetPinnableReference(), MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, byte* MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, Span MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, ref MofResourceName.GetPinnableReference(), ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, ulong* RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, RegistrationHandle); + } + + /// To be documented. + [NativeName("Src", "Line 2063, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RegisterTraceGuidsA(this Windows thisApi, PfnWmidprequest RequestAddress, Span RequestContext, Span ControlGuid, uint GuidCount, Span TraceGuidReg, string MofImagePath, string MofResourceName, Span RegistrationHandle) where T0 : unmanaged + { + // SpanOverloader + return thisApi.RegisterTraceGuidsA(RequestAddress, ref RequestContext.GetPinnableReference(), ref ControlGuid.GetPinnableReference(), GuidCount, ref TraceGuidReg.GetPinnableReference(), MofImagePath, MofResourceName, ref RegistrationHandle.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2078, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuids(this Windows thisApi, TraceGuidProperties** GuidPropertiesArray, uint PropertyArrayCount, Span GuidCount) + { + // SpanOverloader + return thisApi.EnumerateTraceGuids(GuidPropertiesArray, PropertyArrayCount, ref GuidCount.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2078, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint EnumerateTraceGuids(this Windows thisApi, ref TraceGuidProperties* GuidPropertiesArray, uint PropertyArrayCount, Span GuidCount) + { + // SpanOverloader + return thisApi.EnumerateTraceGuids(ref GuidPropertiesArray, PropertyArrayCount, ref GuidCount.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2101, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe ulong GetTraceLoggerHandle(this Windows thisApi, Span Buffer) where T0 : unmanaged + { + // SpanOverloader + return thisApi.GetTraceLoggerHandle(ref Buffer.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2140, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe ulong OpenTraceW(this Windows thisApi, Span Logfile) + { + // SpanOverloader + return thisApi.OpenTraceW(ref Logfile.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ProcessTrace(this Windows thisApi, ulong* HandleArray, uint HandleCount, Filetime* StartTime, Span EndTime) + { + // SpanOverloader + return thisApi.ProcessTrace(HandleArray, HandleCount, StartTime, ref EndTime.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ProcessTrace(this Windows thisApi, ulong* HandleArray, uint HandleCount, Span StartTime, Filetime* EndTime) + { + // SpanOverloader + return thisApi.ProcessTrace(HandleArray, HandleCount, ref StartTime.GetPinnableReference(), EndTime); + } + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ProcessTrace(this Windows thisApi, ulong* HandleArray, uint HandleCount, Span StartTime, Span EndTime) + { + // SpanOverloader + return thisApi.ProcessTrace(HandleArray, HandleCount, ref StartTime.GetPinnableReference(), ref EndTime.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ProcessTrace(this Windows thisApi, Span HandleArray, uint HandleCount, Filetime* StartTime, Filetime* EndTime) + { + // SpanOverloader + return thisApi.ProcessTrace(ref HandleArray.GetPinnableReference(), HandleCount, StartTime, EndTime); + } + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ProcessTrace(this Windows thisApi, Span HandleArray, uint HandleCount, Filetime* StartTime, Span EndTime) + { + // SpanOverloader + return thisApi.ProcessTrace(ref HandleArray.GetPinnableReference(), HandleCount, StartTime, ref EndTime.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ProcessTrace(this Windows thisApi, Span HandleArray, uint HandleCount, Span StartTime, Filetime* EndTime) + { + // SpanOverloader + return thisApi.ProcessTrace(ref HandleArray.GetPinnableReference(), HandleCount, ref StartTime.GetPinnableReference(), EndTime); + } + + /// To be documented. + [NativeName("Src", "Line 2148, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint ProcessTrace(this Windows thisApi, Span HandleArray, uint HandleCount, Span StartTime, Span EndTime) + { + // SpanOverloader + return thisApi.ProcessTrace(ref HandleArray.GetPinnableReference(), HandleCount, ref StartTime.GetPinnableReference(), ref EndTime.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceProcessingHandle(this Windows thisApi, ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, void* InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, Span ReturnLength) + { + // SpanOverloader + return thisApi.QueryTraceProcessingHandle(ProcessingHandle, InformationClass, InBuffer, InBufferSize, OutBuffer, OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceProcessingHandle(this Windows thisApi, ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, void* InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.QueryTraceProcessingHandle(ProcessingHandle, InformationClass, InBuffer, InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ReturnLength); + } + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceProcessingHandle(this Windows thisApi, ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, void* InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, Span ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.QueryTraceProcessingHandle(ProcessingHandle, InformationClass, InBuffer, InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceProcessingHandle(this Windows thisApi, ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, Span InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.QueryTraceProcessingHandle(ProcessingHandle, InformationClass, ref InBuffer.GetPinnableReference(), InBufferSize, OutBuffer, OutBufferSize, ReturnLength); + } + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceProcessingHandle(this Windows thisApi, ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, Span InBuffer, uint InBufferSize, void* OutBuffer, uint OutBufferSize, Span ReturnLength) where T0 : unmanaged + { + // SpanOverloader + return thisApi.QueryTraceProcessingHandle(ProcessingHandle, InformationClass, ref InBuffer.GetPinnableReference(), InBufferSize, OutBuffer, OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceProcessingHandle(this Windows thisApi, ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, Span InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, uint* ReturnLength) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.QueryTraceProcessingHandle(ProcessingHandle, InformationClass, ref InBuffer.GetPinnableReference(), InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ReturnLength); + } + + /// To be documented. + [NativeName("Src", "Line 2193, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint QueryTraceProcessingHandle(this Windows thisApi, ulong ProcessingHandle, EtwProcessHandleInfoType InformationClass, Span InBuffer, uint InBufferSize, Span OutBuffer, uint OutBufferSize, Span ReturnLength) where T0 : unmanaged where T1 : unmanaged + { + // SpanOverloader + return thisApi.QueryTraceProcessingHandle(ProcessingHandle, InformationClass, ref InBuffer.GetPinnableReference(), InBufferSize, ref OutBuffer.GetPinnableReference(), OutBufferSize, ref ReturnLength.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2223, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe ulong OpenTraceA(this Windows thisApi, Span Logfile) + { + // SpanOverloader + return thisApi.OpenTraceA(ref Logfile.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2230, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint SetTraceCallback(this Windows thisApi, Span pGuid, PfnPeventCallback EventCallback) + { + // SpanOverloader + return thisApi.SetTraceCallback(ref pGuid.GetPinnableReference(), EventCallback); + } + + /// To be documented. + [NativeName("Src", "Line 2238, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint RemoveTraceCallback(this Windows thisApi, Span pGuid) + { + // SpanOverloader + return thisApi.RemoveTraceCallback(ref pGuid.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2255, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceMessage(this Windows thisApi, ulong LoggerHandle, uint MessageFlags, Span MessageGuid, ushort MessageNumber) + { + // SpanOverloader + return thisApi.TraceMessage(LoggerHandle, MessageFlags, ref MessageGuid.GetPinnableReference(), MessageNumber); + } + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceMessageVa(this Windows thisApi, ulong LoggerHandle, uint MessageFlags, Guid* MessageGuid, ushort MessageNumber, Span MessageArgList) + { + // SpanOverloader + return thisApi.TraceMessageVa(LoggerHandle, MessageFlags, MessageGuid, MessageNumber, ref MessageArgList.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceMessageVa(this Windows thisApi, ulong LoggerHandle, uint MessageFlags, Span MessageGuid, ushort MessageNumber, byte* MessageArgList) + { + // SpanOverloader + return thisApi.TraceMessageVa(LoggerHandle, MessageFlags, ref MessageGuid.GetPinnableReference(), MessageNumber, MessageArgList); + } + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceMessageVa(this Windows thisApi, ulong LoggerHandle, uint MessageFlags, Span MessageGuid, ushort MessageNumber, Span MessageArgList) + { + // SpanOverloader + return thisApi.TraceMessageVa(LoggerHandle, MessageFlags, ref MessageGuid.GetPinnableReference(), MessageNumber, ref MessageArgList.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2271, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\evntrace.h")] + public static unsafe uint TraceMessageVa(this Windows thisApi, ulong LoggerHandle, uint MessageFlags, Span MessageGuid, ushort MessageNumber, string MessageArgList) + { + // SpanOverloader + return thisApi.TraceMessageVa(LoggerHandle, MessageFlags, ref MessageGuid.GetPinnableReference(), MessageNumber, MessageArgList); + } + + } +} + diff --git a/src/Core/Silk.NET.Core/Loader/DefaultPathResolver.cs b/src/Core/Silk.NET.Core/Loader/DefaultPathResolver.cs index 87d2cc4f05..fed456cbf0 100644 --- a/src/Core/Silk.NET.Core/Loader/DefaultPathResolver.cs +++ b/src/Core/Silk.NET.Core/Loader/DefaultPathResolver.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; @@ -41,6 +42,17 @@ private IEnumerable CoreEnumeratePossibleLibraryLoadTargets(string name, yield return appLocalNativePath; yield return depsResolvedPath; } + + var mainModFname = Process.GetCurrentProcess().MainModule?.FileName; + if (AppContext.BaseDirectory != Process.GetCurrentProcess().MainModule?.FileName && + mainModFname is not null) + { + mainModFname = Path.GetDirectoryName(mainModFname); + if (mainModFname is not null) + { + yield return Path.Combine(mainModFname, name); + } + } if (!noLinuxTraverse) { diff --git a/src/Core/Silk.NET.Core/win32extras.h b/src/Core/Silk.NET.Core/win32extras.h new file mode 100644 index 0000000000..617e3b2e83 --- /dev/null +++ b/src/Core/Silk.NET.Core/win32extras.h @@ -0,0 +1,5 @@ +#include +#include +#include +#include +#include \ No newline at end of file diff --git a/src/Microsoft/Silk.NET.DXGI/Silk.NET.DXGI.csproj b/src/Microsoft/Silk.NET.DXGI/Silk.NET.DXGI.csproj index 26822e4a05..9409b0f132 100644 --- a/src/Microsoft/Silk.NET.DXGI/Silk.NET.DXGI.csproj +++ b/src/Microsoft/Silk.NET.DXGI/Silk.NET.DXGI.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 true preview diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc.gen.cs index 8fe223ba52..7fdd823b7f 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.DXGI { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "DXGI_ADAPTER_DESC")] public unsafe partial struct AdapterDesc { diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc1.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc1.gen.cs index 1251dfa5a1..2631da8e6c 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc1.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.DXGI { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "DXGI_ADAPTER_DESC1")] public unsafe partial struct AdapterDesc1 { diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc2.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc2.gen.cs index 969255add3..d6114b2c14 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc2.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc2.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.DXGI { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "DXGI_ADAPTER_DESC2")] public unsafe partial struct AdapterDesc2 { diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc3.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc3.gen.cs index 282dad6e49..bcdcde754b 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc3.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/AdapterDesc3.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.DXGI { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "DXGI_ADAPTER_DESC3")] public unsafe partial struct AdapterDesc3 { diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/GammaControl.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/GammaControl.gen.cs index 034cdd6497..efa40b8891 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/GammaControl.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/GammaControl.gen.cs @@ -1095,7 +1095,7 @@ public ref Rgb this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 1025); #endif diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs index a66757aa28..659d4f1d54 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.DXGI { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "DXGI_OUTPUT_DESC")] public unsafe partial struct OutputDesc { diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs index ad64908eeb..401f90477e 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.DXGI { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "DXGI_OUTPUT_DESC1")] public unsafe partial struct OutputDesc1 { diff --git a/src/Microsoft/Silk.NET.DXVA/DXVA.cs b/src/Microsoft/Silk.NET.DXVA/DXVA.cs new file mode 100644 index 0000000000..b43146ae4e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/DXVA.cs @@ -0,0 +1,37 @@ +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; +using static Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public partial class DXVA + { + public static DXVA GetApi() + { + return new(CreateDefaultContext(new DXVA2LibraryNameContainer().GetLibraryName())); + } + + public bool TryGetExtension(out T ext) + where T:NativeExtension + { + ext = IsExtensionPresent(GetExtensionAttribute(typeof(T)).Name) + ? (T) Activator.CreateInstance(typeof(T), Context) + : null; + return ext is not null; + } + + public override bool IsExtensionPresent(string extension) + { + throw new NotImplementedException(); + } + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/DXVA.gen.cs b/src/Microsoft/Silk.NET.DXVA/DXVA.gen.cs new file mode 100644 index 0000000000..c06106ed96 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/DXVA.gen.cs @@ -0,0 +1,253 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe partial class DXVA : NativeAPI + { + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_QUERYORREPLYFUNCFLAG_DECODER_PROBE_QUERY")] + public const int QueryorreplyfuncflagDecoderProbeQuery = unchecked((int) 0xFFFFF1); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_QUERYORREPLYFUNCFLAG_DECODER_LOCK_QUERY")] + public const int QueryorreplyfuncflagDecoderLockQuery = unchecked((int) 0xFFFFF5); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_QUERYORREPLYFUNCFLAG_ACCEL_PROBE_OK_COPY")] + public const int QueryorreplyfuncflagAccelProbeOKCopy = unchecked((int) 0xFFFFF8); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_QUERYORREPLYFUNCFLAG_ACCEL_PROBE_OK_PLUS")] + public const int QueryorreplyfuncflagAccelProbeOKPlus = unchecked((int) 0xFFFFF9); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_QUERYORREPLYFUNCFLAG_ACCEL_LOCK_OK_COPY")] + public const int QueryorreplyfuncflagAccelLockOKCopy = unchecked((int) 0xFFFFFC); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_QUERYORREPLYFUNCFLAG_ACCEL_PROBE_FALSE_PLUS")] + public const int QueryorreplyfuncflagAccelProbeFalsePlus = unchecked((int) 0xFFFFFB); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_QUERYORREPLYFUNCFLAG_ACCEL_LOCK_FALSE_PLUS")] + public const int QueryorreplyfuncflagAccelLockFalsePlus = unchecked((int) 0xFFFFFF); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_PICTURE_DECODE_BUFFER")] + public const int PictureDecodeBuffer = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_MACROBLOCK_CONTROL_BUFFER")] + public const int MacroblockControlBuffer = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_RESIDUAL_DIFFERENCE_BUFFER")] + public const int ResidualDifferenceBuffer = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_DEBLOCKING_CONTROL_BUFFER")] + public const int DeblockingControlBuffer = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_INVERSE_QUANTIZATION_MATRIX_BUFFER")] + public const int InverseQuantizationMatrixBuffer = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_SLICE_CONTROL_BUFFER")] + public const int SliceControlBuffer = unchecked((int) 0x6); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_BITSTREAM_DATA_BUFFER")] + public const int BitstreamDataBuffer = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_AYUV_BUFFER")] + public const int AyuvBuffer = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_IA44_SURFACE_BUFFER")] + public const int IA44SurfaceBuffer = unchecked((int) 0x9); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_DPXD_SURFACE_BUFFER")] + public const int DpxdSurfaceBuffer = unchecked((int) 0xA); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_HIGHLIGHT_BUFFER")] + public const int HighlightBuffer = unchecked((int) 0xB); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_DCCMD_SURFACE_BUFFER")] + public const int DccmdSurfaceBuffer = unchecked((int) 0xC); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_ALPHA_BLEND_COMBINATION_BUFFER")] + public const int AlphaBlendCombinationBuffer = unchecked((int) 0xD); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_PICTURE_RESAMPLE_BUFFER")] + public const int PictureResampleBuffer = unchecked((int) 0xE); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_READ_BACK_BUFFER")] + public const int ReadBackBuffer = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_ExtColorData_ShiftBase")] + public const int ExtColorDataShiftBase = unchecked((int) 0x8); + [NativeName("Type", "int")] + [NativeName("Name", "MAX_DEINTERLACE_SURFACES")] + public const int MaxDeinterlaceSurfaces = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_DeinterlaceBltFnCode")] + public const int DeinterlaceBltFnCode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_DeinterlaceBltExFnCode")] + public const int DeinterlaceBltExFnCode = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "MAX_DEINTERLACE_DEVICE_GUIDS")] + public const int MaxDeinterlaceDeviceGuids = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_DeinterlaceQueryAvailableModesFnCode")] + public const int DeinterlaceQueryAvailableModesFnCode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_DeinterlaceQueryModeCapsFnCode")] + public const int DeinterlaceQueryModeCapsFnCode = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_ProcAmpControlQueryCapsFnCode")] + public const int ProcAmpControlQueryCapsFnCode = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_ProcAmpControlQueryRangeFnCode")] + public const int ProcAmpControlQueryRangeFnCode = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_ProcAmpControlBltFnCode")] + public const int ProcAmpControlBltFnCode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_COPPGetCertificateLengthFnCode")] + public const int CoppgetCertificateLengthFnCode = unchecked((int) 0x1); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_COPPKeyExchangeFnCode")] + public const int CoppkeyExchangeFnCode = unchecked((int) 0x2); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_COPPSequenceStartFnCode")] + public const int CoppsequenceStartFnCode = unchecked((int) 0x3); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_COPPCommandFnCode")] + public const int CoppcommandFnCode = unchecked((int) 0x4); + [NativeName("Type", "int")] + [NativeName("Name", "COPP_DefaultProtectionLevel")] + public const int CoppDefaultProtectionLevel = unchecked((int) 0x0); + [NativeName("Type", "int")] + [NativeName("Name", "COPP_ImageAspectRatio_EN300294_Mask")] + public const int CoppImageAspectRatioEN300294Mask = unchecked((int) 0x7); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA_COPPQueryStatusFnCode")] + public const int CoppqueryStatusFnCode = unchecked((int) 0x5); + [NativeName("Type", "int")] + [NativeName("Name", "MAX_SUBSTREAMS")] + public const int MaxSubstreams = unchecked((int) 0xF); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA2_DECODE_GET_DRIVER_HANDLE")] + public const int DXVA2DecodeGetDriverHandle = unchecked((int) 0x725); + [NativeName("Type", "int")] + [NativeName("Name", "DXVA2_DECODE_SPECIFY_ENCRYPTED_BLOCKS")] + public const int DXVA2DecodeSpecifyEncryptedBlocks = unchecked((int) 0x724); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(Silk.NET.Direct3D9.IDirect3DDevice9Ex* pD3DDevice, HDContentDesc* pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, IDXVAHDDevice** ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(Silk.NET.Direct3D9.IDirect3DDevice9Ex* pD3DDevice, HDContentDesc* pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice* ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(Silk.NET.Direct3D9.IDirect3DDevice9Ex* pD3DDevice, ref HDContentDesc pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, IDXVAHDDevice** ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(Silk.NET.Direct3D9.IDirect3DDevice9Ex* pD3DDevice, ref HDContentDesc pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice* ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(ref Silk.NET.Direct3D9.IDirect3DDevice9Ex pD3DDevice, HDContentDesc* pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, IDXVAHDDevice** ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(ref Silk.NET.Direct3D9.IDirect3DDevice9Ex pD3DDevice, HDContentDesc* pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice* ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(ref Silk.NET.Direct3D9.IDirect3DDevice9Ex pD3DDevice, ref HDContentDesc pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, IDXVAHDDevice** ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + [NativeApi(EntryPoint = "DXVAHD_CreateDevice")] + public unsafe partial int HDCreateDevice(ref Silk.NET.Direct3D9.IDirect3DDevice9Ex pD3DDevice, ref HDContentDesc pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice* ppDevice); + + /// To be documented. + [NativeName("Src", "Line 1901, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateDirect3DDeviceManager9")] + public unsafe partial int DXVA2CreateDirect3DDeviceManager9(uint* pResetToken, IDirect3DDeviceManager9** ppDeviceManager); + + /// To be documented. + [NativeName("Src", "Line 1901, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateDirect3DDeviceManager9")] + public unsafe partial int DXVA2CreateDirect3DDeviceManager9(uint* pResetToken, ref IDirect3DDeviceManager9* ppDeviceManager); + + /// To be documented. + [NativeName("Src", "Line 1901, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateDirect3DDeviceManager9")] + public unsafe partial int DXVA2CreateDirect3DDeviceManager9(ref uint pResetToken, IDirect3DDeviceManager9** ppDeviceManager); + + /// To be documented. + [NativeName("Src", "Line 1901, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateDirect3DDeviceManager9")] + public unsafe partial int DXVA2CreateDirect3DDeviceManager9(ref uint pResetToken, ref IDirect3DDeviceManager9* ppDeviceManager); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(Silk.NET.Direct3D9.IDirect3DDevice9* pDD, Guid* riid, void** ppService); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(Silk.NET.Direct3D9.IDirect3DDevice9* pDD, Guid* riid, ref void* ppService); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(Silk.NET.Direct3D9.IDirect3DDevice9* pDD, ref Guid riid, void** ppService); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(Silk.NET.Direct3D9.IDirect3DDevice9* pDD, ref Guid riid, ref void* ppService); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(ref Silk.NET.Direct3D9.IDirect3DDevice9 pDD, Guid* riid, void** ppService); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(ref Silk.NET.Direct3D9.IDirect3DDevice9 pDD, Guid* riid, ref void* ppService); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(ref Silk.NET.Direct3D9.IDirect3DDevice9 pDD, ref Guid riid, void** ppService); + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + [NativeApi(EntryPoint = "DXVA2CreateVideoService")] + public unsafe partial int DXVA2CreateVideoService(ref Silk.NET.Direct3D9.IDirect3DDevice9 pDD, ref Guid riid, ref void* ppService); + + + public DXVA(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Microsoft/Silk.NET.DXVA/DXVA2LibraryNameContainer.cs b/src/Microsoft/Silk.NET.DXVA/DXVA2LibraryNameContainer.cs new file mode 100644 index 0000000000..8db56bc359 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/DXVA2LibraryNameContainer.cs @@ -0,0 +1,31 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Silk.NET.Core.Loader; + +namespace Silk.NET.DXVA +{ + /// + /// Contains the library name of DXVA. + /// + internal class DXVA2LibraryNameContainer : SearchPathContainer + { + /// + public override string Linux => "libdxva2.so"; + + /// + public override string MacOS => "libdxva2.dylib"; + + /// + public override string Android => "libdxva2.so"; + + /// + public override string IOS => "__Internal"; + + /// + public override string Windows64 => "dxva2.dll"; + + /// + public override string Windows86 => "dxva2.dll"; + } +} \ No newline at end of file diff --git a/src/Microsoft/Silk.NET.DXVA/DXVAOverloads.gen.cs b/src/Microsoft/Silk.NET.DXVA/DXVAOverloads.gen.cs new file mode 100644 index 0000000000..84a4edecbb --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/DXVAOverloads.gen.cs @@ -0,0 +1,133 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public static class DXVAOverloads + { + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + public static unsafe int HDCreateDevice(this DXVA thisApi, Silk.NET.Direct3D9.IDirect3DDevice9Ex* pD3DDevice, Span pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, IDXVAHDDevice** ppDevice) + { + // SpanOverloader + return thisApi.HDCreateDevice(pD3DDevice, ref pContentDesc.GetPinnableReference(), Usage, pPlugin, ppDevice); + } + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + public static unsafe int HDCreateDevice(this DXVA thisApi, Silk.NET.Direct3D9.IDirect3DDevice9Ex* pD3DDevice, Span pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice* ppDevice) + { + // SpanOverloader + return thisApi.HDCreateDevice(pD3DDevice, ref pContentDesc.GetPinnableReference(), Usage, pPlugin, ref ppDevice); + } + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + public static unsafe int HDCreateDevice(this DXVA thisApi, Span pD3DDevice, HDContentDesc* pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, IDXVAHDDevice** ppDevice) + { + // SpanOverloader + return thisApi.HDCreateDevice(ref pD3DDevice.GetPinnableReference(), pContentDesc, Usage, pPlugin, ppDevice); + } + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + public static unsafe int HDCreateDevice(this DXVA thisApi, Span pD3DDevice, HDContentDesc* pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice* ppDevice) + { + // SpanOverloader + return thisApi.HDCreateDevice(ref pD3DDevice.GetPinnableReference(), pContentDesc, Usage, pPlugin, ref ppDevice); + } + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + public static unsafe int HDCreateDevice(this DXVA thisApi, Span pD3DDevice, Span pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, IDXVAHDDevice** ppDevice) + { + // SpanOverloader + return thisApi.HDCreateDevice(ref pD3DDevice.GetPinnableReference(), ref pContentDesc.GetPinnableReference(), Usage, pPlugin, ppDevice); + } + + /// To be documented. + [NativeName("Src", "Line 1107, Column 1 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxvahd.h")] + public static unsafe int HDCreateDevice(this DXVA thisApi, Span pD3DDevice, Span pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice* ppDevice) + { + // SpanOverloader + return thisApi.HDCreateDevice(ref pD3DDevice.GetPinnableReference(), ref pContentDesc.GetPinnableReference(), Usage, pPlugin, ref ppDevice); + } + + /// To be documented. + [NativeName("Src", "Line 1901, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateDirect3DDeviceManager9(this DXVA thisApi, Span pResetToken, IDirect3DDeviceManager9** ppDeviceManager) + { + // SpanOverloader + return thisApi.DXVA2CreateDirect3DDeviceManager9(ref pResetToken.GetPinnableReference(), ppDeviceManager); + } + + /// To be documented. + [NativeName("Src", "Line 1901, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateDirect3DDeviceManager9(this DXVA thisApi, Span pResetToken, ref IDirect3DDeviceManager9* ppDeviceManager) + { + // SpanOverloader + return thisApi.DXVA2CreateDirect3DDeviceManager9(ref pResetToken.GetPinnableReference(), ref ppDeviceManager); + } + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateVideoService(this DXVA thisApi, Silk.NET.Direct3D9.IDirect3DDevice9* pDD, Span riid, void** ppService) + { + // SpanOverloader + return thisApi.DXVA2CreateVideoService(pDD, ref riid.GetPinnableReference(), ppService); + } + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateVideoService(this DXVA thisApi, Silk.NET.Direct3D9.IDirect3DDevice9* pDD, Span riid, ref void* ppService) + { + // SpanOverloader + return thisApi.DXVA2CreateVideoService(pDD, ref riid.GetPinnableReference(), ref ppService); + } + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateVideoService(this DXVA thisApi, Span pDD, Guid* riid, void** ppService) + { + // SpanOverloader + return thisApi.DXVA2CreateVideoService(ref pDD.GetPinnableReference(), riid, ppService); + } + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateVideoService(this DXVA thisApi, Span pDD, Guid* riid, ref void* ppService) + { + // SpanOverloader + return thisApi.DXVA2CreateVideoService(ref pDD.GetPinnableReference(), riid, ref ppService); + } + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateVideoService(this DXVA thisApi, Span pDD, Span riid, void** ppService) + { + // SpanOverloader + return thisApi.DXVA2CreateVideoService(ref pDD.GetPinnableReference(), ref riid.GetPinnableReference(), ppService); + } + + /// To be documented. + [NativeName("Src", "Line 1905, Column 8 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\dxva2api.h")] + public static unsafe int DXVA2CreateVideoService(this DXVA thisApi, Span pDD, Span riid, ref void* ppService) + { + // SpanOverloader + return thisApi.DXVA2CreateVideoService(ref pDD.GetPinnableReference(), ref riid.GetPinnableReference(), ref ppService); + } + + } +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/AnonymousEnumDxva9typL809C1.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/AnonymousEnumDxva9typL809C1.gen.cs new file mode 100644 index 0000000000..04b0371b3d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/AnonymousEnumDxva9typL809C1.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__AnonymousEnum_dxva9typ_L809_C1")] + public enum AnonymousEnumDxva9typL809C1 : int + { + [NativeName("Name", "COPP_ProtectionType_Unknown")] + CoppProtectionTypeUnknown = unchecked((int) 0xFFFFFFFF80000000), + [NativeName("Name", "COPP_ProtectionType_None")] + CoppProtectionTypeNone = 0x0, + [NativeName("Name", "COPP_ProtectionType_HDCP")] + CoppProtectionTypeHdcp = 0x1, + [NativeName("Name", "COPP_ProtectionType_ACP")] + CoppProtectionTypeAcp = 0x2, + [NativeName("Name", "COPP_ProtectionType_CGMSA")] + CoppProtectionTypeCgmsa = 0x4, + [NativeName("Name", "COPP_ProtectionType_Mask")] + CoppProtectionTypeMask = unchecked((int) 0xFFFFFFFF80000007), + [NativeName("Name", "COPP_ProtectionType_Reserved")] + CoppProtectionTypeReserved = 0x7FFFFFF8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPACPProtectionLevel.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPACPProtectionLevel.gen.cs new file mode 100644 index 0000000000..4f040db3cb --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPACPProtectionLevel.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_ACP_Protection_Level")] + public enum COPPACPProtectionLevel : int + { + [NativeName("Name", "COPP_ACP_Level0")] + CoppAcpLevel0 = 0x0, + [NativeName("Name", "COPP_ACP_LevelMin")] + CoppAcpLevelMin = 0x0, + [NativeName("Name", "COPP_ACP_Level1")] + CoppAcpLevel1 = 0x1, + [NativeName("Name", "COPP_ACP_Level2")] + CoppAcpLevel2 = 0x2, + [NativeName("Name", "COPP_ACP_Level3")] + CoppAcpLevel3 = 0x3, + [NativeName("Name", "COPP_ACP_LevelMax")] + CoppAcpLevelMax = 0x3, + [NativeName("Name", "COPP_ACP_ForceDWORD")] + CoppAcpForceDword = 0x7FFFFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPBusType.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPBusType.gen.cs new file mode 100644 index 0000000000..ed6a302d1e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPBusType.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_BusType")] + public enum COPPBusType : int + { + [NativeName("Name", "COPP_BusType_Unknown")] + CoppBusTypeUnknown = 0x0, + [NativeName("Name", "COPP_BusType_PCI")] + CoppBusTypePci = 0x1, + [NativeName("Name", "COPP_BusType_PCIX")] + CoppBusTypePcix = 0x2, + [NativeName("Name", "COPP_BusType_PCIExpress")] + CoppBusTypePciexpress = 0x3, + [NativeName("Name", "COPP_BusType_AGP")] + CoppBusTypeAgp = 0x4, + [NativeName("Name", "COPP_BusType_Integrated")] + CoppBusTypeIntegrated = unchecked((int) 0xFFFFFFFF80000000), + [NativeName("Name", "COPP_BusType_ForceDWORD")] + CoppBusTypeForceDword = 0x7FFFFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPCGMSAProtectionLevel.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPCGMSAProtectionLevel.gen.cs new file mode 100644 index 0000000000..eae4770928 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPCGMSAProtectionLevel.gen.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_CGMSA_Protection_Level")] + public enum COPPCGMSAProtectionLevel : int + { + [NativeName("Name", "COPP_CGMSA_Disabled")] + CoppCgmsaDisabled = 0x0, + [NativeName("Name", "COPP_CGMSA_LevelMin")] + CoppCgmsaLevelMin = 0x0, + [NativeName("Name", "COPP_CGMSA_CopyFreely")] + CoppCgmsaCopyFreely = 0x1, + [NativeName("Name", "COPP_CGMSA_CopyNoMore")] + CoppCgmsaCopyNoMore = 0x2, + [NativeName("Name", "COPP_CGMSA_CopyOneGeneration")] + CoppCgmsaCopyOneGeneration = 0x3, + [NativeName("Name", "COPP_CGMSA_CopyNever")] + CoppCgmsaCopyNever = 0x4, + [NativeName("Name", "COPP_CGMSA_RedistributionControlRequired")] + CoppCgmsaRedistributionControlRequired = 0x8, + [NativeName("Name", "COPP_CGMSA_LevelMax")] + CoppCgmsaLevelMax = 0xC, + [NativeName("Name", "COPP_CGMSA_ForceDWORD")] + CoppCgmsaForceDword = 0x7FFFFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPConnectorType.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPConnectorType.gen.cs new file mode 100644 index 0000000000..919730da13 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPConnectorType.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_ConnectorType")] + public enum COPPConnectorType : int + { + [NativeName("Name", "COPP_ConnectorType_Unknown")] + CoppConnectorTypeUnknown = unchecked((int) 0xFFFFFFFFFFFFFFFF), + [NativeName("Name", "COPP_ConnectorType_VGA")] + CoppConnectorTypeVga = 0x0, + [NativeName("Name", "COPP_ConnectorType_SVideo")] + CoppConnectorTypeSVideo = 0x1, + [NativeName("Name", "COPP_ConnectorType_CompositeVideo")] + CoppConnectorTypeCompositeVideo = 0x2, + [NativeName("Name", "COPP_ConnectorType_ComponentVideo")] + CoppConnectorTypeComponentVideo = 0x3, + [NativeName("Name", "COPP_ConnectorType_DVI")] + CoppConnectorTypeDvi = 0x4, + [NativeName("Name", "COPP_ConnectorType_HDMI")] + CoppConnectorTypeHdmi = 0x5, + [NativeName("Name", "COPP_ConnectorType_LVDS")] + CoppConnectorTypeLvds = 0x6, + [NativeName("Name", "COPP_ConnectorType_TMDS")] + CoppConnectorTypeTmds = 0x7, + [NativeName("Name", "COPP_ConnectorType_D_JPN")] + CoppConnectorTypeDJpn = 0x8, + [NativeName("Name", "COPP_ConnectorType_Internal")] + CoppConnectorTypeInternal = unchecked((int) 0xFFFFFFFF80000000), + [NativeName("Name", "COPP_ConnectorType_ForceDWORD")] + CoppConnectorTypeForceDword = 0x7FFFFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPHDCPProtectionLevel.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPHDCPProtectionLevel.gen.cs new file mode 100644 index 0000000000..a0fab88069 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPHDCPProtectionLevel.gen.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_HDCP_Protection_Level")] + public enum COPPHDCPProtectionLevel : int + { + [NativeName("Name", "COPP_HDCP_Level0")] + CoppHdcpLevel0 = 0x0, + [NativeName("Name", "COPP_HDCP_LevelMin")] + CoppHdcpLevelMin = 0x0, + [NativeName("Name", "COPP_HDCP_Level1")] + CoppHdcpLevel1 = 0x1, + [NativeName("Name", "COPP_HDCP_LevelMax")] + CoppHdcpLevelMax = 0x1, + [NativeName("Name", "COPP_HDCP_ForceDWORD")] + CoppHdcpForceDword = 0x7FFFFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPImageAspectRatioEN300294.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPImageAspectRatioEN300294.gen.cs new file mode 100644 index 0000000000..455f7db7b8 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPImageAspectRatioEN300294.gen.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_ImageAspectRatio_EN300294")] + public enum COPPImageAspectRatioEN300294 : int + { + [NativeName("Name", "COPP_AspectRatio_EN300294_FullFormat4by3")] + CoppAspectRatioEN300294FullFormat4by3 = 0x0, + [NativeName("Name", "COPP_AspectRatio_EN300294_Box14by9Center")] + CoppAspectRatioEN300294Box14by9Center = 0x1, + [NativeName("Name", "COPP_AspectRatio_EN300294_Box14by9Top")] + CoppAspectRatioEN300294Box14by9Top = 0x2, + [NativeName("Name", "COPP_AspectRatio_EN300294_Box16by9Center")] + CoppAspectRatioEN300294Box16by9Center = 0x3, + [NativeName("Name", "COPP_AspectRatio_EN300294_Box16by9Top")] + CoppAspectRatioEN300294Box16by9Top = 0x4, + [NativeName("Name", "COPP_AspectRatio_EN300294_BoxGT16by9Center")] + CoppAspectRatioEN300294BoxGT16by9Center = 0x5, + [NativeName("Name", "COPP_AspectRatio_EN300294_FullFormat4by3ProtectedCenter")] + CoppAspectRatioEN300294FullFormat4by3ProtectedCenter = 0x6, + [NativeName("Name", "COPP_AspectRatio_EN300294_FullFormat16by9Anamorphic")] + CoppAspectRatioEN300294FullFormat16by9Anamorphic = 0x7, + [NativeName("Name", "COPP_AspectRatio_ForceDWORD")] + CoppAspectRatioForceDword = 0x7FFFFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPStatusFlags.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPStatusFlags.gen.cs new file mode 100644 index 0000000000..cc2d0290a6 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPStatusFlags.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_StatusFlags")] + public enum COPPStatusFlags : int + { + [NativeName("Name", "COPP_StatusNormal")] + CoppStatusNormal = 0x0, + [NativeName("Name", "COPP_LinkLost")] + CoppLinkLost = 0x1, + [NativeName("Name", "COPP_RenegotiationRequired")] + CoppRenegotiationRequired = 0x2, + [NativeName("Name", "COPP_StatusFlagsReserved")] + CoppStatusFlagsReserved = unchecked((int) 0xFFFFFFFFFFFFFFFC), + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPStatusHDCPFlags.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPStatusHDCPFlags.gen.cs new file mode 100644 index 0000000000..75e3923f22 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPStatusHDCPFlags.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_StatusHDCPFlags")] + public enum COPPStatusHDCPFlags : int + { + [NativeName("Name", "COPP_HDCPRepeater")] + CoppHdcprepeater = 0x1, + [NativeName("Name", "COPP_HDCPFlagsReserved")] + CoppHdcpflagsReserved = unchecked((int) 0xFFFFFFFFFFFFFFFE), + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/COPPTVProtectionStandard.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/COPPTVProtectionStandard.gen.cs new file mode 100644 index 0000000000..40447f7834 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/COPPTVProtectionStandard.gen.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_COPP_TVProtectionStandard")] + public enum COPPTVProtectionStandard : int + { + [NativeName("Name", "COPP_ProtectionStandard_Unknown")] + CoppProtectionStandardUnknown = unchecked((int) 0xFFFFFFFF80000000), + [NativeName("Name", "COPP_ProtectionStandard_None")] + CoppProtectionStandardNone = 0x0, + [NativeName("Name", "COPP_ProtectionStandard_IEC61880_525i")] + CoppProtectionStandardIec61880525i = 0x1, + [NativeName("Name", "COPP_ProtectionStandard_IEC61880_2_525i")] + CoppProtectionStandardIec618802525i = 0x2, + [NativeName("Name", "COPP_ProtectionStandard_IEC62375_625p")] + CoppProtectionStandardIec62375625p = 0x4, + [NativeName("Name", "COPP_ProtectionStandard_EIA608B_525")] + CoppProtectionStandardEia608B525 = 0x8, + [NativeName("Name", "COPP_ProtectionStandard_EN300294_625i")] + CoppProtectionStandardEN300294625i = 0x10, + [NativeName("Name", "COPP_ProtectionStandard_CEA805A_TypeA_525p")] + CoppProtectionStandardCea805ATypeA525p = 0x20, + [NativeName("Name", "COPP_ProtectionStandard_CEA805A_TypeA_750p")] + CoppProtectionStandardCea805ATypeA750p = 0x40, + [NativeName("Name", "COPP_ProtectionStandard_CEA805A_TypeA_1125i")] + CoppProtectionStandardCea805ATypeA1125i = 0x80, + [NativeName("Name", "COPP_ProtectionStandard_CEA805A_TypeB_525p")] + CoppProtectionStandardCea805ATypeB525p = 0x100, + [NativeName("Name", "COPP_ProtectionStandard_CEA805A_TypeB_750p")] + CoppProtectionStandardCea805ATypeB750p = 0x200, + [NativeName("Name", "COPP_ProtectionStandard_CEA805A_TypeB_1125i")] + CoppProtectionStandardCea805ATypeB1125i = 0x400, + [NativeName("Name", "COPP_ProtectionStandard_ARIBTRB15_525i")] + CoppProtectionStandardAribtrb15525i = 0x800, + [NativeName("Name", "COPP_ProtectionStandard_ARIBTRB15_525p")] + CoppProtectionStandardAribtrb15525p = 0x1000, + [NativeName("Name", "COPP_ProtectionStandard_ARIBTRB15_750p")] + CoppProtectionStandardAribtrb15750p = 0x2000, + [NativeName("Name", "COPP_ProtectionStandard_ARIBTRB15_1125i")] + CoppProtectionStandardAribtrb151125i = 0x4000, + [NativeName("Name", "COPP_ProtectionStandard_Mask")] + CoppProtectionStandardMask = unchecked((int) 0xFFFFFFFF80007FFF), + [NativeName("Name", "COPP_ProtectionStandard_Reserved")] + CoppProtectionStandardReserved = 0x7FFF8000, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2DestinationFlags.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2DestinationFlags.gen.cs new file mode 100644 index 0000000000..5d1b75de02 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2DestinationFlags.gen.cs @@ -0,0 +1,32 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_DestinationFlags")] + public enum DXVA2DestinationFlags : int + { + [NativeName("Name", "DXVA2_DestinationFlag_Background_Changed")] + DXVA2DestinationFlagBackgroundChanged = 0x1, + [NativeName("Name", "DXVA2_DestinationFlag_TargetRect_Changed")] + DXVA2DestinationFlagTargetRectChanged = 0x2, + [NativeName("Name", "DXVA2_DestinationFlag_ColorData_Changed")] + DXVA2DestinationFlagColorDataChanged = 0x4, + [NativeName("Name", "DXVA2_DestinationFlag_Alpha_Changed")] + DXVA2DestinationFlagAlphaChanged = 0x8, + [NativeName("Name", "DXVA2_DestinationFlag_RFF")] + DXVA2DestinationFlagRff = 0x10000, + [NativeName("Name", "DXVA2_DestinationFlag_TFF")] + DXVA2DestinationFlagTff = 0x20000, + [NativeName("Name", "DXVA2_DestinationFlag_RFF_TFF_Present")] + DXVA2DestinationFlagRffTffPresent = 0x40000, + [NativeName("Name", "DXVA2_DestinationFlagMask")] + DXVA2DestinationFlagMask = unchecked((int) 0xFFFFFFFFFFFF000F), + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2NominalRange.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2NominalRange.gen.cs new file mode 100644 index 0000000000..6409133faf --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2NominalRange.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_NominalRange")] + public enum DXVA2NominalRange : int + { + [NativeName("Name", "DXVA2_NominalRangeMask")] + DXVA2NominalRangeMask = 0x7, + [NativeName("Name", "DXVA2_NominalRange_Unknown")] + DXVA2NominalRangeUnknown = 0x0, + [NativeName("Name", "DXVA2_NominalRange_Normal")] + DXVA2NominalRangeNormal = 0x1, + [NativeName("Name", "DXVA2_NominalRange_Wide")] + DXVA2NominalRangeWide = 0x2, + [NativeName("Name", "DXVA2_NominalRange_0_255")] + DXVA2NominalRange0255 = 0x1, + [NativeName("Name", "DXVA2_NominalRange_16_235")] + DXVA2NominalRange16235 = 0x2, + [NativeName("Name", "DXVA2_NominalRange_48_208")] + DXVA2NominalRange48208 = 0x3, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2SampleFlags.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2SampleFlags.gen.cs new file mode 100644 index 0000000000..3d2518a477 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2SampleFlags.gen.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_SampleFlags")] + public enum DXVA2SampleFlags : int + { + [NativeName("Name", "DXVA2_SampleFlag_Palette_Changed")] + DXVA2SampleFlagPaletteChanged = 0x1, + [NativeName("Name", "DXVA2_SampleFlag_SrcRect_Changed")] + DXVA2SampleFlagSrcRectChanged = 0x2, + [NativeName("Name", "DXVA2_SampleFlag_DstRect_Changed")] + DXVA2SampleFlagDstRectChanged = 0x4, + [NativeName("Name", "DXVA2_SampleFlag_ColorData_Changed")] + DXVA2SampleFlagColorDataChanged = 0x8, + [NativeName("Name", "DXVA2_SampleFlag_PlanarAlpha_Changed")] + DXVA2SampleFlagPlanarAlphaChanged = 0x10, + [NativeName("Name", "DXVA2_SampleFlag_RFF")] + DXVA2SampleFlagRff = 0x10000, + [NativeName("Name", "DXVA2_SampleFlag_TFF")] + DXVA2SampleFlagTff = 0x20000, + [NativeName("Name", "DXVA2_SampleFlag_RFF_TFF_Present")] + DXVA2SampleFlagRffTffPresent = 0x40000, + [NativeName("Name", "DXVA2_SampleFlagsMask")] + DXVA2SampleFlagsMask = unchecked((int) 0xFFFFFFFFFFFF001F), + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2SampleFormat.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2SampleFormat.gen.cs new file mode 100644 index 0000000000..921114bd3d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2SampleFormat.gen.cs @@ -0,0 +1,32 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_SampleFormat")] + public enum DXVA2SampleFormat : int + { + [NativeName("Name", "DXVA2_SampleFormatMask")] + DXVA2SampleFormatMask = 0xFF, + [NativeName("Name", "DXVA2_SampleUnknown")] + DXVA2SampleUnknown = 0x0, + [NativeName("Name", "DXVA2_SampleProgressiveFrame")] + DXVA2SampleProgressiveFrame = 0x2, + [NativeName("Name", "DXVA2_SampleFieldInterleavedEvenFirst")] + DXVA2SampleFieldInterleavedEvenFirst = 0x3, + [NativeName("Name", "DXVA2_SampleFieldInterleavedOddFirst")] + DXVA2SampleFieldInterleavedOddFirst = 0x4, + [NativeName("Name", "DXVA2_SampleFieldSingleEven")] + DXVA2SampleFieldSingleEven = 0x5, + [NativeName("Name", "DXVA2_SampleFieldSingleOdd")] + DXVA2SampleFieldSingleOdd = 0x6, + [NativeName("Name", "DXVA2_SampleSubStream")] + DXVA2SampleSubStream = 0x7, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoChromaSubSampling.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoChromaSubSampling.gen.cs new file mode 100644 index 0000000000..44984c64e0 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoChromaSubSampling.gen.cs @@ -0,0 +1,36 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoChromaSubSampling")] + public enum DXVA2VideoChromaSubSampling : int + { + [NativeName("Name", "DXVA2_VideoChromaSubsamplingMask")] + DXVA2VideoChromaSubsamplingMask = 0xF, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_Unknown")] + DXVA2VideoChromaSubsamplingUnknown = 0x0, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_ProgressiveChroma")] + DXVA2VideoChromaSubsamplingProgressiveChroma = 0x8, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_Horizontally_Cosited")] + DXVA2VideoChromaSubsamplingHorizontallyCosited = 0x4, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_Vertically_Cosited")] + DXVA2VideoChromaSubsamplingVerticallyCosited = 0x2, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_Vertically_AlignedChromaPlanes")] + DXVA2VideoChromaSubsamplingVerticallyAlignedChromaPlanes = 0x1, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_MPEG2")] + DXVA2VideoChromaSubsamplingMpeg2 = 0x5, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_MPEG1")] + DXVA2VideoChromaSubsamplingMpeg1 = 0x1, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_DV_PAL")] + DXVA2VideoChromaSubsamplingDVPal = 0x6, + [NativeName("Name", "DXVA2_VideoChromaSubsampling_Cosited")] + DXVA2VideoChromaSubsamplingCosited = 0x7, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoLighting.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoLighting.gen.cs new file mode 100644 index 0000000000..66905e3a44 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoLighting.gen.cs @@ -0,0 +1,28 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoLighting")] + public enum DXVA2VideoLighting : int + { + [NativeName("Name", "DXVA2_VideoLightingMask")] + DXVA2VideoLightingMask = 0xF, + [NativeName("Name", "DXVA2_VideoLighting_Unknown")] + DXVA2VideoLightingUnknown = 0x0, + [NativeName("Name", "DXVA2_VideoLighting_bright")] + DXVA2VideoLightingBright = 0x1, + [NativeName("Name", "DXVA2_VideoLighting_office")] + DXVA2VideoLightingOffice = 0x2, + [NativeName("Name", "DXVA2_VideoLighting_dim")] + DXVA2VideoLightingDim = 0x3, + [NativeName("Name", "DXVA2_VideoLighting_dark")] + DXVA2VideoLightingDark = 0x4, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoPrimaries.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoPrimaries.gen.cs new file mode 100644 index 0000000000..da8989843f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoPrimaries.gen.cs @@ -0,0 +1,36 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoPrimaries")] + public enum DXVA2VideoPrimaries : int + { + [NativeName("Name", "DXVA2_VideoPrimariesMask")] + DXVA2VideoPrimariesMask = 0x1F, + [NativeName("Name", "DXVA2_VideoPrimaries_Unknown")] + DXVA2VideoPrimariesUnknown = 0x0, + [NativeName("Name", "DXVA2_VideoPrimaries_reserved")] + DXVA2VideoPrimariesReserved = 0x1, + [NativeName("Name", "DXVA2_VideoPrimaries_BT709")] + DXVA2VideoPrimariesBT709 = 0x2, + [NativeName("Name", "DXVA2_VideoPrimaries_BT470_2_SysM")] + DXVA2VideoPrimariesBT4702SysM = 0x3, + [NativeName("Name", "DXVA2_VideoPrimaries_BT470_2_SysBG")] + DXVA2VideoPrimariesBT4702SysBG = 0x4, + [NativeName("Name", "DXVA2_VideoPrimaries_SMPTE170M")] + DXVA2VideoPrimariesSmpte170M = 0x5, + [NativeName("Name", "DXVA2_VideoPrimaries_SMPTE240M")] + DXVA2VideoPrimariesSmpte240M = 0x6, + [NativeName("Name", "DXVA2_VideoPrimaries_EBU3213")] + DXVA2VideoPrimariesEbu3213 = 0x7, + [NativeName("Name", "DXVA2_VideoPrimaries_SMPTE_C")] + DXVA2VideoPrimariesSmpteC = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoTransferFunction.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoTransferFunction.gen.cs new file mode 100644 index 0000000000..0e7a2a0e96 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoTransferFunction.gen.cs @@ -0,0 +1,36 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoTransferFunction")] + public enum DXVA2VideoTransferFunction : int + { + [NativeName("Name", "DXVA2_VideoTransFuncMask")] + DXVA2VideoTransFuncMask = 0x1F, + [NativeName("Name", "DXVA2_VideoTransFunc_Unknown")] + DXVA2VideoTransFuncUnknown = 0x0, + [NativeName("Name", "DXVA2_VideoTransFunc_10")] + DXVA2VideoTransFunc10 = 0x1, + [NativeName("Name", "DXVA2_VideoTransFunc_18")] + DXVA2VideoTransFunc18 = 0x2, + [NativeName("Name", "DXVA2_VideoTransFunc_20")] + DXVA2VideoTransFunc20 = 0x3, + [NativeName("Name", "DXVA2_VideoTransFunc_22")] + DXVA2VideoTransFunc22 = 0x4, + [NativeName("Name", "DXVA2_VideoTransFunc_709")] + DXVA2VideoTransFunc709 = 0x5, + [NativeName("Name", "DXVA2_VideoTransFunc_240M")] + DXVA2VideoTransFunc240M = 0x6, + [NativeName("Name", "DXVA2_VideoTransFunc_sRGB")] + DXVA2VideoTransFuncSRgb = 0x7, + [NativeName("Name", "DXVA2_VideoTransFunc_28")] + DXVA2VideoTransFunc28 = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoTransferMatrix.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoTransferMatrix.gen.cs new file mode 100644 index 0000000000..8143c2e4d3 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DXVA2VideoTransferMatrix.gen.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoTransferMatrix")] + public enum DXVA2VideoTransferMatrix : int + { + [NativeName("Name", "DXVA2_VideoTransferMatrixMask")] + DXVA2VideoTransferMatrixMask = 0x7, + [NativeName("Name", "DXVA2_VideoTransferMatrix_Unknown")] + DXVA2VideoTransferMatrixUnknown = 0x0, + [NativeName("Name", "DXVA2_VideoTransferMatrix_BT709")] + DXVA2VideoTransferMatrixBT709 = 0x1, + [NativeName("Name", "DXVA2_VideoTransferMatrix_BT601")] + DXVA2VideoTransferMatrixBT601 = 0x2, + [NativeName("Name", "DXVA2_VideoTransferMatrix_SMPTE240M")] + DXVA2VideoTransferMatrixSmpte240M = 0x3, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DeinterlaceTech.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DeinterlaceTech.gen.cs new file mode 100644 index 0000000000..b2c166f389 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DeinterlaceTech.gen.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_DeinterlaceTech")] + public enum DeinterlaceTech : int + { + [NativeName("Name", "DXVA_DeinterlaceTech_Unknown")] + DeinterlaceTechUnknown = 0x0, + [NativeName("Name", "DXVA_DeinterlaceTech_BOBLineReplicate")] + DeinterlaceTechBoblineReplicate = 0x1, + [NativeName("Name", "DXVA_DeinterlaceTech_BOBVerticalStretch")] + DeinterlaceTechBobverticalStretch = 0x2, + [NativeName("Name", "DXVA_DeinterlaceTech_BOBVerticalStretch4Tap")] + DeinterlaceTechBobverticalStretch4Tap = 0x100, + [NativeName("Name", "DXVA_DeinterlaceTech_MedianFiltering")] + DeinterlaceTechMedianFiltering = 0x4, + [NativeName("Name", "DXVA_DeinterlaceTech_EdgeFiltering")] + DeinterlaceTechEdgeFiltering = 0x10, + [NativeName("Name", "DXVA_DeinterlaceTech_FieldAdaptive")] + DeinterlaceTechFieldAdaptive = 0x20, + [NativeName("Name", "DXVA_DeinterlaceTech_PixelAdaptive")] + DeinterlaceTechPixelAdaptive = 0x40, + [NativeName("Name", "DXVA_DeinterlaceTech_MotionVectorSteered")] + DeinterlaceTechMotionVectorSteered = 0x80, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/DestinationFlags.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/DestinationFlags.gen.cs new file mode 100644 index 0000000000..231978833a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/DestinationFlags.gen.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_DestinationFlags")] + public enum DestinationFlags : int + { + [NativeName("Name", "DXVA_DestinationFlagMask")] + DestinationFlagMask = 0xF, + [NativeName("Name", "DXVA_DestinationFlag_Background_Changed")] + DestinationFlagBackgroundChanged = 0x1, + [NativeName("Name", "DXVA_DestinationFlag_TargetRect_Changed")] + DestinationFlagTargetRectChanged = 0x2, + [NativeName("Name", "DXVA_DestinationFlag_ColorData_Changed")] + DestinationFlagColorDataChanged = 0x4, + [NativeName("Name", "DXVA_DestinationFlag_Alpha_Changed")] + DestinationFlagAlphaChanged = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDAlphaFillMode.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDAlphaFillMode.gen.cs new file mode 100644 index 0000000000..6f142ca36e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDAlphaFillMode.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_ALPHA_FILL_MODE")] + public enum HDAlphaFillMode : int + { + [NativeName("Name", "DXVAHD_ALPHA_FILL_MODE_OPAQUE")] + HDAlphaFillModeOpaque = 0x0, + [NativeName("Name", "DXVAHD_ALPHA_FILL_MODE_BACKGROUND")] + HDAlphaFillModeBackground = 0x1, + [NativeName("Name", "DXVAHD_ALPHA_FILL_MODE_DESTINATION")] + HDAlphaFillModeDestination = 0x2, + [NativeName("Name", "DXVAHD_ALPHA_FILL_MODE_SOURCE_STREAM")] + HDAlphaFillModeSourceStream = 0x3, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDBltState.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDBltState.gen.cs new file mode 100644 index 0000000000..f530ade54a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDBltState.gen.cs @@ -0,0 +1,28 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_BLT_STATE")] + public enum HDBltState : int + { + [NativeName("Name", "DXVAHD_BLT_STATE_TARGET_RECT")] + HDBltStateTargetRect = 0x0, + [NativeName("Name", "DXVAHD_BLT_STATE_BACKGROUND_COLOR")] + HDBltStateBackgroundColor = 0x1, + [NativeName("Name", "DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE")] + HDBltStateOutputColorSpace = 0x2, + [NativeName("Name", "DXVAHD_BLT_STATE_ALPHA_FILL")] + HDBltStateAlphaFill = 0x3, + [NativeName("Name", "DXVAHD_BLT_STATE_CONSTRICTION")] + HDBltStateConstriction = 0x4, + [NativeName("Name", "DXVAHD_BLT_STATE_PRIVATE")] + HDBltStatePrivate = 0x3E8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceCaps.gen.cs new file mode 100644 index 0000000000..5ccc66ddb8 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceCaps.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_DEVICE_CAPS")] + public enum HDDeviceCaps : int + { + [NativeName("Name", "DXVAHD_DEVICE_CAPS_LINEAR_SPACE")] + HDDeviceCapsLinearSpace = 0x1, + [NativeName("Name", "DXVAHD_DEVICE_CAPS_xvYCC")] + HDDeviceCapsXvYcc = 0x2, + [NativeName("Name", "DXVAHD_DEVICE_CAPS_RGB_RANGE_CONVERSION")] + HDDeviceCapsRgbRangeConversion = 0x4, + [NativeName("Name", "DXVAHD_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION")] + HDDeviceCapsYCbCrMatrixConversion = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceType.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceType.gen.cs new file mode 100644 index 0000000000..79c2f1b938 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceType.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_DEVICE_TYPE")] + public enum HDDeviceType : int + { + [NativeName("Name", "DXVAHD_DEVICE_TYPE_HARDWARE")] + HDDeviceTypeHardware = 0x0, + [NativeName("Name", "DXVAHD_DEVICE_TYPE_SOFTWARE")] + HDDeviceTypeSoftware = 0x1, + [NativeName("Name", "DXVAHD_DEVICE_TYPE_REFERENCE")] + HDDeviceTypeReference = 0x2, + [NativeName("Name", "DXVAHD_DEVICE_TYPE_OTHER")] + HDDeviceTypeOther = 0x3, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceUsage.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceUsage.gen.cs new file mode 100644 index 0000000000..1829e603cf --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDDeviceUsage.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_DEVICE_USAGE")] + public enum HDDeviceUsage : int + { + [NativeName("Name", "DXVAHD_DEVICE_USAGE_PLAYBACK_NORMAL")] + HDDeviceUsagePlaybackNormal = 0x0, + [NativeName("Name", "DXVAHD_DEVICE_USAGE_OPTIMAL_SPEED")] + HDDeviceUsageOptimalSpeed = 0x1, + [NativeName("Name", "DXVAHD_DEVICE_USAGE_OPTIMAL_QUALITY")] + HDDeviceUsageOptimalQuality = 0x2, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDFeatureCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDFeatureCaps.gen.cs new file mode 100644 index 0000000000..ba476fcfd8 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDFeatureCaps.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_FEATURE_CAPS")] + public enum HDFeatureCaps : int + { + [NativeName("Name", "DXVAHD_FEATURE_CAPS_ALPHA_FILL")] + HDFeatureCapsAlphaFill = 0x1, + [NativeName("Name", "DXVAHD_FEATURE_CAPS_CONSTRICTION")] + HDFeatureCapsConstriction = 0x2, + [NativeName("Name", "DXVAHD_FEATURE_CAPS_LUMA_KEY")] + HDFeatureCapsLumaKey = 0x4, + [NativeName("Name", "DXVAHD_FEATURE_CAPS_ALPHA_PALETTE")] + HDFeatureCapsAlphaPalette = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDFilter.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDFilter.gen.cs new file mode 100644 index 0000000000..6f5b2e59be --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDFilter.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_FILTER")] + public enum HDFilter : int + { + [NativeName("Name", "DXVAHD_FILTER_BRIGHTNESS")] + HDFilterBrightness = 0x0, + [NativeName("Name", "DXVAHD_FILTER_CONTRAST")] + HDFilterContrast = 0x1, + [NativeName("Name", "DXVAHD_FILTER_HUE")] + HDFilterHue = 0x2, + [NativeName("Name", "DXVAHD_FILTER_SATURATION")] + HDFilterSaturation = 0x3, + [NativeName("Name", "DXVAHD_FILTER_NOISE_REDUCTION")] + HDFilterNoiseReduction = 0x4, + [NativeName("Name", "DXVAHD_FILTER_EDGE_ENHANCEMENT")] + HDFilterEdgeEnhancement = 0x5, + [NativeName("Name", "DXVAHD_FILTER_ANAMORPHIC_SCALING")] + HDFilterAnamorphicScaling = 0x6, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDFilterCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDFilterCaps.gen.cs new file mode 100644 index 0000000000..73e9d4061d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDFilterCaps.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_FILTER_CAPS")] + public enum HDFilterCaps : int + { + [NativeName("Name", "DXVAHD_FILTER_CAPS_BRIGHTNESS")] + HDFilterCapsBrightness = 0x1, + [NativeName("Name", "DXVAHD_FILTER_CAPS_CONTRAST")] + HDFilterCapsContrast = 0x2, + [NativeName("Name", "DXVAHD_FILTER_CAPS_HUE")] + HDFilterCapsHue = 0x4, + [NativeName("Name", "DXVAHD_FILTER_CAPS_SATURATION")] + HDFilterCapsSaturation = 0x8, + [NativeName("Name", "DXVAHD_FILTER_CAPS_NOISE_REDUCTION")] + HDFilterCapsNoiseReduction = 0x10, + [NativeName("Name", "DXVAHD_FILTER_CAPS_EDGE_ENHANCEMENT")] + HDFilterCapsEdgeEnhancement = 0x20, + [NativeName("Name", "DXVAHD_FILTER_CAPS_ANAMORPHIC_SCALING")] + HDFilterCapsAnamorphicScaling = 0x40, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDFrameFormat.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDFrameFormat.gen.cs new file mode 100644 index 0000000000..2f67644d57 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDFrameFormat.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_FRAME_FORMAT")] + public enum HDFrameFormat : int + { + [NativeName("Name", "DXVAHD_FRAME_FORMAT_PROGRESSIVE")] + HDFrameFormatProgressive = 0x0, + [NativeName("Name", "DXVAHD_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST")] + HDFrameFormatInterlacedTopFieldFirst = 0x1, + [NativeName("Name", "DXVAHD_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST")] + HDFrameFormatInterlacedBottomFieldFirst = 0x2, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDInputFormatCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDInputFormatCaps.gen.cs new file mode 100644 index 0000000000..50eabee9ad --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDInputFormatCaps.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_INPUT_FORMAT_CAPS")] + public enum HDInputFormatCaps : int + { + [NativeName("Name", "DXVAHD_INPUT_FORMAT_CAPS_RGB_INTERLACED")] + HDInputFormatCapsRgbInterlaced = 0x1, + [NativeName("Name", "DXVAHD_INPUT_FORMAT_CAPS_RGB_PROCAMP")] + HDInputFormatCapsRgbProcamp = 0x2, + [NativeName("Name", "DXVAHD_INPUT_FORMAT_CAPS_RGB_LUMA_KEY")] + HDInputFormatCapsRgbLumaKey = 0x4, + [NativeName("Name", "DXVAHD_INPUT_FORMAT_CAPS_PALETTE_INTERLACED")] + HDInputFormatCapsPaletteInterlaced = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDItelecineCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDItelecineCaps.gen.cs new file mode 100644 index 0000000000..d7fa75f031 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDItelecineCaps.gen.cs @@ -0,0 +1,36 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_ITELECINE_CAPS")] + public enum HDItelecineCaps : int + { + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_32")] + HDItelecineCaps32 = 0x1, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_22")] + HDItelecineCaps22 = 0x2, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_2224")] + HDItelecineCaps2224 = 0x4, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_2332")] + HDItelecineCaps2332 = 0x8, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_32322")] + HDItelecineCaps32322 = 0x10, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_55")] + HDItelecineCaps55 = 0x20, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_64")] + HDItelecineCaps64 = 0x40, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_87")] + HDItelecineCaps87 = 0x80, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_222222222223")] + HDItelecineCaps222222222223 = 0x100, + [NativeName("Name", "DXVAHD_ITELECINE_CAPS_OTHER")] + HDItelecineCapsOther = unchecked((int) 0xFFFFFFFF80000000), + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDOutputRate.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDOutputRate.gen.cs new file mode 100644 index 0000000000..e33a3fbc9b --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDOutputRate.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_OUTPUT_RATE")] + public enum HDOutputRate : int + { + [NativeName("Name", "DXVAHD_OUTPUT_RATE_NORMAL")] + HDOutputRateNormal = 0x0, + [NativeName("Name", "DXVAHD_OUTPUT_RATE_HALF")] + HDOutputRateHalf = 0x1, + [NativeName("Name", "DXVAHD_OUTPUT_RATE_CUSTOM")] + HDOutputRateCustom = 0x2, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDProcessorCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDProcessorCaps.gen.cs new file mode 100644 index 0000000000..9bb73b5c25 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDProcessorCaps.gen.cs @@ -0,0 +1,28 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_PROCESSOR_CAPS")] + public enum HDProcessorCaps : int + { + [NativeName("Name", "DXVAHD_PROCESSOR_CAPS_DEINTERLACE_BLEND")] + HDProcessorCapsDeinterlaceBlend = 0x1, + [NativeName("Name", "DXVAHD_PROCESSOR_CAPS_DEINTERLACE_BOB")] + HDProcessorCapsDeinterlaceBob = 0x2, + [NativeName("Name", "DXVAHD_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE")] + HDProcessorCapsDeinterlaceAdaptive = 0x4, + [NativeName("Name", "DXVAHD_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION")] + HDProcessorCapsDeinterlaceMotionCompensation = 0x8, + [NativeName("Name", "DXVAHD_PROCESSOR_CAPS_INVERSE_TELECINE")] + HDProcessorCapsInverseTelecine = 0x10, + [NativeName("Name", "DXVAHD_PROCESSOR_CAPS_FRAME_RATE_CONVERSION")] + HDProcessorCapsFrameRateConversion = 0x20, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDStreamState.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDStreamState.gen.cs new file mode 100644 index 0000000000..915088ac5e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDStreamState.gen.cs @@ -0,0 +1,52 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE")] + public enum HDStreamState : int + { + [NativeName("Name", "DXVAHD_STREAM_STATE_D3DFORMAT")] + HDStreamStateD3Dformat = 0x0, + [NativeName("Name", "DXVAHD_STREAM_STATE_FRAME_FORMAT")] + HDStreamStateFrameFormat = 0x1, + [NativeName("Name", "DXVAHD_STREAM_STATE_INPUT_COLOR_SPACE")] + HDStreamStateInputColorSpace = 0x2, + [NativeName("Name", "DXVAHD_STREAM_STATE_OUTPUT_RATE")] + HDStreamStateOutputRate = 0x3, + [NativeName("Name", "DXVAHD_STREAM_STATE_SOURCE_RECT")] + HDStreamStateSourceRect = 0x4, + [NativeName("Name", "DXVAHD_STREAM_STATE_DESTINATION_RECT")] + HDStreamStateDestinationRect = 0x5, + [NativeName("Name", "DXVAHD_STREAM_STATE_ALPHA")] + HDStreamStateAlpha = 0x6, + [NativeName("Name", "DXVAHD_STREAM_STATE_PALETTE")] + HDStreamStatePalette = 0x7, + [NativeName("Name", "DXVAHD_STREAM_STATE_LUMA_KEY")] + HDStreamStateLumaKey = 0x8, + [NativeName("Name", "DXVAHD_STREAM_STATE_ASPECT_RATIO")] + HDStreamStateAspectRatio = 0x9, + [NativeName("Name", "DXVAHD_STREAM_STATE_FILTER_BRIGHTNESS")] + HDStreamStateFilterBrightness = 0x64, + [NativeName("Name", "DXVAHD_STREAM_STATE_FILTER_CONTRAST")] + HDStreamStateFilterContrast = 0x65, + [NativeName("Name", "DXVAHD_STREAM_STATE_FILTER_HUE")] + HDStreamStateFilterHue = 0x66, + [NativeName("Name", "DXVAHD_STREAM_STATE_FILTER_SATURATION")] + HDStreamStateFilterSaturation = 0x67, + [NativeName("Name", "DXVAHD_STREAM_STATE_FILTER_NOISE_REDUCTION")] + HDStreamStateFilterNoiseReduction = 0x68, + [NativeName("Name", "DXVAHD_STREAM_STATE_FILTER_EDGE_ENHANCEMENT")] + HDStreamStateFilterEdgeEnhancement = 0x69, + [NativeName("Name", "DXVAHD_STREAM_STATE_FILTER_ANAMORPHIC_SCALING")] + HDStreamStateFilterAnamorphicScaling = 0x6A, + [NativeName("Name", "DXVAHD_STREAM_STATE_PRIVATE")] + HDStreamStatePrivate = 0x3E8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/HDSurfaceType.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/HDSurfaceType.gen.cs new file mode 100644 index 0000000000..9e834553ea --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/HDSurfaceType.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_SURFACE_TYPE")] + public enum HDSurfaceType : int + { + [NativeName("Name", "DXVAHD_SURFACE_TYPE_VIDEO_INPUT")] + HDSurfaceTypeVideoInput = 0x0, + [NativeName("Name", "DXVAHD_SURFACE_TYPE_VIDEO_INPUT_PRIVATE")] + HDSurfaceTypeVideoInputPrivate = 0x1, + [NativeName("Name", "DXVAHD_SURFACE_TYPE_VIDEO_OUTPUT")] + HDSurfaceTypeVideoOutput = 0x2, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000003.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000003.gen.cs new file mode 100644 index 0000000000..e6fe150e34 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000003.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0003")] + public enum MIDLMIDLItfDxva2api000000000003 : int + { + [NativeName("Name", "DXVA2_DeinterlaceTech_Unknown")] + DXVA2DeinterlaceTechUnknown = 0x0, + [NativeName("Name", "DXVA2_DeinterlaceTech_BOBLineReplicate")] + DXVA2DeinterlaceTechBoblineReplicate = 0x1, + [NativeName("Name", "DXVA2_DeinterlaceTech_BOBVerticalStretch")] + DXVA2DeinterlaceTechBobverticalStretch = 0x2, + [NativeName("Name", "DXVA2_DeinterlaceTech_BOBVerticalStretch4Tap")] + DXVA2DeinterlaceTechBobverticalStretch4Tap = 0x4, + [NativeName("Name", "DXVA2_DeinterlaceTech_MedianFiltering")] + DXVA2DeinterlaceTechMedianFiltering = 0x8, + [NativeName("Name", "DXVA2_DeinterlaceTech_EdgeFiltering")] + DXVA2DeinterlaceTechEdgeFiltering = 0x10, + [NativeName("Name", "DXVA2_DeinterlaceTech_FieldAdaptive")] + DXVA2DeinterlaceTechFieldAdaptive = 0x20, + [NativeName("Name", "DXVA2_DeinterlaceTech_PixelAdaptive")] + DXVA2DeinterlaceTechPixelAdaptive = 0x40, + [NativeName("Name", "DXVA2_DeinterlaceTech_MotionVectorSteered")] + DXVA2DeinterlaceTechMotionVectorSteered = 0x80, + [NativeName("Name", "DXVA2_DeinterlaceTech_InverseTelecine")] + DXVA2DeinterlaceTechInverseTelecine = 0x100, + [NativeName("Name", "DXVA2_DeinterlaceTech_Mask")] + DXVA2DeinterlaceTechMask = 0x1FF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000004.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000004.gen.cs new file mode 100644 index 0000000000..0bd06cdfc6 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000004.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0004")] + public enum MIDLMIDLItfDxva2api000000000004 : int + { + [NativeName("Name", "DXVA2_NoiseFilterLumaLevel")] + DXVA2NoiseFilterLumaLevel = 0x1, + [NativeName("Name", "DXVA2_NoiseFilterLumaThreshold")] + DXVA2NoiseFilterLumaThreshold = 0x2, + [NativeName("Name", "DXVA2_NoiseFilterLumaRadius")] + DXVA2NoiseFilterLumaRadius = 0x3, + [NativeName("Name", "DXVA2_NoiseFilterChromaLevel")] + DXVA2NoiseFilterChromaLevel = 0x4, + [NativeName("Name", "DXVA2_NoiseFilterChromaThreshold")] + DXVA2NoiseFilterChromaThreshold = 0x5, + [NativeName("Name", "DXVA2_NoiseFilterChromaRadius")] + DXVA2NoiseFilterChromaRadius = 0x6, + [NativeName("Name", "DXVA2_DetailFilterLumaLevel")] + DXVA2DetailFilterLumaLevel = 0x7, + [NativeName("Name", "DXVA2_DetailFilterLumaThreshold")] + DXVA2DetailFilterLumaThreshold = 0x8, + [NativeName("Name", "DXVA2_DetailFilterLumaRadius")] + DXVA2DetailFilterLumaRadius = 0x9, + [NativeName("Name", "DXVA2_DetailFilterChromaLevel")] + DXVA2DetailFilterChromaLevel = 0xA, + [NativeName("Name", "DXVA2_DetailFilterChromaThreshold")] + DXVA2DetailFilterChromaThreshold = 0xB, + [NativeName("Name", "DXVA2_DetailFilterChromaRadius")] + DXVA2DetailFilterChromaRadius = 0xC, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000005.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000005.gen.cs new file mode 100644 index 0000000000..f6f2022687 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000005.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0005")] + public enum MIDLMIDLItfDxva2api000000000005 : int + { + [NativeName("Name", "DXVA2_NoiseFilterTech_Unsupported")] + DXVA2NoiseFilterTechUnsupported = 0x0, + [NativeName("Name", "DXVA2_NoiseFilterTech_Unknown")] + DXVA2NoiseFilterTechUnknown = 0x1, + [NativeName("Name", "DXVA2_NoiseFilterTech_Median")] + DXVA2NoiseFilterTechMedian = 0x2, + [NativeName("Name", "DXVA2_NoiseFilterTech_Temporal")] + DXVA2NoiseFilterTechTemporal = 0x4, + [NativeName("Name", "DXVA2_NoiseFilterTech_BlockNoise")] + DXVA2NoiseFilterTechBlockNoise = 0x8, + [NativeName("Name", "DXVA2_NoiseFilterTech_MosquitoNoise")] + DXVA2NoiseFilterTechMosquitoNoise = 0x10, + [NativeName("Name", "DXVA2_NoiseFilterTech_Mask")] + DXVA2NoiseFilterTechMask = 0x1F, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000006.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000006.gen.cs new file mode 100644 index 0000000000..8856e9a263 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000006.gen.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0006")] + public enum MIDLMIDLItfDxva2api000000000006 : int + { + [NativeName("Name", "DXVA2_DetailFilterTech_Unsupported")] + DXVA2DetailFilterTechUnsupported = 0x0, + [NativeName("Name", "DXVA2_DetailFilterTech_Unknown")] + DXVA2DetailFilterTechUnknown = 0x1, + [NativeName("Name", "DXVA2_DetailFilterTech_Edge")] + DXVA2DetailFilterTechEdge = 0x2, + [NativeName("Name", "DXVA2_DetailFilterTech_Sharpening")] + DXVA2DetailFilterTechSharpening = 0x4, + [NativeName("Name", "DXVA2_DetailFilterTech_Mask")] + DXVA2DetailFilterTechMask = 0x7, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000007.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000007.gen.cs new file mode 100644 index 0000000000..ef3f5ab9d9 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000007.gen.cs @@ -0,0 +1,28 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0007")] + public enum MIDLMIDLItfDxva2api000000000007 : int + { + [NativeName("Name", "DXVA2_ProcAmp_None")] + DXVA2ProcAmpNone = 0x0, + [NativeName("Name", "DXVA2_ProcAmp_Brightness")] + DXVA2ProcAmpBrightness = 0x1, + [NativeName("Name", "DXVA2_ProcAmp_Contrast")] + DXVA2ProcAmpContrast = 0x2, + [NativeName("Name", "DXVA2_ProcAmp_Hue")] + DXVA2ProcAmpHue = 0x4, + [NativeName("Name", "DXVA2_ProcAmp_Saturation")] + DXVA2ProcAmpSaturation = 0x8, + [NativeName("Name", "DXVA2_ProcAmp_Mask")] + DXVA2ProcAmpMask = 0xF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000008.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000008.gen.cs new file mode 100644 index 0000000000..b107efcac8 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000008.gen.cs @@ -0,0 +1,52 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0008")] + public enum MIDLMIDLItfDxva2api000000000008 : int + { + [NativeName("Name", "DXVA2_VideoProcess_None")] + DXVA2VideoProcessNone = 0x0, + [NativeName("Name", "DXVA2_VideoProcess_YUV2RGB")] + DXVA2VideoProcessYuv2Rgb = 0x1, + [NativeName("Name", "DXVA2_VideoProcess_StretchX")] + DXVA2VideoProcessStretchX = 0x2, + [NativeName("Name", "DXVA2_VideoProcess_StretchY")] + DXVA2VideoProcessStretchY = 0x4, + [NativeName("Name", "DXVA2_VideoProcess_AlphaBlend")] + DXVA2VideoProcessAlphaBlend = 0x8, + [NativeName("Name", "DXVA2_VideoProcess_SubRects")] + DXVA2VideoProcessSubRects = 0x10, + [NativeName("Name", "DXVA2_VideoProcess_SubStreams")] + DXVA2VideoProcessSubStreams = 0x20, + [NativeName("Name", "DXVA2_VideoProcess_SubStreamsExtended")] + DXVA2VideoProcessSubStreamsExtended = 0x40, + [NativeName("Name", "DXVA2_VideoProcess_YUV2RGBExtended")] + DXVA2VideoProcessYuv2Rgbextended = 0x80, + [NativeName("Name", "DXVA2_VideoProcess_AlphaBlendExtended")] + DXVA2VideoProcessAlphaBlendExtended = 0x100, + [NativeName("Name", "DXVA2_VideoProcess_Constriction")] + DXVA2VideoProcessConstriction = 0x200, + [NativeName("Name", "DXVA2_VideoProcess_NoiseFilter")] + DXVA2VideoProcessNoiseFilter = 0x400, + [NativeName("Name", "DXVA2_VideoProcess_DetailFilter")] + DXVA2VideoProcessDetailFilter = 0x800, + [NativeName("Name", "DXVA2_VideoProcess_PlanarAlpha")] + DXVA2VideoProcessPlanarAlpha = 0x1000, + [NativeName("Name", "DXVA2_VideoProcess_LinearScaling")] + DXVA2VideoProcessLinearScaling = 0x2000, + [NativeName("Name", "DXVA2_VideoProcess_GammaCompensated")] + DXVA2VideoProcessGammaCompensated = 0x4000, + [NativeName("Name", "DXVA2_VideoProcess_MaintainsOriginalFieldData")] + DXVA2VideoProcessMaintainsOriginalFieldData = 0x8000, + [NativeName("Name", "DXVA2_VideoProcess_Mask")] + DXVA2VideoProcessMask = 0xFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000009.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000009.gen.cs new file mode 100644 index 0000000000..ae621007cc --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000009.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0009")] + public enum MIDLMIDLItfDxva2api000000000009 : int + { + [NativeName("Name", "DXVA2_VPDev_HardwareDevice")] + DXVA2VpdevHardwareDevice = 0x1, + [NativeName("Name", "DXVA2_VPDev_EmulatedDXVA1")] + DXVA2VpdevEmulatedDxva1 = 0x2, + [NativeName("Name", "DXVA2_VPDev_SoftwareDevice")] + DXVA2VpdevSoftwareDevice = 0x4, + [NativeName("Name", "DXVA2_VPDev_Mask")] + DXVA2VpdevMask = 0x7, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000010.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000010.gen.cs new file mode 100644 index 0000000000..5ca3131259 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000010.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0010")] + public enum MIDLMIDLItfDxva2api000000000010 : int + { + [NativeName("Name", "DXVA2_SampleData_RFF")] + DXVA2SampleDataRff = 0x1, + [NativeName("Name", "DXVA2_SampleData_TFF")] + DXVA2SampleDataTff = 0x2, + [NativeName("Name", "DXVA2_SampleData_RFF_TFF_Present")] + DXVA2SampleDataRffTffPresent = 0x4, + [NativeName("Name", "DXVA2_SampleData_Mask")] + DXVA2SampleDataMask = 0xFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000011.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000011.gen.cs new file mode 100644 index 0000000000..8ffbdce21f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000011.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0011")] + public enum MIDLMIDLItfDxva2api000000000011 : int + { + [NativeName("Name", "DXVA2_DestData_RFF")] + DXVA2DestDataRff = 0x1, + [NativeName("Name", "DXVA2_DestData_TFF")] + DXVA2DestDataTff = 0x2, + [NativeName("Name", "DXVA2_DestData_RFF_TFF_Present")] + DXVA2DestDataRffTffPresent = 0x4, + [NativeName("Name", "DXVA2_DestData_Mask")] + DXVA2DestDataMask = 0xFFFF, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000012.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000012.gen.cs new file mode 100644 index 0000000000..0405ec88d6 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000012.gen.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0012")] + public enum MIDLMIDLItfDxva2api000000000012 : int + { + [NativeName("Name", "DXVA2_PictureParametersBufferType")] + DXVA2PictureParametersBufferType = 0x0, + [NativeName("Name", "DXVA2_MacroBlockControlBufferType")] + DXVA2MacroBlockControlBufferType = 0x1, + [NativeName("Name", "DXVA2_ResidualDifferenceBufferType")] + DXVA2ResidualDifferenceBufferType = 0x2, + [NativeName("Name", "DXVA2_DeblockingControlBufferType")] + DXVA2DeblockingControlBufferType = 0x3, + [NativeName("Name", "DXVA2_InverseQuantizationMatrixBufferType")] + DXVA2InverseQuantizationMatrixBufferType = 0x4, + [NativeName("Name", "DXVA2_SliceControlBufferType")] + DXVA2SliceControlBufferType = 0x5, + [NativeName("Name", "DXVA2_BitStreamDateBufferType")] + DXVA2BitStreamDateBufferType = 0x6, + [NativeName("Name", "DXVA2_MotionVectorBuffer")] + DXVA2MotionVectorBuffer = 0x7, + [NativeName("Name", "DXVA2_FilmGrainBuffer")] + DXVA2FilmGrainBuffer = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000013.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000013.gen.cs new file mode 100644 index 0000000000..eb9537b524 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000000013.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0000_0013")] + public enum MIDLMIDLItfDxva2api000000000013 : int + { + [NativeName("Name", "DXVA2_VideoDecoderRenderTarget")] + DXVA2VideoDecoderRenderTarget = 0x0, + [NativeName("Name", "DXVA2_VideoProcessorRenderTarget")] + DXVA2VideoProcessorRenderTarget = 0x1, + [NativeName("Name", "DXVA2_VideoSoftwareRenderTarget")] + DXVA2VideoSoftwareRenderTarget = 0x2, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000060001.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000060001.gen.cs new file mode 100644 index 0000000000..668fb4c10d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/MIDLMIDLItfDxva2api000000060001.gen.cs @@ -0,0 +1,22 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__MIDL___MIDL_itf_dxva2api_0000_0006_0001")] + public enum MIDLMIDLItfDxva2api000000060001 : int + { + [NativeName("Name", "DXVA2_SurfaceType_DecoderRenderTarget")] + DXVA2SurfaceTypeDecoderRenderTarget = 0x0, + [NativeName("Name", "DXVA2_SurfaceType_ProcessorRenderTarget")] + DXVA2SurfaceTypeProcessorRenderTarget = 0x1, + [NativeName("Name", "DXVA2_SurfaceType_D3DRenderTargetTexture")] + DXVA2SurfaceTypeD3DRenderTargetTexture = 0x2, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/NominalRange.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/NominalRange.gen.cs new file mode 100644 index 0000000000..15a071e50d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/NominalRange.gen.cs @@ -0,0 +1,32 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_NominalRange")] + public enum NominalRange : int + { + [NativeName("Name", "DXVA_NominalRangeShift")] + NominalRangeShift = 0xC, + [NativeName("Name", "DXVA_NominalRangeMask")] + NominalRangeMask = 0x7000, + [NativeName("Name", "DXVA_NominalRange_Unknown")] + NominalRangeUnknown = 0x0, + [NativeName("Name", "DXVA_NominalRange_Normal")] + NominalRangeNormal = 0x1, + [NativeName("Name", "DXVA_NominalRange_Wide")] + NominalRangeWide = 0x2, + [NativeName("Name", "DXVA_NominalRange_0_255")] + NominalRange0255 = 0x1, + [NativeName("Name", "DXVA_NominalRange_16_235")] + NominalRange16235 = 0x2, + [NativeName("Name", "DXVA_NominalRange_48_208")] + NominalRange48208 = 0x3, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/ProcAmpControlProp.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/ProcAmpControlProp.gen.cs new file mode 100644 index 0000000000..cb29df1224 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/ProcAmpControlProp.gen.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_ProcAmpControlProp")] + public enum ProcAmpControlProp : int + { + [NativeName("Name", "DXVA_ProcAmp_None")] + ProcAmpNone = 0x0, + [NativeName("Name", "DXVA_ProcAmp_Brightness")] + ProcAmpBrightness = 0x1, + [NativeName("Name", "DXVA_ProcAmp_Contrast")] + ProcAmpContrast = 0x2, + [NativeName("Name", "DXVA_ProcAmp_Hue")] + ProcAmpHue = 0x4, + [NativeName("Name", "DXVA_ProcAmp_Saturation")] + ProcAmpSaturation = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/SampleFlags.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/SampleFlags.gen.cs new file mode 100644 index 0000000000..2dab11206e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/SampleFlags.gen.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_SampleFlags")] + public enum SampleFlags : int + { + [NativeName("Name", "DXVA_SampleFlagsMask")] + SampleFlagsMask = 0xF, + [NativeName("Name", "DXVA_SampleFlag_Palette_Changed")] + SampleFlagPaletteChanged = 0x1, + [NativeName("Name", "DXVA_SampleFlag_SrcRect_Changed")] + SampleFlagSrcRectChanged = 0x2, + [NativeName("Name", "DXVA_SampleFlag_DstRect_Changed")] + SampleFlagDstRectChanged = 0x4, + [NativeName("Name", "DXVA_SampleFlag_ColorData_Changed")] + SampleFlagColorDataChanged = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/SampleFormat.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/SampleFormat.gen.cs new file mode 100644 index 0000000000..b7d66ee192 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/SampleFormat.gen.cs @@ -0,0 +1,34 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_SampleFormat")] + public enum SampleFormat : int + { + [NativeName("Name", "DXVA_SampleFormatMask")] + SampleFormatMask = 0xFF, + [NativeName("Name", "DXVA_SampleUnknown")] + SampleUnknown = 0x0, + [NativeName("Name", "DXVA_SamplePreviousFrame")] + SamplePreviousFrame = 0x1, + [NativeName("Name", "DXVA_SampleProgressiveFrame")] + SampleProgressiveFrame = 0x2, + [NativeName("Name", "DXVA_SampleFieldInterleavedEvenFirst")] + SampleFieldInterleavedEvenFirst = 0x3, + [NativeName("Name", "DXVA_SampleFieldInterleavedOddFirst")] + SampleFieldInterleavedOddFirst = 0x4, + [NativeName("Name", "DXVA_SampleFieldSingleEven")] + SampleFieldSingleEven = 0x5, + [NativeName("Name", "DXVA_SampleFieldSingleOdd")] + SampleFieldSingleOdd = 0x6, + [NativeName("Name", "DXVA_SampleSubStream")] + SampleSubStream = 0x7, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/VideoChromaSubsampling.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/VideoChromaSubsampling.gen.cs new file mode 100644 index 0000000000..3c208881a3 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/VideoChromaSubsampling.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoChromaSubsampling")] + public enum VideoChromaSubsampling : int + { + [NativeName("Name", "DXVA_VideoChromaSubsamplingShift")] + VideoChromaSubsamplingShift = 0x8, + [NativeName("Name", "DXVA_VideoChromaSubsamplingMask")] + VideoChromaSubsamplingMask = 0xF00, + [NativeName("Name", "DXVA_VideoChromaSubsampling_Unknown")] + VideoChromaSubsamplingUnknown = 0x0, + [NativeName("Name", "DXVA_VideoChromaSubsampling_ProgressiveChroma")] + VideoChromaSubsamplingProgressiveChroma = 0x8, + [NativeName("Name", "DXVA_VideoChromaSubsampling_Horizontally_Cosited")] + VideoChromaSubsamplingHorizontallyCosited = 0x4, + [NativeName("Name", "DXVA_VideoChromaSubsampling_Vertically_Cosited")] + VideoChromaSubsamplingVerticallyCosited = 0x2, + [NativeName("Name", "DXVA_VideoChromaSubsampling_Vertically_AlignedChromaPlanes")] + VideoChromaSubsamplingVerticallyAlignedChromaPlanes = 0x1, + [NativeName("Name", "DXVA_VideoChromaSubsampling_MPEG2")] + VideoChromaSubsamplingMpeg2 = 0x5, + [NativeName("Name", "DXVA_VideoChromaSubsampling_MPEG1")] + VideoChromaSubsamplingMpeg1 = 0x1, + [NativeName("Name", "DXVA_VideoChromaSubsampling_DV_PAL")] + VideoChromaSubsamplingDVPal = 0x6, + [NativeName("Name", "DXVA_VideoChromaSubsampling_Cosited")] + VideoChromaSubsamplingCosited = 0x7, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/VideoLighting.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/VideoLighting.gen.cs new file mode 100644 index 0000000000..fe248d8a90 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/VideoLighting.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoLighting")] + public enum VideoLighting : int + { + [NativeName("Name", "DXVA_VideoLightingShift")] + VideoLightingShift = 0x12, + [NativeName("Name", "DXVA_VideoLightingMask")] + VideoLightingMask = 0x3C0000, + [NativeName("Name", "DXVA_VideoLighting_Unknown")] + VideoLightingUnknown = 0x0, + [NativeName("Name", "DXVA_VideoLighting_bright")] + VideoLightingBright = 0x1, + [NativeName("Name", "DXVA_VideoLighting_office")] + VideoLightingOffice = 0x2, + [NativeName("Name", "DXVA_VideoLighting_dim")] + VideoLightingDim = 0x3, + [NativeName("Name", "DXVA_VideoLighting_dark")] + VideoLightingDark = 0x4, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/VideoPrimaries.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/VideoPrimaries.gen.cs new file mode 100644 index 0000000000..1a15cf7642 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/VideoPrimaries.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoPrimaries")] + public enum VideoPrimaries : int + { + [NativeName("Name", "DXVA_VideoPrimariesShift")] + VideoPrimariesShift = 0x16, + [NativeName("Name", "DXVA_VideoPrimariesMask")] + VideoPrimariesMask = 0x7C00000, + [NativeName("Name", "DXVA_VideoPrimaries_Unknown")] + VideoPrimariesUnknown = 0x0, + [NativeName("Name", "DXVA_VideoPrimaries_reserved")] + VideoPrimariesReserved = 0x1, + [NativeName("Name", "DXVA_VideoPrimaries_BT709")] + VideoPrimariesBT709 = 0x2, + [NativeName("Name", "DXVA_VideoPrimaries_BT470_2_SysM")] + VideoPrimariesBT4702SysM = 0x3, + [NativeName("Name", "DXVA_VideoPrimaries_BT470_2_SysBG")] + VideoPrimariesBT4702SysBG = 0x4, + [NativeName("Name", "DXVA_VideoPrimaries_SMPTE170M")] + VideoPrimariesSmpte170M = 0x5, + [NativeName("Name", "DXVA_VideoPrimaries_SMPTE240M")] + VideoPrimariesSmpte240M = 0x6, + [NativeName("Name", "DXVA_VideoPrimaries_EBU3213")] + VideoPrimariesEbu3213 = 0x7, + [NativeName("Name", "DXVA_VideoPrimaries_SMPTE_C")] + VideoPrimariesSmpteC = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/VideoProcessCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/VideoProcessCaps.gen.cs new file mode 100644 index 0000000000..49dbec5706 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/VideoProcessCaps.gen.cs @@ -0,0 +1,36 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoProcessCaps")] + public enum VideoProcessCaps : int + { + [NativeName("Name", "DXVA_VideoProcess_None")] + VideoProcessNone = 0x0, + [NativeName("Name", "DXVA_VideoProcess_YUV2RGB")] + VideoProcessYuv2Rgb = 0x1, + [NativeName("Name", "DXVA_VideoProcess_StretchX")] + VideoProcessStretchX = 0x2, + [NativeName("Name", "DXVA_VideoProcess_StretchY")] + VideoProcessStretchY = 0x4, + [NativeName("Name", "DXVA_VideoProcess_AlphaBlend")] + VideoProcessAlphaBlend = 0x8, + [NativeName("Name", "DXVA_VideoProcess_SubRects")] + VideoProcessSubRects = 0x10, + [NativeName("Name", "DXVA_VideoProcess_SubStreams")] + VideoProcessSubStreams = 0x20, + [NativeName("Name", "DXVA_VideoProcess_SubStreamsExtended")] + VideoProcessSubStreamsExtended = 0x40, + [NativeName("Name", "DXVA_VideoProcess_YUV2RGBExtended")] + VideoProcessYuv2Rgbextended = 0x80, + [NativeName("Name", "DXVA_VideoProcess_AlphaBlendExtended")] + VideoProcessAlphaBlendExtended = 0x100, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/VideoTransferFunction.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/VideoTransferFunction.gen.cs new file mode 100644 index 0000000000..d432702fb7 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/VideoTransferFunction.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoTransferFunction")] + public enum VideoTransferFunction : int + { + [NativeName("Name", "DXVA_VideoTransFuncShift")] + VideoTransFuncShift = 0x1B, + [NativeName("Name", "DXVA_VideoTransFuncMask")] + VideoTransFuncMask = unchecked((int) 0xFFFFFFFFF8000000), + [NativeName("Name", "DXVA_VideoTransFunc_Unknown")] + VideoTransFuncUnknown = 0x0, + [NativeName("Name", "DXVA_VideoTransFunc_10")] + VideoTransFunc10 = 0x1, + [NativeName("Name", "DXVA_VideoTransFunc_18")] + VideoTransFunc18 = 0x2, + [NativeName("Name", "DXVA_VideoTransFunc_20")] + VideoTransFunc20 = 0x3, + [NativeName("Name", "DXVA_VideoTransFunc_22")] + VideoTransFunc22 = 0x4, + [NativeName("Name", "DXVA_VideoTransFunc_22_709")] + VideoTransFunc22709 = 0x5, + [NativeName("Name", "DXVA_VideoTransFunc_22_240M")] + VideoTransFunc22240M = 0x6, + [NativeName("Name", "DXVA_VideoTransFunc_22_8bit_sRGB")] + VideoTransFunc228bitSRgb = 0x7, + [NativeName("Name", "DXVA_VideoTransFunc_28")] + VideoTransFunc28 = 0x8, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Enums/VideoTransferMatrix.gen.cs b/src/Microsoft/Silk.NET.DXVA/Enums/VideoTransferMatrix.gen.cs new file mode 100644 index 0000000000..6de97792c2 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Enums/VideoTransferMatrix.gen.cs @@ -0,0 +1,28 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoTransferMatrix")] + public enum VideoTransferMatrix : int + { + [NativeName("Name", "DXVA_VideoTransferMatrixShift")] + VideoTransferMatrixShift = 0xF, + [NativeName("Name", "DXVA_VideoTransferMatrixMask")] + VideoTransferMatrixMask = 0x38000, + [NativeName("Name", "DXVA_VideoTransferMatrix_Unknown")] + VideoTransferMatrixUnknown = 0x0, + [NativeName("Name", "DXVA_VideoTransferMatrix_BT709")] + VideoTransferMatrixBT709 = 0x1, + [NativeName("Name", "DXVA_VideoTransferMatrix_BT601")] + VideoTransferMatrixBT601 = 0x2, + [NativeName("Name", "DXVA_VideoTransferMatrix_SMPTE240M")] + VideoTransferMatrixSmpte240M = 0x3, + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Silk.NET.DXVA.csproj b/src/Microsoft/Silk.NET.DXVA/Silk.NET.DXVA.csproj new file mode 100644 index 0000000000..b534d66db6 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Silk.NET.DXVA.csproj @@ -0,0 +1,15 @@ + + + + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 + true + preview + + + + + + + + + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/AYUVsample2.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/AYUVsample2.gen.cs new file mode 100644 index 0000000000..a510ad3f61 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/AYUVsample2.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_AYUVsample2")] + public unsafe partial struct AYUVsample2 + { + public AYUVsample2 + ( + byte? bCrValue = null, + byte? bCbValue = null, + byte? bYValue = null, + byte? bSampleAlpha8 = null + ) : this() + { + if (bCrValue is not null) + { + BCrValue = bCrValue.Value; + } + + if (bCbValue is not null) + { + BCbValue = bCbValue.Value; + } + + if (bYValue is not null) + { + BYValue = bYValue.Value; + } + + if (bSampleAlpha8 is not null) + { + BSampleAlpha8 = bSampleAlpha8.Value; + } + } + + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bCrValue")] + public byte BCrValue; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bCbValue")] + public byte BCbValue; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bY_Value")] + public byte BYValue; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bSampleAlpha8")] + public byte BSampleAlpha8; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/BufferDescription.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/BufferDescription.gen.cs new file mode 100644 index 0000000000..e72fa8e0b4 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/BufferDescription.gen.cs @@ -0,0 +1,139 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Sequential, Pack = 1)] + [NativeName("Name", "_DXVA_BufferDescription")] + public unsafe partial struct BufferDescription + { + public BufferDescription + ( + uint? dwTypeIndex = null, + uint? dwBufferIndex = null, + uint? dwDataOffset = null, + uint? dwDataSize = null, + uint? dwFirstMBaddress = null, + uint? dwNumMBsInBuffer = null, + uint? dwWidth = null, + uint? dwHeight = null, + uint? dwStride = null, + uint? dwReservedBits = null + ) : this() + { + if (dwTypeIndex is not null) + { + DwTypeIndex = dwTypeIndex.Value; + } + + if (dwBufferIndex is not null) + { + DwBufferIndex = dwBufferIndex.Value; + } + + if (dwDataOffset is not null) + { + DwDataOffset = dwDataOffset.Value; + } + + if (dwDataSize is not null) + { + DwDataSize = dwDataSize.Value; + } + + if (dwFirstMBaddress is not null) + { + DwFirstMBaddress = dwFirstMBaddress.Value; + } + + if (dwNumMBsInBuffer is not null) + { + DwNumMBsInBuffer = dwNumMBsInBuffer.Value; + } + + if (dwWidth is not null) + { + DwWidth = dwWidth.Value; + } + + if (dwHeight is not null) + { + DwHeight = dwHeight.Value; + } + + if (dwStride is not null) + { + DwStride = dwStride.Value; + } + + if (dwReservedBits is not null) + { + DwReservedBits = dwReservedBits.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwTypeIndex")] + public uint DwTypeIndex; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwBufferIndex")] + public uint DwBufferIndex; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwDataOffset")] + public uint DwDataOffset; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwDataSize")] + public uint DwDataSize; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwFirstMBaddress")] + public uint DwFirstMBaddress; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwNumMBsInBuffer")] + public uint DwNumMBsInBuffer; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwWidth")] + public uint DwWidth; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwHeight")] + public uint DwHeight; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwStride")] + public uint DwStride; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "dwReservedBits")] + public uint DwReservedBits; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/BufferInfo.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/BufferInfo.gen.cs new file mode 100644 index 0000000000..d305f2781f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/BufferInfo.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVABufferInfo")] + public unsafe partial struct BufferInfo + { + public BufferInfo + ( + void* pCompSurface = null, + uint? dataOffset = null, + uint? dataSize = null + ) : this() + { + if (pCompSurface is not null) + { + PCompSurface = pCompSurface; + } + + if (dataOffset is not null) + { + DataOffset = dataOffset.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + } + + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "pCompSurface")] + public void* PCompSurface; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "DataOffset")] + public uint DataOffset; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "DataSize")] + public uint DataSize; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPCommand.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPCommand.gen.cs new file mode 100644 index 0000000000..a0775302a6 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPCommand.gen.cs @@ -0,0 +1,76 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPCommand")] + public unsafe partial struct COPPCommand + { + public COPPCommand + ( + Guid? macKDI = null, + Guid? guidCommandID = null, + uint? dwSequence = null, + uint? cbSizeData = null + ) : this() + { + if (macKDI is not null) + { + MacKDI = macKDI.Value; + } + + if (guidCommandID is not null) + { + GuidCommandID = guidCommandID.Value; + } + + if (dwSequence is not null) + { + DwSequence = dwSequence.Value; + } + + if (cbSizeData is not null) + { + CbSizeData = cbSizeData.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "macKDI")] + public Guid MacKDI; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidCommandID")] + public Guid GuidCommandID; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwSequence")] + public uint DwSequence; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "cbSizeData")] + public uint CbSizeData; + [NativeName("Type", "UCHAR [4056]")] + [NativeName("Type.Name", "UCHAR [4056]")] + [NativeName("Name", "CommandData")] + public fixed byte CommandData[4056]; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPSetProtectionLevelCmdData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPSetProtectionLevelCmdData.gen.cs new file mode 100644 index 0000000000..456a033927 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPSetProtectionLevelCmdData.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPSetProtectionLevelCmdData")] + public unsafe partial struct COPPSetProtectionLevelCmdData + { + public COPPSetProtectionLevelCmdData + ( + uint? protType = null, + uint? protLevel = null, + uint? extendedInfoChangeMask = null, + uint? extendedInfoData = null + ) : this() + { + if (protType is not null) + { + ProtType = protType.Value; + } + + if (protLevel is not null) + { + ProtLevel = protLevel.Value; + } + + if (extendedInfoChangeMask is not null) + { + ExtendedInfoChangeMask = extendedInfoChangeMask.Value; + } + + if (extendedInfoData is not null) + { + ExtendedInfoData = extendedInfoData.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProtType")] + public uint ProtType; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ProtLevel")] + public uint ProtLevel; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ExtendedInfoChangeMask")] + public uint ExtendedInfoChangeMask; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ExtendedInfoData")] + public uint ExtendedInfoData; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPSetSignalingCmdData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPSetSignalingCmdData.gen.cs new file mode 100644 index 0000000000..5c287c017c --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPSetSignalingCmdData.gen.cs @@ -0,0 +1,124 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPSetSignalingCmdData")] + public unsafe partial struct COPPSetSignalingCmdData + { + public COPPSetSignalingCmdData + ( + uint? activeTVProtectionStandard = null, + uint? aspectRatioChangeMask1 = null, + uint? aspectRatioData1 = null, + uint? aspectRatioChangeMask2 = null, + uint? aspectRatioData2 = null, + uint? aspectRatioChangeMask3 = null, + uint? aspectRatioData3 = null, + uint? reserved = null + ) : this() + { + if (activeTVProtectionStandard is not null) + { + ActiveTVProtectionStandard = activeTVProtectionStandard.Value; + } + + if (aspectRatioChangeMask1 is not null) + { + AspectRatioChangeMask1 = aspectRatioChangeMask1.Value; + } + + if (aspectRatioData1 is not null) + { + AspectRatioData1 = aspectRatioData1.Value; + } + + if (aspectRatioChangeMask2 is not null) + { + AspectRatioChangeMask2 = aspectRatioChangeMask2.Value; + } + + if (aspectRatioData2 is not null) + { + AspectRatioData2 = aspectRatioData2.Value; + } + + if (aspectRatioChangeMask3 is not null) + { + AspectRatioChangeMask3 = aspectRatioChangeMask3.Value; + } + + if (aspectRatioData3 is not null) + { + AspectRatioData3 = aspectRatioData3.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ActiveTVProtectionStandard")] + public uint ActiveTVProtectionStandard; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioChangeMask1")] + public uint AspectRatioChangeMask1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioData1")] + public uint AspectRatioData1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioChangeMask2")] + public uint AspectRatioChangeMask2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioData2")] + public uint AspectRatioData2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioChangeMask3")] + public uint AspectRatioChangeMask3; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioData3")] + public uint AspectRatioData3; + [NativeName("Type", "ULONG [4]")] + [NativeName("Type.Name", "ULONG [4]")] + [NativeName("Name", "ExtendedInfoChangeMask")] + public fixed uint ExtendedInfoChangeMask[4]; + [NativeName("Type", "ULONG [4]")] + [NativeName("Type.Name", "ULONG [4]")] + [NativeName("Name", "ExtendedInfoData")] + public fixed uint ExtendedInfoData[4]; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Reserved")] + public uint Reserved; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPSignature.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPSignature.gen.cs new file mode 100644 index 0000000000..97f2cb0df8 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPSignature.gen.cs @@ -0,0 +1,27 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPSignature")] + public unsafe partial struct COPPSignature + { + [NativeName("Type", "UCHAR [256]")] + [NativeName("Type.Name", "UCHAR [256]")] + [NativeName("Name", "Signature")] + public fixed byte Signature[256]; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusData.gen.cs new file mode 100644 index 0000000000..ca4378c48f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusData.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPStatusData")] + public unsafe partial struct COPPStatusData + { + public COPPStatusData + ( + Guid? rApp = null, + uint? dwFlags = null, + uint? dwData = null, + uint? extendedInfoValidMask = null, + uint? extendedInfoData = null + ) : this() + { + if (rApp is not null) + { + RApp = rApp.Value; + } + + if (dwFlags is not null) + { + DwFlags = dwFlags.Value; + } + + if (dwData is not null) + { + DwData = dwData.Value; + } + + if (extendedInfoValidMask is not null) + { + ExtendedInfoValidMask = extendedInfoValidMask.Value; + } + + if (extendedInfoData is not null) + { + ExtendedInfoData = extendedInfoData.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "rApp")] + public Guid RApp; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwFlags")] + public uint DwFlags; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwData")] + public uint DwData; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ExtendedInfoValidMask")] + public uint ExtendedInfoValidMask; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ExtendedInfoData")] + public uint ExtendedInfoData; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusDisplayData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusDisplayData.gen.cs new file mode 100644 index 0000000000..c859fc1549 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusDisplayData.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPStatusDisplayData")] + public unsafe partial struct COPPStatusDisplayData + { + public COPPStatusDisplayData + ( + Guid? rApp = null, + uint? dwFlags = null, + uint? displayWidth = null, + uint? displayHeight = null, + uint? format = null, + uint? d3dFormat = null, + uint? freqNumerator = null, + uint? freqDenominator = null + ) : this() + { + if (rApp is not null) + { + RApp = rApp.Value; + } + + if (dwFlags is not null) + { + DwFlags = dwFlags.Value; + } + + if (displayWidth is not null) + { + DisplayWidth = displayWidth.Value; + } + + if (displayHeight is not null) + { + DisplayHeight = displayHeight.Value; + } + + if (format is not null) + { + Format = format.Value; + } + + if (d3dFormat is not null) + { + D3dFormat = d3dFormat.Value; + } + + if (freqNumerator is not null) + { + FreqNumerator = freqNumerator.Value; + } + + if (freqDenominator is not null) + { + FreqDenominator = freqDenominator.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "rApp")] + public Guid RApp; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwFlags")] + public uint DwFlags; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "DisplayWidth")] + public uint DisplayWidth; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "DisplayHeight")] + public uint DisplayHeight; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Format")] + public uint Format; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "d3dFormat")] + public uint D3dFormat; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FreqNumerator")] + public uint FreqNumerator; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "FreqDenominator")] + public uint FreqDenominator; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusHDCPKeyData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusHDCPKeyData.gen.cs new file mode 100644 index 0000000000..b7bba89b0b --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusHDCPKeyData.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPStatusHDCPKeyData")] + public unsafe partial struct COPPStatusHDCPKeyData + { + public COPPStatusHDCPKeyData + ( + Guid? rApp = null, + uint? dwFlags = null, + uint? dwHDCPFlags = null, + Guid? bKey = null, + Guid? reserved1 = null, + Guid? reserved2 = null + ) : this() + { + if (rApp is not null) + { + RApp = rApp.Value; + } + + if (dwFlags is not null) + { + DwFlags = dwFlags.Value; + } + + if (dwHDCPFlags is not null) + { + DwHDCPFlags = dwHDCPFlags.Value; + } + + if (bKey is not null) + { + BKey = bKey.Value; + } + + if (reserved1 is not null) + { + Reserved1 = reserved1.Value; + } + + if (reserved2 is not null) + { + Reserved2 = reserved2.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "rApp")] + public Guid RApp; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwFlags")] + public uint DwFlags; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwHDCPFlags")] + public uint DwHDCPFlags; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "BKey")] + public Guid BKey; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "Reserved1")] + public Guid Reserved1; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "Reserved2")] + public Guid Reserved2; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusInput.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusInput.gen.cs new file mode 100644 index 0000000000..36f75de1cb --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusInput.gen.cs @@ -0,0 +1,76 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPStatusInput")] + public unsafe partial struct COPPStatusInput + { + public COPPStatusInput + ( + Guid? rApp = null, + Guid? guidStatusRequestID = null, + uint? dwSequence = null, + uint? cbSizeData = null + ) : this() + { + if (rApp is not null) + { + RApp = rApp.Value; + } + + if (guidStatusRequestID is not null) + { + GuidStatusRequestID = guidStatusRequestID.Value; + } + + if (dwSequence is not null) + { + DwSequence = dwSequence.Value; + } + + if (cbSizeData is not null) + { + CbSizeData = cbSizeData.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "rApp")] + public Guid RApp; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidStatusRequestID")] + public Guid GuidStatusRequestID; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwSequence")] + public uint DwSequence; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "cbSizeData")] + public uint CbSizeData; + [NativeName("Type", "UCHAR [4056]")] + [NativeName("Type.Name", "UCHAR [4056]")] + [NativeName("Name", "StatusData")] + public fixed byte StatusData[4056]; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusOutput.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusOutput.gen.cs new file mode 100644 index 0000000000..c44dca415a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusOutput.gen.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPStatusOutput")] + public unsafe partial struct COPPStatusOutput + { + public COPPStatusOutput + ( + Guid? macKDI = null, + uint? cbSizeData = null + ) : this() + { + if (macKDI is not null) + { + MacKDI = macKDI.Value; + } + + if (cbSizeData is not null) + { + CbSizeData = cbSizeData.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "macKDI")] + public Guid MacKDI; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "cbSizeData")] + public uint CbSizeData; + [NativeName("Type", "UCHAR [4076]")] + [NativeName("Type.Name", "UCHAR [4076]")] + [NativeName("Name", "COPPStatus")] + public fixed byte COPPStatus[4076]; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusSignalingCmdData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusSignalingCmdData.gen.cs new file mode 100644 index 0000000000..eb8bde4187 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/COPPStatusSignalingCmdData.gen.cs @@ -0,0 +1,157 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_COPPStatusSignalingCmdData")] + public unsafe partial struct COPPStatusSignalingCmdData + { + public COPPStatusSignalingCmdData + ( + Guid? rApp = null, + uint? dwFlags = null, + uint? availableTVProtectionStandards = null, + uint? activeTVProtectionStandard = null, + uint? tVType = null, + uint? aspectRatioValidMask1 = null, + uint? aspectRatioData1 = null, + uint? aspectRatioValidMask2 = null, + uint? aspectRatioData2 = null, + uint? aspectRatioValidMask3 = null, + uint? aspectRatioData3 = null + ) : this() + { + if (rApp is not null) + { + RApp = rApp.Value; + } + + if (dwFlags is not null) + { + DwFlags = dwFlags.Value; + } + + if (availableTVProtectionStandards is not null) + { + AvailableTVProtectionStandards = availableTVProtectionStandards.Value; + } + + if (activeTVProtectionStandard is not null) + { + ActiveTVProtectionStandard = activeTVProtectionStandard.Value; + } + + if (tVType is not null) + { + TVType = tVType.Value; + } + + if (aspectRatioValidMask1 is not null) + { + AspectRatioValidMask1 = aspectRatioValidMask1.Value; + } + + if (aspectRatioData1 is not null) + { + AspectRatioData1 = aspectRatioData1.Value; + } + + if (aspectRatioValidMask2 is not null) + { + AspectRatioValidMask2 = aspectRatioValidMask2.Value; + } + + if (aspectRatioData2 is not null) + { + AspectRatioData2 = aspectRatioData2.Value; + } + + if (aspectRatioValidMask3 is not null) + { + AspectRatioValidMask3 = aspectRatioValidMask3.Value; + } + + if (aspectRatioData3 is not null) + { + AspectRatioData3 = aspectRatioData3.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "rApp")] + public Guid RApp; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "dwFlags")] + public uint DwFlags; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AvailableTVProtectionStandards")] + public uint AvailableTVProtectionStandards; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "ActiveTVProtectionStandard")] + public uint ActiveTVProtectionStandard; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "TVType")] + public uint TVType; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioValidMask1")] + public uint AspectRatioValidMask1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioData1")] + public uint AspectRatioData1; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioValidMask2")] + public uint AspectRatioValidMask2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioData2")] + public uint AspectRatioData2; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioValidMask3")] + public uint AspectRatioValidMask3; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "AspectRatioData3")] + public uint AspectRatioData3; + [NativeName("Type", "ULONG [4]")] + [NativeName("Type.Name", "ULONG [4]")] + [NativeName("Name", "ExtendedInfoValidMask")] + public fixed uint ExtendedInfoValidMask[4]; + [NativeName("Type", "ULONG [4]")] + [NativeName("Type.Name", "ULONG [4]")] + [NativeName("Name", "ExtendedInfoData")] + public fixed uint ExtendedInfoData[4]; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/CompBufferInfo.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/CompBufferInfo.gen.cs new file mode 100644 index 0000000000..d714f310e2 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/CompBufferInfo.gen.cs @@ -0,0 +1,105 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVACompBufferInfo")] + public unsafe partial struct CompBufferInfo + { + public CompBufferInfo + ( + uint? numCompBuffers = null, + uint? widthToCreate = null, + uint? heightToCreate = null, + uint? bytesToAllocate = null, + uint? usage = null, + Silk.NET.Direct3D9.Pool? pool = null, + Silk.NET.Direct3D9.Format? format = null + ) : this() + { + if (numCompBuffers is not null) + { + NumCompBuffers = numCompBuffers.Value; + } + + if (widthToCreate is not null) + { + WidthToCreate = widthToCreate.Value; + } + + if (heightToCreate is not null) + { + HeightToCreate = heightToCreate.Value; + } + + if (bytesToAllocate is not null) + { + BytesToAllocate = bytesToAllocate.Value; + } + + if (usage is not null) + { + Usage = usage.Value; + } + + if (pool is not null) + { + Pool = pool.Value; + } + + if (format is not null) + { + Format = format.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "NumCompBuffers")] + public uint NumCompBuffers; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "WidthToCreate")] + public uint WidthToCreate; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "HeightToCreate")] + public uint HeightToCreate; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "BytesToAllocate")] + public uint BytesToAllocate; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Usage")] + public uint Usage; + + [NativeName("Type", "D3DPOOL")] + [NativeName("Type.Name", "D3DPOOL")] + [NativeName("Name", "Pool")] + public Silk.NET.Direct3D9.Pool Pool; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "Format")] + public Silk.NET.Direct3D9.Format Format; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/ConfigPictureDecode.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/ConfigPictureDecode.gen.cs new file mode 100644 index 0000000000..4748e39cfa --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/ConfigPictureDecode.gen.cs @@ -0,0 +1,209 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Sequential, Pack = 1)] + [NativeName("Name", "_DXVA_ConfigPictureDecode")] + public unsafe partial struct ConfigPictureDecode + { + public ConfigPictureDecode + ( + uint? dwFunction = null, + Guid? guidConfigBitstreamEncryption = null, + Guid? guidConfigMBcontrolEncryption = null, + Guid? guidConfigResidDiffEncryption = null, + byte? bConfigBitstreamRaw = null, + byte? bConfigMBcontrolRasterOrder = null, + byte? bConfigResidDiffHost = null, + byte? bConfigSpatialResid8 = null, + byte? bConfigResid8Subtraction = null, + byte? bConfigSpatialHost8or9Clipping = null, + byte? bConfigSpatialResidInterleaved = null, + byte? bConfigIntraResidUnsigned = null, + byte? bConfigResidDiffAccelerator = null, + byte? bConfigHostInverseScan = null, + byte? bConfigSpecificIDCT = null, + byte? bConfig4GroupedCoefs = null + ) : this() + { + if (dwFunction is not null) + { + DwFunction = dwFunction.Value; + } + + if (guidConfigBitstreamEncryption is not null) + { + GuidConfigBitstreamEncryption = guidConfigBitstreamEncryption.Value; + } + + if (guidConfigMBcontrolEncryption is not null) + { + GuidConfigMBcontrolEncryption = guidConfigMBcontrolEncryption.Value; + } + + if (guidConfigResidDiffEncryption is not null) + { + GuidConfigResidDiffEncryption = guidConfigResidDiffEncryption.Value; + } + + if (bConfigBitstreamRaw is not null) + { + BConfigBitstreamRaw = bConfigBitstreamRaw.Value; + } + + if (bConfigMBcontrolRasterOrder is not null) + { + BConfigMBcontrolRasterOrder = bConfigMBcontrolRasterOrder.Value; + } + + if (bConfigResidDiffHost is not null) + { + BConfigResidDiffHost = bConfigResidDiffHost.Value; + } + + if (bConfigSpatialResid8 is not null) + { + BConfigSpatialResid8 = bConfigSpatialResid8.Value; + } + + if (bConfigResid8Subtraction is not null) + { + BConfigResid8Subtraction = bConfigResid8Subtraction.Value; + } + + if (bConfigSpatialHost8or9Clipping is not null) + { + BConfigSpatialHost8or9Clipping = bConfigSpatialHost8or9Clipping.Value; + } + + if (bConfigSpatialResidInterleaved is not null) + { + BConfigSpatialResidInterleaved = bConfigSpatialResidInterleaved.Value; + } + + if (bConfigIntraResidUnsigned is not null) + { + BConfigIntraResidUnsigned = bConfigIntraResidUnsigned.Value; + } + + if (bConfigResidDiffAccelerator is not null) + { + BConfigResidDiffAccelerator = bConfigResidDiffAccelerator.Value; + } + + if (bConfigHostInverseScan is not null) + { + BConfigHostInverseScan = bConfigHostInverseScan.Value; + } + + if (bConfigSpecificIDCT is not null) + { + BConfigSpecificIDCT = bConfigSpecificIDCT.Value; + } + + if (bConfig4GroupedCoefs is not null) + { + BConfig4GroupedCoefs = bConfig4GroupedCoefs.Value; + } + } + + + [NativeName("Type", "DXVA_ConfigQueryOrReplyFunc")] + [NativeName("Type.Name", "DXVA_ConfigQueryOrReplyFunc")] + [NativeName("Name", "dwFunction")] + public uint DwFunction; + [NativeName("Type", "DWORD [3]")] + [NativeName("Type.Name", "DWORD [3]")] + [NativeName("Name", "dwReservedBits")] + public fixed uint DwReservedBits[3]; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidConfigBitstreamEncryption")] + public Guid GuidConfigBitstreamEncryption; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidConfigMBcontrolEncryption")] + public Guid GuidConfigMBcontrolEncryption; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidConfigResidDiffEncryption")] + public Guid GuidConfigResidDiffEncryption; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigBitstreamRaw")] + public byte BConfigBitstreamRaw; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigMBcontrolRasterOrder")] + public byte BConfigMBcontrolRasterOrder; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigResidDiffHost")] + public byte BConfigResidDiffHost; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigSpatialResid8")] + public byte BConfigSpatialResid8; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigResid8Subtraction")] + public byte BConfigResid8Subtraction; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigSpatialHost8or9Clipping")] + public byte BConfigSpatialHost8or9Clipping; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigSpatialResidInterleaved")] + public byte BConfigSpatialResidInterleaved; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigIntraResidUnsigned")] + public byte BConfigIntraResidUnsigned; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigResidDiffAccelerator")] + public byte BConfigResidDiffAccelerator; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigHostInverseScan")] + public byte BConfigHostInverseScan; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfigSpecificIDCT")] + public byte BConfigSpecificIDCT; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bConfig4GroupedCoefs")] + public byte BConfig4GroupedCoefs; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AYUVSample16.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AYUVSample16.gen.cs new file mode 100644 index 0000000000..9a71ea766d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AYUVSample16.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_AYUVSample16")] + public unsafe partial struct DXVA2AYUVSample16 + { + public DXVA2AYUVSample16 + ( + ushort? cr = null, + ushort? cb = null, + ushort? y = null, + ushort? alpha = null + ) : this() + { + if (cr is not null) + { + Cr = cr.Value; + } + + if (cb is not null) + { + Cb = cb.Value; + } + + if (y is not null) + { + Y = y.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + } + + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Cr")] + public ushort Cr; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Cb")] + public ushort Cb; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Y")] + public ushort Y; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Alpha")] + public ushort Alpha; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AYUVSample8.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AYUVSample8.gen.cs new file mode 100644 index 0000000000..889549097c --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AYUVSample8.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_AYUVSample8")] + public unsafe partial struct DXVA2AYUVSample8 + { + public DXVA2AYUVSample8 + ( + byte? cr = null, + byte? cb = null, + byte? y = null, + byte? alpha = null + ) : this() + { + if (cr is not null) + { + Cr = cr.Value; + } + + if (cb is not null) + { + Cb = cb.Value; + } + + if (y is not null) + { + Y = y.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + } + + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Cr")] + public byte Cr; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Cb")] + public byte Cb; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Y")] + public byte Y; + + [NativeName("Type", "UCHAR")] + [NativeName("Type.Name", "UCHAR")] + [NativeName("Name", "Alpha")] + public byte Alpha; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AesCtrIV.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AesCtrIV.gen.cs new file mode 100644 index 0000000000..ca8ac9cfc9 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2AesCtrIV.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_AES_CTR_IV")] + public unsafe partial struct DXVA2AesCtrIV + { + public DXVA2AesCtrIV + ( + ulong? iV = null, + ulong? count = null + ) : this() + { + if (iV is not null) + { + IV = iV.Value; + } + + if (count is not null) + { + Count = count.Value; + } + } + + + [NativeName("Type", "UINT64")] + [NativeName("Type.Name", "UINT64")] + [NativeName("Name", "IV")] + public ulong IV; + + [NativeName("Type", "UINT64")] + [NativeName("Type.Name", "UINT64")] + [NativeName("Name", "Count")] + public ulong Count; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ConfigPictureDecode.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ConfigPictureDecode.gen.cs new file mode 100644 index 0000000000..4116dfcb6c --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ConfigPictureDecode.gen.cs @@ -0,0 +1,215 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_ConfigPictureDecode")] + public unsafe partial struct DXVA2ConfigPictureDecode + { + public DXVA2ConfigPictureDecode + ( + Guid? guidConfigBitstreamEncryption = null, + Guid? guidConfigMBcontrolEncryption = null, + Guid? guidConfigResidDiffEncryption = null, + uint? configBitstreamRaw = null, + uint? configMBcontrolRasterOrder = null, + uint? configResidDiffHost = null, + uint? configSpatialResid8 = null, + uint? configResid8Subtraction = null, + uint? configSpatialHost8or9Clipping = null, + uint? configSpatialResidInterleaved = null, + uint? configIntraResidUnsigned = null, + uint? configResidDiffAccelerator = null, + uint? configHostInverseScan = null, + uint? configSpecificIDCT = null, + uint? config4GroupedCoefs = null, + ushort? configMinRenderTargetBuffCount = null, + ushort? configDecoderSpecific = null + ) : this() + { + if (guidConfigBitstreamEncryption is not null) + { + GuidConfigBitstreamEncryption = guidConfigBitstreamEncryption.Value; + } + + if (guidConfigMBcontrolEncryption is not null) + { + GuidConfigMBcontrolEncryption = guidConfigMBcontrolEncryption.Value; + } + + if (guidConfigResidDiffEncryption is not null) + { + GuidConfigResidDiffEncryption = guidConfigResidDiffEncryption.Value; + } + + if (configBitstreamRaw is not null) + { + ConfigBitstreamRaw = configBitstreamRaw.Value; + } + + if (configMBcontrolRasterOrder is not null) + { + ConfigMBcontrolRasterOrder = configMBcontrolRasterOrder.Value; + } + + if (configResidDiffHost is not null) + { + ConfigResidDiffHost = configResidDiffHost.Value; + } + + if (configSpatialResid8 is not null) + { + ConfigSpatialResid8 = configSpatialResid8.Value; + } + + if (configResid8Subtraction is not null) + { + ConfigResid8Subtraction = configResid8Subtraction.Value; + } + + if (configSpatialHost8or9Clipping is not null) + { + ConfigSpatialHost8or9Clipping = configSpatialHost8or9Clipping.Value; + } + + if (configSpatialResidInterleaved is not null) + { + ConfigSpatialResidInterleaved = configSpatialResidInterleaved.Value; + } + + if (configIntraResidUnsigned is not null) + { + ConfigIntraResidUnsigned = configIntraResidUnsigned.Value; + } + + if (configResidDiffAccelerator is not null) + { + ConfigResidDiffAccelerator = configResidDiffAccelerator.Value; + } + + if (configHostInverseScan is not null) + { + ConfigHostInverseScan = configHostInverseScan.Value; + } + + if (configSpecificIDCT is not null) + { + ConfigSpecificIDCT = configSpecificIDCT.Value; + } + + if (config4GroupedCoefs is not null) + { + Config4GroupedCoefs = config4GroupedCoefs.Value; + } + + if (configMinRenderTargetBuffCount is not null) + { + ConfigMinRenderTargetBuffCount = configMinRenderTargetBuffCount.Value; + } + + if (configDecoderSpecific is not null) + { + ConfigDecoderSpecific = configDecoderSpecific.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidConfigBitstreamEncryption")] + public Guid GuidConfigBitstreamEncryption; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidConfigMBcontrolEncryption")] + public Guid GuidConfigMBcontrolEncryption; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "guidConfigResidDiffEncryption")] + public Guid GuidConfigResidDiffEncryption; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigBitstreamRaw")] + public uint ConfigBitstreamRaw; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigMBcontrolRasterOrder")] + public uint ConfigMBcontrolRasterOrder; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigResidDiffHost")] + public uint ConfigResidDiffHost; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigSpatialResid8")] + public uint ConfigSpatialResid8; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigResid8Subtraction")] + public uint ConfigResid8Subtraction; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigSpatialHost8or9Clipping")] + public uint ConfigSpatialHost8or9Clipping; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigSpatialResidInterleaved")] + public uint ConfigSpatialResidInterleaved; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigIntraResidUnsigned")] + public uint ConfigIntraResidUnsigned; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigResidDiffAccelerator")] + public uint ConfigResidDiffAccelerator; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigHostInverseScan")] + public uint ConfigHostInverseScan; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ConfigSpecificIDCT")] + public uint ConfigSpecificIDCT; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Config4GroupedCoefs")] + public uint Config4GroupedCoefs; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "ConfigMinRenderTargetBuffCount")] + public ushort ConfigMinRenderTargetBuffCount; + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "ConfigDecoderSpecific")] + public ushort ConfigDecoderSpecific; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeBufferDesc.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeBufferDesc.gen.cs new file mode 100644 index 0000000000..1b6f275d99 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeBufferDesc.gen.cs @@ -0,0 +1,149 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_DecodeBufferDesc")] + public unsafe partial struct DXVA2DecodeBufferDesc + { + public DXVA2DecodeBufferDesc + ( + uint? compressedBufferType = null, + uint? bufferIndex = null, + uint? dataOffset = null, + uint? dataSize = null, + uint? firstMBaddress = null, + uint? numMBsInBuffer = null, + uint? width = null, + uint? height = null, + uint? stride = null, + uint? reservedBits = null, + void* pvPVPState = null + ) : this() + { + if (compressedBufferType is not null) + { + CompressedBufferType = compressedBufferType.Value; + } + + if (bufferIndex is not null) + { + BufferIndex = bufferIndex.Value; + } + + if (dataOffset is not null) + { + DataOffset = dataOffset.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + + if (firstMBaddress is not null) + { + FirstMBaddress = firstMBaddress.Value; + } + + if (numMBsInBuffer is not null) + { + NumMBsInBuffer = numMBsInBuffer.Value; + } + + if (width is not null) + { + Width = width.Value; + } + + if (height is not null) + { + Height = height.Value; + } + + if (stride is not null) + { + Stride = stride.Value; + } + + if (reservedBits is not null) + { + ReservedBits = reservedBits.Value; + } + + if (pvPVPState is not null) + { + PvPVPState = pvPVPState; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "CompressedBufferType")] + public uint CompressedBufferType; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "BufferIndex")] + public uint BufferIndex; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DataOffset")] + public uint DataOffset; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DataSize")] + public uint DataSize; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "FirstMBaddress")] + public uint FirstMBaddress; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "NumMBsInBuffer")] + public uint NumMBsInBuffer; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Width")] + public uint Width; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Height")] + public uint Height; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Stride")] + public uint Stride; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ReservedBits")] + public uint ReservedBits; + + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "pvPVPState")] + public void* PvPVPState; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExecuteParams.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExecuteParams.gen.cs new file mode 100644 index 0000000000..d04f673182 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExecuteParams.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_DecodeExecuteParams")] + public unsafe partial struct DXVA2DecodeExecuteParams + { + public DXVA2DecodeExecuteParams + ( + uint? numCompBuffers = null, + DXVA2DecodeBufferDesc* pCompressedBuffers = null, + DXVA2DecodeExtensionData* pExtensionData = null + ) : this() + { + if (numCompBuffers is not null) + { + NumCompBuffers = numCompBuffers.Value; + } + + if (pCompressedBuffers is not null) + { + PCompressedBuffers = pCompressedBuffers; + } + + if (pExtensionData is not null) + { + PExtensionData = pExtensionData; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "NumCompBuffers")] + public uint NumCompBuffers; + + [NativeName("Type", "DXVA2_DecodeBufferDesc *")] + [NativeName("Type.Name", "DXVA2_DecodeBufferDesc *")] + [NativeName("Name", "pCompressedBuffers")] + public DXVA2DecodeBufferDesc* PCompressedBuffers; + + [NativeName("Type", "DXVA2_DecodeExtensionData *")] + [NativeName("Type.Name", "DXVA2_DecodeExtensionData *")] + [NativeName("Name", "pExtensionData")] + public DXVA2DecodeExtensionData* PExtensionData; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExtensionData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExtensionData.gen.cs new file mode 100644 index 0000000000..eb0c4ce5c6 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2DecodeExtensionData.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_DecodeExtensionData")] + public unsafe partial struct DXVA2DecodeExtensionData + { + public DXVA2DecodeExtensionData + ( + uint? function = null, + void* pPrivateInputData = null, + uint? privateInputDataSize = null, + void* pPrivateOutputData = null, + uint? privateOutputDataSize = null + ) : this() + { + if (function is not null) + { + Function = function.Value; + } + + if (pPrivateInputData is not null) + { + PPrivateInputData = pPrivateInputData; + } + + if (privateInputDataSize is not null) + { + PrivateInputDataSize = privateInputDataSize.Value; + } + + if (pPrivateOutputData is not null) + { + PPrivateOutputData = pPrivateOutputData; + } + + if (privateOutputDataSize is not null) + { + PrivateOutputDataSize = privateOutputDataSize.Value; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Function")] + public uint Function; + + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "pPrivateInputData")] + public void* PPrivateInputData; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "PrivateInputDataSize")] + public uint PrivateInputDataSize; + + [NativeName("Type", "PVOID")] + [NativeName("Type.Name", "PVOID")] + [NativeName("Name", "pPrivateOutputData")] + public void* PPrivateOutputData; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "PrivateOutputDataSize")] + public uint PrivateOutputDataSize; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormat.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormat.gen.cs new file mode 100644 index 0000000000..463a29702b --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormat.gen.cs @@ -0,0 +1,143 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_ExtendedFormat")] + public unsafe partial struct DXVA2ExtendedFormat + { + public DXVA2ExtendedFormat + ( + DXVA2ExtendedFormatUnion? anonymous = null, + uint? value = null, + uint? sampleFormat = null, + uint? videoChromaSubsampling = null, + uint? nominalRange = null, + uint? videoTransferMatrix = null, + uint? videoLighting = null, + uint? videoPrimaries = null, + uint? videoTransferFunction = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (value is not null) + { + Value = value.Value; + } + + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (videoChromaSubsampling is not null) + { + VideoChromaSubsampling = videoChromaSubsampling.Value; + } + + if (nominalRange is not null) + { + NominalRange = nominalRange.Value; + } + + if (videoTransferMatrix is not null) + { + VideoTransferMatrix = videoTransferMatrix.Value; + } + + if (videoLighting is not null) + { + VideoLighting = videoLighting.Value; + } + + if (videoPrimaries is not null) + { + VideoPrimaries = videoPrimaries.Value; + } + + if (videoTransferFunction is not null) + { + VideoTransferFunction = videoTransferFunction.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxva2api_L197_C5")] + [NativeName("Name", "anonymous1")] + public DXVA2ExtendedFormatUnion Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Value + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Value; + } +#else + public uint Value + { + get => Anonymous.Value; + set => Anonymous.Value = value; + } +#endif + + public uint SampleFormat + { + get => Anonymous.SampleFormat; + set => Anonymous.SampleFormat = value; + } + + public uint VideoChromaSubsampling + { + get => Anonymous.VideoChromaSubsampling; + set => Anonymous.VideoChromaSubsampling = value; + } + + public uint NominalRange + { + get => Anonymous.NominalRange; + set => Anonymous.NominalRange = value; + } + + public uint VideoTransferMatrix + { + get => Anonymous.VideoTransferMatrix; + set => Anonymous.VideoTransferMatrix = value; + } + + public uint VideoLighting + { + get => Anonymous.VideoLighting; + set => Anonymous.VideoLighting = value; + } + + public uint VideoPrimaries + { + get => Anonymous.VideoPrimaries; + set => Anonymous.VideoPrimaries = value; + } + + public uint VideoTransferFunction + { + get => Anonymous.VideoTransferFunction; + set => Anonymous.VideoTransferFunction = value; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormatUnion.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormatUnion.gen.cs new file mode 100644 index 0000000000..3388e07adf --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormatUnion.gen.cs @@ -0,0 +1,137 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_dxva2api_L197_C5")] + public unsafe partial struct DXVA2ExtendedFormatUnion + { + public DXVA2ExtendedFormatUnion + ( + DXVA2ExtendedFormatUnionUnion? anonymous = null, + uint? value = null, + uint? sampleFormat = null, + uint? videoChromaSubsampling = null, + uint? nominalRange = null, + uint? videoTransferMatrix = null, + uint? videoLighting = null, + uint? videoPrimaries = null, + uint? videoTransferFunction = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (value is not null) + { + Value = value.Value; + } + + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (videoChromaSubsampling is not null) + { + VideoChromaSubsampling = videoChromaSubsampling.Value; + } + + if (nominalRange is not null) + { + NominalRange = nominalRange.Value; + } + + if (videoTransferMatrix is not null) + { + VideoTransferMatrix = videoTransferMatrix.Value; + } + + if (videoLighting is not null) + { + VideoLighting = videoLighting.Value; + } + + if (videoPrimaries is not null) + { + VideoPrimaries = videoPrimaries.Value; + } + + if (videoTransferFunction is not null) + { + VideoTransferFunction = videoTransferFunction.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxva2api_L199_C9")] + [NativeName("Name", "anonymous1")] + public DXVA2ExtendedFormatUnionUnion Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "value")] + public uint Value; + public uint SampleFormat + { + get => Anonymous.SampleFormat; + set => Anonymous.SampleFormat = value; + } + + public uint VideoChromaSubsampling + { + get => Anonymous.VideoChromaSubsampling; + set => Anonymous.VideoChromaSubsampling = value; + } + + public uint NominalRange + { + get => Anonymous.NominalRange; + set => Anonymous.NominalRange = value; + } + + public uint VideoTransferMatrix + { + get => Anonymous.VideoTransferMatrix; + set => Anonymous.VideoTransferMatrix = value; + } + + public uint VideoLighting + { + get => Anonymous.VideoLighting; + set => Anonymous.VideoLighting = value; + } + + public uint VideoPrimaries + { + get => Anonymous.VideoPrimaries; + set => Anonymous.VideoPrimaries = value; + } + + public uint VideoTransferFunction + { + get => Anonymous.VideoTransferFunction; + set => Anonymous.VideoTransferFunction = value; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormatUnionUnion.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormatUnionUnion.gen.cs new file mode 100644 index 0000000000..ee9dff4e67 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ExtendedFormatUnionUnion.gen.cs @@ -0,0 +1,128 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__AnonymousRecord_dxva2api_L199_C9")] + public unsafe partial struct DXVA2ExtendedFormatUnionUnion + { + public DXVA2ExtendedFormatUnionUnion + ( + uint? sampleFormat = null, + uint? videoChromaSubsampling = null, + uint? nominalRange = null, + uint? videoTransferMatrix = null, + uint? videoLighting = null, + uint? videoPrimaries = null, + uint? videoTransferFunction = null + ) : this() + { + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (videoChromaSubsampling is not null) + { + VideoChromaSubsampling = videoChromaSubsampling.Value; + } + + if (nominalRange is not null) + { + NominalRange = nominalRange.Value; + } + + if (videoTransferMatrix is not null) + { + VideoTransferMatrix = videoTransferMatrix.Value; + } + + if (videoLighting is not null) + { + VideoLighting = videoLighting.Value; + } + + if (videoPrimaries is not null) + { + VideoPrimaries = videoPrimaries.Value; + } + + if (videoTransferFunction is not null) + { + VideoTransferFunction = videoTransferFunction.Value; + } + } + + + private uint _bitfield1; + + public uint SampleFormat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0xFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0xFFu) | (uint)((uint)(value) & 0xFFu)); + } + + public uint VideoChromaSubsampling + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 8) & 0xFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFu << 8)) | (uint)(((uint)(value) & 0xFu) << 8)); + } + + public uint NominalRange + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 12) & 0x7u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x7u << 12)) | (uint)(((uint)(value) & 0x7u) << 12)); + } + + public uint VideoTransferMatrix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 15) & 0x7u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x7u << 15)) | (uint)(((uint)(value) & 0x7u) << 15)); + } + + public uint VideoLighting + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 18) & 0xFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFu << 18)) | (uint)(((uint)(value) & 0xFu) << 18)); + } + + public uint VideoPrimaries + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 22) & 0x1Fu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1Fu << 22)) | (uint)(((uint)(value) & 0x1Fu) << 22)); + } + + public uint VideoTransferFunction + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 27) & 0x1Fu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1Fu << 27)) | (uint)(((uint)(value) & 0x1Fu) << 27)); + } + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2FilterValues.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2FilterValues.gen.cs new file mode 100644 index 0000000000..2524657c0f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2FilterValues.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_FilterValues")] + public unsafe partial struct DXVA2FilterValues + { + public DXVA2FilterValues + ( + DXVA2Fixed32? level = null, + DXVA2Fixed32? threshold = null, + DXVA2Fixed32? radius = null + ) : this() + { + if (level is not null) + { + Level = level.Value; + } + + if (threshold is not null) + { + Threshold = threshold.Value; + } + + if (radius is not null) + { + Radius = radius.Value; + } + } + + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Level")] + public DXVA2Fixed32 Level; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Threshold")] + public DXVA2Fixed32 Threshold; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Radius")] + public DXVA2Fixed32 Radius; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32.gen.cs new file mode 100644 index 0000000000..c2504d1e2e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32.gen.cs @@ -0,0 +1,99 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_Fixed32")] + public unsafe partial struct DXVA2Fixed32 + { + public DXVA2Fixed32 + ( + DXVA2Fixed32Union? anonymous = null, + int? ll = null, + ushort? fraction = null, + short? value = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (ll is not null) + { + Ll = ll.Value; + } + + if (fraction is not null) + { + Fraction = fraction.Value; + } + + if (value is not null) + { + Value = value.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxva2api_L458_C5")] + [NativeName("Name", "anonymous1")] + public DXVA2Fixed32Union Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref int Ll + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Ll; + } +#else + public int Ll + { + get => Anonymous.Ll; + set => Anonymous.Ll = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ushort Fraction + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Fraction; + } +#else + public ushort Fraction + { + get => Anonymous.Fraction; + set => Anonymous.Fraction = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref short Value + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Value; + } +#else + public short Value + { + get => Anonymous.Value; + set => Anonymous.Value = value; + } +#endif + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32Union.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32Union.gen.cs new file mode 100644 index 0000000000..8718b9bdcf --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32Union.gen.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_dxva2api_L458_C5")] + public unsafe partial struct DXVA2Fixed32Union + { + public DXVA2Fixed32Union + ( + DXVA2Fixed32UnionUnion? anonymous = null, + int? ll = null, + ushort? fraction = null, + short? value = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (ll is not null) + { + Ll = ll.Value; + } + + if (fraction is not null) + { + Fraction = fraction.Value; + } + + if (value is not null) + { + Value = value.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxva2api_L459_C9")] + [NativeName("Name", "anonymous1")] + public DXVA2Fixed32UnionUnion Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "LONG")] + [NativeName("Type.Name", "LONG")] + [NativeName("Name", "ll")] + public int Ll; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref ushort Fraction + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Fraction; + } +#else + public ushort Fraction + { + get => Anonymous.Fraction; + set => Anonymous.Fraction = value; + } +#endif + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref short Value + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Value; + } +#else + public short Value + { + get => Anonymous.Value; + set => Anonymous.Value = value; + } +#endif + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32UnionUnion.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32UnionUnion.gen.cs new file mode 100644 index 0000000000..35a5d7648d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Fixed32UnionUnion.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__AnonymousRecord_dxva2api_L459_C9")] + public unsafe partial struct DXVA2Fixed32UnionUnion + { + public DXVA2Fixed32UnionUnion + ( + ushort? fraction = null, + short? value = null + ) : this() + { + if (fraction is not null) + { + Fraction = fraction.Value; + } + + if (value is not null) + { + Value = value.Value; + } + } + + + [NativeName("Type", "USHORT")] + [NativeName("Type.Name", "USHORT")] + [NativeName("Name", "Fraction")] + public ushort Fraction; + + [NativeName("Type", "SHORT")] + [NativeName("Type.Name", "SHORT")] + [NativeName("Name", "Value")] + public short Value; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Frequency.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Frequency.gen.cs new file mode 100644 index 0000000000..cd65f1e522 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Frequency.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_Frequency")] + public unsafe partial struct DXVA2Frequency + { + public DXVA2Frequency + ( + uint? numerator = null, + uint? denominator = null + ) : this() + { + if (numerator is not null) + { + Numerator = numerator.Value; + } + + if (denominator is not null) + { + Denominator = denominator.Value; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Numerator")] + public uint Numerator; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Denominator")] + public uint Denominator; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ProcAmpValues.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ProcAmpValues.gen.cs new file mode 100644 index 0000000000..f97f94bcf0 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ProcAmpValues.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_ProcAmpValues")] + public unsafe partial struct DXVA2ProcAmpValues + { + public DXVA2ProcAmpValues + ( + DXVA2Fixed32? brightness = null, + DXVA2Fixed32? contrast = null, + DXVA2Fixed32? hue = null, + DXVA2Fixed32? saturation = null + ) : this() + { + if (brightness is not null) + { + Brightness = brightness.Value; + } + + if (contrast is not null) + { + Contrast = contrast.Value; + } + + if (hue is not null) + { + Hue = hue.Value; + } + + if (saturation is not null) + { + Saturation = saturation.Value; + } + } + + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Brightness")] + public DXVA2Fixed32 Brightness; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Contrast")] + public DXVA2Fixed32 Contrast; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Hue")] + public DXVA2Fixed32 Hue; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Saturation")] + public DXVA2Fixed32 Saturation; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2SWCallbacks.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2SWCallbacks.gen.cs new file mode 100644 index 0000000000..a8e6445bfd --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2SWCallbacks.gen.cs @@ -0,0 +1,182 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2SW_CALLBACKS")] + public unsafe partial struct DXVA2SWCallbacks + { + public DXVA2SWCallbacks + ( + uint? size = null, + PfnPdxva2SWGetvideoprocessorrendertargetcount? getVideoProcessorRenderTargetCount = null, + PfnPdxva2SWGetvideoprocessorrendertargets? getVideoProcessorRenderTargets = null, + PfnPdxva2SWGetvideoprocessorcaps? getVideoProcessorCaps = null, + PfnPdxva2SWGetvideoprocessorsubstreamformatcount? getVideoProcessorSubStreamFormatCount = null, + PfnPdxva2SWGetvideoprocessorsubstreamformats? getVideoProcessorSubStreamFormats = null, + PfnPdxva2SWGetprocamprange? getProcAmpRange = null, + PfnPdxva2SWGetprocamprange? getFilterPropertyRange = null, + PfnPdxva2SWCreatevideoprocessdevice? createVideoProcessDevice = null, + PfnPDXVAHDSWDestroyDevice? destroyVideoProcessDevice = null, + PfnPDXVAHDSWDestroyDevice? videoProcessBeginFrame = null, + PfnPdxva2SWVideoprocessendframe? videoProcessEndFrame = null, + PfnPdxva2SWVideoprocesssetrendertarget? videoProcessSetRenderTarget = null, + PfnPdxva2SWVideoprocessblt? videoProcessBlt = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (getVideoProcessorRenderTargetCount is not null) + { + GetVideoProcessorRenderTargetCount = getVideoProcessorRenderTargetCount.Value; + } + + if (getVideoProcessorRenderTargets is not null) + { + GetVideoProcessorRenderTargets = getVideoProcessorRenderTargets.Value; + } + + if (getVideoProcessorCaps is not null) + { + GetVideoProcessorCaps = getVideoProcessorCaps.Value; + } + + if (getVideoProcessorSubStreamFormatCount is not null) + { + GetVideoProcessorSubStreamFormatCount = getVideoProcessorSubStreamFormatCount.Value; + } + + if (getVideoProcessorSubStreamFormats is not null) + { + GetVideoProcessorSubStreamFormats = getVideoProcessorSubStreamFormats.Value; + } + + if (getProcAmpRange is not null) + { + GetProcAmpRange = getProcAmpRange.Value; + } + + if (getFilterPropertyRange is not null) + { + GetFilterPropertyRange = getFilterPropertyRange.Value; + } + + if (createVideoProcessDevice is not null) + { + CreateVideoProcessDevice = createVideoProcessDevice.Value; + } + + if (destroyVideoProcessDevice is not null) + { + DestroyVideoProcessDevice = destroyVideoProcessDevice.Value; + } + + if (videoProcessBeginFrame is not null) + { + VideoProcessBeginFrame = videoProcessBeginFrame.Value; + } + + if (videoProcessEndFrame is not null) + { + VideoProcessEndFrame = videoProcessEndFrame.Value; + } + + if (videoProcessSetRenderTarget is not null) + { + VideoProcessSetRenderTarget = videoProcessSetRenderTarget.Value; + } + + if (videoProcessBlt is not null) + { + VideoProcessBlt = videoProcessBlt.Value; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "PDXVA2SW_GETVIDEOPROCESSORRENDERTARGETCOUNT")] + [NativeName("Type.Name", "PDXVA2SW_GETVIDEOPROCESSORRENDERTARGETCOUNT")] + [NativeName("Name", "GetVideoProcessorRenderTargetCount")] + public PfnPdxva2SWGetvideoprocessorrendertargetcount GetVideoProcessorRenderTargetCount; + + [NativeName("Type", "PDXVA2SW_GETVIDEOPROCESSORRENDERTARGETS")] + [NativeName("Type.Name", "PDXVA2SW_GETVIDEOPROCESSORRENDERTARGETS")] + [NativeName("Name", "GetVideoProcessorRenderTargets")] + public PfnPdxva2SWGetvideoprocessorrendertargets GetVideoProcessorRenderTargets; + + [NativeName("Type", "PDXVA2SW_GETVIDEOPROCESSORCAPS")] + [NativeName("Type.Name", "PDXVA2SW_GETVIDEOPROCESSORCAPS")] + [NativeName("Name", "GetVideoProcessorCaps")] + public PfnPdxva2SWGetvideoprocessorcaps GetVideoProcessorCaps; + + [NativeName("Type", "PDXVA2SW_GETVIDEOPROCESSORSUBSTREAMFORMATCOUNT")] + [NativeName("Type.Name", "PDXVA2SW_GETVIDEOPROCESSORSUBSTREAMFORMATCOUNT")] + [NativeName("Name", "GetVideoProcessorSubStreamFormatCount")] + public PfnPdxva2SWGetvideoprocessorsubstreamformatcount GetVideoProcessorSubStreamFormatCount; + + [NativeName("Type", "PDXVA2SW_GETVIDEOPROCESSORSUBSTREAMFORMATS")] + [NativeName("Type.Name", "PDXVA2SW_GETVIDEOPROCESSORSUBSTREAMFORMATS")] + [NativeName("Name", "GetVideoProcessorSubStreamFormats")] + public PfnPdxva2SWGetvideoprocessorsubstreamformats GetVideoProcessorSubStreamFormats; + + [NativeName("Type", "PDXVA2SW_GETPROCAMPRANGE")] + [NativeName("Type.Name", "PDXVA2SW_GETPROCAMPRANGE")] + [NativeName("Name", "GetProcAmpRange")] + public PfnPdxva2SWGetprocamprange GetProcAmpRange; + + [NativeName("Type", "PDXVA2SW_GETFILTERPROPERTYRANGE")] + [NativeName("Type.Name", "PDXVA2SW_GETFILTERPROPERTYRANGE")] + [NativeName("Name", "GetFilterPropertyRange")] + public PfnPdxva2SWGetprocamprange GetFilterPropertyRange; + + [NativeName("Type", "PDXVA2SW_CREATEVIDEOPROCESSDEVICE")] + [NativeName("Type.Name", "PDXVA2SW_CREATEVIDEOPROCESSDEVICE")] + [NativeName("Name", "CreateVideoProcessDevice")] + public PfnPdxva2SWCreatevideoprocessdevice CreateVideoProcessDevice; + + [NativeName("Type", "PDXVA2SW_DESTROYVIDEOPROCESSDEVICE")] + [NativeName("Type.Name", "PDXVA2SW_DESTROYVIDEOPROCESSDEVICE")] + [NativeName("Name", "DestroyVideoProcessDevice")] + public PfnPDXVAHDSWDestroyDevice DestroyVideoProcessDevice; + + [NativeName("Type", "PDXVA2SW_VIDEOPROCESSBEGINFRAME")] + [NativeName("Type.Name", "PDXVA2SW_VIDEOPROCESSBEGINFRAME")] + [NativeName("Name", "VideoProcessBeginFrame")] + public PfnPDXVAHDSWDestroyDevice VideoProcessBeginFrame; + + [NativeName("Type", "PDXVA2SW_VIDEOPROCESSENDFRAME")] + [NativeName("Type.Name", "PDXVA2SW_VIDEOPROCESSENDFRAME")] + [NativeName("Name", "VideoProcessEndFrame")] + public PfnPdxva2SWVideoprocessendframe VideoProcessEndFrame; + + [NativeName("Type", "PDXVA2SW_VIDEOPROCESSSETRENDERTARGET")] + [NativeName("Type.Name", "PDXVA2SW_VIDEOPROCESSSETRENDERTARGET")] + [NativeName("Name", "VideoProcessSetRenderTarget")] + public PfnPdxva2SWVideoprocesssetrendertarget VideoProcessSetRenderTarget; + + [NativeName("Type", "PDXVA2SW_VIDEOPROCESSBLT")] + [NativeName("Type.Name", "PDXVA2SW_VIDEOPROCESSBLT")] + [NativeName("Name", "VideoProcessBlt")] + public PfnPdxva2SWVideoprocessblt VideoProcessBlt; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevBeginFrameData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevBeginFrameData.gen.cs new file mode 100644 index 0000000000..6ec961359a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevBeginFrameData.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "DXVA2Trace_DecodeDevBeginFrameData")] + public unsafe partial struct DXVA2TraceDecodeDevBeginFrameData + { + public DXVA2TraceDecodeDevBeginFrameData + ( + Silk.NET.Core.Win32Extras.EventTraceHeader? wmiHeader = null, + ulong? pObject = null, + ulong? pRenderTarget = null, + int? enter = null + ) : this() + { + if (wmiHeader is not null) + { + WmiHeader = wmiHeader.Value; + } + + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (pRenderTarget is not null) + { + PRenderTarget = pRenderTarget.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "wmiHeader")] + public Silk.NET.Core.Win32Extras.EventTraceHeader WmiHeader; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pRenderTarget")] + public ulong PRenderTarget; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevCreatedData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevCreatedData.gen.cs new file mode 100644 index 0000000000..1406062b78 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevCreatedData.gen.cs @@ -0,0 +1,105 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "DXVA2Trace_DecodeDevCreatedData")] + public unsafe partial struct DXVA2TraceDecodeDevCreatedData + { + public DXVA2TraceDecodeDevCreatedData + ( + Silk.NET.Core.Win32Extras.EventTraceHeader? wmiHeader = null, + ulong? pObject = null, + ulong? pD3DDevice = null, + Guid? deviceGuid = null, + uint? width = null, + uint? height = null, + int? enter = null + ) : this() + { + if (wmiHeader is not null) + { + WmiHeader = wmiHeader.Value; + } + + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (pD3DDevice is not null) + { + PD3DDevice = pD3DDevice.Value; + } + + if (deviceGuid is not null) + { + DeviceGuid = deviceGuid.Value; + } + + if (width is not null) + { + Width = width.Value; + } + + if (height is not null) + { + Height = height.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "wmiHeader")] + public Silk.NET.Core.Win32Extras.EventTraceHeader WmiHeader; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pD3DDevice")] + public ulong PD3DDevice; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "DeviceGuid")] + public Guid DeviceGuid; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Width")] + public uint Width; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Height")] + public uint Height; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevGetBufferData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevGetBufferData.gen.cs new file mode 100644 index 0000000000..cfbe4ddbcc --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDevGetBufferData.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "DXVA2Trace_DecodeDevGetBufferData")] + public unsafe partial struct DXVA2TraceDecodeDevGetBufferData + { + public DXVA2TraceDecodeDevGetBufferData + ( + Silk.NET.Core.Win32Extras.EventTraceHeader? wmiHeader = null, + ulong? pObject = null, + uint? bufferType = null, + int? enter = null + ) : this() + { + if (wmiHeader is not null) + { + WmiHeader = wmiHeader.Value; + } + + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (bufferType is not null) + { + BufferType = bufferType.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "wmiHeader")] + public Silk.NET.Core.Win32Extras.EventTraceHeader WmiHeader; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "BufferType")] + public uint BufferType; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDeviceData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDeviceData.gen.cs new file mode 100644 index 0000000000..a919373f67 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceDecodeDeviceData.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "DXVA2Trace_DecodeDeviceData")] + public unsafe partial struct DXVA2TraceDecodeDeviceData + { + public DXVA2TraceDecodeDeviceData + ( + Silk.NET.Core.Win32Extras.EventTraceHeader? wmiHeader = null, + ulong? pObject = null, + int? enter = null + ) : this() + { + if (wmiHeader is not null) + { + WmiHeader = wmiHeader.Value; + } + + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "wmiHeader")] + public Silk.NET.Core.Win32Extras.EventTraceHeader WmiHeader; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessBltData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessBltData.gen.cs new file mode 100644 index 0000000000..aa0d628a38 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessBltData.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "DXVA2TraceVideoProcessBltData")] + public unsafe partial struct DXVA2TraceVideoProcessBltData + { + public DXVA2TraceVideoProcessBltData + ( + Silk.NET.Core.Win32Extras.EventTraceHeader? wmiHeader = null, + ulong? pObject = null, + ulong? pRenderTarget = null, + ulong? targetFrameTime = null, + Silk.NET.Maths.Rectangle? targetRect = null, + int? enter = null + ) : this() + { + if (wmiHeader is not null) + { + WmiHeader = wmiHeader.Value; + } + + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (pRenderTarget is not null) + { + PRenderTarget = pRenderTarget.Value; + } + + if (targetFrameTime is not null) + { + TargetFrameTime = targetFrameTime.Value; + } + + if (targetRect is not null) + { + TargetRect = targetRect.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "wmiHeader")] + public Silk.NET.Core.Win32Extras.EventTraceHeader WmiHeader; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pRenderTarget")] + public ulong PRenderTarget; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "TargetFrameTime")] + public ulong TargetFrameTime; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "TargetRect")] + public Silk.NET.Maths.Rectangle TargetRect; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessDevCreatedData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessDevCreatedData.gen.cs new file mode 100644 index 0000000000..a97b9f706b --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessDevCreatedData.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "DXVA2Trace_VideoProcessDevCreatedData")] + public unsafe partial struct DXVA2TraceVideoProcessDevCreatedData + { + public DXVA2TraceVideoProcessDevCreatedData + ( + Silk.NET.Core.Win32Extras.EventTraceHeader? wmiHeader = null, + ulong? pObject = null, + ulong? pD3DDevice = null, + Guid? deviceGuid = null, + uint? rTFourCC = null, + uint? width = null, + uint? height = null, + int? enter = null + ) : this() + { + if (wmiHeader is not null) + { + WmiHeader = wmiHeader.Value; + } + + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (pD3DDevice is not null) + { + PD3DDevice = pD3DDevice.Value; + } + + if (deviceGuid is not null) + { + DeviceGuid = deviceGuid.Value; + } + + if (rTFourCC is not null) + { + RTFourCC = rTFourCC.Value; + } + + if (width is not null) + { + Width = width.Value; + } + + if (height is not null) + { + Height = height.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "wmiHeader")] + public Silk.NET.Core.Win32Extras.EventTraceHeader WmiHeader; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pD3DDevice")] + public ulong PD3DDevice; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "DeviceGuid")] + public Guid DeviceGuid; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "RTFourCC")] + public uint RTFourCC; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Width")] + public uint Width; + + [NativeName("Type", "ULONG")] + [NativeName("Type.Name", "ULONG")] + [NativeName("Name", "Height")] + public uint Height; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessDeviceData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessDeviceData.gen.cs new file mode 100644 index 0000000000..428880226c --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2TraceVideoProcessDeviceData.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "DXVA2Trace_VideoProcessDeviceData")] + public unsafe partial struct DXVA2TraceVideoProcessDeviceData + { + public DXVA2TraceVideoProcessDeviceData + ( + Silk.NET.Core.Win32Extras.EventTraceHeader? wmiHeader = null, + ulong? pObject = null, + int? enter = null + ) : this() + { + if (wmiHeader is not null) + { + WmiHeader = wmiHeader.Value; + } + + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "EVENT_TRACE_HEADER")] + [NativeName("Type.Name", "EVENT_TRACE_HEADER")] + [NativeName("Name", "wmiHeader")] + public Silk.NET.Core.Win32Extras.EventTraceHeader WmiHeader; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ValueRange.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ValueRange.gen.cs new file mode 100644 index 0000000000..e1eb71f2ca --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2ValueRange.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_ValueRange")] + public unsafe partial struct DXVA2ValueRange + { + public DXVA2ValueRange + ( + DXVA2Fixed32? minValue = null, + DXVA2Fixed32? maxValue = null, + DXVA2Fixed32? defaultValue = null, + DXVA2Fixed32? stepSize = null + ) : this() + { + if (minValue is not null) + { + MinValue = minValue.Value; + } + + if (maxValue is not null) + { + MaxValue = maxValue.Value; + } + + if (defaultValue is not null) + { + DefaultValue = defaultValue.Value; + } + + if (stepSize is not null) + { + StepSize = stepSize.Value; + } + } + + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "MinValue")] + public DXVA2Fixed32 MinValue; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "MaxValue")] + public DXVA2Fixed32 MaxValue; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "DefaultValue")] + public DXVA2Fixed32 DefaultValue; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "StepSize")] + public DXVA2Fixed32 StepSize; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoDesc.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoDesc.gen.cs new file mode 100644 index 0000000000..fb5bdc5534 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoDesc.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoDesc")] + public unsafe partial struct DXVA2VideoDesc + { + public DXVA2VideoDesc + ( + uint? sampleWidth = null, + uint? sampleHeight = null, + DXVA2ExtendedFormat? sampleFormat = null, + Silk.NET.Direct3D9.Format? format = null, + DXVA2Frequency? inputSampleFreq = null, + DXVA2Frequency? outputFrameFreq = null, + uint? uABProtectionLevel = null, + uint? reserved = null + ) : this() + { + if (sampleWidth is not null) + { + SampleWidth = sampleWidth.Value; + } + + if (sampleHeight is not null) + { + SampleHeight = sampleHeight.Value; + } + + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (format is not null) + { + Format = format.Value; + } + + if (inputSampleFreq is not null) + { + InputSampleFreq = inputSampleFreq.Value; + } + + if (outputFrameFreq is not null) + { + OutputFrameFreq = outputFrameFreq.Value; + } + + if (uABProtectionLevel is not null) + { + UABProtectionLevel = uABProtectionLevel.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "SampleWidth")] + public uint SampleWidth; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "SampleHeight")] + public uint SampleHeight; + + [NativeName("Type", "DXVA2_ExtendedFormat")] + [NativeName("Type.Name", "DXVA2_ExtendedFormat")] + [NativeName("Name", "SampleFormat")] + public DXVA2ExtendedFormat SampleFormat; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "Format")] + public Silk.NET.Direct3D9.Format Format; + + [NativeName("Type", "DXVA2_Frequency")] + [NativeName("Type.Name", "DXVA2_Frequency")] + [NativeName("Name", "InputSampleFreq")] + public DXVA2Frequency InputSampleFreq; + + [NativeName("Type", "DXVA2_Frequency")] + [NativeName("Type.Name", "DXVA2_Frequency")] + [NativeName("Name", "OutputFrameFreq")] + public DXVA2Frequency OutputFrameFreq; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "UABProtectionLevel")] + public uint UABProtectionLevel; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Reserved")] + public uint Reserved; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoProcessBltParams.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoProcessBltParams.gen.cs new file mode 100644 index 0000000000..42af18cb57 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoProcessBltParams.gen.cs @@ -0,0 +1,171 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoProcessBltParams")] + public unsafe partial struct DXVA2VideoProcessBltParams + { + public DXVA2VideoProcessBltParams + ( + long? targetFrame = null, + Silk.NET.Maths.Rectangle? targetRect = null, + Silk.NET.Maths.Vector2D? constrictionSize = null, + uint? streamingFlags = null, + DXVA2AYUVSample16? backgroundColor = null, + DXVA2ExtendedFormat? destFormat = null, + DXVA2ProcAmpValues? procAmpValues = null, + DXVA2Fixed32? alpha = null, + DXVA2FilterValues? noiseFilterLuma = null, + DXVA2FilterValues? noiseFilterChroma = null, + DXVA2FilterValues? detailFilterLuma = null, + DXVA2FilterValues? detailFilterChroma = null, + uint? destData = null + ) : this() + { + if (targetFrame is not null) + { + TargetFrame = targetFrame.Value; + } + + if (targetRect is not null) + { + TargetRect = targetRect.Value; + } + + if (constrictionSize is not null) + { + ConstrictionSize = constrictionSize.Value; + } + + if (streamingFlags is not null) + { + StreamingFlags = streamingFlags.Value; + } + + if (backgroundColor is not null) + { + BackgroundColor = backgroundColor.Value; + } + + if (destFormat is not null) + { + DestFormat = destFormat.Value; + } + + if (procAmpValues is not null) + { + ProcAmpValues = procAmpValues.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + + if (noiseFilterLuma is not null) + { + NoiseFilterLuma = noiseFilterLuma.Value; + } + + if (noiseFilterChroma is not null) + { + NoiseFilterChroma = noiseFilterChroma.Value; + } + + if (detailFilterLuma is not null) + { + DetailFilterLuma = detailFilterLuma.Value; + } + + if (detailFilterChroma is not null) + { + DetailFilterChroma = detailFilterChroma.Value; + } + + if (destData is not null) + { + DestData = destData.Value; + } + } + + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "TargetFrame")] + public long TargetFrame; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "TargetRect")] + public Silk.NET.Maths.Rectangle TargetRect; + + [NativeName("Type", "SIZE")] + [NativeName("Type.Name", "SIZE")] + [NativeName("Name", "ConstrictionSize")] + public Silk.NET.Maths.Vector2D ConstrictionSize; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "StreamingFlags")] + public uint StreamingFlags; + + [NativeName("Type", "DXVA2_AYUVSample16")] + [NativeName("Type.Name", "DXVA2_AYUVSample16")] + [NativeName("Name", "BackgroundColor")] + public DXVA2AYUVSample16 BackgroundColor; + + [NativeName("Type", "DXVA2_ExtendedFormat")] + [NativeName("Type.Name", "DXVA2_ExtendedFormat")] + [NativeName("Name", "DestFormat")] + public DXVA2ExtendedFormat DestFormat; + + [NativeName("Type", "DXVA2_ProcAmpValues")] + [NativeName("Type.Name", "DXVA2_ProcAmpValues")] + [NativeName("Name", "ProcAmpValues")] + public DXVA2ProcAmpValues ProcAmpValues; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Alpha")] + public DXVA2Fixed32 Alpha; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "NoiseFilterLuma")] + public DXVA2FilterValues NoiseFilterLuma; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "NoiseFilterChroma")] + public DXVA2FilterValues NoiseFilterChroma; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "DetailFilterLuma")] + public DXVA2FilterValues DetailFilterLuma; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "DetailFilterChroma")] + public DXVA2FilterValues DetailFilterChroma; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "DestData")] + public uint DestData; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoProcessorCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoProcessorCaps.gen.cs new file mode 100644 index 0000000000..3bb9fd386e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoProcessorCaps.gen.cs @@ -0,0 +1,138 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoProcessorCaps")] + public unsafe partial struct DXVA2VideoProcessorCaps + { + public DXVA2VideoProcessorCaps + ( + uint? deviceCaps = null, + Silk.NET.Direct3D9.Pool? inputPool = null, + uint? numForwardRefSamples = null, + uint? numBackwardRefSamples = null, + uint? reserved = null, + uint? deinterlaceTechnology = null, + uint? procAmpControlCaps = null, + uint? videoProcessorOperations = null, + uint? noiseFilterTechnology = null, + uint? detailFilterTechnology = null + ) : this() + { + if (deviceCaps is not null) + { + DeviceCaps = deviceCaps.Value; + } + + if (inputPool is not null) + { + InputPool = inputPool.Value; + } + + if (numForwardRefSamples is not null) + { + NumForwardRefSamples = numForwardRefSamples.Value; + } + + if (numBackwardRefSamples is not null) + { + NumBackwardRefSamples = numBackwardRefSamples.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + + if (deinterlaceTechnology is not null) + { + DeinterlaceTechnology = deinterlaceTechnology.Value; + } + + if (procAmpControlCaps is not null) + { + ProcAmpControlCaps = procAmpControlCaps.Value; + } + + if (videoProcessorOperations is not null) + { + VideoProcessorOperations = videoProcessorOperations.Value; + } + + if (noiseFilterTechnology is not null) + { + NoiseFilterTechnology = noiseFilterTechnology.Value; + } + + if (detailFilterTechnology is not null) + { + DetailFilterTechnology = detailFilterTechnology.Value; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DeviceCaps")] + public uint DeviceCaps; + + [NativeName("Type", "D3DPOOL")] + [NativeName("Type.Name", "D3DPOOL")] + [NativeName("Name", "InputPool")] + public Silk.NET.Direct3D9.Pool InputPool; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "NumForwardRefSamples")] + public uint NumForwardRefSamples; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "NumBackwardRefSamples")] + public uint NumBackwardRefSamples; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Reserved")] + public uint Reserved; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DeinterlaceTechnology")] + public uint DeinterlaceTechnology; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ProcAmpControlCaps")] + public uint ProcAmpControlCaps; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "VideoProcessorOperations")] + public uint VideoProcessorOperations; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "NoiseFilterTechnology")] + public uint NoiseFilterTechnology; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DetailFilterTechnology")] + public uint DetailFilterTechnology; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoSample.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoSample.gen.cs new file mode 100644 index 0000000000..098a1e317b --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2VideoSample.gen.cs @@ -0,0 +1,162 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VideoSample")] + public unsafe partial struct DXVA2VideoSample + { + public DXVA2VideoSample + ( + long? start = null, + long? end = null, + DXVA2ExtendedFormat? sampleFormat = null, + Silk.NET.Direct3D9.IDirect3DSurface9* srcSurface = null, + Silk.NET.Maths.Rectangle? srcRect = null, + Silk.NET.Maths.Rectangle? dstRect = null, + DXVA2Fixed32? planarAlpha = null, + uint? sampleData = null + ) : this() + { + if (start is not null) + { + Start = start.Value; + } + + if (end is not null) + { + End = end.Value; + } + + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (srcSurface is not null) + { + SrcSurface = srcSurface; + } + + if (srcRect is not null) + { + SrcRect = srcRect.Value; + } + + if (dstRect is not null) + { + DstRect = dstRect.Value; + } + + if (planarAlpha is not null) + { + PlanarAlpha = planarAlpha.Value; + } + + if (sampleData is not null) + { + SampleData = sampleData.Value; + } + } + + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "Start")] + public long Start; + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "End")] + public long End; + + [NativeName("Type", "DXVA2_ExtendedFormat")] + [NativeName("Type.Name", "DXVA2_ExtendedFormat")] + [NativeName("Name", "SampleFormat")] + public DXVA2ExtendedFormat SampleFormat; + + [NativeName("Type", "IDirect3DSurface9 *")] + [NativeName("Type.Name", "IDirect3DSurface9 *")] + [NativeName("Name", "SrcSurface")] + public Silk.NET.Direct3D9.IDirect3DSurface9* SrcSurface; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "SrcRect")] + public Silk.NET.Maths.Rectangle SrcRect; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "DstRect")] + public Silk.NET.Maths.Rectangle DstRect; + + [NativeName("Type", "DXVA2_AYUVSample8 [16]")] + [NativeName("Type.Name", "DXVA2_AYUVSample8 [16]")] + [NativeName("Name", "Pal")] + public PalBuffer Pal; + + public struct PalBuffer + { + public DXVA2AYUVSample8 Element0; + public DXVA2AYUVSample8 Element1; + public DXVA2AYUVSample8 Element2; + public DXVA2AYUVSample8 Element3; + public DXVA2AYUVSample8 Element4; + public DXVA2AYUVSample8 Element5; + public DXVA2AYUVSample8 Element6; + public DXVA2AYUVSample8 Element7; + public DXVA2AYUVSample8 Element8; + public DXVA2AYUVSample8 Element9; + public DXVA2AYUVSample8 Element10; + public DXVA2AYUVSample8 Element11; + public DXVA2AYUVSample8 Element12; + public DXVA2AYUVSample8 Element13; + public DXVA2AYUVSample8 Element14; + public DXVA2AYUVSample8 Element15; + public ref DXVA2AYUVSample8 this[int index] + { + get + { + if (index > 15 || index < 0) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + + fixed (DXVA2AYUVSample8* ptr = &Element0) + { + return ref ptr[index]; + } + } + } + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public Span AsSpan() + => MemoryMarshal.CreateSpan(ref Element0, 16); +#endif + } + + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "PlanarAlpha")] + public DXVA2Fixed32 PlanarAlpha; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "SampleData")] + public uint SampleData; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Videoprocessblt.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Videoprocessblt.gen.cs new file mode 100644 index 0000000000..6b1f60ae39 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DXVA2Videoprocessblt.gen.cs @@ -0,0 +1,193 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA2_VIDEOPROCESSBLT")] + public unsafe partial struct DXVA2Videoprocessblt + { + public DXVA2Videoprocessblt + ( + long? targetFrame = null, + Silk.NET.Maths.Rectangle? targetRect = null, + Silk.NET.Maths.Vector2D? constrictionSize = null, + uint? streamingFlags = null, + DXVA2AYUVSample16? backgroundColor = null, + DXVA2ExtendedFormat? destFormat = null, + uint? destFlags = null, + DXVA2ProcAmpValues? procAmpValues = null, + DXVA2Fixed32? alpha = null, + DXVA2FilterValues? noiseFilterLuma = null, + DXVA2FilterValues? noiseFilterChroma = null, + DXVA2FilterValues? detailFilterLuma = null, + DXVA2FilterValues? detailFilterChroma = null, + DXVA2VideoSample* pSrcSurfaces = null, + uint? numSrcSurfaces = null + ) : this() + { + if (targetFrame is not null) + { + TargetFrame = targetFrame.Value; + } + + if (targetRect is not null) + { + TargetRect = targetRect.Value; + } + + if (constrictionSize is not null) + { + ConstrictionSize = constrictionSize.Value; + } + + if (streamingFlags is not null) + { + StreamingFlags = streamingFlags.Value; + } + + if (backgroundColor is not null) + { + BackgroundColor = backgroundColor.Value; + } + + if (destFormat is not null) + { + DestFormat = destFormat.Value; + } + + if (destFlags is not null) + { + DestFlags = destFlags.Value; + } + + if (procAmpValues is not null) + { + ProcAmpValues = procAmpValues.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + + if (noiseFilterLuma is not null) + { + NoiseFilterLuma = noiseFilterLuma.Value; + } + + if (noiseFilterChroma is not null) + { + NoiseFilterChroma = noiseFilterChroma.Value; + } + + if (detailFilterLuma is not null) + { + DetailFilterLuma = detailFilterLuma.Value; + } + + if (detailFilterChroma is not null) + { + DetailFilterChroma = detailFilterChroma.Value; + } + + if (pSrcSurfaces is not null) + { + PSrcSurfaces = pSrcSurfaces; + } + + if (numSrcSurfaces is not null) + { + NumSrcSurfaces = numSrcSurfaces.Value; + } + } + + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "TargetFrame")] + public long TargetFrame; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "TargetRect")] + public Silk.NET.Maths.Rectangle TargetRect; + + [NativeName("Type", "SIZE")] + [NativeName("Type.Name", "SIZE")] + [NativeName("Name", "ConstrictionSize")] + public Silk.NET.Maths.Vector2D ConstrictionSize; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "StreamingFlags")] + public uint StreamingFlags; + + [NativeName("Type", "DXVA2_AYUVSample16")] + [NativeName("Type.Name", "DXVA2_AYUVSample16")] + [NativeName("Name", "BackgroundColor")] + public DXVA2AYUVSample16 BackgroundColor; + + [NativeName("Type", "DXVA2_ExtendedFormat")] + [NativeName("Type.Name", "DXVA2_ExtendedFormat")] + [NativeName("Name", "DestFormat")] + public DXVA2ExtendedFormat DestFormat; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DestFlags")] + public uint DestFlags; + + [NativeName("Type", "DXVA2_ProcAmpValues")] + [NativeName("Type.Name", "DXVA2_ProcAmpValues")] + [NativeName("Name", "ProcAmpValues")] + public DXVA2ProcAmpValues ProcAmpValues; + + [NativeName("Type", "DXVA2_Fixed32")] + [NativeName("Type.Name", "DXVA2_Fixed32")] + [NativeName("Name", "Alpha")] + public DXVA2Fixed32 Alpha; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "NoiseFilterLuma")] + public DXVA2FilterValues NoiseFilterLuma; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "NoiseFilterChroma")] + public DXVA2FilterValues NoiseFilterChroma; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "DetailFilterLuma")] + public DXVA2FilterValues DetailFilterLuma; + + [NativeName("Type", "DXVA2_FilterValues")] + [NativeName("Type.Name", "DXVA2_FilterValues")] + [NativeName("Name", "DetailFilterChroma")] + public DXVA2FilterValues DetailFilterChroma; + + [NativeName("Type", "DXVA2_VIDEOSAMPLE *")] + [NativeName("Type.Name", "DXVA2_VIDEOSAMPLE *")] + [NativeName("Name", "pSrcSurfaces")] + public DXVA2VideoSample* PSrcSurfaces; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "NumSrcSurfaces")] + public uint NumSrcSurfaces; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceBlt.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceBlt.gen.cs new file mode 100644 index 0000000000..0b2af8a2d3 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceBlt.gen.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_DeinterlaceBlt")] + public unsafe partial struct DeinterlaceBlt + { + public DeinterlaceBlt + ( + uint? size = null, + uint? reserved = null, + long? rtTarget = null, + Silk.NET.Maths.Rectangle? dstRect = null, + Silk.NET.Maths.Rectangle? srcRect = null, + uint? numSourceSurfaces = null, + float? alpha = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + + if (rtTarget is not null) + { + RtTarget = rtTarget.Value; + } + + if (dstRect is not null) + { + DstRect = dstRect.Value; + } + + if (srcRect is not null) + { + SrcRect = srcRect.Value; + } + + if (numSourceSurfaces is not null) + { + NumSourceSurfaces = numSourceSurfaces.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Reserved")] + public uint Reserved; + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "rtTarget")] + public long RtTarget; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "DstRect")] + public Silk.NET.Maths.Rectangle DstRect; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "SrcRect")] + public Silk.NET.Maths.Rectangle SrcRect; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "NumSourceSurfaces")] + public uint NumSourceSurfaces; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Alpha")] + public float Alpha; + + [NativeName("Type", "DXVA_VideoSample [32]")] + [NativeName("Type.Name", "DXVA_VideoSample [32]")] + [NativeName("Name", "Source")] + public SourceBuffer Source; + + public struct SourceBuffer + { + public VideoSample Element0; + public VideoSample Element1; + public VideoSample Element2; + public VideoSample Element3; + public VideoSample Element4; + public VideoSample Element5; + public VideoSample Element6; + public VideoSample Element7; + public VideoSample Element8; + public VideoSample Element9; + public VideoSample Element10; + public VideoSample Element11; + public VideoSample Element12; + public VideoSample Element13; + public VideoSample Element14; + public VideoSample Element15; + public VideoSample Element16; + public VideoSample Element17; + public VideoSample Element18; + public VideoSample Element19; + public VideoSample Element20; + public VideoSample Element21; + public VideoSample Element22; + public VideoSample Element23; + public VideoSample Element24; + public VideoSample Element25; + public VideoSample Element26; + public VideoSample Element27; + public VideoSample Element28; + public VideoSample Element29; + public VideoSample Element30; + public VideoSample Element31; + public ref VideoSample this[int index] + { + get + { + if (index > 31 || index < 0) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + + fixed (VideoSample* ptr = &Element0) + { + return ref ptr[index]; + } + } + } + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public Span AsSpan() + => MemoryMarshal.CreateSpan(ref Element0, 32); +#endif + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceBltEx.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceBltEx.gen.cs new file mode 100644 index 0000000000..f314f41544 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceBltEx.gen.cs @@ -0,0 +1,178 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_DeinterlaceBltEx")] + public unsafe partial struct DeinterlaceBltEx + { + public DeinterlaceBltEx + ( + uint? size = null, + AYUVsample2? backgroundColor = null, + Silk.NET.Maths.Rectangle? rcTarget = null, + long? rtTarget = null, + uint? numSourceSurfaces = null, + float? alpha = null, + uint? destinationFormat = null, + uint? destinationFlags = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (backgroundColor is not null) + { + BackgroundColor = backgroundColor.Value; + } + + if (rcTarget is not null) + { + RcTarget = rcTarget.Value; + } + + if (rtTarget is not null) + { + RtTarget = rtTarget.Value; + } + + if (numSourceSurfaces is not null) + { + NumSourceSurfaces = numSourceSurfaces.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + + if (destinationFormat is not null) + { + DestinationFormat = destinationFormat.Value; + } + + if (destinationFlags is not null) + { + DestinationFlags = destinationFlags.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "DXVA_AYUVsample2")] + [NativeName("Type.Name", "DXVA_AYUVsample2")] + [NativeName("Name", "BackgroundColor")] + public AYUVsample2 BackgroundColor; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "rcTarget")] + public Silk.NET.Maths.Rectangle RcTarget; + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "rtTarget")] + public long RtTarget; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "NumSourceSurfaces")] + public uint NumSourceSurfaces; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Alpha")] + public float Alpha; + + [NativeName("Type", "DXVA_VideoSample2 [32]")] + [NativeName("Type.Name", "DXVA_VideoSample2 [32]")] + [NativeName("Name", "Source")] + public SourceBuffer Source; + + public struct SourceBuffer + { + public VideoSample2 Element0; + public VideoSample2 Element1; + public VideoSample2 Element2; + public VideoSample2 Element3; + public VideoSample2 Element4; + public VideoSample2 Element5; + public VideoSample2 Element6; + public VideoSample2 Element7; + public VideoSample2 Element8; + public VideoSample2 Element9; + public VideoSample2 Element10; + public VideoSample2 Element11; + public VideoSample2 Element12; + public VideoSample2 Element13; + public VideoSample2 Element14; + public VideoSample2 Element15; + public VideoSample2 Element16; + public VideoSample2 Element17; + public VideoSample2 Element18; + public VideoSample2 Element19; + public VideoSample2 Element20; + public VideoSample2 Element21; + public VideoSample2 Element22; + public VideoSample2 Element23; + public VideoSample2 Element24; + public VideoSample2 Element25; + public VideoSample2 Element26; + public VideoSample2 Element27; + public VideoSample2 Element28; + public VideoSample2 Element29; + public VideoSample2 Element30; + public VideoSample2 Element31; + public ref VideoSample2 this[int index] + { + get + { + if (index > 31 || index < 0) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + + fixed (VideoSample2* ptr = &Element0) + { + return ref ptr[index]; + } + } + } + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public Span AsSpan() + => MemoryMarshal.CreateSpan(ref Element0, 32); +#endif + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "DestinationFormat")] + public uint DestinationFormat; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "DestinationFlags")] + public uint DestinationFlags; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceCaps.gen.cs new file mode 100644 index 0000000000..a381af9307 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceCaps.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_DeinterlaceCaps")] + public unsafe partial struct DeinterlaceCaps + { + public DeinterlaceCaps + ( + uint? size = null, + uint? numPreviousOutputFrames = null, + uint? inputPool = null, + uint? numForwardRefSamples = null, + uint? numBackwardRefSamples = null, + Silk.NET.Direct3D9.Format? d3dOutputFormat = null, + VideoProcessCaps? videoProcessingCaps = null, + DeinterlaceTech? deinterlaceTechnology = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (numPreviousOutputFrames is not null) + { + NumPreviousOutputFrames = numPreviousOutputFrames.Value; + } + + if (inputPool is not null) + { + InputPool = inputPool.Value; + } + + if (numForwardRefSamples is not null) + { + NumForwardRefSamples = numForwardRefSamples.Value; + } + + if (numBackwardRefSamples is not null) + { + NumBackwardRefSamples = numBackwardRefSamples.Value; + } + + if (d3dOutputFormat is not null) + { + D3dOutputFormat = d3dOutputFormat.Value; + } + + if (videoProcessingCaps is not null) + { + VideoProcessingCaps = videoProcessingCaps.Value; + } + + if (deinterlaceTechnology is not null) + { + DeinterlaceTechnology = deinterlaceTechnology.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "NumPreviousOutputFrames")] + public uint NumPreviousOutputFrames; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "InputPool")] + public uint InputPool; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "NumForwardRefSamples")] + public uint NumForwardRefSamples; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "NumBackwardRefSamples")] + public uint NumBackwardRefSamples; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "d3dOutputFormat")] + public Silk.NET.Direct3D9.Format D3dOutputFormat; + + [NativeName("Type", "DXVA_VideoProcessCaps")] + [NativeName("Type.Name", "DXVA_VideoProcessCaps")] + [NativeName("Name", "VideoProcessingCaps")] + public VideoProcessCaps VideoProcessingCaps; + + [NativeName("Type", "DXVA_DeinterlaceTech")] + [NativeName("Type.Name", "DXVA_DeinterlaceTech")] + [NativeName("Name", "DeinterlaceTechnology")] + public DeinterlaceTech DeinterlaceTechnology; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceQueryAvailableModes.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceQueryAvailableModes.gen.cs new file mode 100644 index 0000000000..95f52c2146 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceQueryAvailableModes.gen.cs @@ -0,0 +1,112 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_DeinterlaceQueryAvailableModes")] + public unsafe partial struct DeinterlaceQueryAvailableModes + { + public DeinterlaceQueryAvailableModes + ( + uint? size = null, + uint? numGuids = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (numGuids is not null) + { + NumGuids = numGuids.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "NumGuids")] + public uint NumGuids; + + [NativeName("Type", "GUID [32]")] + [NativeName("Type.Name", "GUID [32]")] + [NativeName("Name", "Guids")] + public GuidsBuffer Guids; + + public struct GuidsBuffer + { + public Guid Element0; + public Guid Element1; + public Guid Element2; + public Guid Element3; + public Guid Element4; + public Guid Element5; + public Guid Element6; + public Guid Element7; + public Guid Element8; + public Guid Element9; + public Guid Element10; + public Guid Element11; + public Guid Element12; + public Guid Element13; + public Guid Element14; + public Guid Element15; + public Guid Element16; + public Guid Element17; + public Guid Element18; + public Guid Element19; + public Guid Element20; + public Guid Element21; + public Guid Element22; + public Guid Element23; + public Guid Element24; + public Guid Element25; + public Guid Element26; + public Guid Element27; + public Guid Element28; + public Guid Element29; + public Guid Element30; + public Guid Element31; + public ref Guid this[int index] + { + get + { + if (index > 31 || index < 0) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + + fixed (Guid* ptr = &Element0) + { + return ref ptr[index]; + } + } + } + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public Span AsSpan() + => MemoryMarshal.CreateSpan(ref Element0, 32); +#endif + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceQueryModeCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceQueryModeCaps.gen.cs new file mode 100644 index 0000000000..365be4da8c --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/DeinterlaceQueryModeCaps.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_DeinterlaceQueryModeCaps")] + public unsafe partial struct DeinterlaceQueryModeCaps + { + public DeinterlaceQueryModeCaps + ( + uint? size = null, + Guid? guid = null, + VideoDesc? videoDesc = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (guid is not null) + { + Guid = guid.Value; + } + + if (videoDesc is not null) + { + VideoDesc = videoDesc.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "Guid")] + public Guid Guid; + + [NativeName("Type", "DXVA_VideoDesc")] + [NativeName("Type.Name", "DXVA_VideoDesc")] + [NativeName("Name", "VideoDesc")] + public VideoDesc VideoDesc; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/ExtendedFormat.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/ExtendedFormat.gen.cs new file mode 100644 index 0000000000..a135fa254f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/ExtendedFormat.gen.cs @@ -0,0 +1,128 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_ExtendedFormat")] + public unsafe partial struct ExtendedFormat + { + public ExtendedFormat + ( + uint? sampleFormat = null, + uint? videoChromaSubsampling = null, + NominalRange? nominalRange = null, + VideoTransferMatrix? videoTransferMatrix = null, + VideoLighting? videoLighting = null, + VideoPrimaries? videoPrimaries = null, + VideoTransferFunction? videoTransferFunction = null + ) : this() + { + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (videoChromaSubsampling is not null) + { + VideoChromaSubsampling = videoChromaSubsampling.Value; + } + + if (nominalRange is not null) + { + NominalRange = nominalRange.Value; + } + + if (videoTransferMatrix is not null) + { + VideoTransferMatrix = videoTransferMatrix.Value; + } + + if (videoLighting is not null) + { + VideoLighting = videoLighting.Value; + } + + if (videoPrimaries is not null) + { + VideoPrimaries = videoPrimaries.Value; + } + + if (videoTransferFunction is not null) + { + VideoTransferFunction = videoTransferFunction.Value; + } + } + + + private uint _bitfield1; + + public uint SampleFormat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0xFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0xFFu) | (uint)((uint)(value) & 0xFFu)); + } + + public uint VideoChromaSubsampling + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 8) & 0xFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFu << 8)) | (uint)(((uint)(value) & 0xFu) << 8)); + } + + public NominalRange NominalRange + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (NominalRange)((_bitfield1 >> 12) & 0x7); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((NominalRange)(_bitfield1 & ~(0x7 << 12)) | (NominalRange)(((int)(value) & 0x7) << 12)); + } + + public VideoTransferMatrix VideoTransferMatrix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (VideoTransferMatrix)((_bitfield1 >> 15) & 0x7); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((VideoTransferMatrix)(_bitfield1 & ~(0x7 << 15)) | (VideoTransferMatrix)(((int)(value) & 0x7) << 15)); + } + + public VideoLighting VideoLighting + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (VideoLighting)((_bitfield1 >> 18) & 0xF); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((VideoLighting)(_bitfield1 & ~(0xF << 18)) | (VideoLighting)(((int)(value) & 0xF) << 18)); + } + + public VideoPrimaries VideoPrimaries + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (VideoPrimaries)((_bitfield1 >> 22) & 0x1F); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((VideoPrimaries)(_bitfield1 & ~(0x1F << 22)) | (VideoPrimaries)(((int)(value) & 0x1F) << 22)); + } + + public VideoTransferFunction VideoTransferFunction + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (VideoTransferFunction)((_bitfield1 >> 27) & 0x1F); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((VideoTransferFunction)(_bitfield1 & ~(0x1F << 27)) | (VideoTransferFunction)(((int)(value) & 0x1F) << 27)); + } + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/Frequency.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/Frequency.gen.cs new file mode 100644 index 0000000000..e76124e271 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/Frequency.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_Frequency")] + public unsafe partial struct Frequency + { + public Frequency + ( + uint? numerator = null, + uint? denominator = null + ) : this() + { + if (numerator is not null) + { + Numerator = numerator.Value; + } + + if (denominator is not null) + { + Denominator = denominator.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Numerator")] + public uint Numerator; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Denominator")] + public uint Denominator; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateAlphaFillData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateAlphaFillData.gen.cs new file mode 100644 index 0000000000..5568a51d8e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateAlphaFillData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_BLT_STATE_ALPHA_FILL_DATA")] + public unsafe partial struct HDBltStateAlphaFillData + { + public HDBltStateAlphaFillData + ( + HDAlphaFillMode? mode = null, + uint? streamNumber = null + ) : this() + { + if (mode is not null) + { + Mode = mode.Value; + } + + if (streamNumber is not null) + { + StreamNumber = streamNumber.Value; + } + } + + + [NativeName("Type", "DXVAHD_ALPHA_FILL_MODE")] + [NativeName("Type.Name", "DXVAHD_ALPHA_FILL_MODE")] + [NativeName("Name", "Mode")] + public HDAlphaFillMode Mode; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "StreamNumber")] + public uint StreamNumber; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateBackgroundColorData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateBackgroundColorData.gen.cs new file mode 100644 index 0000000000..0774336ff9 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateBackgroundColorData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_BLT_STATE_BACKGROUND_COLOR_DATA")] + public unsafe partial struct HDBltStateBackgroundColorData + { + public HDBltStateBackgroundColorData + ( + int? yCbCr = null, + HDColor? backgroundColor = null + ) : this() + { + if (yCbCr is not null) + { + YCbCr = yCbCr.Value; + } + + if (backgroundColor is not null) + { + BackgroundColor = backgroundColor.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "YCbCr")] + public int YCbCr; + + [NativeName("Type", "DXVAHD_COLOR")] + [NativeName("Type.Name", "DXVAHD_COLOR")] + [NativeName("Name", "BackgroundColor")] + public HDColor BackgroundColor; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateConstrictionData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateConstrictionData.gen.cs new file mode 100644 index 0000000000..f3aeb92996 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateConstrictionData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_BLT_STATE_CONSTRICTION_DATA")] + public unsafe partial struct HDBltStateConstrictionData + { + public HDBltStateConstrictionData + ( + int? enable = null, + Silk.NET.Maths.Vector2D? size = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (size is not null) + { + Size = size.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "SIZE")] + [NativeName("Type.Name", "SIZE")] + [NativeName("Name", "Size")] + public Silk.NET.Maths.Vector2D Size; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceData.gen.cs new file mode 100644 index 0000000000..25f10edee4 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceData.gen.cs @@ -0,0 +1,119 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE_DATA")] + public unsafe partial struct HDBltStateOutputColorSpaceData + { + public HDBltStateOutputColorSpaceData + ( + HDBltStateOutputColorSpaceDataUnion? anonymous = null, + uint? value = null, + uint? usage = null, + uint? rGBRange = null, + uint? yCbCrMatrix = null, + uint? yCbCrXvYCC = null, + uint? reserved = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (value is not null) + { + Value = value.Value; + } + + if (usage is not null) + { + Usage = usage.Value; + } + + if (rGBRange is not null) + { + RGBRange = rGBRange.Value; + } + + if (yCbCrMatrix is not null) + { + YCbCrMatrix = yCbCrMatrix.Value; + } + + if (yCbCrXvYCC is not null) + { + YCbCrXvYCC = yCbCrXvYCC.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxvahd_L347_C5")] + [NativeName("Name", "anonymous1")] + public HDBltStateOutputColorSpaceDataUnion Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Value + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Value; + } +#else + public uint Value + { + get => Anonymous.Value; + set => Anonymous.Value = value; + } +#endif + + public uint Usage + { + get => Anonymous.Usage; + set => Anonymous.Usage = value; + } + + public uint RGBRange + { + get => Anonymous.RGBRange; + set => Anonymous.RGBRange = value; + } + + public uint YCbCrMatrix + { + get => Anonymous.YCbCrMatrix; + set => Anonymous.YCbCrMatrix = value; + } + + public uint YCbCrXvYCC + { + get => Anonymous.YCbCrXvYCC; + set => Anonymous.YCbCrXvYCC = value; + } + + public uint Reserved + { + get => Anonymous.Reserved; + set => Anonymous.Reserved = value; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceDataUnion.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceDataUnion.gen.cs new file mode 100644 index 0000000000..4eae49e1b7 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceDataUnion.gen.cs @@ -0,0 +1,113 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_dxvahd_L347_C5")] + public unsafe partial struct HDBltStateOutputColorSpaceDataUnion + { + public HDBltStateOutputColorSpaceDataUnion + ( + HDBltStateOutputColorSpaceDataUnionUnion? anonymous = null, + uint? value = null, + uint? usage = null, + uint? rGBRange = null, + uint? yCbCrMatrix = null, + uint? yCbCrXvYCC = null, + uint? reserved = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (value is not null) + { + Value = value.Value; + } + + if (usage is not null) + { + Usage = usage.Value; + } + + if (rGBRange is not null) + { + RGBRange = rGBRange.Value; + } + + if (yCbCrMatrix is not null) + { + YCbCrMatrix = yCbCrMatrix.Value; + } + + if (yCbCrXvYCC is not null) + { + YCbCrXvYCC = yCbCrXvYCC.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxvahd_L349_C9")] + [NativeName("Name", "anonymous1")] + public HDBltStateOutputColorSpaceDataUnionUnion Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Value")] + public uint Value; + public uint Usage + { + get => Anonymous.Usage; + set => Anonymous.Usage = value; + } + + public uint RGBRange + { + get => Anonymous.RGBRange; + set => Anonymous.RGBRange = value; + } + + public uint YCbCrMatrix + { + get => Anonymous.YCbCrMatrix; + set => Anonymous.YCbCrMatrix = value; + } + + public uint YCbCrXvYCC + { + get => Anonymous.YCbCrXvYCC; + set => Anonymous.YCbCrXvYCC = value; + } + + public uint Reserved + { + get => Anonymous.Reserved; + set => Anonymous.Reserved = value; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceDataUnionUnion.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceDataUnionUnion.gen.cs new file mode 100644 index 0000000000..e199ee02f1 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateOutputColorSpaceDataUnionUnion.gen.cs @@ -0,0 +1,100 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__AnonymousRecord_dxvahd_L349_C9")] + public unsafe partial struct HDBltStateOutputColorSpaceDataUnionUnion + { + public HDBltStateOutputColorSpaceDataUnionUnion + ( + uint? usage = null, + uint? rGBRange = null, + uint? yCbCrMatrix = null, + uint? yCbCrXvYCC = null, + uint? reserved = null + ) : this() + { + if (usage is not null) + { + Usage = usage.Value; + } + + if (rGBRange is not null) + { + RGBRange = rGBRange.Value; + } + + if (yCbCrMatrix is not null) + { + YCbCrMatrix = yCbCrMatrix.Value; + } + + if (yCbCrXvYCC is not null) + { + YCbCrXvYCC = yCbCrXvYCC.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + private uint _bitfield1; + + public uint Usage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0x1u) | (uint)((uint)(value) & 0x1u)); + } + + public uint RGBRange + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 1) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 1)) | (uint)(((uint)(value) & 0x1u) << 1)); + } + + public uint YCbCrMatrix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 2) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 2)) | (uint)(((uint)(value) & 0x1u) << 2)); + } + + public uint YCbCrXvYCC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 3) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 3)) | (uint)(((uint)(value) & 0x1u) << 3)); + } + + public uint Reserved + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 4) & 0xFFFFFFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFFFFFFFu << 4)) | (uint)(((uint)(value) & 0xFFFFFFFu) << 4)); + } + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStatePrivateData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStatePrivateData.gen.cs new file mode 100644 index 0000000000..facdb70a63 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStatePrivateData.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_BLT_STATE_PRIVATE_DATA")] + public unsafe partial struct HDBltStatePrivateData + { + public HDBltStatePrivateData + ( + Guid? guid = null, + uint? dataSize = null, + void* pData = null + ) : this() + { + if (guid is not null) + { + Guid = guid.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + + if (pData is not null) + { + PData = pData; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "Guid")] + public Guid Guid; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DataSize")] + public uint DataSize; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "pData")] + public void* PData; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateTargetRectData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateTargetRectData.gen.cs new file mode 100644 index 0000000000..80e73ee510 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDBltStateTargetRectData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_BLT_STATE_TARGET_RECT_DATA")] + public unsafe partial struct HDBltStateTargetRectData + { + public HDBltStateTargetRectData + ( + int? enable = null, + Silk.NET.Maths.Rectangle? targetRect = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (targetRect is not null) + { + TargetRect = targetRect.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "TargetRect")] + public Silk.NET.Maths.Rectangle TargetRect; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDCOLORYCbCrA.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDCOLORYCbCrA.gen.cs new file mode 100644 index 0000000000..fc84852f24 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDCOLORYCbCrA.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_COLOR_YCbCrA")] + public unsafe partial struct HDCOLORYCbCrA + { + public HDCOLORYCbCrA + ( + float? y = null, + float? cb = null, + float? cr = null, + float? a = null + ) : this() + { + if (y is not null) + { + Y = y.Value; + } + + if (cb is not null) + { + Cb = cb.Value; + } + + if (cr is not null) + { + Cr = cr.Value; + } + + if (a is not null) + { + A = a.Value; + } + } + + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Y")] + public float Y; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Cb")] + public float Cb; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Cr")] + public float Cr; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "A")] + public float A; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDColor.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDColor.gen.cs new file mode 100644 index 0000000000..29bb1733a1 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDColor.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "_DXVAHD_COLOR")] + public unsafe partial struct HDColor + { + public HDColor + ( + HDColorRgba? rGB = null, + HDCOLORYCbCrA? yCbCr = null + ) : this() + { + if (rGB is not null) + { + RGB = rGB.Value; + } + + if (yCbCr is not null) + { + YCbCr = yCbCr.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "DXVAHD_COLOR_RGBA")] + [NativeName("Type.Name", "DXVAHD_COLOR_RGBA")] + [NativeName("Name", "RGB")] + public HDColorRgba RGB; + + [FieldOffset(0)] + [NativeName("Type", "DXVAHD_COLOR_YCbCrA")] + [NativeName("Type.Name", "DXVAHD_COLOR_YCbCrA")] + [NativeName("Name", "YCbCr")] + public HDCOLORYCbCrA YCbCr; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDColorRgba.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDColorRgba.gen.cs new file mode 100644 index 0000000000..e581fe6139 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDColorRgba.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_COLOR_RGBA")] + public unsafe partial struct HDColorRgba + { + public HDColorRgba + ( + float? r = null, + float? g = null, + float? b = null, + float? a = null + ) : this() + { + if (r is not null) + { + R = r.Value; + } + + if (g is not null) + { + G = g.Value; + } + + if (b is not null) + { + B = b.Value; + } + + if (a is not null) + { + A = a.Value; + } + } + + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "R")] + public float R; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "G")] + public float G; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "B")] + public float B; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "A")] + public float A; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDContentDesc.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDContentDesc.gen.cs new file mode 100644 index 0000000000..6fec31ddee --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDContentDesc.gen.cs @@ -0,0 +1,105 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_CONTENT_DESC")] + public unsafe partial struct HDContentDesc + { + public HDContentDesc + ( + HDFrameFormat? inputFrameFormat = null, + HDRational? inputFrameRate = null, + uint? inputWidth = null, + uint? inputHeight = null, + HDRational? outputFrameRate = null, + uint? outputWidth = null, + uint? outputHeight = null + ) : this() + { + if (inputFrameFormat is not null) + { + InputFrameFormat = inputFrameFormat.Value; + } + + if (inputFrameRate is not null) + { + InputFrameRate = inputFrameRate.Value; + } + + if (inputWidth is not null) + { + InputWidth = inputWidth.Value; + } + + if (inputHeight is not null) + { + InputHeight = inputHeight.Value; + } + + if (outputFrameRate is not null) + { + OutputFrameRate = outputFrameRate.Value; + } + + if (outputWidth is not null) + { + OutputWidth = outputWidth.Value; + } + + if (outputHeight is not null) + { + OutputHeight = outputHeight.Value; + } + } + + + [NativeName("Type", "DXVAHD_FRAME_FORMAT")] + [NativeName("Type.Name", "DXVAHD_FRAME_FORMAT")] + [NativeName("Name", "InputFrameFormat")] + public HDFrameFormat InputFrameFormat; + + [NativeName("Type", "DXVAHD_RATIONAL")] + [NativeName("Type.Name", "DXVAHD_RATIONAL")] + [NativeName("Name", "InputFrameRate")] + public HDRational InputFrameRate; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputWidth")] + public uint InputWidth; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputHeight")] + public uint InputHeight; + + [NativeName("Type", "DXVAHD_RATIONAL")] + [NativeName("Type.Name", "DXVAHD_RATIONAL")] + [NativeName("Name", "OutputFrameRate")] + public HDRational OutputFrameRate; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "OutputWidth")] + public uint OutputWidth; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "OutputHeight")] + public uint OutputHeight; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDCustomRateData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDCustomRateData.gen.cs new file mode 100644 index 0000000000..02770bc58d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDCustomRateData.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_CUSTOM_RATE_DATA")] + public unsafe partial struct HDCustomRateData + { + public HDCustomRateData + ( + HDRational? customRate = null, + uint? outputFrames = null, + int? inputInterlaced = null, + uint? inputFramesOrFields = null + ) : this() + { + if (customRate is not null) + { + CustomRate = customRate.Value; + } + + if (outputFrames is not null) + { + OutputFrames = outputFrames.Value; + } + + if (inputInterlaced is not null) + { + InputInterlaced = inputInterlaced.Value; + } + + if (inputFramesOrFields is not null) + { + InputFramesOrFields = inputFramesOrFields.Value; + } + } + + + [NativeName("Type", "DXVAHD_RATIONAL")] + [NativeName("Type.Name", "DXVAHD_RATIONAL")] + [NativeName("Name", "CustomRate")] + public HDRational CustomRate; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "OutputFrames")] + public uint OutputFrames; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "InputInterlaced")] + public int InputInterlaced; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputFramesOrFields")] + public uint InputFramesOrFields; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDFilterRangeData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDFilterRangeData.gen.cs new file mode 100644 index 0000000000..965bc2199e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDFilterRangeData.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_FILTER_RANGE_DATA")] + public unsafe partial struct HDFilterRangeData + { + public HDFilterRangeData + ( + int? minimum = null, + int? maximum = null, + int? @default = null, + float? multiplier = null + ) : this() + { + if (minimum is not null) + { + Minimum = minimum.Value; + } + + if (maximum is not null) + { + Maximum = maximum.Value; + } + + if (@default is not null) + { + Default = @default.Value; + } + + if (multiplier is not null) + { + Multiplier = multiplier.Value; + } + } + + + [NativeName("Type", "INT")] + [NativeName("Type.Name", "INT")] + [NativeName("Name", "Minimum")] + public int Minimum; + + [NativeName("Type", "INT")] + [NativeName("Type.Name", "INT")] + [NativeName("Name", "Maximum")] + public int Maximum; + + [NativeName("Type", "INT")] + [NativeName("Type.Name", "INT")] + [NativeName("Name", "Default")] + public int Default; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Multiplier")] + public float Multiplier; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDRational.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDRational.gen.cs new file mode 100644 index 0000000000..2098762278 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDRational.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_RATIONAL")] + public unsafe partial struct HDRational + { + public HDRational + ( + uint? numerator = null, + uint? denominator = null + ) : this() + { + if (numerator is not null) + { + Numerator = numerator.Value; + } + + if (denominator is not null) + { + Denominator = denominator.Value; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Numerator")] + public uint Numerator; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Denominator")] + public uint Denominator; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamData.gen.cs new file mode 100644 index 0000000000..8b2cb471be --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamData.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_DATA")] + public unsafe partial struct HDStreamData + { + public HDStreamData + ( + int? enable = null, + uint? outputIndex = null, + uint? inputFrameOrField = null, + uint? pastFrames = null, + uint? futureFrames = null, + Silk.NET.Direct3D9.IDirect3DSurface9** ppPastSurfaces = null, + Silk.NET.Direct3D9.IDirect3DSurface9* pInputSurface = null, + Silk.NET.Direct3D9.IDirect3DSurface9** ppFutureSurfaces = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (outputIndex is not null) + { + OutputIndex = outputIndex.Value; + } + + if (inputFrameOrField is not null) + { + InputFrameOrField = inputFrameOrField.Value; + } + + if (pastFrames is not null) + { + PastFrames = pastFrames.Value; + } + + if (futureFrames is not null) + { + FutureFrames = futureFrames.Value; + } + + if (ppPastSurfaces is not null) + { + PpPastSurfaces = ppPastSurfaces; + } + + if (pInputSurface is not null) + { + PInputSurface = pInputSurface; + } + + if (ppFutureSurfaces is not null) + { + PpFutureSurfaces = ppFutureSurfaces; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "OutputIndex")] + public uint OutputIndex; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputFrameOrField")] + public uint InputFrameOrField; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "PastFrames")] + public uint PastFrames; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "FutureFrames")] + public uint FutureFrames; + + [NativeName("Type", "IDirect3DSurface9 **")] + [NativeName("Type.Name", "IDirect3DSurface9 **")] + [NativeName("Name", "ppPastSurfaces")] + public Silk.NET.Direct3D9.IDirect3DSurface9** PpPastSurfaces; + + [NativeName("Type", "IDirect3DSurface9 *")] + [NativeName("Type.Name", "IDirect3DSurface9 *")] + [NativeName("Name", "pInputSurface")] + public Silk.NET.Direct3D9.IDirect3DSurface9* PInputSurface; + + [NativeName("Type", "IDirect3DSurface9 **")] + [NativeName("Type.Name", "IDirect3DSurface9 **")] + [NativeName("Name", "ppFutureSurfaces")] + public Silk.NET.Direct3D9.IDirect3DSurface9** PpFutureSurfaces; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateAlphaData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateAlphaData.gen.cs new file mode 100644 index 0000000000..7667256661 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateAlphaData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_ALPHA_DATA")] + public unsafe partial struct HDStreamStateAlphaData + { + public HDStreamStateAlphaData + ( + int? enable = null, + float? alpha = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Alpha")] + public float Alpha; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateAspectRatioData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateAspectRatioData.gen.cs new file mode 100644 index 0000000000..1b062b885d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateAspectRatioData.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_ASPECT_RATIO_DATA")] + public unsafe partial struct HDStreamStateAspectRatioData + { + public HDStreamStateAspectRatioData + ( + int? enable = null, + HDRational? sourceAspectRatio = null, + HDRational? destinationAspectRatio = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (sourceAspectRatio is not null) + { + SourceAspectRatio = sourceAspectRatio.Value; + } + + if (destinationAspectRatio is not null) + { + DestinationAspectRatio = destinationAspectRatio.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "DXVAHD_RATIONAL")] + [NativeName("Type.Name", "DXVAHD_RATIONAL")] + [NativeName("Name", "SourceAspectRatio")] + public HDRational SourceAspectRatio; + + [NativeName("Type", "DXVAHD_RATIONAL")] + [NativeName("Type.Name", "DXVAHD_RATIONAL")] + [NativeName("Name", "DestinationAspectRatio")] + public HDRational DestinationAspectRatio; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateD3DformatData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateD3DformatData.gen.cs new file mode 100644 index 0000000000..77c1440653 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateD3DformatData.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_D3DFORMAT_DATA")] + public unsafe partial struct HDStreamStateD3DformatData + { + public HDStreamStateD3DformatData + ( + Silk.NET.Direct3D9.Format? format = null + ) : this() + { + if (format is not null) + { + Format = format.Value; + } + } + + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "Format")] + public Silk.NET.Direct3D9.Format Format; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateDestinationRectData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateDestinationRectData.gen.cs new file mode 100644 index 0000000000..a21c43065b --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateDestinationRectData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_DESTINATION_RECT_DATA")] + public unsafe partial struct HDStreamStateDestinationRectData + { + public HDStreamStateDestinationRectData + ( + int? enable = null, + Silk.NET.Maths.Rectangle? destinationRect = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (destinationRect is not null) + { + DestinationRect = destinationRect.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "DestinationRect")] + public Silk.NET.Maths.Rectangle DestinationRect; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateFilterData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateFilterData.gen.cs new file mode 100644 index 0000000000..74a61484fa --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateFilterData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_FILTER_DATA")] + public unsafe partial struct HDStreamStateFilterData + { + public HDStreamStateFilterData + ( + int? enable = null, + int? level = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (level is not null) + { + Level = level.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "INT")] + [NativeName("Type.Name", "INT")] + [NativeName("Name", "Level")] + public int Level; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateFrameFormatData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateFrameFormatData.gen.cs new file mode 100644 index 0000000000..ef471cff5d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateFrameFormatData.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_FRAME_FORMAT_DATA")] + public unsafe partial struct HDStreamStateFrameFormatData + { + public HDStreamStateFrameFormatData + ( + HDFrameFormat? frameFormat = null + ) : this() + { + if (frameFormat is not null) + { + FrameFormat = frameFormat.Value; + } + } + + + [NativeName("Type", "DXVAHD_FRAME_FORMAT")] + [NativeName("Type.Name", "DXVAHD_FRAME_FORMAT")] + [NativeName("Name", "FrameFormat")] + public HDFrameFormat FrameFormat; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceData.gen.cs new file mode 100644 index 0000000000..b138d6bec5 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceData.gen.cs @@ -0,0 +1,119 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_INPUT_COLOR_SPACE_DATA")] + public unsafe partial struct HDStreamStateInputColorSpaceData + { + public HDStreamStateInputColorSpaceData + ( + HDStreamStateInputColorSpaceDataUnion? anonymous = null, + uint? value = null, + uint? type = null, + uint? rGBRange = null, + uint? yCbCrMatrix = null, + uint? yCbCrXvYCC = null, + uint? reserved = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (value is not null) + { + Value = value.Value; + } + + if (type is not null) + { + Type = type.Value; + } + + if (rGBRange is not null) + { + RGBRange = rGBRange.Value; + } + + if (yCbCrMatrix is not null) + { + YCbCrMatrix = yCbCrMatrix.Value; + } + + if (yCbCrXvYCC is not null) + { + YCbCrXvYCC = yCbCrXvYCC.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxvahd_L392_C5")] + [NativeName("Name", "anonymous1")] + public HDStreamStateInputColorSpaceDataUnion Anonymous; +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public ref uint Value + { + [MethodImpl((MethodImplOptions) 768)] + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Value; + } +#else + public uint Value + { + get => Anonymous.Value; + set => Anonymous.Value = value; + } +#endif + + public uint Type + { + get => Anonymous.Type; + set => Anonymous.Type = value; + } + + public uint RGBRange + { + get => Anonymous.RGBRange; + set => Anonymous.RGBRange = value; + } + + public uint YCbCrMatrix + { + get => Anonymous.YCbCrMatrix; + set => Anonymous.YCbCrMatrix = value; + } + + public uint YCbCrXvYCC + { + get => Anonymous.YCbCrXvYCC; + set => Anonymous.YCbCrXvYCC = value; + } + + public uint Reserved + { + get => Anonymous.Reserved; + set => Anonymous.Reserved = value; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceDataUnion.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceDataUnion.gen.cs new file mode 100644 index 0000000000..6ad4e7e3d5 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceDataUnion.gen.cs @@ -0,0 +1,113 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Explicit)] + [NativeName("Name", "__AnonymousRecord_dxvahd_L392_C5")] + public unsafe partial struct HDStreamStateInputColorSpaceDataUnion + { + public HDStreamStateInputColorSpaceDataUnion + ( + HDStreamStateInputColorSpaceDataUnionUnion? anonymous = null, + uint? value = null, + uint? type = null, + uint? rGBRange = null, + uint? yCbCrMatrix = null, + uint? yCbCrXvYCC = null, + uint? reserved = null + ) : this() + { + if (anonymous is not null) + { + Anonymous = anonymous.Value; + } + + if (value is not null) + { + Value = value.Value; + } + + if (type is not null) + { + Type = type.Value; + } + + if (rGBRange is not null) + { + RGBRange = rGBRange.Value; + } + + if (yCbCrMatrix is not null) + { + YCbCrMatrix = yCbCrMatrix.Value; + } + + if (yCbCrXvYCC is not null) + { + YCbCrXvYCC = yCbCrXvYCC.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + [FieldOffset(0)] + [NativeName("Type", "")] + [NativeName("Type.Name", "__AnonymousRecord_dxvahd_L394_C9")] + [NativeName("Name", "anonymous1")] + public HDStreamStateInputColorSpaceDataUnionUnion Anonymous; + + [FieldOffset(0)] + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Value")] + public uint Value; + public uint Type + { + get => Anonymous.Type; + set => Anonymous.Type = value; + } + + public uint RGBRange + { + get => Anonymous.RGBRange; + set => Anonymous.RGBRange = value; + } + + public uint YCbCrMatrix + { + get => Anonymous.YCbCrMatrix; + set => Anonymous.YCbCrMatrix = value; + } + + public uint YCbCrXvYCC + { + get => Anonymous.YCbCrXvYCC; + set => Anonymous.YCbCrXvYCC = value; + } + + public uint Reserved + { + get => Anonymous.Reserved; + set => Anonymous.Reserved = value; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceDataUnionUnion.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceDataUnionUnion.gen.cs new file mode 100644 index 0000000000..6a391db0d1 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateInputColorSpaceDataUnionUnion.gen.cs @@ -0,0 +1,100 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "__AnonymousRecord_dxvahd_L394_C9")] + public unsafe partial struct HDStreamStateInputColorSpaceDataUnionUnion + { + public HDStreamStateInputColorSpaceDataUnionUnion + ( + uint? type = null, + uint? rGBRange = null, + uint? yCbCrMatrix = null, + uint? yCbCrXvYCC = null, + uint? reserved = null + ) : this() + { + if (type is not null) + { + Type = type.Value; + } + + if (rGBRange is not null) + { + RGBRange = rGBRange.Value; + } + + if (yCbCrMatrix is not null) + { + YCbCrMatrix = yCbCrMatrix.Value; + } + + if (yCbCrXvYCC is not null) + { + YCbCrXvYCC = yCbCrXvYCC.Value; + } + + if (reserved is not null) + { + Reserved = reserved.Value; + } + } + + + private uint _bitfield1; + + public uint Type + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)(_bitfield1 & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~0x1u) | (uint)((uint)(value) & 0x1u)); + } + + public uint RGBRange + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 1) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 1)) | (uint)(((uint)(value) & 0x1u) << 1)); + } + + public uint YCbCrMatrix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 2) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 2)) | (uint)(((uint)(value) & 0x1u) << 2)); + } + + public uint YCbCrXvYCC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 3) & 0x1u); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0x1u << 3)) | (uint)(((uint)(value) & 0x1u) << 3)); + } + + public uint Reserved + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get => (uint)((_bitfield1 >> 4) & 0xFFFFFFFu); + [MethodImpl(MethodImplOptions.AggressiveInlining)] + set => _bitfield1 = (uint)((uint)(_bitfield1 & ~(0xFFFFFFFu << 4)) | (uint)(((uint)(value) & 0xFFFFFFFu) << 4)); + } + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateLumaKeyData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateLumaKeyData.gen.cs new file mode 100644 index 0000000000..e2da5ac720 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateLumaKeyData.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_LUMA_KEY_DATA")] + public unsafe partial struct HDStreamStateLumaKeyData + { + public HDStreamStateLumaKeyData + ( + int? enable = null, + float? lower = null, + float? upper = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (lower is not null) + { + Lower = lower.Value; + } + + if (upper is not null) + { + Upper = upper.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Lower")] + public float Lower; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Upper")] + public float Upper; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateOutputRateData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateOutputRateData.gen.cs new file mode 100644 index 0000000000..9f2f50e61f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateOutputRateData.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_OUTPUT_RATE_DATA")] + public unsafe partial struct HDStreamStateOutputRateData + { + public HDStreamStateOutputRateData + ( + int? repeatFrame = null, + HDOutputRate? outputRate = null, + HDRational? customRate = null + ) : this() + { + if (repeatFrame is not null) + { + RepeatFrame = repeatFrame.Value; + } + + if (outputRate is not null) + { + OutputRate = outputRate.Value; + } + + if (customRate is not null) + { + CustomRate = customRate.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "RepeatFrame")] + public int RepeatFrame; + + [NativeName("Type", "DXVAHD_OUTPUT_RATE")] + [NativeName("Type.Name", "DXVAHD_OUTPUT_RATE")] + [NativeName("Name", "OutputRate")] + public HDOutputRate OutputRate; + + [NativeName("Type", "DXVAHD_RATIONAL")] + [NativeName("Type.Name", "DXVAHD_RATIONAL")] + [NativeName("Name", "CustomRate")] + public HDRational CustomRate; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePaletteData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePaletteData.gen.cs new file mode 100644 index 0000000000..ec1334d679 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePaletteData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_PALETTE_DATA")] + public unsafe partial struct HDStreamStatePaletteData + { + public HDStreamStatePaletteData + ( + uint? count = null, + uint* pEntries = null + ) : this() + { + if (count is not null) + { + Count = count.Value; + } + + if (pEntries is not null) + { + PEntries = pEntries; + } + } + + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Count")] + public uint Count; + + [NativeName("Type", "D3DCOLOR *")] + [NativeName("Type.Name", "D3DCOLOR *")] + [NativeName("Name", "pEntries")] + public uint* PEntries; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePrivateData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePrivateData.gen.cs new file mode 100644 index 0000000000..5c1a5fb4cd --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePrivateData.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_PRIVATE_DATA")] + public unsafe partial struct HDStreamStatePrivateData + { + public HDStreamStatePrivateData + ( + Guid? guid = null, + uint? dataSize = null, + void* pData = null + ) : this() + { + if (guid is not null) + { + Guid = guid.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + + if (pData is not null) + { + PData = pData; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "Guid")] + public Guid Guid; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DataSize")] + public uint DataSize; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "pData")] + public void* PData; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePrivateIvtcData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePrivateIvtcData.gen.cs new file mode 100644 index 0000000000..99826602bd --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStatePrivateIvtcData.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_PRIVATE_IVTC_DATA")] + public unsafe partial struct HDStreamStatePrivateIvtcData + { + public HDStreamStatePrivateIvtcData + ( + int? enable = null, + uint? iTelecineFlags = null, + uint? frames = null, + uint? inputField = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (iTelecineFlags is not null) + { + ITelecineFlags = iTelecineFlags.Value; + } + + if (frames is not null) + { + Frames = frames.Value; + } + + if (inputField is not null) + { + InputField = inputField.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ITelecineFlags")] + public uint ITelecineFlags; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "Frames")] + public uint Frames; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputField")] + public uint InputField; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateSourceRectData.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateSourceRectData.gen.cs new file mode 100644 index 0000000000..bc9d9680e9 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDStreamStateSourceRectData.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_STREAM_STATE_SOURCE_RECT_DATA")] + public unsafe partial struct HDStreamStateSourceRectData + { + public HDStreamStateSourceRectData + ( + int? enable = null, + Silk.NET.Maths.Rectangle? sourceRect = null + ) : this() + { + if (enable is not null) + { + Enable = enable.Value; + } + + if (sourceRect is not null) + { + SourceRect = sourceRect.Value; + } + } + + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enable")] + public int Enable; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "SourceRect")] + public Silk.NET.Maths.Rectangle SourceRect; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDVpcaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDVpcaps.gen.cs new file mode 100644 index 0000000000..7e779ba73e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDVpcaps.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_VPCAPS")] + public unsafe partial struct HDVpcaps + { + public HDVpcaps + ( + Guid? vPGuid = null, + uint? pastFrames = null, + uint? futureFrames = null, + uint? processorCaps = null, + uint? iTelecineCaps = null, + uint? customRateCount = null + ) : this() + { + if (vPGuid is not null) + { + VPGuid = vPGuid.Value; + } + + if (pastFrames is not null) + { + PastFrames = pastFrames.Value; + } + + if (futureFrames is not null) + { + FutureFrames = futureFrames.Value; + } + + if (processorCaps is not null) + { + ProcessorCaps = processorCaps.Value; + } + + if (iTelecineCaps is not null) + { + ITelecineCaps = iTelecineCaps.Value; + } + + if (customRateCount is not null) + { + CustomRateCount = customRateCount.Value; + } + } + + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "VPGuid")] + public Guid VPGuid; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "PastFrames")] + public uint PastFrames; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "FutureFrames")] + public uint FutureFrames; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ProcessorCaps")] + public uint ProcessorCaps; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ITelecineCaps")] + public uint ITelecineCaps; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "CustomRateCount")] + public uint CustomRateCount; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HDVpdevcaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HDVpdevcaps.gen.cs new file mode 100644 index 0000000000..19304cc778 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HDVpdevcaps.gen.cs @@ -0,0 +1,149 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHD_VPDEVCAPS")] + public unsafe partial struct HDVpdevcaps + { + public HDVpdevcaps + ( + HDDeviceType? deviceType = null, + uint? deviceCaps = null, + uint? featureCaps = null, + uint? filterCaps = null, + uint? inputFormatCaps = null, + Silk.NET.Direct3D9.Pool? inputPool = null, + uint? outputFormatCount = null, + uint? inputFormatCount = null, + uint? videoProcessorCount = null, + uint? maxInputStreams = null, + uint? maxStreamStates = null + ) : this() + { + if (deviceType is not null) + { + DeviceType = deviceType.Value; + } + + if (deviceCaps is not null) + { + DeviceCaps = deviceCaps.Value; + } + + if (featureCaps is not null) + { + FeatureCaps = featureCaps.Value; + } + + if (filterCaps is not null) + { + FilterCaps = filterCaps.Value; + } + + if (inputFormatCaps is not null) + { + InputFormatCaps = inputFormatCaps.Value; + } + + if (inputPool is not null) + { + InputPool = inputPool.Value; + } + + if (outputFormatCount is not null) + { + OutputFormatCount = outputFormatCount.Value; + } + + if (inputFormatCount is not null) + { + InputFormatCount = inputFormatCount.Value; + } + + if (videoProcessorCount is not null) + { + VideoProcessorCount = videoProcessorCount.Value; + } + + if (maxInputStreams is not null) + { + MaxInputStreams = maxInputStreams.Value; + } + + if (maxStreamStates is not null) + { + MaxStreamStates = maxStreamStates.Value; + } + } + + + [NativeName("Type", "DXVAHD_DEVICE_TYPE")] + [NativeName("Type.Name", "DXVAHD_DEVICE_TYPE")] + [NativeName("Name", "DeviceType")] + public HDDeviceType DeviceType; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DeviceCaps")] + public uint DeviceCaps; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "FeatureCaps")] + public uint FeatureCaps; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "FilterCaps")] + public uint FilterCaps; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputFormatCaps")] + public uint InputFormatCaps; + + [NativeName("Type", "D3DPOOL")] + [NativeName("Type.Name", "D3DPOOL")] + [NativeName("Name", "InputPool")] + public Silk.NET.Direct3D9.Pool InputPool; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "OutputFormatCount")] + public uint OutputFormatCount; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputFormatCount")] + public uint InputFormatCount; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "VideoProcessorCount")] + public uint VideoProcessorCount; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "MaxInputStreams")] + public uint MaxInputStreams; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "MaxStreamStates")] + public uint MaxStreamStates; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HdetwCreatevideoprocessor.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwCreatevideoprocessor.gen.cs new file mode 100644 index 0000000000..10e704d008 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwCreatevideoprocessor.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHDETW_CREATEVIDEOPROCESSOR")] + public unsafe partial struct HdetwCreatevideoprocessor + { + public HdetwCreatevideoprocessor + ( + ulong? pObject = null, + ulong? pD3D9Ex = null, + Guid? vPGuid = null + ) : this() + { + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (pD3D9Ex is not null) + { + PD3D9Ex = pD3D9Ex.Value; + } + + if (vPGuid is not null) + { + VPGuid = vPGuid.Value; + } + } + + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pD3D9Ex")] + public ulong PD3D9Ex; + + [NativeName("Type", "GUID")] + [NativeName("Type.Name", "GUID")] + [NativeName("Name", "VPGuid")] + public Guid VPGuid; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HdetwDestroyvideoprocessor.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwDestroyvideoprocessor.gen.cs new file mode 100644 index 0000000000..69a439c9a9 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwDestroyvideoprocessor.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHDETW_DESTROYVIDEOPROCESSOR")] + public unsafe partial struct HdetwDestroyvideoprocessor + { + public HdetwDestroyvideoprocessor + ( + ulong? pObject = null + ) : this() + { + if (pObject is not null) + { + PObject = pObject.Value; + } + } + + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessblthd.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessblthd.gen.cs new file mode 100644 index 0000000000..570a69087d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessblthd.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHDETW_VIDEOPROCESSBLTHD")] + public unsafe partial struct HdetwVideoprocessblthd + { + public HdetwVideoprocessblthd + ( + ulong? pObject = null, + ulong? pOutputSurface = null, + Silk.NET.Maths.Rectangle? targetRect = null, + Silk.NET.Direct3D9.Format? outputFormat = null, + uint? colorSpace = null, + uint? outputFrame = null, + uint? streamCount = null, + int? enter = null + ) : this() + { + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (pOutputSurface is not null) + { + POutputSurface = pOutputSurface.Value; + } + + if (targetRect is not null) + { + TargetRect = targetRect.Value; + } + + if (outputFormat is not null) + { + OutputFormat = outputFormat.Value; + } + + if (colorSpace is not null) + { + ColorSpace = colorSpace.Value; + } + + if (outputFrame is not null) + { + OutputFrame = outputFrame.Value; + } + + if (streamCount is not null) + { + StreamCount = streamCount.Value; + } + + if (enter is not null) + { + Enter = enter.Value; + } + } + + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pOutputSurface")] + public ulong POutputSurface; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "TargetRect")] + public Silk.NET.Maths.Rectangle TargetRect; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "OutputFormat")] + public Silk.NET.Direct3D9.Format OutputFormat; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ColorSpace")] + public uint ColorSpace; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "OutputFrame")] + public uint OutputFrame; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "StreamCount")] + public uint StreamCount; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "Enter")] + public int Enter; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessblthdStream.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessblthdStream.gen.cs new file mode 100644 index 0000000000..82ac780098 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessblthdStream.gen.cs @@ -0,0 +1,160 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHDETW_VIDEOPROCESSBLTHD_STREAM")] + public unsafe partial struct HdetwVideoprocessblthdStream + { + public HdetwVideoprocessblthdStream + ( + ulong? pObject = null, + ulong? pInputSurface = null, + Silk.NET.Maths.Rectangle? sourceRect = null, + Silk.NET.Maths.Rectangle? destinationRect = null, + Silk.NET.Direct3D9.Format? inputFormat = null, + HDFrameFormat? frameFormat = null, + uint? colorSpace = null, + uint? streamNumber = null, + uint? outputIndex = null, + uint? inputFrameOrField = null, + uint? pastFrames = null, + uint? futureFrames = null + ) : this() + { + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (pInputSurface is not null) + { + PInputSurface = pInputSurface.Value; + } + + if (sourceRect is not null) + { + SourceRect = sourceRect.Value; + } + + if (destinationRect is not null) + { + DestinationRect = destinationRect.Value; + } + + if (inputFormat is not null) + { + InputFormat = inputFormat.Value; + } + + if (frameFormat is not null) + { + FrameFormat = frameFormat.Value; + } + + if (colorSpace is not null) + { + ColorSpace = colorSpace.Value; + } + + if (streamNumber is not null) + { + StreamNumber = streamNumber.Value; + } + + if (outputIndex is not null) + { + OutputIndex = outputIndex.Value; + } + + if (inputFrameOrField is not null) + { + InputFrameOrField = inputFrameOrField.Value; + } + + if (pastFrames is not null) + { + PastFrames = pastFrames.Value; + } + + if (futureFrames is not null) + { + FutureFrames = futureFrames.Value; + } + } + + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pInputSurface")] + public ulong PInputSurface; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "SourceRect")] + public Silk.NET.Maths.Rectangle SourceRect; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "DestinationRect")] + public Silk.NET.Maths.Rectangle DestinationRect; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "InputFormat")] + public Silk.NET.Direct3D9.Format InputFormat; + + [NativeName("Type", "DXVAHD_FRAME_FORMAT")] + [NativeName("Type.Name", "DXVAHD_FRAME_FORMAT")] + [NativeName("Name", "FrameFormat")] + public HDFrameFormat FrameFormat; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "ColorSpace")] + public uint ColorSpace; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "StreamNumber")] + public uint StreamNumber; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "OutputIndex")] + public uint OutputIndex; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "InputFrameOrField")] + public uint InputFrameOrField; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "PastFrames")] + public uint PastFrames; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "FutureFrames")] + public uint FutureFrames; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessbltstate.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessbltstate.gen.cs new file mode 100644 index 0000000000..e6ca81ef8a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessbltstate.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHDETW_VIDEOPROCESSBLTSTATE")] + public unsafe partial struct HdetwVideoprocessbltstate + { + public HdetwVideoprocessbltstate + ( + ulong? pObject = null, + HDBltState? state = null, + uint? dataSize = null, + int? setState = null + ) : this() + { + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (state is not null) + { + State = state.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + + if (setState is not null) + { + SetState = setState.Value; + } + } + + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "DXVAHD_BLT_STATE")] + [NativeName("Type.Name", "DXVAHD_BLT_STATE")] + [NativeName("Name", "State")] + public HDBltState State; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DataSize")] + public uint DataSize; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "SetState")] + public int SetState; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessstreamstate.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessstreamstate.gen.cs new file mode 100644 index 0000000000..4099c5df1e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HdetwVideoprocessstreamstate.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHDETW_VIDEOPROCESSSTREAMSTATE")] + public unsafe partial struct HdetwVideoprocessstreamstate + { + public HdetwVideoprocessstreamstate + ( + ulong? pObject = null, + uint? streamNumber = null, + HDStreamState? state = null, + uint? dataSize = null, + int? setState = null + ) : this() + { + if (pObject is not null) + { + PObject = pObject.Value; + } + + if (streamNumber is not null) + { + StreamNumber = streamNumber.Value; + } + + if (state is not null) + { + State = state.Value; + } + + if (dataSize is not null) + { + DataSize = dataSize.Value; + } + + if (setState is not null) + { + SetState = setState.Value; + } + } + + + [NativeName("Type", "ULONGLONG")] + [NativeName("Type.Name", "ULONGLONG")] + [NativeName("Name", "pObject")] + public ulong PObject; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "StreamNumber")] + public uint StreamNumber; + + [NativeName("Type", "DXVAHD_STREAM_STATE")] + [NativeName("Type.Name", "DXVAHD_STREAM_STATE")] + [NativeName("Name", "State")] + public HDStreamState State; + + [NativeName("Type", "UINT")] + [NativeName("Type.Name", "UINT")] + [NativeName("Name", "DataSize")] + public uint DataSize; + + [NativeName("Type", "BOOL")] + [NativeName("Type.Name", "BOOL")] + [NativeName("Name", "SetState")] + public int SetState; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/HdswCallbacks.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/HdswCallbacks.gen.cs new file mode 100644 index 0000000000..2e298e0980 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/HdswCallbacks.gen.cs @@ -0,0 +1,204 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAHDSW_CALLBACKS")] + public unsafe partial struct HdswCallbacks + { + public HdswCallbacks + ( + PfnPDXVAHDSWCreateDevice? createDevice = null, + PfnPDXVAHDSWProposeVideoPrivateFormat? proposeVideoPrivateFormat = null, + PfnPDXVAHDSWGetVideoProcessorDeviceCaps? getVideoProcessorDeviceCaps = null, + PfnPDXVAHDSWGetVideoProcessorOutputFormats? getVideoProcessorOutputFormats = null, + PfnPDXVAHDSWGetVideoProcessorOutputFormats? getVideoProcessorInputFormats = null, + PfnPDXVAHDSWGetVideoProcessorCaps? getVideoProcessorCaps = null, + PfnPDXVAHDSWGetVideoProcessorCustomRates? getVideoProcessorCustomRates = null, + PfnPDXVAHDSWGetVideoProcessorFilterRange? getVideoProcessorFilterRange = null, + PfnPDXVAHDSWDestroyDevice? destroyDevice = null, + PfnPDXVAHDSWCreateVideoProcessor? createVideoProcessor = null, + PfnPDXVAHDSWSetVideoProcessBltState? setVideoProcessBltState = null, + PfnPDXVAHDSWGetVideoProcessBltStatePrivate? getVideoProcessBltStatePrivate = null, + PfnPDXVAHDSWSetVideoProcessStreamState? setVideoProcessStreamState = null, + PfnPDXVAHDSWGetVideoProcessStreamStatePrivate? getVideoProcessStreamStatePrivate = null, + PfnPDXVAHDSWVideoProcessBltHD? videoProcessBltHD = null, + PfnPDXVAHDSWDestroyDevice? destroyVideoProcessor = null + ) : this() + { + if (createDevice is not null) + { + CreateDevice = createDevice.Value; + } + + if (proposeVideoPrivateFormat is not null) + { + ProposeVideoPrivateFormat = proposeVideoPrivateFormat.Value; + } + + if (getVideoProcessorDeviceCaps is not null) + { + GetVideoProcessorDeviceCaps = getVideoProcessorDeviceCaps.Value; + } + + if (getVideoProcessorOutputFormats is not null) + { + GetVideoProcessorOutputFormats = getVideoProcessorOutputFormats.Value; + } + + if (getVideoProcessorInputFormats is not null) + { + GetVideoProcessorInputFormats = getVideoProcessorInputFormats.Value; + } + + if (getVideoProcessorCaps is not null) + { + GetVideoProcessorCaps = getVideoProcessorCaps.Value; + } + + if (getVideoProcessorCustomRates is not null) + { + GetVideoProcessorCustomRates = getVideoProcessorCustomRates.Value; + } + + if (getVideoProcessorFilterRange is not null) + { + GetVideoProcessorFilterRange = getVideoProcessorFilterRange.Value; + } + + if (destroyDevice is not null) + { + DestroyDevice = destroyDevice.Value; + } + + if (createVideoProcessor is not null) + { + CreateVideoProcessor = createVideoProcessor.Value; + } + + if (setVideoProcessBltState is not null) + { + SetVideoProcessBltState = setVideoProcessBltState.Value; + } + + if (getVideoProcessBltStatePrivate is not null) + { + GetVideoProcessBltStatePrivate = getVideoProcessBltStatePrivate.Value; + } + + if (setVideoProcessStreamState is not null) + { + SetVideoProcessStreamState = setVideoProcessStreamState.Value; + } + + if (getVideoProcessStreamStatePrivate is not null) + { + GetVideoProcessStreamStatePrivate = getVideoProcessStreamStatePrivate.Value; + } + + if (videoProcessBltHD is not null) + { + VideoProcessBltHD = videoProcessBltHD.Value; + } + + if (destroyVideoProcessor is not null) + { + DestroyVideoProcessor = destroyVideoProcessor.Value; + } + } + + + [NativeName("Type", "PDXVAHDSW_CreateDevice")] + [NativeName("Type.Name", "PDXVAHDSW_CreateDevice")] + [NativeName("Name", "CreateDevice")] + public PfnPDXVAHDSWCreateDevice CreateDevice; + + [NativeName("Type", "PDXVAHDSW_ProposeVideoPrivateFormat")] + [NativeName("Type.Name", "PDXVAHDSW_ProposeVideoPrivateFormat")] + [NativeName("Name", "ProposeVideoPrivateFormat")] + public PfnPDXVAHDSWProposeVideoPrivateFormat ProposeVideoPrivateFormat; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessorDeviceCaps")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessorDeviceCaps")] + [NativeName("Name", "GetVideoProcessorDeviceCaps")] + public PfnPDXVAHDSWGetVideoProcessorDeviceCaps GetVideoProcessorDeviceCaps; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessorOutputFormats")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessorOutputFormats")] + [NativeName("Name", "GetVideoProcessorOutputFormats")] + public PfnPDXVAHDSWGetVideoProcessorOutputFormats GetVideoProcessorOutputFormats; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessorInputFormats")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessorInputFormats")] + [NativeName("Name", "GetVideoProcessorInputFormats")] + public PfnPDXVAHDSWGetVideoProcessorOutputFormats GetVideoProcessorInputFormats; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessorCaps")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessorCaps")] + [NativeName("Name", "GetVideoProcessorCaps")] + public PfnPDXVAHDSWGetVideoProcessorCaps GetVideoProcessorCaps; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessorCustomRates")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessorCustomRates")] + [NativeName("Name", "GetVideoProcessorCustomRates")] + public PfnPDXVAHDSWGetVideoProcessorCustomRates GetVideoProcessorCustomRates; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessorFilterRange")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessorFilterRange")] + [NativeName("Name", "GetVideoProcessorFilterRange")] + public PfnPDXVAHDSWGetVideoProcessorFilterRange GetVideoProcessorFilterRange; + + [NativeName("Type", "PDXVAHDSW_DestroyDevice")] + [NativeName("Type.Name", "PDXVAHDSW_DestroyDevice")] + [NativeName("Name", "DestroyDevice")] + public PfnPDXVAHDSWDestroyDevice DestroyDevice; + + [NativeName("Type", "PDXVAHDSW_CreateVideoProcessor")] + [NativeName("Type.Name", "PDXVAHDSW_CreateVideoProcessor")] + [NativeName("Name", "CreateVideoProcessor")] + public PfnPDXVAHDSWCreateVideoProcessor CreateVideoProcessor; + + [NativeName("Type", "PDXVAHDSW_SetVideoProcessBltState")] + [NativeName("Type.Name", "PDXVAHDSW_SetVideoProcessBltState")] + [NativeName("Name", "SetVideoProcessBltState")] + public PfnPDXVAHDSWSetVideoProcessBltState SetVideoProcessBltState; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessBltStatePrivate")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessBltStatePrivate")] + [NativeName("Name", "GetVideoProcessBltStatePrivate")] + public PfnPDXVAHDSWGetVideoProcessBltStatePrivate GetVideoProcessBltStatePrivate; + + [NativeName("Type", "PDXVAHDSW_SetVideoProcessStreamState")] + [NativeName("Type.Name", "PDXVAHDSW_SetVideoProcessStreamState")] + [NativeName("Name", "SetVideoProcessStreamState")] + public PfnPDXVAHDSWSetVideoProcessStreamState SetVideoProcessStreamState; + + [NativeName("Type", "PDXVAHDSW_GetVideoProcessStreamStatePrivate")] + [NativeName("Type.Name", "PDXVAHDSW_GetVideoProcessStreamStatePrivate")] + [NativeName("Name", "GetVideoProcessStreamStatePrivate")] + public PfnPDXVAHDSWGetVideoProcessStreamStatePrivate GetVideoProcessStreamStatePrivate; + + [NativeName("Type", "PDXVAHDSW_VideoProcessBltHD")] + [NativeName("Type.Name", "PDXVAHDSW_VideoProcessBltHD")] + [NativeName("Name", "VideoProcessBltHD")] + public PfnPDXVAHDSWVideoProcessBltHD VideoProcessBltHD; + + [NativeName("Type", "PDXVAHDSW_DestroyVideoProcessor")] + [NativeName("Type.Name", "PDXVAHDSW_DestroyVideoProcessor")] + [NativeName("Name", "DestroyVideoProcessor")] + public PfnPDXVAHDSWDestroyDevice DestroyVideoProcessor; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDXVAHDDevice.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDXVAHDDevice.gen.cs new file mode 100644 index 0000000000..5c5a8825d4 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDXVAHDDevice.gen.cs @@ -0,0 +1,360 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("95f12dfd-d77e-49be-815f-57d579634d6d")] + [NativeName("Name", "IDXVAHD_Device")] + public unsafe partial struct IDXVAHDDevice + { + public static readonly Guid Guid = new("95f12dfd-d77e-49be-815f-57d579634d6d"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDXVAHDDevice val) + => Unsafe.As(ref val); + + public IDXVAHDDevice + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoSurface(uint Width, uint Height, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, HDSurfaceType Type, uint NumSurfaces, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfaces, void** pSharedHandle) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, Format, Pool, Usage, Type, NumSurfaces, ppSurfaces, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoSurface(uint Width, uint Height, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, HDSurfaceType Type, uint NumSurfaces, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfaces, ref void* pSharedHandle) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, Format, Pool, Usage, Type, NumSurfaces, ppSurfaces, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoSurface(uint Width, uint Height, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, HDSurfaceType Type, uint NumSurfaces, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurfaces, void** pSharedHandle) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacesPtr = &ppSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, Format, Pool, Usage, Type, NumSurfaces, ppSurfacesPtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoSurface(uint Width, uint Height, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, HDSurfaceType Type, uint NumSurfaces, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurfaces, ref void* pSharedHandle) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacesPtr = &ppSurfaces) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, Format, Pool, Usage, Type, NumSurfaces, ppSurfacesPtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceCaps(HDVpdevcaps* pCaps) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCaps); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorDeviceCaps(ref HDVpdevcaps pCaps) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (HDVpdevcaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorOutputFormats(uint Count, Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Count, pFormats); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorOutputFormats(uint Count, ref Silk.NET.Direct3D9.Format pFormats) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.Format* pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Count, pFormatsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorInputFormats(uint Count, Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Count, pFormats); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorInputFormats(uint Count, ref Silk.NET.Direct3D9.Format pFormats) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.Format* pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Count, pFormatsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(uint Count, HDVpcaps* pCaps) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Count, pCaps); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorCaps(uint Count, ref HDVpcaps pCaps) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (HDVpcaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Count, pCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCustomRates(Guid* pVPGuid, uint Count, HDCustomRateData* pRates) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pVPGuid, Count, pRates); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCustomRates(Guid* pVPGuid, uint Count, ref HDCustomRateData pRates) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (HDCustomRateData* pRatesPtr = &pRates) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pVPGuid, Count, pRatesPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCustomRates(ref Guid pVPGuid, uint Count, HDCustomRateData* pRates) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pVPGuidPtr = &pVPGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pVPGuidPtr, Count, pRates); + } + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorCustomRates(ref Guid pVPGuid, uint Count, ref HDCustomRateData pRates) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pVPGuidPtr = &pVPGuid) + { + fixed (HDCustomRateData* pRatesPtr = &pRates) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pVPGuidPtr, Count, pRatesPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorFilterRange(HDFilter Filter, HDFilterRangeData* pRange) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, Filter, pRange); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorFilterRange(HDFilter Filter, ref HDFilterRangeData pRange) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (HDFilterRangeData* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, Filter, pRangePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(Guid* pVPGuid, IDXVAHDVideoProcessor** ppVideoProcessor) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pVPGuid, ppVideoProcessor); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(Guid* pVPGuid, ref IDXVAHDVideoProcessor* ppVideoProcessor) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDXVAHDVideoProcessor** ppVideoProcessorPtr = &ppVideoProcessor) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pVPGuid, ppVideoProcessorPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(ref Guid pVPGuid, IDXVAHDVideoProcessor** ppVideoProcessor) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pVPGuidPtr = &pVPGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pVPGuidPtr, ppVideoProcessor); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(ref Guid pVPGuid, ref IDXVAHDVideoProcessor* ppVideoProcessor) + { + var @this = (IDXVAHDDevice*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pVPGuidPtr = &pVPGuid) + { + fixed (IDXVAHDVideoProcessor** ppVideoProcessorPtr = &ppVideoProcessor) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pVPGuidPtr, ppVideoProcessorPtr); + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDXVAHDVideoProcessor.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDXVAHDVideoProcessor.gen.cs new file mode 100644 index 0000000000..66f9af1425 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDXVAHDVideoProcessor.gen.cs @@ -0,0 +1,243 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("95f4edf4-6e03-4cd7-be1b-3075d665aa52")] + [NativeName("Name", "IDXVAHD_VideoProcessor")] + public unsafe partial struct IDXVAHDVideoProcessor + { + public static readonly Guid Guid = new("95f4edf4-6e03-4cd7-be1b-3075d665aa52"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDXVAHDVideoProcessor val) + => Unsafe.As(ref val); + + public IDXVAHDVideoProcessor + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int SetVideoProcessBltState(HDBltState State, uint DataSize, void* pData) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, State, DataSize, pData); + return ret; + } + + /// To be documented. + public readonly int SetVideoProcessBltState(HDBltState State, uint DataSize, ref T0 pData) where T0 : unmanaged + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pDataPtr = &pData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, State, DataSize, pDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessBltState(HDBltState State, uint DataSize, void* pData) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, State, DataSize, pData); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessBltState(HDBltState State, uint DataSize, ref T0 pData) where T0 : unmanaged + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pDataPtr = &pData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, State, DataSize, pDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetVideoProcessStreamState(uint StreamNumber, HDStreamState State, uint DataSize, void* pData) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, StreamNumber, State, DataSize, pData); + return ret; + } + + /// To be documented. + public readonly int SetVideoProcessStreamState(uint StreamNumber, HDStreamState State, uint DataSize, ref T0 pData) where T0 : unmanaged + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pDataPtr = &pData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, StreamNumber, State, DataSize, pDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessStreamState(uint StreamNumber, HDStreamState State, uint DataSize, void* pData) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, StreamNumber, State, DataSize, pData); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessStreamState(uint StreamNumber, HDStreamState State, uint DataSize, ref T0 pData) where T0 : unmanaged + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pDataPtr = &pData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, StreamNumber, State, DataSize, pDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBltHD(Silk.NET.Direct3D9.IDirect3DSurface9* pOutputSurface, uint OutputFrame, uint StreamCount, HDStreamData* pStreams) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pOutputSurface, OutputFrame, StreamCount, pStreams); + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBltHD(Silk.NET.Direct3D9.IDirect3DSurface9* pOutputSurface, uint OutputFrame, uint StreamCount, ref HDStreamData pStreams) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (HDStreamData* pStreamsPtr = &pStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pOutputSurface, OutputFrame, StreamCount, pStreamsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBltHD(ref Silk.NET.Direct3D9.IDirect3DSurface9 pOutputSurface, uint OutputFrame, uint StreamCount, HDStreamData* pStreams) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pOutputSurfacePtr = &pOutputSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pOutputSurfacePtr, OutputFrame, StreamCount, pStreams); + } + return ret; + } + + /// To be documented. + public readonly int VideoProcessBltHD(ref Silk.NET.Direct3D9.IDirect3DSurface9 pOutputSurface, uint OutputFrame, uint StreamCount, ref HDStreamData pStreams) + { + var @this = (IDXVAHDVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pOutputSurfacePtr = &pOutputSurface) + { + fixed (HDStreamData* pStreamsPtr = &pStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pOutputSurfacePtr, OutputFrame, StreamCount, pStreamsPtr); + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDirect3DDeviceManager9.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDirect3DDeviceManager9.gen.cs new file mode 100644 index 0000000000..956831daf5 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDirect3DDeviceManager9.gen.cs @@ -0,0 +1,372 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("a0cade0f-06d5-4cf4-a1c7-f3cdd725aa75")] + [NativeName("Name", "IDirect3DDeviceManager9")] + public unsafe partial struct IDirect3DDeviceManager9 + { + public static readonly Guid Guid = new("a0cade0f-06d5-4cf4-a1c7-f3cdd725aa75"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DDeviceManager9 val) + => Unsafe.As(ref val); + + public IDirect3DDeviceManager9 + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int ResetDevice(Silk.NET.Direct3D9.IDirect3DDevice9* pDevice, uint resetToken) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pDevice, resetToken); + return ret; + } + + /// To be documented. + public readonly int ResetDevice(ref Silk.NET.Direct3D9.IDirect3DDevice9 pDevice, uint resetToken) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DDevice9* pDevicePtr = &pDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pDevicePtr, resetToken); + } + return ret; + } + + /// To be documented. + public readonly unsafe int OpenDeviceHandle(void** phDevice) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, phDevice); + return ret; + } + + /// To be documented. + public readonly unsafe int OpenDeviceHandle(ref void* phDevice) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** phDevicePtr = &phDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, phDevicePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CloseDeviceHandle(void* hDevice) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, hDevice); + return ret; + } + + /// To be documented. + public readonly int CloseDeviceHandle(ref T0 hDevice) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, hDevicePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int TestDevice(void* hDevice) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, hDevice); + return ret; + } + + /// To be documented. + public readonly int TestDevice(ref T0 hDevice) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, hDevicePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int LockDevice(void* hDevice, Silk.NET.Direct3D9.IDirect3DDevice9** ppDevice, int fBlock) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, hDevice, ppDevice, fBlock); + return ret; + } + + /// To be documented. + public readonly unsafe int LockDevice(void* hDevice, ref Silk.NET.Direct3D9.IDirect3DDevice9* ppDevice, int fBlock) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DDevice9** ppDevicePtr = &ppDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, hDevice, ppDevicePtr, fBlock); + } + return ret; + } + + /// To be documented. + public readonly unsafe int LockDevice(ref T0 hDevice, Silk.NET.Direct3D9.IDirect3DDevice9** ppDevice, int fBlock) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, hDevicePtr, ppDevice, fBlock); + } + return ret; + } + + /// To be documented. + public readonly unsafe int LockDevice(ref T0 hDevice, ref Silk.NET.Direct3D9.IDirect3DDevice9* ppDevice, int fBlock) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + fixed (Silk.NET.Direct3D9.IDirect3DDevice9** ppDevicePtr = &ppDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, hDevicePtr, ppDevicePtr, fBlock); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UnlockDevice(void* hDevice, int fSaveState) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, hDevice, fSaveState); + return ret; + } + + /// To be documented. + public readonly int UnlockDevice(ref T0 hDevice, int fSaveState) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, hDevicePtr, fSaveState); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(void* hDevice, Guid* riid, void** ppService) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevice, riid, ppService); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(void* hDevice, Guid* riid, ref void* ppService) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppServicePtr = &ppService) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevice, riid, ppServicePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(void* hDevice, ref Guid riid, void** ppService) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevice, riidPtr, ppService); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(void* hDevice, ref Guid riid, ref void* ppService) + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppServicePtr = &ppService) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevice, riidPtr, ppServicePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(ref T0 hDevice, Guid* riid, void** ppService) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevicePtr, riid, ppService); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(ref T0 hDevice, Guid* riid, ref void* ppService) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + fixed (void** ppServicePtr = &ppService) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevicePtr, riid, ppServicePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(ref T0 hDevice, ref Guid riid, void** ppService) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevicePtr, riidPtr, ppService); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoService(ref T0 hDevice, ref Guid riid, ref void* ppService) where T0 : unmanaged + { + var @this = (IDirect3DDeviceManager9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* hDevicePtr = &hDevice) + { + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppServicePtr = &ppService) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, hDevicePtr, riidPtr, ppServicePtr); + } + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoAccelerationService.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoAccelerationService.gen.cs new file mode 100644 index 0000000000..f05056fd75 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoAccelerationService.gen.cs @@ -0,0 +1,159 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("fc51a550-d5e7-11d9-af55-00054e43ff02")] + [NativeName("Name", "IDirectXVideoAccelerationService")] + public unsafe partial struct IDirectXVideoAccelerationService + { + public static readonly Guid Guid = new("fc51a550-d5e7-11d9-af55-00054e43ff02"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirectXVideoAccelerationService val) + => Unsafe.As(ref val); + + public IDirectXVideoAccelerationService + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurface, void** pSharedHandle) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurface, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurface, ref void* pSharedHandle) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurface, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurface, void** pSharedHandle) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurfacePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurface, ref void* pSharedHandle) + { + var @this = (IDirectXVideoAccelerationService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurfacePtr, pSharedHandlePtr); + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoDecoder.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoDecoder.gen.cs new file mode 100644 index 0000000000..0e4811f410 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoDecoder.gen.cs @@ -0,0 +1,807 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("f2b0810a-fd00-43c9-918c-df94e2d8ef7d")] + [NativeName("Name", "IDirectXVideoDecoder")] + public unsafe partial struct IDirectXVideoDecoder + { + public static readonly Guid Guid = new("f2b0810a-fd00-43c9-918c-df94e2d8ef7d"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirectXVideoDecoder val) + => Unsafe.As(ref val); + + public IDirectXVideoDecoder + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoDecoderService(IDirectXVideoDecoderService** ppService) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, ppService); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoDecoderService(ref IDirectXVideoDecoderService* ppService) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirectXVideoDecoderService** ppServicePtr = &ppService) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, ppServicePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfig, pDecoderRenderTargets, pNumSurfaces); + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfig, pDecoderRenderTargets, pNumSurfacesPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfig, pDecoderRenderTargetsPtr, pNumSurfaces); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfig, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfigPtr, pDecoderRenderTargets, pNumSurfaces); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfigPtr, pDecoderRenderTargets, pNumSurfacesPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfaces); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfig, pDecoderRenderTargets, pNumSurfaces); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfig, pDecoderRenderTargets, pNumSurfacesPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfig, pDecoderRenderTargetsPtr, pNumSurfaces); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfig, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfigPtr, pDecoderRenderTargets, pNumSurfaces); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfigPtr, pDecoderRenderTargets, pNumSurfacesPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfaces); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfig, pDecoderRenderTargets, pNumSurfaces); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfig, pDecoderRenderTargets, pNumSurfacesPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfig, pDecoderRenderTargetsPtr, pNumSurfaces); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfig, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfigPtr, pDecoderRenderTargets, pNumSurfaces); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfigPtr, pDecoderRenderTargets, pNumSurfacesPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfaces); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfig, pDecoderRenderTargets, pNumSurfaces); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfig, pDecoderRenderTargets, pNumSurfacesPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfig, pDecoderRenderTargetsPtr, pNumSurfaces); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfig, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfigPtr, pDecoderRenderTargets, pNumSurfaces); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfigPtr, pDecoderRenderTargets, pNumSurfacesPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, uint* pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfaces); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9** pDecoderRenderTargets, ref uint pNumSurfaces) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9*** pDecoderRenderTargetsPtr = &pDecoderRenderTargets) + { + fixed (uint* pNumSurfacesPtr = &pNumSurfaces) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pConfigPtr, pDecoderRenderTargetsPtr, pNumSurfacesPtr); + } + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetBuffer(uint BufferType, void** ppBuffer, uint* pBufferSize) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, BufferType, ppBuffer, pBufferSize); + return ret; + } + + /// To be documented. + public readonly unsafe int GetBuffer(uint BufferType, void** ppBuffer, ref uint pBufferSize) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pBufferSizePtr = &pBufferSize) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, BufferType, ppBuffer, pBufferSizePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetBuffer(uint BufferType, ref void* ppBuffer, uint* pBufferSize) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppBufferPtr = &ppBuffer) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, BufferType, ppBufferPtr, pBufferSize); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetBuffer(uint BufferType, ref void* ppBuffer, ref uint pBufferSize) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppBufferPtr = &ppBuffer) + { + fixed (uint* pBufferSizePtr = &pBufferSize) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, BufferType, ppBufferPtr, pBufferSizePtr); + } + } + return ret; + } + + /// To be documented. + public readonly int ReleaseBuffer(uint BufferType) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, BufferType); + return ret; + } + + /// To be documented. + public readonly unsafe int BeginFrame(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, void* pvPVPData) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pRenderTarget, pvPVPData); + return ret; + } + + /// To be documented. + public readonly unsafe int BeginFrame(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, ref T0 pvPVPData) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pvPVPDataPtr = &pvPVPData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pRenderTarget, pvPVPDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int BeginFrame(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, void* pvPVPData) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pRenderTargetPtr, pvPVPData); + } + return ret; + } + + /// To be documented. + public readonly int BeginFrame(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, ref T0 pvPVPData) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (T0* pvPVPDataPtr = &pvPVPData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pRenderTargetPtr, pvPVPDataPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int EndFrame(void** pHandleComplete) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pHandleComplete); + return ret; + } + + /// To be documented. + public readonly unsafe int EndFrame(ref void* pHandleComplete) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pHandleCompletePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Execute(DXVA2DecodeExecuteParams* pExecuteParams) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pExecuteParams); + return ret; + } + + /// To be documented. + public readonly int Execute(ref DXVA2DecodeExecuteParams pExecuteParams) + { + var @this = (IDirectXVideoDecoder*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2DecodeExecuteParams* pExecuteParamsPtr = &pExecuteParams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pExecuteParamsPtr); + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoDecoderService.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoDecoderService.gen.cs new file mode 100644 index 0000000000..f30700c075 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoDecoderService.gen.cs @@ -0,0 +1,1374 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("fc51a551-d5e7-11d9-af55-00054e43ff02")] + [NativeName("Name", "IDirectXVideoDecoderService")] + public unsafe partial struct IDirectXVideoDecoderService + { + public static readonly Guid Guid = new("fc51a551-d5e7-11d9-af55-00054e43ff02"); + + public static implicit operator IDirectXVideoAccelerationService(IDirectXVideoDecoderService val) + => Unsafe.As(ref val); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirectXVideoDecoderService val) + => Unsafe.As(ref val); + + public IDirectXVideoDecoderService + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurface, void** pSharedHandle) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurface, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurface, ref void* pSharedHandle) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurface, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurface, void** pSharedHandle) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurfacePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurface, ref void* pSharedHandle) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurfacePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderDeviceGuids(uint* pCount, Guid** pGuids) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCount, pGuids); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderDeviceGuids(uint* pCount, ref Guid* pGuids) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid** pGuidsPtr = &pGuids) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCount, pGuidsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderDeviceGuids(ref uint pCount, Guid** pGuids) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCountPtr, pGuids); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderDeviceGuids(ref uint pCount, ref Guid* pGuids) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + fixed (Guid** pGuidsPtr = &pGuids) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCountPtr, pGuidsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(Guid* Guid, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Guid, pCount, pFormats); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(Guid* Guid, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Guid, pCount, pFormatsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(Guid* Guid, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Guid, pCountPtr, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(Guid* Guid, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Guid, pCountPtr, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(ref Guid Guid, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, GuidPtr, pCount, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(ref Guid Guid, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, GuidPtr, pCount, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(ref Guid Guid, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, GuidPtr, pCountPtr, pFormats); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderRenderTargets(ref Guid Guid, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, GuidPtr, pCountPtr, pFormatsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReserved, pCount, ppConfigs); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReserved, pCount, ppConfigsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReserved, pCountPtr, ppConfigs); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReserved, pCountPtr, ppConfigsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pReservedPtr = &pReserved) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReservedPtr, pCount, ppConfigs); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pReservedPtr = &pReserved) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReservedPtr, pCount, ppConfigsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReservedPtr, pCountPtr, ppConfigs); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDesc, pReservedPtr, pCountPtr, ppConfigsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReserved, pCount, ppConfigs); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReserved, pCount, ppConfigsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReserved, pCountPtr, ppConfigs); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReserved, pCountPtr, ppConfigsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReservedPtr, pCount, ppConfigs); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReservedPtr, pCount, ppConfigsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReservedPtr, pCountPtr, ppConfigs); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Guid, pVideoDescPtr, pReservedPtr, pCountPtr, ppConfigsPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReserved, pCount, ppConfigs); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReserved, pCount, ppConfigsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReserved, pCountPtr, ppConfigs); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, void* pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReserved, pCountPtr, ppConfigsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (T0* pReservedPtr = &pReserved) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReservedPtr, pCount, ppConfigs); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReservedPtr, pCount, ppConfigsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReservedPtr, pCountPtr, ppConfigs); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref T0 pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDesc, pReservedPtr, pCountPtr, ppConfigsPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReserved, pCount, ppConfigs); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReserved, pCount, ppConfigsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReserved, pCountPtr, ppConfigs); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, void* pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReserved, pCountPtr, ppConfigsPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, uint* pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReservedPtr, pCount, ppConfigs); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, uint* pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReservedPtr, pCount, ppConfigsPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, ref uint pCount, DXVA2ConfigPictureDecode** ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReservedPtr, pCountPtr, ppConfigs); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDecoderConfigurations(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref T0 pReserved, ref uint pCount, ref DXVA2ConfigPictureDecode* ppConfigs) where T0 : unmanaged + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (T0* pReservedPtr = &pReserved) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (DXVA2ConfigPictureDecode** ppConfigsPtr = &ppConfigs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, GuidPtr, pVideoDescPtr, pReservedPtr, pCountPtr, ppConfigsPtr); + } + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDesc, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(Guid* Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Guid, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, DXVA2VideoDesc* pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDesc, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfig, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, DXVA2ConfigPictureDecode* pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfig, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecode); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargets, NumRenderTargets, ppDecodePtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, IDirectXVideoDecoder** ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecode); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoDecoder(ref Guid Guid, ref DXVA2VideoDesc pVideoDesc, ref DXVA2ConfigPictureDecode pConfig, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppDecoderRenderTargets, uint NumRenderTargets, ref IDirectXVideoDecoder* ppDecode) + { + var @this = (IDirectXVideoDecoderService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* GuidPtr = &Guid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ConfigPictureDecode* pConfigPtr = &pConfig) + { + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppDecoderRenderTargetsPtr = &ppDecoderRenderTargets) + { + fixed (IDirectXVideoDecoder** ppDecodePtr = &ppDecode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, GuidPtr, pVideoDescPtr, pConfigPtr, ppDecoderRenderTargetsPtr, NumRenderTargets, ppDecodePtr); + } + } + } + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoMemoryConfiguration.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoMemoryConfiguration.gen.cs new file mode 100644 index 0000000000..1798b9b4c1 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoMemoryConfiguration.gen.cs @@ -0,0 +1,141 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("b7f916dd-db3b-49c1-84d7-e45ef99ec726")] + [NativeName("Name", "IDirectXVideoMemoryConfiguration")] + public unsafe partial struct IDirectXVideoMemoryConfiguration + { + public static readonly Guid Guid = new("b7f916dd-db3b-49c1-84d7-e45ef99ec726"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirectXVideoMemoryConfiguration val) + => Unsafe.As(ref val); + + public IDirectXVideoMemoryConfiguration + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetAvailableSurfaceTypeByIndex(uint dwTypeIndex, MIDLMIDLItfDxva2api000000060001* pdwType) + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, dwTypeIndex, pdwType); + return ret; + } + + /// To be documented. + public readonly int GetAvailableSurfaceTypeByIndex(uint dwTypeIndex, ref MIDLMIDLItfDxva2api000000060001 pdwType) + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (MIDLMIDLItfDxva2api000000060001* pdwTypePtr = &pdwType) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, dwTypeIndex, pdwTypePtr); + } + return ret; + } + + /// To be documented. + public readonly int SetSurfaceType(MIDLMIDLItfDxva2api000000060001 dwType) + { + var @this = (IDirectXVideoMemoryConfiguration*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, dwType); + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoProcessor.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoProcessor.gen.cs new file mode 100644 index 0000000000..32f3b6d7d9 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoProcessor.gen.cs @@ -0,0 +1,675 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("8c3a39f0-916e-4690-804f-4c8001355d25")] + [NativeName("Name", "IDirectXVideoProcessor")] + public unsafe partial struct IDirectXVideoProcessor + { + public static readonly Guid Guid = new("8c3a39f0-916e-4690-804f-4c8001355d25"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirectXVideoProcessor val) + => Unsafe.As(ref val); + + public IDirectXVideoProcessor + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorService(IDirectXVideoProcessorService** ppService) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, ppService); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorService(ref IDirectXVideoProcessorService* ppService) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirectXVideoProcessorService** ppServicePtr = &ppService) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, ppServicePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pRenderTargetFormat, pMaxNumSubStreams); + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pRenderTargetFormat, pMaxNumSubStreamsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pRenderTargetFormatPtr, pMaxNumSubStreams); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDesc, pRenderTargetFormatPtr, pMaxNumSubStreamsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pRenderTargetFormat, pMaxNumSubStreams); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pRenderTargetFormat, pMaxNumSubStreamsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pRenderTargetFormatPtr, pMaxNumSubStreams); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(Guid* pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuid, pVideoDescPtr, pRenderTargetFormatPtr, pMaxNumSubStreamsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pRenderTargetFormat, pMaxNumSubStreams); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pRenderTargetFormat, pMaxNumSubStreamsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pRenderTargetFormatPtr, pMaxNumSubStreams); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDesc, pRenderTargetFormatPtr, pMaxNumSubStreamsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pRenderTargetFormat, pMaxNumSubStreams); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format* pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pRenderTargetFormat, pMaxNumSubStreamsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, uint* pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pRenderTargetFormatPtr, pMaxNumSubStreams); + } + } + } + return ret; + } + + /// To be documented. + public readonly int GetCreationParameters(ref Guid pDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref Silk.NET.Direct3D9.Format pRenderTargetFormat, ref uint pMaxNumSubStreams) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDeviceGuidPtr = &pDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format* pRenderTargetFormatPtr = &pRenderTargetFormat) + { + fixed (uint* pMaxNumSubStreamsPtr = &pMaxNumSubStreams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDeviceGuidPtr, pVideoDescPtr, pRenderTargetFormatPtr, pMaxNumSubStreamsPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(DXVA2VideoProcessorCaps* pCaps) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCaps); + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorCaps(ref DXVA2VideoProcessorCaps pCaps) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoProcessorCaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(uint ProcAmpCap, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, ProcAmpCap, pRange); + return ret; + } + + /// To be documented. + public readonly int GetProcAmpRange(uint ProcAmpCap, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, ProcAmpCap, pRangePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(uint FilterSetting, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, FilterSetting, pRange); + return ret; + } + + /// To be documented. + public readonly int GetFilterPropertyRange(uint FilterSetting, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, FilterSetting, pRangePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParams, pSamples, NumSamples, pHandleComplete); + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParams, pSamples, NumSamples, pHandleCompletePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParams, pSamplesPtr, NumSamples, pHandleComplete); + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParams, pSamplesPtr, NumSamples, pHandleCompletePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParamsPtr, pSamples, NumSamples, pHandleComplete); + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParamsPtr, pSamples, NumSamples, pHandleCompletePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParamsPtr, pSamplesPtr, NumSamples, pHandleComplete); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTarget, pBltParamsPtr, pSamplesPtr, NumSamples, pHandleCompletePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParams, pSamples, NumSamples, pHandleComplete); + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParams, pSamples, NumSamples, pHandleCompletePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParams, pSamplesPtr, NumSamples, pHandleComplete); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, DXVA2VideoProcessBltParams* pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParams, pSamplesPtr, NumSamples, pHandleCompletePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParamsPtr, pSamples, NumSamples, pHandleComplete); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, DXVA2VideoSample* pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParamsPtr, pSamples, NumSamples, pHandleCompletePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, void** pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParamsPtr, pSamplesPtr, NumSamples, pHandleComplete); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int VideoProcessBlt(ref Silk.NET.Direct3D9.IDirect3DSurface9 pRenderTarget, ref DXVA2VideoProcessBltParams pBltParams, ref DXVA2VideoSample pSamples, uint NumSamples, ref void* pHandleComplete) + { + var @this = (IDirectXVideoProcessor*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (DXVA2VideoProcessBltParams* pBltParamsPtr = &pBltParams) + { + fixed (DXVA2VideoSample* pSamplesPtr = &pSamples) + { + fixed (void** pHandleCompletePtr = &pHandleComplete) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pRenderTargetPtr, pBltParamsPtr, pSamplesPtr, NumSamples, pHandleCompletePtr); + } + } + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoProcessorService.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoProcessorService.gen.cs new file mode 100644 index 0000000000..4b89e6d18e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/IDirectXVideoProcessorService.gen.cs @@ -0,0 +1,1203 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [Guid("fc51a552-d5e7-11d9-af55-00054e43ff02")] + [NativeName("Name", "IDirectXVideoProcessorService")] + public unsafe partial struct IDirectXVideoProcessorService + { + public static readonly Guid Guid = new("fc51a552-d5e7-11d9-af55-00054e43ff02"); + + public static implicit operator IDirectXVideoAccelerationService(IDirectXVideoProcessorService val) + => Unsafe.As(ref val); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirectXVideoProcessorService val) + => Unsafe.As(ref val); + + public IDirectXVideoProcessorService + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurface, void** pSharedHandle) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurface, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, Silk.NET.Direct3D9.IDirect3DSurface9** ppSurface, ref void* pSharedHandle) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurface, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurface, void** pSharedHandle) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurfacePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateSurface(uint Width, uint Height, uint BackBuffers, Silk.NET.Direct3D9.Format Format, Silk.NET.Direct3D9.Pool Pool, uint Usage, uint DxvaType, ref Silk.NET.Direct3D9.IDirect3DSurface9* ppSurface, ref void* pSharedHandle) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Width, Height, BackBuffers, Format, Pool, Usage, DxvaType, ppSurfacePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int RegisterVideoProcessorSoftwareDevice(void* pCallbacks) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCallbacks); + return ret; + } + + /// To be documented. + public readonly int RegisterVideoProcessorSoftwareDevice(ref T0 pCallbacks) where T0 : unmanaged + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pCallbacksPtr = &pCallbacks) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pCallbacksPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(DXVA2VideoDesc* pVideoDesc, uint* pCount, Guid** pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDesc, pCount, pGuids); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(DXVA2VideoDesc* pVideoDesc, uint* pCount, ref Guid* pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid** pGuidsPtr = &pGuids) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDesc, pCount, pGuidsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(DXVA2VideoDesc* pVideoDesc, ref uint pCount, Guid** pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDesc, pCountPtr, pGuids); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(DXVA2VideoDesc* pVideoDesc, ref uint pCount, ref Guid* pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + fixed (Guid** pGuidsPtr = &pGuids) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDesc, pCountPtr, pGuidsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(ref DXVA2VideoDesc pVideoDesc, uint* pCount, Guid** pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDescPtr, pCount, pGuids); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(ref DXVA2VideoDesc pVideoDesc, uint* pCount, ref Guid* pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Guid** pGuidsPtr = &pGuids) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDescPtr, pCount, pGuidsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(ref DXVA2VideoDesc pVideoDesc, ref uint pCount, Guid** pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDescPtr, pCountPtr, pGuids); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorDeviceGuids(ref DXVA2VideoDesc pVideoDesc, ref uint pCount, ref Guid* pGuids) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Guid** pGuidsPtr = &pGuids) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pVideoDescPtr, pCountPtr, pGuidsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDesc, pCount, pFormats); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDesc, pCount, pFormatsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDesc, pCountPtr, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDesc, pCountPtr, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDescPtr, pCount, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDescPtr, pCount, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDescPtr, pCountPtr, pFormats); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuid, pVideoDescPtr, pCountPtr, pFormatsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDesc, pCount, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDesc, pCount, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDesc, pCountPtr, pFormats); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDesc, pCountPtr, pFormatsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, pCount, pFormats); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, pCount, pFormatsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, pCountPtr, pFormats); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorRenderTargets(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, pCountPtr, pFormatsPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, pCount, pFormats); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, pCount, pFormatsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, pCountPtr, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, pCountPtr, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, pCount, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, pCount, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, pCountPtr, pFormats); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, pCountPtr, pFormatsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, pCount, pFormats); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, pCount, pFormatsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, pCountPtr, pFormats); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, pCountPtr, pFormatsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, pCount, pFormats); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint* pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, pCount, pFormatsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, Silk.NET.Direct3D9.Format** pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, pCountPtr, pFormats); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorSubStreamFormats(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref uint pCount, ref Silk.NET.Direct3D9.Format* pFormats) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (uint* pCountPtr = &pCount) + { + fixed (Silk.NET.Direct3D9.Format** pFormatsPtr = &pFormats) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, pCountPtr, pFormatsPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, DXVA2VideoProcessorCaps* pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, pCaps); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref DXVA2VideoProcessorCaps pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoProcessorCaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, pCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, DXVA2VideoProcessorCaps* pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, pCaps); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref DXVA2VideoProcessorCaps pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2VideoProcessorCaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, pCapsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, DXVA2VideoProcessorCaps* pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, pCaps); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref DXVA2VideoProcessorCaps pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoProcessorCaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, pCapsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVideoProcessorCaps(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, DXVA2VideoProcessorCaps* pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, pCaps); + } + } + return ret; + } + + /// To be documented. + public readonly int GetVideoProcessorCaps(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, ref DXVA2VideoProcessorCaps pCaps) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2VideoProcessorCaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, pCapsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, ProcAmpCap, pRange); + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, ProcAmpCap, pRangePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, ProcAmpCap, pRange); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, ProcAmpCap, pRangePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, ProcAmpCap, pRange); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, ProcAmpCap, pRangePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetProcAmpRange(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, ProcAmpCap, pRange); + } + } + return ret; + } + + /// To be documented. + public readonly int GetProcAmpRange(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint ProcAmpCap, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, ProcAmpCap, pRangePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, FilterSetting, pRange); + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, FilterSetting, pRangePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, FilterSetting, pRange); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, FilterSetting, pRangePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, FilterSetting, pRange); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, FilterSetting, pRangePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFilterPropertyRange(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, DXVA2ValueRange* pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, FilterSetting, pRange); + } + } + return ret; + } + + /// To be documented. + public readonly int GetFilterPropertyRange(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint FilterSetting, ref DXVA2ValueRange pRange) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (DXVA2ValueRange* pRangePtr = &pRange) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, FilterSetting, pRangePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, IDirectXVideoProcessor** ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, MaxNumSubStreams, ppVidProcess); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(Guid* VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, ref IDirectXVideoProcessor* ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirectXVideoProcessor** ppVidProcessPtr = &ppVidProcess) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuid, pVideoDesc, RenderTargetFormat, MaxNumSubStreams, ppVidProcessPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, IDirectXVideoProcessor** ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, MaxNumSubStreams, ppVidProcess); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(Guid* VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, ref IDirectXVideoProcessor* ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (IDirectXVideoProcessor** ppVidProcessPtr = &ppVidProcess) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuid, pVideoDescPtr, RenderTargetFormat, MaxNumSubStreams, ppVidProcessPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, IDirectXVideoProcessor** ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, MaxNumSubStreams, ppVidProcess); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(ref Guid VideoProcDeviceGuid, DXVA2VideoDesc* pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, ref IDirectXVideoProcessor* ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (IDirectXVideoProcessor** ppVidProcessPtr = &ppVidProcess) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuidPtr, pVideoDesc, RenderTargetFormat, MaxNumSubStreams, ppVidProcessPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, IDirectXVideoProcessor** ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, MaxNumSubStreams, ppVidProcess); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVideoProcessor(ref Guid VideoProcDeviceGuid, ref DXVA2VideoDesc pVideoDesc, Silk.NET.Direct3D9.Format RenderTargetFormat, uint MaxNumSubStreams, ref IDirectXVideoProcessor* ppVidProcess) + { + var @this = (IDirectXVideoProcessorService*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* VideoProcDeviceGuidPtr = &VideoProcDeviceGuid) + { + fixed (DXVA2VideoDesc* pVideoDescPtr = &pVideoDesc) + { + fixed (IDirectXVideoProcessor** ppVidProcessPtr = &ppVidProcess) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, VideoProcDeviceGuidPtr, pVideoDescPtr, RenderTargetFormat, MaxNumSubStreams, ppVidProcessPtr); + } + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWCreateDevice.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWCreateDevice.gen.cs new file mode 100644 index 0000000000..e0a8ab702a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWCreateDevice.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWCreateDevice : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWCreateDevice + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWCreateDevice + ( + PDXVAHDSWCreateDevice proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWCreateDevice From(PDXVAHDSWCreateDevice proc) => new PfnPDXVAHDSWCreateDevice(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWCreateDevice pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWCreateDevice(nint pfn) + => new PfnPDXVAHDSWCreateDevice((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWCreateDevice(PDXVAHDSWCreateDevice proc) + => new PfnPDXVAHDSWCreateDevice(proc); + + public static explicit operator PDXVAHDSWCreateDevice(PfnPDXVAHDSWCreateDevice pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWCreateDevice pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWCreateDevice(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWCreateDevice(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWCreateDevice(Silk.NET.Direct3D9.IDirect3DDevice9Ex* arg0, void** arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWCreateVideoProcessor.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWCreateVideoProcessor.gen.cs new file mode 100644 index 0000000000..10426747c9 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWCreateVideoProcessor.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWCreateVideoProcessor : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWCreateVideoProcessor + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWCreateVideoProcessor + ( + PDXVAHDSWCreateVideoProcessor proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWCreateVideoProcessor From(PDXVAHDSWCreateVideoProcessor proc) => new PfnPDXVAHDSWCreateVideoProcessor(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWCreateVideoProcessor pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWCreateVideoProcessor(nint pfn) + => new PfnPDXVAHDSWCreateVideoProcessor((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWCreateVideoProcessor(PDXVAHDSWCreateVideoProcessor proc) + => new PfnPDXVAHDSWCreateVideoProcessor(proc); + + public static explicit operator PDXVAHDSWCreateVideoProcessor(PfnPDXVAHDSWCreateVideoProcessor pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWCreateVideoProcessor pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWCreateVideoProcessor(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWCreateVideoProcessor(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWCreateVideoProcessor(void* arg0, Guid* arg1, void** arg2); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWDestroyDevice.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWDestroyDevice.gen.cs new file mode 100644 index 0000000000..f5cc3e3819 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWDestroyDevice.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWDestroyDevice : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWDestroyDevice + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWDestroyDevice + ( + PDXVAHDSWDestroyDevice proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWDestroyDevice From(PDXVAHDSWDestroyDevice proc) => new PfnPDXVAHDSWDestroyDevice(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWDestroyDevice pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWDestroyDevice(nint pfn) + => new PfnPDXVAHDSWDestroyDevice((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWDestroyDevice(PDXVAHDSWDestroyDevice proc) + => new PfnPDXVAHDSWDestroyDevice(proc); + + public static explicit operator PDXVAHDSWDestroyDevice(PfnPDXVAHDSWDestroyDevice pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWDestroyDevice pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWDestroyDevice(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWDestroyDevice(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWDestroyDevice(void* arg0); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessBltStatePrivate.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessBltStatePrivate.gen.cs new file mode 100644 index 0000000000..e361c5b2d6 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessBltStatePrivate.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWGetVideoProcessBltStatePrivate : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWGetVideoProcessBltStatePrivate + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWGetVideoProcessBltStatePrivate + ( + PDXVAHDSWGetVideoProcessBltStatePrivate proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWGetVideoProcessBltStatePrivate From(PDXVAHDSWGetVideoProcessBltStatePrivate proc) => new PfnPDXVAHDSWGetVideoProcessBltStatePrivate(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWGetVideoProcessBltStatePrivate pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWGetVideoProcessBltStatePrivate(nint pfn) + => new PfnPDXVAHDSWGetVideoProcessBltStatePrivate((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWGetVideoProcessBltStatePrivate(PDXVAHDSWGetVideoProcessBltStatePrivate proc) + => new PfnPDXVAHDSWGetVideoProcessBltStatePrivate(proc); + + public static explicit operator PDXVAHDSWGetVideoProcessBltStatePrivate(PfnPDXVAHDSWGetVideoProcessBltStatePrivate pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWGetVideoProcessBltStatePrivate pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWGetVideoProcessBltStatePrivate(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWGetVideoProcessBltStatePrivate(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWGetVideoProcessBltStatePrivate(void* arg0, HDBltStatePrivateData* arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessStreamStatePrivate.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessStreamStatePrivate.gen.cs new file mode 100644 index 0000000000..774d1708d7 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessStreamStatePrivate.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWGetVideoProcessStreamStatePrivate : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWGetVideoProcessStreamStatePrivate + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWGetVideoProcessStreamStatePrivate + ( + PDXVAHDSWGetVideoProcessStreamStatePrivate proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWGetVideoProcessStreamStatePrivate From(PDXVAHDSWGetVideoProcessStreamStatePrivate proc) => new PfnPDXVAHDSWGetVideoProcessStreamStatePrivate(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWGetVideoProcessStreamStatePrivate pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWGetVideoProcessStreamStatePrivate(nint pfn) + => new PfnPDXVAHDSWGetVideoProcessStreamStatePrivate((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWGetVideoProcessStreamStatePrivate(PDXVAHDSWGetVideoProcessStreamStatePrivate proc) + => new PfnPDXVAHDSWGetVideoProcessStreamStatePrivate(proc); + + public static explicit operator PDXVAHDSWGetVideoProcessStreamStatePrivate(PfnPDXVAHDSWGetVideoProcessStreamStatePrivate pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWGetVideoProcessStreamStatePrivate pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWGetVideoProcessStreamStatePrivate(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWGetVideoProcessStreamStatePrivate(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWGetVideoProcessStreamStatePrivate(void* arg0, uint arg1, HDStreamStatePrivateData* arg2); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorCaps.gen.cs new file mode 100644 index 0000000000..419ce5010f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorCaps.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWGetVideoProcessorCaps : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWGetVideoProcessorCaps + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWGetVideoProcessorCaps + ( + PDXVAHDSWGetVideoProcessorCaps proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWGetVideoProcessorCaps From(PDXVAHDSWGetVideoProcessorCaps proc) => new PfnPDXVAHDSWGetVideoProcessorCaps(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWGetVideoProcessorCaps pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWGetVideoProcessorCaps(nint pfn) + => new PfnPDXVAHDSWGetVideoProcessorCaps((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWGetVideoProcessorCaps(PDXVAHDSWGetVideoProcessorCaps proc) + => new PfnPDXVAHDSWGetVideoProcessorCaps(proc); + + public static explicit operator PDXVAHDSWGetVideoProcessorCaps(PfnPDXVAHDSWGetVideoProcessorCaps pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWGetVideoProcessorCaps pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWGetVideoProcessorCaps(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWGetVideoProcessorCaps(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWGetVideoProcessorCaps(void* arg0, HDContentDesc* arg1, HDDeviceUsage arg2, uint arg3, HDVpcaps* arg4); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorCustomRates.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorCustomRates.gen.cs new file mode 100644 index 0000000000..19405ca38a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorCustomRates.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWGetVideoProcessorCustomRates : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWGetVideoProcessorCustomRates + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWGetVideoProcessorCustomRates + ( + PDXVAHDSWGetVideoProcessorCustomRates proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWGetVideoProcessorCustomRates From(PDXVAHDSWGetVideoProcessorCustomRates proc) => new PfnPDXVAHDSWGetVideoProcessorCustomRates(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWGetVideoProcessorCustomRates pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWGetVideoProcessorCustomRates(nint pfn) + => new PfnPDXVAHDSWGetVideoProcessorCustomRates((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWGetVideoProcessorCustomRates(PDXVAHDSWGetVideoProcessorCustomRates proc) + => new PfnPDXVAHDSWGetVideoProcessorCustomRates(proc); + + public static explicit operator PDXVAHDSWGetVideoProcessorCustomRates(PfnPDXVAHDSWGetVideoProcessorCustomRates pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWGetVideoProcessorCustomRates pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWGetVideoProcessorCustomRates(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWGetVideoProcessorCustomRates(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWGetVideoProcessorCustomRates(void* arg0, Guid* arg1, uint arg2, HDCustomRateData* arg3); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorDeviceCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorDeviceCaps.gen.cs new file mode 100644 index 0000000000..1a8abb7522 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorDeviceCaps.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWGetVideoProcessorDeviceCaps : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWGetVideoProcessorDeviceCaps + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWGetVideoProcessorDeviceCaps + ( + PDXVAHDSWGetVideoProcessorDeviceCaps proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWGetVideoProcessorDeviceCaps From(PDXVAHDSWGetVideoProcessorDeviceCaps proc) => new PfnPDXVAHDSWGetVideoProcessorDeviceCaps(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWGetVideoProcessorDeviceCaps pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWGetVideoProcessorDeviceCaps(nint pfn) + => new PfnPDXVAHDSWGetVideoProcessorDeviceCaps((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWGetVideoProcessorDeviceCaps(PDXVAHDSWGetVideoProcessorDeviceCaps proc) + => new PfnPDXVAHDSWGetVideoProcessorDeviceCaps(proc); + + public static explicit operator PDXVAHDSWGetVideoProcessorDeviceCaps(PfnPDXVAHDSWGetVideoProcessorDeviceCaps pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWGetVideoProcessorDeviceCaps pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWGetVideoProcessorDeviceCaps(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWGetVideoProcessorDeviceCaps(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWGetVideoProcessorDeviceCaps(void* arg0, HDContentDesc* arg1, HDDeviceUsage arg2, HDVpdevcaps* arg3); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorFilterRange.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorFilterRange.gen.cs new file mode 100644 index 0000000000..a3e9df369c --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorFilterRange.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWGetVideoProcessorFilterRange : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWGetVideoProcessorFilterRange + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWGetVideoProcessorFilterRange + ( + PDXVAHDSWGetVideoProcessorFilterRange proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWGetVideoProcessorFilterRange From(PDXVAHDSWGetVideoProcessorFilterRange proc) => new PfnPDXVAHDSWGetVideoProcessorFilterRange(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWGetVideoProcessorFilterRange pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWGetVideoProcessorFilterRange(nint pfn) + => new PfnPDXVAHDSWGetVideoProcessorFilterRange((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWGetVideoProcessorFilterRange(PDXVAHDSWGetVideoProcessorFilterRange proc) + => new PfnPDXVAHDSWGetVideoProcessorFilterRange(proc); + + public static explicit operator PDXVAHDSWGetVideoProcessorFilterRange(PfnPDXVAHDSWGetVideoProcessorFilterRange pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWGetVideoProcessorFilterRange pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWGetVideoProcessorFilterRange(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWGetVideoProcessorFilterRange(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWGetVideoProcessorFilterRange(void* arg0, HDFilter arg1, HDFilterRangeData* arg2); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorOutputFormats.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorOutputFormats.gen.cs new file mode 100644 index 0000000000..8767cd0d5d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWGetVideoProcessorOutputFormats.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWGetVideoProcessorOutputFormats : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWGetVideoProcessorOutputFormats + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWGetVideoProcessorOutputFormats + ( + PDXVAHDSWGetVideoProcessorOutputFormats proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWGetVideoProcessorOutputFormats From(PDXVAHDSWGetVideoProcessorOutputFormats proc) => new PfnPDXVAHDSWGetVideoProcessorOutputFormats(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWGetVideoProcessorOutputFormats pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWGetVideoProcessorOutputFormats(nint pfn) + => new PfnPDXVAHDSWGetVideoProcessorOutputFormats((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWGetVideoProcessorOutputFormats(PDXVAHDSWGetVideoProcessorOutputFormats proc) + => new PfnPDXVAHDSWGetVideoProcessorOutputFormats(proc); + + public static explicit operator PDXVAHDSWGetVideoProcessorOutputFormats(PfnPDXVAHDSWGetVideoProcessorOutputFormats pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWGetVideoProcessorOutputFormats pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWGetVideoProcessorOutputFormats(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWGetVideoProcessorOutputFormats(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWGetVideoProcessorOutputFormats(void* arg0, HDContentDesc* arg1, HDDeviceUsage arg2, uint arg3, Silk.NET.Direct3D9.Format* arg4); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWPlugin.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWPlugin.gen.cs new file mode 100644 index 0000000000..a1d2a0375e --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWPlugin.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWPlugin : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWPlugin + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWPlugin + ( + PDXVAHDSWPlugin proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWPlugin From(PDXVAHDSWPlugin proc) => new PfnPDXVAHDSWPlugin(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWPlugin pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWPlugin(nint pfn) + => new PfnPDXVAHDSWPlugin((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWPlugin(PDXVAHDSWPlugin proc) + => new PfnPDXVAHDSWPlugin(proc); + + public static explicit operator PDXVAHDSWPlugin(PfnPDXVAHDSWPlugin pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWPlugin pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWPlugin(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWPlugin(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWPlugin(uint arg0, void* arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWProposeVideoPrivateFormat.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWProposeVideoPrivateFormat.gen.cs new file mode 100644 index 0000000000..5d3b580e71 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWProposeVideoPrivateFormat.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWProposeVideoPrivateFormat : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWProposeVideoPrivateFormat + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWProposeVideoPrivateFormat + ( + PDXVAHDSWProposeVideoPrivateFormat proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWProposeVideoPrivateFormat From(PDXVAHDSWProposeVideoPrivateFormat proc) => new PfnPDXVAHDSWProposeVideoPrivateFormat(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWProposeVideoPrivateFormat pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWProposeVideoPrivateFormat(nint pfn) + => new PfnPDXVAHDSWProposeVideoPrivateFormat((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWProposeVideoPrivateFormat(PDXVAHDSWProposeVideoPrivateFormat proc) + => new PfnPDXVAHDSWProposeVideoPrivateFormat(proc); + + public static explicit operator PDXVAHDSWProposeVideoPrivateFormat(PfnPDXVAHDSWProposeVideoPrivateFormat pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWProposeVideoPrivateFormat pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWProposeVideoPrivateFormat(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWProposeVideoPrivateFormat(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWProposeVideoPrivateFormat(void* arg0, Silk.NET.Direct3D9.Format* arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWSetVideoProcessBltState.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWSetVideoProcessBltState.gen.cs new file mode 100644 index 0000000000..5456705eff --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWSetVideoProcessBltState.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWSetVideoProcessBltState : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWSetVideoProcessBltState + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWSetVideoProcessBltState + ( + PDXVAHDSWSetVideoProcessBltState proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWSetVideoProcessBltState From(PDXVAHDSWSetVideoProcessBltState proc) => new PfnPDXVAHDSWSetVideoProcessBltState(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWSetVideoProcessBltState pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWSetVideoProcessBltState(nint pfn) + => new PfnPDXVAHDSWSetVideoProcessBltState((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWSetVideoProcessBltState(PDXVAHDSWSetVideoProcessBltState proc) + => new PfnPDXVAHDSWSetVideoProcessBltState(proc); + + public static explicit operator PDXVAHDSWSetVideoProcessBltState(PfnPDXVAHDSWSetVideoProcessBltState pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWSetVideoProcessBltState pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWSetVideoProcessBltState(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWSetVideoProcessBltState(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWSetVideoProcessBltState(void* arg0, HDBltState arg1, uint arg2, void* arg3); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWSetVideoProcessStreamState.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWSetVideoProcessStreamState.gen.cs new file mode 100644 index 0000000000..4129b32128 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWSetVideoProcessStreamState.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWSetVideoProcessStreamState : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWSetVideoProcessStreamState + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWSetVideoProcessStreamState + ( + PDXVAHDSWSetVideoProcessStreamState proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWSetVideoProcessStreamState From(PDXVAHDSWSetVideoProcessStreamState proc) => new PfnPDXVAHDSWSetVideoProcessStreamState(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWSetVideoProcessStreamState pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWSetVideoProcessStreamState(nint pfn) + => new PfnPDXVAHDSWSetVideoProcessStreamState((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWSetVideoProcessStreamState(PDXVAHDSWSetVideoProcessStreamState proc) + => new PfnPDXVAHDSWSetVideoProcessStreamState(proc); + + public static explicit operator PDXVAHDSWSetVideoProcessStreamState(PfnPDXVAHDSWSetVideoProcessStreamState pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWSetVideoProcessStreamState pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWSetVideoProcessStreamState(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWSetVideoProcessStreamState(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWSetVideoProcessStreamState(void* arg0, uint arg1, HDStreamState arg2, uint arg3, void* arg4); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWVideoProcessBltHD.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWVideoProcessBltHD.gen.cs new file mode 100644 index 0000000000..53d7ec2c11 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPDXVAHDSWVideoProcessBltHD.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPDXVAHDSWVideoProcessBltHD : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPDXVAHDSWVideoProcessBltHD + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPDXVAHDSWVideoProcessBltHD + ( + PDXVAHDSWVideoProcessBltHD proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPDXVAHDSWVideoProcessBltHD From(PDXVAHDSWVideoProcessBltHD proc) => new PfnPDXVAHDSWVideoProcessBltHD(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPDXVAHDSWVideoProcessBltHD pfn) => (nint) pfn.Handle; + public static explicit operator PfnPDXVAHDSWVideoProcessBltHD(nint pfn) + => new PfnPDXVAHDSWVideoProcessBltHD((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPDXVAHDSWVideoProcessBltHD(PDXVAHDSWVideoProcessBltHD proc) + => new PfnPDXVAHDSWVideoProcessBltHD(proc); + + public static explicit operator PDXVAHDSWVideoProcessBltHD(PfnPDXVAHDSWVideoProcessBltHD pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPDXVAHDSWVideoProcessBltHD pfn) => pfn.Handle; + public static implicit operator PfnPDXVAHDSWVideoProcessBltHD(delegate* unmanaged[Cdecl] ptr) => new PfnPDXVAHDSWVideoProcessBltHD(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PDXVAHDSWVideoProcessBltHD(void* arg0, Silk.NET.Direct3D9.IDirect3DSurface9* arg1, uint arg2, uint arg3, HDStreamData* arg4); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWCreatevideoprocessdevice.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWCreatevideoprocessdevice.gen.cs new file mode 100644 index 0000000000..246306fe35 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWCreatevideoprocessdevice.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWCreatevideoprocessdevice : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWCreatevideoprocessdevice + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWCreatevideoprocessdevice + ( + Pdxva2SWCreatevideoprocessdevice proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWCreatevideoprocessdevice From(Pdxva2SWCreatevideoprocessdevice proc) => new PfnPdxva2SWCreatevideoprocessdevice(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWCreatevideoprocessdevice pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWCreatevideoprocessdevice(nint pfn) + => new PfnPdxva2SWCreatevideoprocessdevice((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWCreatevideoprocessdevice(Pdxva2SWCreatevideoprocessdevice proc) + => new PfnPdxva2SWCreatevideoprocessdevice(proc); + + public static explicit operator Pdxva2SWCreatevideoprocessdevice(PfnPdxva2SWCreatevideoprocessdevice pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWCreatevideoprocessdevice pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWCreatevideoprocessdevice(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWCreatevideoprocessdevice(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWCreatevideoprocessdevice(Silk.NET.Direct3D9.IDirect3DDevice9* arg0, DXVA2VideoDesc* arg1, Silk.NET.Direct3D9.Format arg2, uint arg3, void** arg4); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetprocamprange.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetprocamprange.gen.cs new file mode 100644 index 0000000000..fe1c59622d --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetprocamprange.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWGetprocamprange : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWGetprocamprange + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWGetprocamprange + ( + Pdxva2SWGetprocamprange proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWGetprocamprange From(Pdxva2SWGetprocamprange proc) => new PfnPdxva2SWGetprocamprange(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWGetprocamprange pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWGetprocamprange(nint pfn) + => new PfnPdxva2SWGetprocamprange((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWGetprocamprange(Pdxva2SWGetprocamprange proc) + => new PfnPdxva2SWGetprocamprange(proc); + + public static explicit operator Pdxva2SWGetprocamprange(PfnPdxva2SWGetprocamprange pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWGetprocamprange pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWGetprocamprange(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWGetprocamprange(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWGetprocamprange(DXVA2VideoDesc* arg0, Silk.NET.Direct3D9.Format arg1, uint arg2, DXVA2ValueRange* arg3); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorcaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorcaps.gen.cs new file mode 100644 index 0000000000..804d540dc3 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorcaps.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWGetvideoprocessorcaps : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWGetvideoprocessorcaps + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWGetvideoprocessorcaps + ( + Pdxva2SWGetvideoprocessorcaps proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWGetvideoprocessorcaps From(Pdxva2SWGetvideoprocessorcaps proc) => new PfnPdxva2SWGetvideoprocessorcaps(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWGetvideoprocessorcaps pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWGetvideoprocessorcaps(nint pfn) + => new PfnPdxva2SWGetvideoprocessorcaps((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWGetvideoprocessorcaps(Pdxva2SWGetvideoprocessorcaps proc) + => new PfnPdxva2SWGetvideoprocessorcaps(proc); + + public static explicit operator Pdxva2SWGetvideoprocessorcaps(PfnPdxva2SWGetvideoprocessorcaps pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWGetvideoprocessorcaps pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWGetvideoprocessorcaps(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWGetvideoprocessorcaps(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWGetvideoprocessorcaps(DXVA2VideoDesc* arg0, Silk.NET.Direct3D9.Format arg1, DXVA2VideoProcessorCaps* arg2); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorrendertargetcount.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorrendertargetcount.gen.cs new file mode 100644 index 0000000000..72bec95ed0 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorrendertargetcount.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWGetvideoprocessorrendertargetcount : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWGetvideoprocessorrendertargetcount + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWGetvideoprocessorrendertargetcount + ( + Pdxva2SWGetvideoprocessorrendertargetcount proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWGetvideoprocessorrendertargetcount From(Pdxva2SWGetvideoprocessorrendertargetcount proc) => new PfnPdxva2SWGetvideoprocessorrendertargetcount(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWGetvideoprocessorrendertargetcount pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWGetvideoprocessorrendertargetcount(nint pfn) + => new PfnPdxva2SWGetvideoprocessorrendertargetcount((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWGetvideoprocessorrendertargetcount(Pdxva2SWGetvideoprocessorrendertargetcount proc) + => new PfnPdxva2SWGetvideoprocessorrendertargetcount(proc); + + public static explicit operator Pdxva2SWGetvideoprocessorrendertargetcount(PfnPdxva2SWGetvideoprocessorrendertargetcount pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWGetvideoprocessorrendertargetcount pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWGetvideoprocessorrendertargetcount(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWGetvideoprocessorrendertargetcount(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWGetvideoprocessorrendertargetcount(DXVA2VideoDesc* arg0, uint* arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorrendertargets.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorrendertargets.gen.cs new file mode 100644 index 0000000000..1077a69154 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorrendertargets.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWGetvideoprocessorrendertargets : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWGetvideoprocessorrendertargets + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWGetvideoprocessorrendertargets + ( + Pdxva2SWGetvideoprocessorrendertargets proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWGetvideoprocessorrendertargets From(Pdxva2SWGetvideoprocessorrendertargets proc) => new PfnPdxva2SWGetvideoprocessorrendertargets(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWGetvideoprocessorrendertargets pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWGetvideoprocessorrendertargets(nint pfn) + => new PfnPdxva2SWGetvideoprocessorrendertargets((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWGetvideoprocessorrendertargets(Pdxva2SWGetvideoprocessorrendertargets proc) + => new PfnPdxva2SWGetvideoprocessorrendertargets(proc); + + public static explicit operator Pdxva2SWGetvideoprocessorrendertargets(PfnPdxva2SWGetvideoprocessorrendertargets pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWGetvideoprocessorrendertargets pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWGetvideoprocessorrendertargets(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWGetvideoprocessorrendertargets(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWGetvideoprocessorrendertargets(DXVA2VideoDesc* arg0, uint arg1, Silk.NET.Direct3D9.Format* arg2); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorsubstreamformatcount.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorsubstreamformatcount.gen.cs new file mode 100644 index 0000000000..1598c731ff --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorsubstreamformatcount.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWGetvideoprocessorsubstreamformatcount : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWGetvideoprocessorsubstreamformatcount + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWGetvideoprocessorsubstreamformatcount + ( + Pdxva2SWGetvideoprocessorsubstreamformatcount proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWGetvideoprocessorsubstreamformatcount From(Pdxva2SWGetvideoprocessorsubstreamformatcount proc) => new PfnPdxva2SWGetvideoprocessorsubstreamformatcount(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWGetvideoprocessorsubstreamformatcount pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWGetvideoprocessorsubstreamformatcount(nint pfn) + => new PfnPdxva2SWGetvideoprocessorsubstreamformatcount((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWGetvideoprocessorsubstreamformatcount(Pdxva2SWGetvideoprocessorsubstreamformatcount proc) + => new PfnPdxva2SWGetvideoprocessorsubstreamformatcount(proc); + + public static explicit operator Pdxva2SWGetvideoprocessorsubstreamformatcount(PfnPdxva2SWGetvideoprocessorsubstreamformatcount pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWGetvideoprocessorsubstreamformatcount pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWGetvideoprocessorsubstreamformatcount(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWGetvideoprocessorsubstreamformatcount(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWGetvideoprocessorsubstreamformatcount(DXVA2VideoDesc* arg0, Silk.NET.Direct3D9.Format arg1, uint* arg2); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorsubstreamformats.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorsubstreamformats.gen.cs new file mode 100644 index 0000000000..feaab62015 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWGetvideoprocessorsubstreamformats.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWGetvideoprocessorsubstreamformats : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWGetvideoprocessorsubstreamformats + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWGetvideoprocessorsubstreamformats + ( + Pdxva2SWGetvideoprocessorsubstreamformats proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWGetvideoprocessorsubstreamformats From(Pdxva2SWGetvideoprocessorsubstreamformats proc) => new PfnPdxva2SWGetvideoprocessorsubstreamformats(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWGetvideoprocessorsubstreamformats pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWGetvideoprocessorsubstreamformats(nint pfn) + => new PfnPdxva2SWGetvideoprocessorsubstreamformats((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWGetvideoprocessorsubstreamformats(Pdxva2SWGetvideoprocessorsubstreamformats proc) + => new PfnPdxva2SWGetvideoprocessorsubstreamformats(proc); + + public static explicit operator Pdxva2SWGetvideoprocessorsubstreamformats(PfnPdxva2SWGetvideoprocessorsubstreamformats pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWGetvideoprocessorsubstreamformats pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWGetvideoprocessorsubstreamformats(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWGetvideoprocessorsubstreamformats(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWGetvideoprocessorsubstreamformats(DXVA2VideoDesc* arg0, Silk.NET.Direct3D9.Format arg1, uint arg2, Silk.NET.Direct3D9.Format* arg3); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocessblt.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocessblt.gen.cs new file mode 100644 index 0000000000..99422a5012 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocessblt.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWVideoprocessblt : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWVideoprocessblt + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWVideoprocessblt + ( + Pdxva2SWVideoprocessblt proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWVideoprocessblt From(Pdxva2SWVideoprocessblt proc) => new PfnPdxva2SWVideoprocessblt(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWVideoprocessblt pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWVideoprocessblt(nint pfn) + => new PfnPdxva2SWVideoprocessblt((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWVideoprocessblt(Pdxva2SWVideoprocessblt proc) + => new PfnPdxva2SWVideoprocessblt(proc); + + public static explicit operator Pdxva2SWVideoprocessblt(PfnPdxva2SWVideoprocessblt pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWVideoprocessblt pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWVideoprocessblt(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWVideoprocessblt(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWVideoprocessblt(void* arg0, DXVA2Videoprocessblt* arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocessendframe.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocessendframe.gen.cs new file mode 100644 index 0000000000..496b0248a0 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocessendframe.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWVideoprocessendframe : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWVideoprocessendframe + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWVideoprocessendframe + ( + Pdxva2SWVideoprocessendframe proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWVideoprocessendframe From(Pdxva2SWVideoprocessendframe proc) => new PfnPdxva2SWVideoprocessendframe(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWVideoprocessendframe pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWVideoprocessendframe(nint pfn) + => new PfnPdxva2SWVideoprocessendframe((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWVideoprocessendframe(Pdxva2SWVideoprocessendframe proc) + => new PfnPdxva2SWVideoprocessendframe(proc); + + public static explicit operator Pdxva2SWVideoprocessendframe(PfnPdxva2SWVideoprocessendframe pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWVideoprocessendframe pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWVideoprocessendframe(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWVideoprocessendframe(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWVideoprocessendframe(void* arg0, void** arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocesssetrendertarget.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocesssetrendertarget.gen.cs new file mode 100644 index 0000000000..05c4b1ef2c --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PfnPdxva2SWVideoprocesssetrendertarget.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + public unsafe readonly struct PfnPdxva2SWVideoprocesssetrendertarget : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnPdxva2SWVideoprocesssetrendertarget + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnPdxva2SWVideoprocesssetrendertarget + ( + Pdxva2SWVideoprocesssetrendertarget proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnPdxva2SWVideoprocesssetrendertarget From(Pdxva2SWVideoprocesssetrendertarget proc) => new PfnPdxva2SWVideoprocesssetrendertarget(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnPdxva2SWVideoprocesssetrendertarget pfn) => (nint) pfn.Handle; + public static explicit operator PfnPdxva2SWVideoprocesssetrendertarget(nint pfn) + => new PfnPdxva2SWVideoprocesssetrendertarget((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnPdxva2SWVideoprocesssetrendertarget(Pdxva2SWVideoprocesssetrendertarget proc) + => new PfnPdxva2SWVideoprocesssetrendertarget(proc); + + public static explicit operator Pdxva2SWVideoprocesssetrendertarget(PfnPdxva2SWVideoprocesssetrendertarget pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnPdxva2SWVideoprocesssetrendertarget pfn) => pfn.Handle; + public static implicit operator PfnPdxva2SWVideoprocesssetrendertarget(delegate* unmanaged[Cdecl] ptr) => new PfnPdxva2SWVideoprocesssetrendertarget(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Pdxva2SWVideoprocesssetrendertarget(void* arg0, Silk.NET.Direct3D9.IDirect3DSurface9* arg1); +} + diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/PictureParameters.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/PictureParameters.gen.cs new file mode 100644 index 0000000000..14aeb083dc --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/PictureParameters.gen.cs @@ -0,0 +1,425 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [StructLayout(LayoutKind.Sequential, Pack = 1)] + [NativeName("Name", "_DXVA_PictureParameters")] + public unsafe partial struct PictureParameters + { + public PictureParameters + ( + ushort? wDecodedPictureIndex = null, + ushort? wDeblockedPictureIndex = null, + ushort? wForwardRefPictureIndex = null, + ushort? wBackwardRefPictureIndex = null, + ushort? wPicWidthInMBminus1 = null, + ushort? wPicHeightInMBminus1 = null, + byte? bMacroblockWidthMinus1 = null, + byte? bMacroblockHeightMinus1 = null, + byte? bBlockWidthMinus1 = null, + byte? bBlockHeightMinus1 = null, + byte? bBPPminus1 = null, + byte? bPicStructure = null, + byte? bSecondField = null, + byte? bPicIntra = null, + byte? bPicBackwardPrediction = null, + byte? bBidirectionalAveragingMode = null, + byte? bMVprecisionAndChromaRelation = null, + byte? bChromaFormat = null, + byte? bPicScanFixed = null, + byte? bPicScanMethod = null, + byte? bPicReadbackRequests = null, + byte? bRcontrol = null, + byte? bPicSpatialResid8 = null, + byte? bPicOverflowBlocks = null, + byte? bPicExtrapolation = null, + byte? bPicDeblocked = null, + byte? bPicDeblockConfined = null, + byte? bPic4MVallowed = null, + byte? bPicOBMC = null, + byte? bPicBinPB = null, + byte? bMVRPS = null, + byte? bReservedBits = null, + ushort? wBitstreamFcodes = null, + ushort? wBitstreamPCEelements = null, + byte? bBitstreamConcealmentNeed = null, + byte? bBitstreamConcealmentMethod = null + ) : this() + { + if (wDecodedPictureIndex is not null) + { + WDecodedPictureIndex = wDecodedPictureIndex.Value; + } + + if (wDeblockedPictureIndex is not null) + { + WDeblockedPictureIndex = wDeblockedPictureIndex.Value; + } + + if (wForwardRefPictureIndex is not null) + { + WForwardRefPictureIndex = wForwardRefPictureIndex.Value; + } + + if (wBackwardRefPictureIndex is not null) + { + WBackwardRefPictureIndex = wBackwardRefPictureIndex.Value; + } + + if (wPicWidthInMBminus1 is not null) + { + WPicWidthInMBminus1 = wPicWidthInMBminus1.Value; + } + + if (wPicHeightInMBminus1 is not null) + { + WPicHeightInMBminus1 = wPicHeightInMBminus1.Value; + } + + if (bMacroblockWidthMinus1 is not null) + { + BMacroblockWidthMinus1 = bMacroblockWidthMinus1.Value; + } + + if (bMacroblockHeightMinus1 is not null) + { + BMacroblockHeightMinus1 = bMacroblockHeightMinus1.Value; + } + + if (bBlockWidthMinus1 is not null) + { + BBlockWidthMinus1 = bBlockWidthMinus1.Value; + } + + if (bBlockHeightMinus1 is not null) + { + BBlockHeightMinus1 = bBlockHeightMinus1.Value; + } + + if (bBPPminus1 is not null) + { + BBPPminus1 = bBPPminus1.Value; + } + + if (bPicStructure is not null) + { + BPicStructure = bPicStructure.Value; + } + + if (bSecondField is not null) + { + BSecondField = bSecondField.Value; + } + + if (bPicIntra is not null) + { + BPicIntra = bPicIntra.Value; + } + + if (bPicBackwardPrediction is not null) + { + BPicBackwardPrediction = bPicBackwardPrediction.Value; + } + + if (bBidirectionalAveragingMode is not null) + { + BBidirectionalAveragingMode = bBidirectionalAveragingMode.Value; + } + + if (bMVprecisionAndChromaRelation is not null) + { + BMVprecisionAndChromaRelation = bMVprecisionAndChromaRelation.Value; + } + + if (bChromaFormat is not null) + { + BChromaFormat = bChromaFormat.Value; + } + + if (bPicScanFixed is not null) + { + BPicScanFixed = bPicScanFixed.Value; + } + + if (bPicScanMethod is not null) + { + BPicScanMethod = bPicScanMethod.Value; + } + + if (bPicReadbackRequests is not null) + { + BPicReadbackRequests = bPicReadbackRequests.Value; + } + + if (bRcontrol is not null) + { + BRcontrol = bRcontrol.Value; + } + + if (bPicSpatialResid8 is not null) + { + BPicSpatialResid8 = bPicSpatialResid8.Value; + } + + if (bPicOverflowBlocks is not null) + { + BPicOverflowBlocks = bPicOverflowBlocks.Value; + } + + if (bPicExtrapolation is not null) + { + BPicExtrapolation = bPicExtrapolation.Value; + } + + if (bPicDeblocked is not null) + { + BPicDeblocked = bPicDeblocked.Value; + } + + if (bPicDeblockConfined is not null) + { + BPicDeblockConfined = bPicDeblockConfined.Value; + } + + if (bPic4MVallowed is not null) + { + BPic4MVallowed = bPic4MVallowed.Value; + } + + if (bPicOBMC is not null) + { + BPicOBMC = bPicOBMC.Value; + } + + if (bPicBinPB is not null) + { + BPicBinPB = bPicBinPB.Value; + } + + if (bMVRPS is not null) + { + BMVRPS = bMVRPS.Value; + } + + if (bReservedBits is not null) + { + BReservedBits = bReservedBits.Value; + } + + if (wBitstreamFcodes is not null) + { + WBitstreamFcodes = wBitstreamFcodes.Value; + } + + if (wBitstreamPCEelements is not null) + { + WBitstreamPCEelements = wBitstreamPCEelements.Value; + } + + if (bBitstreamConcealmentNeed is not null) + { + BBitstreamConcealmentNeed = bBitstreamConcealmentNeed.Value; + } + + if (bBitstreamConcealmentMethod is not null) + { + BBitstreamConcealmentMethod = bBitstreamConcealmentMethod.Value; + } + } + + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wDecodedPictureIndex")] + public ushort WDecodedPictureIndex; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wDeblockedPictureIndex")] + public ushort WDeblockedPictureIndex; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wForwardRefPictureIndex")] + public ushort WForwardRefPictureIndex; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wBackwardRefPictureIndex")] + public ushort WBackwardRefPictureIndex; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wPicWidthInMBminus1")] + public ushort WPicWidthInMBminus1; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wPicHeightInMBminus1")] + public ushort WPicHeightInMBminus1; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bMacroblockWidthMinus1")] + public byte BMacroblockWidthMinus1; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bMacroblockHeightMinus1")] + public byte BMacroblockHeightMinus1; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bBlockWidthMinus1")] + public byte BBlockWidthMinus1; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bBlockHeightMinus1")] + public byte BBlockHeightMinus1; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bBPPminus1")] + public byte BBPPminus1; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicStructure")] + public byte BPicStructure; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bSecondField")] + public byte BSecondField; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicIntra")] + public byte BPicIntra; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicBackwardPrediction")] + public byte BPicBackwardPrediction; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bBidirectionalAveragingMode")] + public byte BBidirectionalAveragingMode; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bMVprecisionAndChromaRelation")] + public byte BMVprecisionAndChromaRelation; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bChromaFormat")] + public byte BChromaFormat; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicScanFixed")] + public byte BPicScanFixed; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicScanMethod")] + public byte BPicScanMethod; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicReadbackRequests")] + public byte BPicReadbackRequests; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bRcontrol")] + public byte BRcontrol; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicSpatialResid8")] + public byte BPicSpatialResid8; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicOverflowBlocks")] + public byte BPicOverflowBlocks; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicExtrapolation")] + public byte BPicExtrapolation; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicDeblocked")] + public byte BPicDeblocked; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicDeblockConfined")] + public byte BPicDeblockConfined; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPic4MVallowed")] + public byte BPic4MVallowed; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicOBMC")] + public byte BPicOBMC; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bPicBinPB")] + public byte BPicBinPB; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bMV_RPS")] + public byte BMVRPS; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bReservedBits")] + public byte BReservedBits; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wBitstreamFcodes")] + public ushort WBitstreamFcodes; + + [NativeName("Type", "WORD")] + [NativeName("Type.Name", "WORD")] + [NativeName("Name", "wBitstreamPCEelements")] + public ushort WBitstreamPCEelements; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bBitstreamConcealmentNeed")] + public byte BBitstreamConcealmentNeed; + + [NativeName("Type", "BYTE")] + [NativeName("Type.Name", "BYTE")] + [NativeName("Name", "bBitstreamConcealmentMethod")] + public byte BBitstreamConcealmentMethod; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlBlt.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlBlt.gen.cs new file mode 100644 index 0000000000..9aa1a38cbb --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlBlt.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_ProcAmpControlBlt")] + public unsafe partial struct ProcAmpControlBlt + { + public ProcAmpControlBlt + ( + uint? size = null, + Silk.NET.Maths.Rectangle? dstRect = null, + Silk.NET.Maths.Rectangle? srcRect = null, + float? alpha = null, + float? brightness = null, + float? contrast = null, + float? hue = null, + float? saturation = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (dstRect is not null) + { + DstRect = dstRect.Value; + } + + if (srcRect is not null) + { + SrcRect = srcRect.Value; + } + + if (alpha is not null) + { + Alpha = alpha.Value; + } + + if (brightness is not null) + { + Brightness = brightness.Value; + } + + if (contrast is not null) + { + Contrast = contrast.Value; + } + + if (hue is not null) + { + Hue = hue.Value; + } + + if (saturation is not null) + { + Saturation = saturation.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "DstRect")] + public Silk.NET.Maths.Rectangle DstRect; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "SrcRect")] + public Silk.NET.Maths.Rectangle SrcRect; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Alpha")] + public float Alpha; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Brightness")] + public float Brightness; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Contrast")] + public float Contrast; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Hue")] + public float Hue; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "Saturation")] + public float Saturation; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlCaps.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlCaps.gen.cs new file mode 100644 index 0000000000..bce08c6166 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlCaps.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_ProcAmpControlCaps")] + public unsafe partial struct ProcAmpControlCaps + { + public ProcAmpControlCaps + ( + uint? size = null, + uint? inputPool = null, + Silk.NET.Direct3D9.Format? d3dOutputFormat = null, + uint? procAmpControlProps = null, + uint? videoProcessingCaps = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (inputPool is not null) + { + InputPool = inputPool.Value; + } + + if (d3dOutputFormat is not null) + { + D3dOutputFormat = d3dOutputFormat.Value; + } + + if (procAmpControlProps is not null) + { + ProcAmpControlProps = procAmpControlProps.Value; + } + + if (videoProcessingCaps is not null) + { + VideoProcessingCaps = videoProcessingCaps.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "InputPool")] + public uint InputPool; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "d3dOutputFormat")] + public Silk.NET.Direct3D9.Format D3dOutputFormat; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "ProcAmpControlProps")] + public uint ProcAmpControlProps; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "VideoProcessingCaps")] + public uint VideoProcessingCaps; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlQueryRange.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlQueryRange.gen.cs new file mode 100644 index 0000000000..5d094d43d3 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/ProcAmpControlQueryRange.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_ProcAmpControlQueryRange")] + public unsafe partial struct ProcAmpControlQueryRange + { + public ProcAmpControlQueryRange + ( + uint? size = null, + ProcAmpControlProp? procAmpControlProp = null, + VideoDesc? videoDesc = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (procAmpControlProp is not null) + { + ProcAmpControlProp = procAmpControlProp.Value; + } + + if (videoDesc is not null) + { + VideoDesc = videoDesc.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "DXVA_ProcAmpControlProp")] + [NativeName("Type.Name", "DXVA_ProcAmpControlProp")] + [NativeName("Name", "ProcAmpControlProp")] + public ProcAmpControlProp ProcAmpControlProp; + + [NativeName("Type", "DXVA_VideoDesc")] + [NativeName("Type.Name", "DXVA_VideoDesc")] + [NativeName("Name", "VideoDesc")] + public VideoDesc VideoDesc; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/UncompDataInfo.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/UncompDataInfo.gen.cs new file mode 100644 index 0000000000..e8c8116046 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/UncompDataInfo.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVAUncompDataInfo")] + public unsafe partial struct UncompDataInfo + { + public UncompDataInfo + ( + uint? uncompWidth = null, + uint? uncompHeight = null, + Silk.NET.Direct3D9.Format? uncompFormat = null + ) : this() + { + if (uncompWidth is not null) + { + UncompWidth = uncompWidth.Value; + } + + if (uncompHeight is not null) + { + UncompHeight = uncompHeight.Value; + } + + if (uncompFormat is not null) + { + UncompFormat = uncompFormat.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "UncompWidth")] + public uint UncompWidth; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "UncompHeight")] + public uint UncompHeight; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "UncompFormat")] + public Silk.NET.Direct3D9.Format UncompFormat; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/VideoDesc.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/VideoDesc.gen.cs new file mode 100644 index 0000000000..4f5fd0ded4 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/VideoDesc.gen.cs @@ -0,0 +1,105 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoDesc")] + public unsafe partial struct VideoDesc + { + public VideoDesc + ( + uint? size = null, + uint? sampleWidth = null, + uint? sampleHeight = null, + uint? sampleFormat = null, + Silk.NET.Direct3D9.Format? d3dFormat = null, + Frequency? inputSampleFreq = null, + Frequency? outputFrameFreq = null + ) : this() + { + if (size is not null) + { + Size = size.Value; + } + + if (sampleWidth is not null) + { + SampleWidth = sampleWidth.Value; + } + + if (sampleHeight is not null) + { + SampleHeight = sampleHeight.Value; + } + + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (d3dFormat is not null) + { + D3dFormat = d3dFormat.Value; + } + + if (inputSampleFreq is not null) + { + InputSampleFreq = inputSampleFreq.Value; + } + + if (outputFrameFreq is not null) + { + OutputFrameFreq = outputFrameFreq.Value; + } + } + + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "Size")] + public uint Size; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "SampleWidth")] + public uint SampleWidth; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "SampleHeight")] + public uint SampleHeight; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "SampleFormat")] + public uint SampleFormat; + + [NativeName("Type", "D3DFORMAT")] + [NativeName("Type.Name", "D3DFORMAT")] + [NativeName("Name", "d3dFormat")] + public Silk.NET.Direct3D9.Format D3dFormat; + + [NativeName("Type", "DXVA_Frequency")] + [NativeName("Type.Name", "DXVA_Frequency")] + [NativeName("Name", "InputSampleFreq")] + public Frequency InputSampleFreq; + + [NativeName("Type", "DXVA_Frequency")] + [NativeName("Type.Name", "DXVA_Frequency")] + [NativeName("Name", "OutputFrameFreq")] + public Frequency OutputFrameFreq; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/VideoPropertyRange.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/VideoPropertyRange.gen.cs new file mode 100644 index 0000000000..566ee18c6a --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/VideoPropertyRange.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoPropertyRange")] + public unsafe partial struct VideoPropertyRange + { + public VideoPropertyRange + ( + float? minValue = null, + float? maxValue = null, + float? defaultValue = null, + float? stepSize = null + ) : this() + { + if (minValue is not null) + { + MinValue = minValue.Value; + } + + if (maxValue is not null) + { + MaxValue = maxValue.Value; + } + + if (defaultValue is not null) + { + DefaultValue = defaultValue.Value; + } + + if (stepSize is not null) + { + StepSize = stepSize.Value; + } + } + + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "MinValue")] + public float MinValue; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "MaxValue")] + public float MaxValue; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "DefaultValue")] + public float DefaultValue; + + [NativeName("Type", "FLOAT")] + [NativeName("Type.Name", "FLOAT")] + [NativeName("Name", "StepSize")] + public float StepSize; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/VideoSample.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/VideoSample.gen.cs new file mode 100644 index 0000000000..bc9a0d81b7 --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/VideoSample.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoSample")] + public unsafe partial struct VideoSample + { + public VideoSample + ( + long? rtStart = null, + long? rtEnd = null, + SampleFormat? sampleFormat = null, + void* lpDDSSrcSurface = null + ) : this() + { + if (rtStart is not null) + { + RtStart = rtStart.Value; + } + + if (rtEnd is not null) + { + RtEnd = rtEnd.Value; + } + + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (lpDDSSrcSurface is not null) + { + LpDDSSrcSurface = lpDDSSrcSurface; + } + } + + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "rtStart")] + public long RtStart; + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "rtEnd")] + public long RtEnd; + + [NativeName("Type", "DXVA_SampleFormat")] + [NativeName("Type.Name", "DXVA_SampleFormat")] + [NativeName("Name", "SampleFormat")] + public SampleFormat SampleFormat; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "lpDDSSrcSurface")] + public void* LpDDSSrcSurface; + } +} diff --git a/src/Microsoft/Silk.NET.DXVA/Structs/VideoSample2.gen.cs b/src/Microsoft/Silk.NET.DXVA/Structs/VideoSample2.gen.cs new file mode 100644 index 0000000000..dd3a0e988f --- /dev/null +++ b/src/Microsoft/Silk.NET.DXVA/Structs/VideoSample2.gen.cs @@ -0,0 +1,151 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.DXVA +{ + [NativeName("Name", "_DXVA_VideoSample2")] + public unsafe partial struct VideoSample2 + { + public VideoSample2 + ( + long? rtStart = null, + long? rtEnd = null, + uint? sampleFormat = null, + uint? sampleFlags = null, + void* lpDDSSrcSurface = null, + Silk.NET.Maths.Rectangle? rcSrc = null, + Silk.NET.Maths.Rectangle? rcDst = null + ) : this() + { + if (rtStart is not null) + { + RtStart = rtStart.Value; + } + + if (rtEnd is not null) + { + RtEnd = rtEnd.Value; + } + + if (sampleFormat is not null) + { + SampleFormat = sampleFormat.Value; + } + + if (sampleFlags is not null) + { + SampleFlags = sampleFlags.Value; + } + + if (lpDDSSrcSurface is not null) + { + LpDDSSrcSurface = lpDDSSrcSurface; + } + + if (rcSrc is not null) + { + RcSrc = rcSrc.Value; + } + + if (rcDst is not null) + { + RcDst = rcDst.Value; + } + } + + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "rtStart")] + public long RtStart; + + [NativeName("Type", "REFERENCE_TIME")] + [NativeName("Type.Name", "REFERENCE_TIME")] + [NativeName("Name", "rtEnd")] + public long RtEnd; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "SampleFormat")] + public uint SampleFormat; + + [NativeName("Type", "DWORD")] + [NativeName("Type.Name", "DWORD")] + [NativeName("Name", "SampleFlags")] + public uint SampleFlags; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "lpDDSSrcSurface")] + public void* LpDDSSrcSurface; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "rcSrc")] + public Silk.NET.Maths.Rectangle RcSrc; + + [NativeName("Type", "RECT")] + [NativeName("Type.Name", "RECT")] + [NativeName("Name", "rcDst")] + public Silk.NET.Maths.Rectangle RcDst; + + [NativeName("Type", "DXVA_AYUVsample2 [16]")] + [NativeName("Type.Name", "DXVA_AYUVsample2 [16]")] + [NativeName("Name", "Palette")] + public PaletteBuffer Palette; + + public struct PaletteBuffer + { + public AYUVsample2 Element0; + public AYUVsample2 Element1; + public AYUVsample2 Element2; + public AYUVsample2 Element3; + public AYUVsample2 Element4; + public AYUVsample2 Element5; + public AYUVsample2 Element6; + public AYUVsample2 Element7; + public AYUVsample2 Element8; + public AYUVsample2 Element9; + public AYUVsample2 Element10; + public AYUVsample2 Element11; + public AYUVsample2 Element12; + public AYUVsample2 Element13; + public AYUVsample2 Element14; + public AYUVsample2 Element15; + public ref AYUVsample2 this[int index] + { + get + { + if (index > 15 || index < 0) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + + fixed (AYUVsample2* ptr = &Element0) + { + return ref ptr[index]; + } + } + } + +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER + public Span AsSpan() + => MemoryMarshal.CreateSpan(ref Element0, 16); +#endif + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Silk.NET.Direct3D.Compilers.csproj b/src/Microsoft/Silk.NET.Direct3D.Compilers/Silk.NET.Direct3D.Compilers.csproj index cb5f3cfafd..222c98e1d4 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Silk.NET.Direct3D.Compilers.csproj +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Silk.NET.Direct3D.Compilers.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 true preview diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/Define.gen.cs b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/Define.gen.cs index 0d6eff47c5..a3b0380c7c 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/Define.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/Define.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D.Compilers { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "DxcDefine")] public unsafe partial struct Define { diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IMalloc.gen.cs b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IMalloc.gen.cs index 38b196e47a..2e0097587b 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IMalloc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IMalloc.gen.cs @@ -22,5 +22,90 @@ public unsafe partial struct IMalloc { public static readonly Guid Guid = new("00000002-0000-0000-c000-000000000046"); + public static implicit operator Silk.NET.Core.Native.IUnknown(IMalloc val) + => Unsafe.As(ref val); + + public IMalloc + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IMalloc*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IMalloc*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IMalloc*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IMalloc*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IMalloc*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IMalloc*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Stdcall])LpVtbl[2])(@this); + return ret; + } + } } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Silk.NET.Direct3D11.csproj b/src/Microsoft/Silk.NET.Direct3D11/Silk.NET.Direct3D11.csproj index 9f94d204da..3536c596c8 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Silk.NET.Direct3D11.csproj +++ b/src/Microsoft/Silk.NET.Direct3D11/Silk.NET.Direct3D11.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 true preview diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc.gen.cs index d8a1f1676f..0c0c62f27e 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc.gen.cs @@ -78,7 +78,7 @@ public ref RenderTargetBlendDesc this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc1.gen.cs index 5d032f8457..feb5c8886a 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/BlendDesc1.gen.cs @@ -78,7 +78,7 @@ public ref RenderTargetBlendDesc1 this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferRtv.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferRtv.gen.cs index 7fce9b2d08..e4d3b89095 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferRtv.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferRtv.gen.cs @@ -70,11 +70,11 @@ public BufferRtv [NativeName("Type.Name", "__AnonymousRecord_d3d11_L3750_C5")] [NativeName("Name", "anonymous2")] public BufferRtvUnion2 Anonymous2; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint FirstElement { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous1.FirstElement; + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].FirstElement; } #else public uint FirstElement @@ -84,11 +84,11 @@ public uint FirstElement } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint ElementOffset { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous1.ElementOffset; + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].ElementOffset; } #else public uint ElementOffset @@ -98,11 +98,11 @@ public uint ElementOffset } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint NumElements { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous2.NumElements; + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].NumElements; } #else public uint NumElements @@ -112,11 +112,11 @@ public uint NumElements } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint ElementWidth { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous2.ElementWidth; + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].ElementWidth; } #else public uint ElementWidth diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferSrv.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferSrv.gen.cs index 753e0728dd..009fe67c94 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferSrv.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/BufferSrv.gen.cs @@ -70,11 +70,11 @@ public BufferSrv [NativeName("Type.Name", "__AnonymousRecord_d3d11_L3298_C5")] [NativeName("Name", "anonymous2")] public BufferSrvUnion2 Anonymous2; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint FirstElement { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous1.FirstElement; + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].FirstElement; } #else public uint FirstElement @@ -84,11 +84,11 @@ public uint FirstElement } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint ElementOffset { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous1.ElementOffset; + get => ref MemoryMarshal.CreateSpan(ref Anonymous1, 1)[0].ElementOffset; } #else public uint ElementOffset @@ -98,11 +98,11 @@ public uint ElementOffset } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint NumElements { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous2.NumElements; + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].NumElements; } #else public uint NumElements @@ -112,11 +112,11 @@ public uint NumElements } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint ElementWidth { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous2.ElementWidth; + get => ref MemoryMarshal.CreateSpan(ref Anonymous2, 1)[0].ElementWidth; } #else public uint ElementWidth diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc.gen.cs index 3ecb08e28e..cc49739653 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc.gen.cs @@ -78,7 +78,7 @@ public ref RenderTargetBlendDesc this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc1.gen.cs index 668d55f5d2..3dcb170ab7 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11BlendDesc1.gen.cs @@ -78,7 +78,7 @@ public ref RenderTargetBlendDesc1 this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11DepthStencilViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11DepthStencilViewDesc.gen.cs index 2081cfedd2..7876e4f40b 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11DepthStencilViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11DepthStencilViewDesc.gen.cs @@ -104,11 +104,11 @@ public CD3D11DepthStencilViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L4308_C5")] [NativeName("Name", "anonymous1")] public DepthStencilViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DDsv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DDsv Texture1D @@ -118,11 +118,11 @@ public Tex1DDsv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayDsv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayDsv Texture1DArray @@ -132,11 +132,11 @@ public Tex1DArrayDsv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DDsv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DDsv Texture2D @@ -146,11 +146,11 @@ public Tex2DDsv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayDsv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayDsv Texture2DArray @@ -160,11 +160,11 @@ public Tex2DArrayDsv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsDsv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsDsv Texture2DMS @@ -174,11 +174,11 @@ public Tex2DmsDsv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayDsv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayDsv Texture2DMSArray diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc.gen.cs index 2904ed8768..4966d400eb 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc.gen.cs @@ -105,11 +105,11 @@ public CD3D11RenderTargetViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L3803_C5")] [NativeName("Name", "anonymous1")] public RenderTargetViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferRtv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferRtv Buffer @@ -119,11 +119,11 @@ public BufferRtv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DRtv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DRtv Texture1D @@ -133,11 +133,11 @@ public Tex1DRtv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayRtv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayRtv Texture1DArray @@ -147,11 +147,11 @@ public Tex1DArrayRtv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DRtv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DRtv Texture2D @@ -161,11 +161,11 @@ public Tex2DRtv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayRtv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayRtv Texture2DArray @@ -175,11 +175,11 @@ public Tex2DArrayRtv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsRtv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsRtv Texture2DMS @@ -189,11 +189,11 @@ public Tex2DmsRtv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayRtv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayRtv Texture2DMSArray @@ -203,11 +203,11 @@ public Tex2DmsArrayRtv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DRtv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DRtv Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc1.gen.cs index 8122739567..9017fae25e 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11RenderTargetViewDesc1.gen.cs @@ -105,11 +105,11 @@ public CD3D11RenderTargetViewDesc1 [NativeName("Type.Name", "__AnonymousRecord_d3d11_3_L1281_C5")] [NativeName("Name", "anonymous1")] public RenderTargetViewDesc1Union Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferRtv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferRtv Buffer @@ -119,11 +119,11 @@ public BufferRtv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DRtv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DRtv Texture1D @@ -133,11 +133,11 @@ public Tex1DRtv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayRtv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayRtv Texture1DArray @@ -147,11 +147,11 @@ public Tex1DArrayRtv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DRtv1 Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DRtv1 Texture2D @@ -161,11 +161,11 @@ public Tex2DRtv1 Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayRtv1 Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayRtv1 Texture2DArray @@ -175,11 +175,11 @@ public Tex2DArrayRtv1 Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsRtv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsRtv Texture2DMS @@ -189,11 +189,11 @@ public Tex2DmsRtv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayRtv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayRtv Texture2DMSArray @@ -203,11 +203,11 @@ public Tex2DmsArrayRtv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DRtv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DRtv Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc.gen.cs index fe0b7737ec..10db9f173c 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc.gen.cs @@ -123,11 +123,11 @@ public CD3D11ShaderResourceViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L3381_C5")] [NativeName("Name", "anonymous1")] public ShaderResourceViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferSrv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferSrv Buffer @@ -137,11 +137,11 @@ public BufferSrv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DSrv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DSrv Texture1D @@ -151,11 +151,11 @@ public Tex1DSrv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArraySrv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArraySrv Texture1DArray @@ -165,11 +165,11 @@ public Tex1DArraySrv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DSrv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DSrv Texture2D @@ -179,11 +179,11 @@ public Tex2DSrv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArraySrv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArraySrv Texture2DArray @@ -193,11 +193,11 @@ public Tex2DArraySrv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsSrv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsSrv Texture2DMS @@ -207,11 +207,11 @@ public Tex2DmsSrv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArraySrv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArraySrv Texture2DMSArray @@ -221,11 +221,11 @@ public Tex2DmsArraySrv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DSrv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DSrv Texture3D @@ -235,11 +235,11 @@ public Tex3DSrv Texture3D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeSrv TextureCube { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCube; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCube; } #else public TexcubeSrv TextureCube @@ -249,11 +249,11 @@ public TexcubeSrv TextureCube } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeArraySrv TextureCubeArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCubeArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCubeArray; } #else public TexcubeArraySrv TextureCubeArray @@ -263,11 +263,11 @@ public TexcubeArraySrv TextureCubeArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferexSrv BufferEx { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.BufferEx; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].BufferEx; } #else public BufferexSrv BufferEx diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc1.gen.cs index aa729f80ad..5cc827d755 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11ShaderResourceViewDesc1.gen.cs @@ -123,11 +123,11 @@ public CD3D11ShaderResourceViewDesc1 [NativeName("Type.Name", "__AnonymousRecord_d3d11_3_L886_C5")] [NativeName("Name", "anonymous1")] public ShaderResourceViewDesc1Union Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferSrv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferSrv Buffer @@ -137,11 +137,11 @@ public BufferSrv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DSrv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DSrv Texture1D @@ -151,11 +151,11 @@ public Tex1DSrv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArraySrv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArraySrv Texture1DArray @@ -165,11 +165,11 @@ public Tex1DArraySrv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DSrv1 Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DSrv1 Texture2D @@ -179,11 +179,11 @@ public Tex2DSrv1 Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArraySrv1 Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArraySrv1 Texture2DArray @@ -193,11 +193,11 @@ public Tex2DArraySrv1 Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsSrv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsSrv Texture2DMS @@ -207,11 +207,11 @@ public Tex2DmsSrv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArraySrv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArraySrv Texture2DMSArray @@ -221,11 +221,11 @@ public Tex2DmsArraySrv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DSrv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DSrv Texture3D @@ -235,11 +235,11 @@ public Tex3DSrv Texture3D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeSrv TextureCube { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCube; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCube; } #else public TexcubeSrv TextureCube @@ -249,11 +249,11 @@ public TexcubeSrv TextureCube } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeArraySrv TextureCubeArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCubeArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCubeArray; } #else public TexcubeArraySrv TextureCubeArray @@ -263,11 +263,11 @@ public TexcubeArraySrv TextureCubeArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferexSrv BufferEx { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.BufferEx; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].BufferEx; } #else public BufferexSrv BufferEx diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc.gen.cs index 09a37d56bc..ed72770134 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc.gen.cs @@ -93,11 +93,11 @@ public CD3D11UnorderedAccessViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L4635_C5")] [NativeName("Name", "anonymous1")] public UnorderedAccessViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferUav Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferUav Buffer @@ -107,11 +107,11 @@ public BufferUav Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DUav Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DUav Texture1D @@ -121,11 +121,11 @@ public Tex1DUav Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayUav Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayUav Texture1DArray @@ -135,11 +135,11 @@ public Tex1DArrayUav Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DUav Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DUav Texture2D @@ -149,11 +149,11 @@ public Tex2DUav Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayUav Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayUav Texture2DArray @@ -163,11 +163,11 @@ public Tex2DArrayUav Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DUav Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DUav Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc1.gen.cs index 8701971b4a..8cb801b9ff 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11UnorderedAccessViewDesc1.gen.cs @@ -93,11 +93,11 @@ public CD3D11UnorderedAccessViewDesc1 [NativeName("Type.Name", "__AnonymousRecord_d3d11_3_L1627_C5")] [NativeName("Name", "anonymous1")] public UnorderedAccessViewDesc1Union Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferUav Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferUav Buffer @@ -107,11 +107,11 @@ public BufferUav Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DUav Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DUav Texture1D @@ -121,11 +121,11 @@ public Tex1DUav Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayUav Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayUav Texture1DArray @@ -135,11 +135,11 @@ public Tex1DArrayUav Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DUav1 Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DUav1 Texture2D @@ -149,11 +149,11 @@ public Tex2DUav1 Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayUav1 Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayUav1 Texture2DArray @@ -163,11 +163,11 @@ public Tex2DArrayUav1 Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DUav Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DUav Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/DepthStencilViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/DepthStencilViewDesc.gen.cs index 2c2dcfb12d..8b2c3657ad 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/DepthStencilViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/DepthStencilViewDesc.gen.cs @@ -104,11 +104,11 @@ public DepthStencilViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L4308_C5")] [NativeName("Name", "anonymous1")] public DepthStencilViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DDsv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DDsv Texture1D @@ -118,11 +118,11 @@ public Tex1DDsv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayDsv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayDsv Texture1DArray @@ -132,11 +132,11 @@ public Tex1DArrayDsv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DDsv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DDsv Texture2D @@ -146,11 +146,11 @@ public Tex2DDsv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayDsv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayDsv Texture2DArray @@ -160,11 +160,11 @@ public Tex2DArrayDsv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsDsv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsDsv Texture2DMS @@ -174,11 +174,11 @@ public Tex2DmsDsv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayDsv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayDsv Texture2DMSArray diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc.gen.cs index 850c04a12c..72caf3b298 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc.gen.cs @@ -105,11 +105,11 @@ public RenderTargetViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L3803_C5")] [NativeName("Name", "anonymous1")] public RenderTargetViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferRtv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferRtv Buffer @@ -119,11 +119,11 @@ public BufferRtv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DRtv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DRtv Texture1D @@ -133,11 +133,11 @@ public Tex1DRtv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayRtv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayRtv Texture1DArray @@ -147,11 +147,11 @@ public Tex1DArrayRtv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DRtv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DRtv Texture2D @@ -161,11 +161,11 @@ public Tex2DRtv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayRtv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayRtv Texture2DArray @@ -175,11 +175,11 @@ public Tex2DArrayRtv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsRtv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsRtv Texture2DMS @@ -189,11 +189,11 @@ public Tex2DmsRtv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayRtv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayRtv Texture2DMSArray @@ -203,11 +203,11 @@ public Tex2DmsArrayRtv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DRtv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DRtv Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc1.gen.cs index 57ecedd585..5cc7bcdd7e 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/RenderTargetViewDesc1.gen.cs @@ -105,11 +105,11 @@ public RenderTargetViewDesc1 [NativeName("Type.Name", "__AnonymousRecord_d3d11_3_L1281_C5")] [NativeName("Name", "anonymous1")] public RenderTargetViewDesc1Union Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferRtv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferRtv Buffer @@ -119,11 +119,11 @@ public BufferRtv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DRtv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DRtv Texture1D @@ -133,11 +133,11 @@ public Tex1DRtv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayRtv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayRtv Texture1DArray @@ -147,11 +147,11 @@ public Tex1DArrayRtv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DRtv1 Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DRtv1 Texture2D @@ -161,11 +161,11 @@ public Tex2DRtv1 Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayRtv1 Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayRtv1 Texture2DArray @@ -175,11 +175,11 @@ public Tex2DArrayRtv1 Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsRtv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsRtv Texture2DMS @@ -189,11 +189,11 @@ public Tex2DmsRtv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayRtv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayRtv Texture2DMSArray @@ -203,11 +203,11 @@ public Tex2DmsArrayRtv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DRtv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DRtv Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc.gen.cs index 44d967bde3..34cf9be12d 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc.gen.cs @@ -123,11 +123,11 @@ public ShaderResourceViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L3381_C5")] [NativeName("Name", "anonymous1")] public ShaderResourceViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferSrv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferSrv Buffer @@ -137,11 +137,11 @@ public BufferSrv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DSrv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DSrv Texture1D @@ -151,11 +151,11 @@ public Tex1DSrv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArraySrv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArraySrv Texture1DArray @@ -165,11 +165,11 @@ public Tex1DArraySrv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DSrv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DSrv Texture2D @@ -179,11 +179,11 @@ public Tex2DSrv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArraySrv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArraySrv Texture2DArray @@ -193,11 +193,11 @@ public Tex2DArraySrv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsSrv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsSrv Texture2DMS @@ -207,11 +207,11 @@ public Tex2DmsSrv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArraySrv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArraySrv Texture2DMSArray @@ -221,11 +221,11 @@ public Tex2DmsArraySrv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DSrv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DSrv Texture3D @@ -235,11 +235,11 @@ public Tex3DSrv Texture3D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeSrv TextureCube { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCube; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCube; } #else public TexcubeSrv TextureCube @@ -249,11 +249,11 @@ public TexcubeSrv TextureCube } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeArraySrv TextureCubeArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCubeArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCubeArray; } #else public TexcubeArraySrv TextureCubeArray @@ -263,11 +263,11 @@ public TexcubeArraySrv TextureCubeArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferexSrv BufferEx { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.BufferEx; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].BufferEx; } #else public BufferexSrv BufferEx diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc1.gen.cs index 96279c68ea..e437caf0b2 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderResourceViewDesc1.gen.cs @@ -123,11 +123,11 @@ public ShaderResourceViewDesc1 [NativeName("Type.Name", "__AnonymousRecord_d3d11_3_L886_C5")] [NativeName("Name", "anonymous1")] public ShaderResourceViewDesc1Union Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferSrv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferSrv Buffer @@ -137,11 +137,11 @@ public BufferSrv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DSrv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DSrv Texture1D @@ -151,11 +151,11 @@ public Tex1DSrv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArraySrv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArraySrv Texture1DArray @@ -165,11 +165,11 @@ public Tex1DArraySrv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DSrv1 Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DSrv1 Texture2D @@ -179,11 +179,11 @@ public Tex2DSrv1 Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArraySrv1 Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArraySrv1 Texture2DArray @@ -193,11 +193,11 @@ public Tex2DArraySrv1 Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsSrv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsSrv Texture2DMS @@ -207,11 +207,11 @@ public Tex2DmsSrv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArraySrv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArraySrv Texture2DMSArray @@ -221,11 +221,11 @@ public Tex2DmsArraySrv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DSrv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DSrv Texture3D @@ -235,11 +235,11 @@ public Tex3DSrv Texture3D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeSrv TextureCube { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCube; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCube; } #else public TexcubeSrv TextureCube @@ -249,11 +249,11 @@ public TexcubeSrv TextureCube } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeArraySrv TextureCubeArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCubeArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCubeArray; } #else public TexcubeArraySrv TextureCubeArray @@ -263,11 +263,11 @@ public TexcubeArraySrv TextureCubeArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferexSrv BufferEx { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.BufferEx; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].BufferEx; } #else public BufferexSrv BufferEx diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderTraceDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderTraceDesc.gen.cs index 0cbf6bc599..3df53f2c85 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderTraceDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ShaderTraceDesc.gen.cs @@ -93,11 +93,11 @@ public ShaderTraceDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11shadertracing_L126_C5")] [NativeName("Name", "anonymous1")] public ShaderTraceDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref VertexShaderTraceDesc VertexShaderTraceDesc { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.VertexShaderTraceDesc; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].VertexShaderTraceDesc; } #else public VertexShaderTraceDesc VertexShaderTraceDesc @@ -107,11 +107,11 @@ public VertexShaderTraceDesc VertexShaderTraceDesc } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref HullShaderTraceDesc HullShaderTraceDesc { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.HullShaderTraceDesc; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].HullShaderTraceDesc; } #else public HullShaderTraceDesc HullShaderTraceDesc @@ -121,11 +121,11 @@ public HullShaderTraceDesc HullShaderTraceDesc } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref DomainShaderTraceDesc DomainShaderTraceDesc { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.DomainShaderTraceDesc; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].DomainShaderTraceDesc; } #else public DomainShaderTraceDesc DomainShaderTraceDesc @@ -135,11 +135,11 @@ public DomainShaderTraceDesc DomainShaderTraceDesc } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref GeometryShaderTraceDesc GeometryShaderTraceDesc { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.GeometryShaderTraceDesc; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].GeometryShaderTraceDesc; } #else public GeometryShaderTraceDesc GeometryShaderTraceDesc @@ -149,11 +149,11 @@ public GeometryShaderTraceDesc GeometryShaderTraceDesc } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref PixelShaderTraceDesc PixelShaderTraceDesc { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.PixelShaderTraceDesc; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].PixelShaderTraceDesc; } #else public PixelShaderTraceDesc PixelShaderTraceDesc @@ -163,11 +163,11 @@ public PixelShaderTraceDesc PixelShaderTraceDesc } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref ComputeShaderTraceDesc ComputeShaderTraceDesc { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.ComputeShaderTraceDesc; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].ComputeShaderTraceDesc; } #else public ComputeShaderTraceDesc ComputeShaderTraceDesc diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/TraceRegister.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/TraceRegister.gen.cs index 3ef4edd705..5c0ef3ceb1 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/TraceRegister.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/TraceRegister.gen.cs @@ -74,11 +74,11 @@ public TraceRegister [NativeName("Type.Name", "UINT8")] [NativeName("Name", "Flags")] public byte Flags; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref ushort Index1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Index1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Index1D; } #else public ushort Index1D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc.gen.cs index d10cc38be1..cd1a044db6 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc.gen.cs @@ -93,11 +93,11 @@ public UnorderedAccessViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L4635_C5")] [NativeName("Name", "anonymous1")] public UnorderedAccessViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferUav Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferUav Buffer @@ -107,11 +107,11 @@ public BufferUav Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DUav Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DUav Texture1D @@ -121,11 +121,11 @@ public Tex1DUav Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayUav Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayUav Texture1DArray @@ -135,11 +135,11 @@ public Tex1DArrayUav Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DUav Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DUav Texture2D @@ -149,11 +149,11 @@ public Tex2DUav Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayUav Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayUav Texture2DArray @@ -163,11 +163,11 @@ public Tex2DArrayUav Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DUav Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DUav Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc1.gen.cs index e4e6adaee2..a66ec911aa 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/UnorderedAccessViewDesc1.gen.cs @@ -93,11 +93,11 @@ public UnorderedAccessViewDesc1 [NativeName("Type.Name", "__AnonymousRecord_d3d11_3_L1627_C5")] [NativeName("Name", "anonymous1")] public UnorderedAccessViewDesc1Union Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferUav Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferUav Buffer @@ -107,11 +107,11 @@ public BufferUav Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DUav Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DUav Texture1D @@ -121,11 +121,11 @@ public Tex1DUav Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayUav Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayUav Texture1DArray @@ -135,11 +135,11 @@ public Tex1DArrayUav Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DUav1 Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DUav1 Texture2D @@ -149,11 +149,11 @@ public Tex2DUav1 Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayUav1 Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayUav1 Texture2DArray @@ -163,11 +163,11 @@ public Tex2DArrayUav1 Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DUav Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DUav Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoColor.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoColor.gen.cs index 6df1caa00e..22cc32d359 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoColor.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoColor.gen.cs @@ -47,11 +47,11 @@ public VideoColor [NativeName("Type.Name", "__AnonymousRecord_d3d11_L10354_C5")] [NativeName("Name", "anonymous1")] public VideoColorUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref VIDEOCOLORYCbCrA YCbCr { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.YCbCr; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].YCbCr; } #else public VIDEOCOLORYCbCrA YCbCr @@ -61,11 +61,11 @@ public VIDEOCOLORYCbCrA YCbCr } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref VideoColorRgba RGBA { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.RGBA; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].RGBA; } #else public VideoColorRgba RGBA diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoDecoderOutputViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoDecoderOutputViewDesc.gen.cs index 3b76ed86be..0a5cbc1a93 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoDecoderOutputViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoDecoderOutputViewDesc.gen.cs @@ -63,11 +63,11 @@ public VideoDecoderOutputViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L11210_C5")] [NativeName("Name", "anonymous1")] public VideoDecoderOutputViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DVdov Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DVdov Texture2D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorInputViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorInputViewDesc.gen.cs index e9ec706683..6320352d14 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorInputViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorInputViewDesc.gen.cs @@ -63,11 +63,11 @@ public VideoProcessorInputViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L11375_C5")] [NativeName("Name", "anonymous1")] public VideoProcessorInputViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DVpiv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DVpiv Texture2D diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorOutputViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorOutputViewDesc.gen.cs index c99a356f51..173f580f4d 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorOutputViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/VideoProcessorOutputViewDesc.gen.cs @@ -58,11 +58,11 @@ public VideoProcessorOutputViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d11_L11546_C5")] [NativeName("Name", "anonymous1")] public VideoProcessorOutputViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DVpov Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DVpov Texture2D @@ -72,11 +72,11 @@ public Tex2DVpov Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayVpov Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayVpov Texture2DArray diff --git a/src/Microsoft/Silk.NET.Direct3D12/Silk.NET.Direct3D12.csproj b/src/Microsoft/Silk.NET.Direct3D12/Silk.NET.Direct3D12.csproj index 9f94d204da..8d2e3097cc 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Silk.NET.Direct3D12.csproj +++ b/src/Microsoft/Silk.NET.Direct3D12/Silk.NET.Direct3D12.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 true preview diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode.gen.cs index 247637952d..4c033cd5bc 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_AUTO_BREADCRUMB_NODE")] public unsafe partial struct AutoBreadcrumbNode { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode1.gen.cs index f14ffce4f7..ed807d72c1 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/AutoBreadcrumbNode1.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_AUTO_BREADCRUMB_NODE1")] public unsafe partial struct AutoBreadcrumbNode1 { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/BlendDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/BlendDesc.gen.cs index d458264e4f..1ef01d8d34 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/BlendDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/BlendDesc.gen.cs @@ -78,7 +78,7 @@ public ref RenderTargetBlendDesc this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/BuildRaytracingAccelerationStructureInputs.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/BuildRaytracingAccelerationStructureInputs.gen.cs index c83b6c8e3a..3748e073d4 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/BuildRaytracingAccelerationStructureInputs.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/BuildRaytracingAccelerationStructureInputs.gen.cs @@ -97,11 +97,11 @@ public BuildRaytracingAccelerationStructureInputs [NativeName("Type.Name", "__AnonymousRecord_d3d12_L12497_C5")] [NativeName("Name", "anonymous1")] public BuildRaytracingAccelerationStructureInputsUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref ulong InstanceDescs { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.InstanceDescs; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].InstanceDescs; } #else public ulong InstanceDescs @@ -111,11 +111,11 @@ public ulong InstanceDescs } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RaytracingGeometryDesc* PGeometryDescs { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.PGeometryDescs; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].PGeometryDescs; } #else public RaytracingGeometryDesc* PGeometryDescs @@ -125,11 +125,11 @@ public RaytracingGeometryDesc* PGeometryDescs } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RaytracingGeometryDesc** PpGeometryDescs { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.PpGeometryDescs; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].PpGeometryDescs; } #else public RaytracingGeometryDesc** PpGeometryDescs diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ClearValue.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ClearValue.gen.cs index 7b19373d4e..9cece985dd 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ClearValue.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ClearValue.gen.cs @@ -52,11 +52,11 @@ public ClearValue [NativeName("Type.Name", "__AnonymousRecord_d3d12_L2582_C5")] [NativeName("Name", "anonymous1")] public ClearValueUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref DepthStencilValue DepthStencil { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.DepthStencil; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].DepthStencil; } #else public DepthStencilValue DepthStencil diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/DepthStencilViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/DepthStencilViewDesc.gen.cs index fd37bf49e6..39d697b9f9 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/DepthStencilViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/DepthStencilViewDesc.gen.cs @@ -104,11 +104,11 @@ public DepthStencilViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d12_L3333_C5")] [NativeName("Name", "anonymous1")] public DepthStencilViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DDsv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DDsv Texture1D @@ -118,11 +118,11 @@ public Tex1DDsv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayDsv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayDsv Texture1DArray @@ -132,11 +132,11 @@ public Tex1DArrayDsv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DDsv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DDsv Texture2D @@ -146,11 +146,11 @@ public Tex2DDsv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayDsv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayDsv Texture2DArray @@ -160,11 +160,11 @@ public Tex2DArrayDsv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsDsv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsDsv Texture2DMS @@ -174,11 +174,11 @@ public Tex2DmsDsv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayDsv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayDsv Texture2DMSArray diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode.gen.cs index 7e456b47c9..aa3a60fab4 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_DRED_ALLOCATION_NODE")] public unsafe partial struct DredAllocationNode { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode1.gen.cs index 933e8ad373..2d475b4f19 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/DredAllocationNode1.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_DRED_ALLOCATION_NODE1")] public unsafe partial struct DredAllocationNode1 { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/DredBreadcrumbContext.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/DredBreadcrumbContext.gen.cs index d1450826d6..057b6ae0a4 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/DredBreadcrumbContext.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/DredBreadcrumbContext.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_DRED_BREADCRUMB_CONTEXT")] public unsafe partial struct DredBreadcrumbContext { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/DxilSubobjectToExportsAssociation.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/DxilSubobjectToExportsAssociation.gen.cs index eeafe25ebb..27503d175d 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/DxilSubobjectToExportsAssociation.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/DxilSubobjectToExportsAssociation.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION")] public unsafe partial struct DxilSubobjectToExportsAssociation { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ExportDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ExportDesc.gen.cs index efce888b72..62a778ec65 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ExportDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ExportDesc.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_EXPORT_DESC")] public unsafe partial struct ExportDesc { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/FeatureDataVideoProcessSupport.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/FeatureDataVideoProcessSupport.gen.cs index 929a2ab4b2..f6fc44de89 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/FeatureDataVideoProcessSupport.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/FeatureDataVideoProcessSupport.gen.cs @@ -234,7 +234,7 @@ public ref VideoProcessFilterRange this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 32); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/GraphicsPipelineStateDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/GraphicsPipelineStateDesc.gen.cs index eed13bfa7f..cee4243326 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/GraphicsPipelineStateDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/GraphicsPipelineStateDesc.gen.cs @@ -251,7 +251,7 @@ public ref Silk.NET.DXGI.Format this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/HitGroupDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/HitGroupDesc.gen.cs index 360c1b0eee..f2d98c037b 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/HitGroupDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/HitGroupDesc.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_HIT_GROUP_DESC")] public unsafe partial struct HitGroupDesc { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/IndirectArgumentDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/IndirectArgumentDesc.gen.cs index 29852eb46e..d956a87669 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/IndirectArgumentDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/IndirectArgumentDesc.gen.cs @@ -76,11 +76,11 @@ public IndirectArgumentDesc [NativeName("Type.Name", "__AnonymousRecord_d3d12_L3951_C5")] [NativeName("Name", "anonymous1")] public IndirectArgumentDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref IndirectArgumentDescUnionVertexBuffer VertexBuffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.VertexBuffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].VertexBuffer; } #else public IndirectArgumentDescUnionVertexBuffer VertexBuffer @@ -90,11 +90,11 @@ public IndirectArgumentDescUnionVertexBuffer VertexBuffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref IndirectArgumentDescUnionConstant Constant { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Constant; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Constant; } #else public IndirectArgumentDescUnionConstant Constant @@ -104,11 +104,11 @@ public IndirectArgumentDescUnionConstant Constant } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref IndirectArgumentDescUnionConstantBufferView ConstantBufferView { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.ConstantBufferView; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].ConstantBufferView; } #else public IndirectArgumentDescUnionConstantBufferView ConstantBufferView @@ -118,11 +118,11 @@ public IndirectArgumentDescUnionConstantBufferView ConstantBufferView } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref IndirectArgumentDescUnionShaderResourceView ShaderResourceView { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.ShaderResourceView; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].ShaderResourceView; } #else public IndirectArgumentDescUnionShaderResourceView ShaderResourceView @@ -132,11 +132,11 @@ public IndirectArgumentDescUnionShaderResourceView ShaderResourceView } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref IndirectArgumentDescUnionUnorderedAccessView UnorderedAccessView { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.UnorderedAccessView; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].UnorderedAccessView; } #else public IndirectArgumentDescUnionUnorderedAccessView UnorderedAccessView diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandDesc.gen.cs index b1c5ee585d..1fcec74a3e 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandDesc.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_META_COMMAND_DESC")] public unsafe partial struct MetaCommandDesc { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandParameterDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandParameterDesc.gen.cs index 9a691bda12..4b1007b19a 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandParameterDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/MetaCommandParameterDesc.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_META_COMMAND_PARAMETER_DESC")] public unsafe partial struct MetaCommandParameterDesc { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/RTFormatArray.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/RTFormatArray.gen.cs index bb66f83297..7292b17576 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/RTFormatArray.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/RTFormatArray.gen.cs @@ -62,7 +62,7 @@ public ref Silk.NET.DXGI.Format this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/RaytracingGeometryDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/RaytracingGeometryDesc.gen.cs index a0ee135940..0af08c09f0 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/RaytracingGeometryDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/RaytracingGeometryDesc.gen.cs @@ -69,11 +69,11 @@ public RaytracingGeometryDesc [NativeName("Type.Name", "__AnonymousRecord_d3d12_L12484_C5")] [NativeName("Name", "anonymous1")] public RaytracingGeometryDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RaytracingGeometryTrianglesDesc Triangles { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Triangles; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Triangles; } #else public RaytracingGeometryTrianglesDesc Triangles @@ -83,11 +83,11 @@ public RaytracingGeometryTrianglesDesc Triangles } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RaytracingGeometryAabbsDesc AABBs { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.AABBs; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].AABBs; } #else public RaytracingGeometryAabbsDesc AABBs diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassBeginningAccess.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassBeginningAccess.gen.cs index 3a1e8ec820..f3b6f2a1f4 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassBeginningAccess.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassBeginningAccess.gen.cs @@ -52,11 +52,11 @@ public RenderPassBeginningAccess [NativeName("Type.Name", "__AnonymousRecord_d3d12_L17439_C5")] [NativeName("Name", "anonymous1")] public RenderPassBeginningAccessUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RenderPassBeginningAccessClearParameters Clear { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Clear; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Clear; } #else public RenderPassBeginningAccessClearParameters Clear diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassEndingAccess.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassEndingAccess.gen.cs index 3d80c0c434..f66aec0c06 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassEndingAccess.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderPassEndingAccess.gen.cs @@ -52,11 +52,11 @@ public RenderPassEndingAccess [NativeName("Type.Name", "__AnonymousRecord_d3d12_L17477_C5")] [NativeName("Name", "anonymous1")] public RenderPassEndingAccessUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RenderPassEndingAccessResolveParameters Resolve { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Resolve; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Resolve; } #else public RenderPassEndingAccessResolveParameters Resolve diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderTargetViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderTargetViewDesc.gen.cs index ff2bdcbdf5..3164a8009b 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderTargetViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/RenderTargetViewDesc.gen.cs @@ -105,11 +105,11 @@ public RenderTargetViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d12_L3259_C5")] [NativeName("Name", "anonymous1")] public RenderTargetViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferRtv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferRtv Buffer @@ -119,11 +119,11 @@ public BufferRtv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DRtv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DRtv Texture1D @@ -133,11 +133,11 @@ public Tex1DRtv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayRtv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayRtv Texture1DArray @@ -147,11 +147,11 @@ public Tex1DArrayRtv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DRtv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DRtv Texture2D @@ -161,11 +161,11 @@ public Tex2DRtv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayRtv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayRtv Texture2DArray @@ -175,11 +175,11 @@ public Tex2DArrayRtv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsRtv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsRtv Texture2DMS @@ -189,11 +189,11 @@ public Tex2DmsRtv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArrayRtv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArrayRtv Texture2DMSArray @@ -203,11 +203,11 @@ public Tex2DmsArrayRtv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DRtv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DRtv Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ResourceBarrier.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ResourceBarrier.gen.cs index cb8867b3f0..4c730eb86e 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ResourceBarrier.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ResourceBarrier.gen.cs @@ -75,11 +75,11 @@ public ResourceBarrier [NativeName("Type.Name", "__AnonymousRecord_d3d12_L2754_C5")] [NativeName("Name", "anonymous1")] public ResourceBarrierUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref ResourceTransitionBarrier Transition { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Transition; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Transition; } #else public ResourceTransitionBarrier Transition @@ -89,11 +89,11 @@ public ResourceTransitionBarrier Transition } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref ResourceAliasingBarrier Aliasing { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Aliasing; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Aliasing; } #else public ResourceAliasingBarrier Aliasing @@ -103,11 +103,11 @@ public ResourceAliasingBarrier Aliasing } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref ResourceUavBarrier UAV { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.UAV; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].UAV; } #else public ResourceUavBarrier UAV diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter.gen.cs index 7d734aabf8..2533b8323f 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter.gen.cs @@ -75,11 +75,11 @@ public RootParameter [NativeName("Type.Name", "D3D12_SHADER_VISIBILITY")] [NativeName("Name", "ShaderVisibility")] public ShaderVisibility ShaderVisibility; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootDescriptorTable DescriptorTable { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.DescriptorTable; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].DescriptorTable; } #else public RootDescriptorTable DescriptorTable @@ -89,11 +89,11 @@ public RootDescriptorTable DescriptorTable } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootConstants Constants { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Constants; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Constants; } #else public RootConstants Constants @@ -103,11 +103,11 @@ public RootConstants Constants } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootDescriptor Descriptor { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Descriptor; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Descriptor; } #else public RootDescriptor Descriptor diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter1.gen.cs index 01f90868ec..b19a645930 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/RootParameter1.gen.cs @@ -75,11 +75,11 @@ public RootParameter1 [NativeName("Type.Name", "D3D12_SHADER_VISIBILITY")] [NativeName("Name", "ShaderVisibility")] public ShaderVisibility ShaderVisibility; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootDescriptorTable1 DescriptorTable { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.DescriptorTable; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].DescriptorTable; } #else public RootDescriptorTable1 DescriptorTable @@ -89,11 +89,11 @@ public RootDescriptorTable1 DescriptorTable } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootConstants Constants { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Constants; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Constants; } #else public RootConstants Constants @@ -103,11 +103,11 @@ public RootConstants Constants } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootDescriptor1 Descriptor { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Descriptor; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Descriptor; } #else public RootDescriptor1 Descriptor diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ShaderResourceViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ShaderResourceViewDesc.gen.cs index 0c0ba483d3..25f0696b1f 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ShaderResourceViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ShaderResourceViewDesc.gen.cs @@ -134,11 +134,11 @@ public ShaderResourceViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d12_L2965_C5")] [NativeName("Name", "anonymous1")] public ShaderResourceViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferSrv Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferSrv Buffer @@ -148,11 +148,11 @@ public BufferSrv Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DSrv Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DSrv Texture1D @@ -162,11 +162,11 @@ public Tex1DSrv Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArraySrv Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArraySrv Texture1DArray @@ -176,11 +176,11 @@ public Tex1DArraySrv Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DSrv Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DSrv Texture2D @@ -190,11 +190,11 @@ public Tex2DSrv Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArraySrv Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArraySrv Texture2DArray @@ -204,11 +204,11 @@ public Tex2DArraySrv Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsSrv Texture2DMS { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMS; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMS; } #else public Tex2DmsSrv Texture2DMS @@ -218,11 +218,11 @@ public Tex2DmsSrv Texture2DMS } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DmsArraySrv Texture2DMSArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DMSArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DMSArray; } #else public Tex2DmsArraySrv Texture2DMSArray @@ -232,11 +232,11 @@ public Tex2DmsArraySrv Texture2DMSArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DSrv Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DSrv Texture3D @@ -246,11 +246,11 @@ public Tex3DSrv Texture3D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeSrv TextureCube { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCube; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCube; } #else public TexcubeSrv TextureCube @@ -260,11 +260,11 @@ public TexcubeSrv TextureCube } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref TexcubeArraySrv TextureCubeArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.TextureCubeArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].TextureCubeArray; } #else public TexcubeArraySrv TextureCubeArray @@ -274,11 +274,11 @@ public TexcubeArraySrv TextureCubeArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RaytracingAccelerationStructureSrv RaytracingAccelerationStructure { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.RaytracingAccelerationStructure; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].RaytracingAccelerationStructure; } #else public RaytracingAccelerationStructureSrv RaytracingAccelerationStructure diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/SubobjectToExportsAssociation.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/SubobjectToExportsAssociation.gen.cs index 669418bb2d..c4da7904d5 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/SubobjectToExportsAssociation.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/SubobjectToExportsAssociation.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION")] public unsafe partial struct SubobjectToExportsAssociation { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/TextureCopyLocation.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/TextureCopyLocation.gen.cs index db8056977c..4e8d7eb029 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/TextureCopyLocation.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/TextureCopyLocation.gen.cs @@ -69,11 +69,11 @@ public TextureCopyLocation [NativeName("Type.Name", "__AnonymousRecord_d3d12_L2788_C5")] [NativeName("Name", "anonymous1")] public TextureCopyLocationUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref PlacedSubresourceFootprint PlacedFootprint { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.PlacedFootprint; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].PlacedFootprint; } #else public PlacedSubresourceFootprint PlacedFootprint @@ -83,11 +83,11 @@ public PlacedSubresourceFootprint PlacedFootprint } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint SubresourceIndex { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.SubresourceIndex; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].SubresourceIndex; } #else public uint SubresourceIndex diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/UnorderedAccessViewDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/UnorderedAccessViewDesc.gen.cs index 4256322c8b..ec5afa6374 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/UnorderedAccessViewDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/UnorderedAccessViewDesc.gen.cs @@ -93,11 +93,11 @@ public UnorderedAccessViewDesc [NativeName("Type.Name", "__AnonymousRecord_d3d12_L3180_C5")] [NativeName("Name", "anonymous1")] public UnorderedAccessViewDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref BufferUav Buffer { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Buffer; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Buffer; } #else public BufferUav Buffer @@ -107,11 +107,11 @@ public BufferUav Buffer } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DUav Texture1D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1D; } #else public Tex1DUav Texture1D @@ -121,11 +121,11 @@ public Tex1DUav Texture1D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex1DArrayUav Texture1DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture1DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture1DArray; } #else public Tex1DArrayUav Texture1DArray @@ -135,11 +135,11 @@ public Tex1DArrayUav Texture1DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DUav Texture2D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2D; } #else public Tex2DUav Texture2D @@ -149,11 +149,11 @@ public Tex2DUav Texture2D } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex2DArrayUav Texture2DArray { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture2DArray; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture2DArray; } #else public Tex2DArrayUav Texture2DArray @@ -163,11 +163,11 @@ public Tex2DArrayUav Texture2DArray } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref Tex3DUav Texture3D { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Texture3D; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Texture3D; } #else public Tex3DUav Texture3D diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedDeviceRemovedExtendedData.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedDeviceRemovedExtendedData.gen.cs index 7b954dc883..b28a7c6df4 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedDeviceRemovedExtendedData.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedDeviceRemovedExtendedData.gen.cs @@ -64,11 +64,11 @@ public VersionedDeviceRemovedExtendedData [NativeName("Type.Name", "__AnonymousRecord_d3d12_L13459_C5")] [NativeName("Name", "anonymous1")] public VersionedDeviceRemovedExtendedDataUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref DeviceRemovedExtendedData Dred10 { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Dred10; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Dred10; } #else public DeviceRemovedExtendedData Dred10 @@ -78,11 +78,11 @@ public DeviceRemovedExtendedData Dred10 } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref DeviceRemovedExtendedData1 Dred11 { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Dred11; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Dred11; } #else public DeviceRemovedExtendedData1 Dred11 @@ -92,11 +92,11 @@ public DeviceRemovedExtendedData1 Dred11 } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref DeviceRemovedExtendedData2 Dred12 { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Dred12; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Dred12; } #else public DeviceRemovedExtendedData2 Dred12 diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedRootSignatureDesc.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedRootSignatureDesc.gen.cs index bb98d50d04..d52760b40a 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedRootSignatureDesc.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VersionedRootSignatureDesc.gen.cs @@ -58,11 +58,11 @@ public VersionedRootSignatureDesc [NativeName("Type.Name", "__AnonymousRecord_d3d12_L3580_C5")] [NativeName("Name", "anonymous1")] public VersionedRootSignatureDescUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootSignatureDesc Desc10 { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Desc10; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Desc10; } #else public RootSignatureDesc Desc10 @@ -72,11 +72,11 @@ public RootSignatureDesc Desc10 } #endif -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref RootSignatureDesc1 Desc11 { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Desc11; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Desc11; } #else public RootSignatureDesc1 Desc11 diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeInputStreamArguments.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeInputStreamArguments.gen.cs index 14a9a04a9a..31ec5f8b48 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeInputStreamArguments.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeInputStreamArguments.gen.cs @@ -87,7 +87,7 @@ public ref VideoDecodeFrameArgument this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 10); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeOutputStreamArguments1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeOutputStreamArguments1.gen.cs index 1386a6a4c4..7cdd6379c9 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeOutputStreamArguments1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoDecodeOutputStreamArguments1.gen.cs @@ -85,7 +85,7 @@ public ref VideoDecodeOutputHistogram this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 4); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandInfo.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandInfo.gen.cs index b730d15dc7..17f00a977c 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandInfo.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandInfo.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_VIDEO_EXTENSION_COMMAND_INFO")] public unsafe partial struct VideoExtensionCommandInfo { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandParameterInfo.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandParameterInfo.gen.cs index 4cc3400241..1c203eec08 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandParameterInfo.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoExtensionCommandParameterInfo.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.Direct3D12 { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_INFO")] public unsafe partial struct VideoExtensionCommandParameterInfo { diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments.gen.cs index 2dd5ebbee3..8c6cdfff01 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments.gen.cs @@ -74,7 +74,7 @@ public ref VideoProcessInputStream this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments1.gen.cs index e6a45bec48..3c21e44f61 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessInputStreamArguments1.gen.cs @@ -80,7 +80,7 @@ public ref VideoProcessInputStream this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessOutputStreamArguments.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessOutputStreamArguments.gen.cs index 1f9a180ef1..37e0e106b6 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessOutputStreamArguments.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/VideoProcessOutputStreamArguments.gen.cs @@ -56,7 +56,7 @@ public ref VideoProcessOutputStream this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D9/D3D9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/D3D9.gen.cs index a2d0954f55..e277208d14 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/D3D9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/D3D9.gen.cs @@ -20,6 +20,12 @@ public unsafe partial class D3D9 : NativeAPI [NativeName("Name", "DIRECT3D_VERSION")] public const int Direct3DVersion = unchecked((int) 0x900); [NativeName("Type", "int")] + [NativeName("Name", "D3D_SDK_VERSION")] + public const int SdkVersion = unchecked((int) 0x20); + [NativeName("Type", "int")] + [NativeName("Name", "D3D9b_SDK_VERSION")] + public const int D3D9bSdkVersion = unchecked((int) 0x1F); + [NativeName("Type", "int")] [NativeName("Name", "D3DMAXUSERCLIPPLANES")] public const int Maxuserclipplanes = unchecked((int) 0x20); [NativeName("Type", "long")] @@ -1282,16 +1288,40 @@ public unsafe partial class D3D9 : NativeAPI [NativeName("Type", "long")] [NativeName("Name", "D3DCREATE_ADAPTERGROUP_DEVICE")] public const int CreateAdaptergroupDevice = unchecked((int) 0x200); + [NativeName("Type", "long")] + [NativeName("Name", "D3DCREATE_DISABLE_DRIVER_MANAGEMENT_EX")] + public const int CreateDisableDriverManagementEX = unchecked((int) 0x400); + [NativeName("Type", "long")] + [NativeName("Name", "D3DCREATE_NOWINDOWCHANGES")] + public const int CreateNowindowchanges = unchecked((int) 0x800); + [NativeName("Type", "long")] + [NativeName("Name", "D3DCREATE_DISABLE_PSGP_THREADING")] + public const int CreateDisablePsgpThreading = unchecked((int) 0x2000); + [NativeName("Type", "long")] + [NativeName("Name", "D3DCREATE_ENABLE_PRESENTSTATS")] + public const int CreateEnablePresentstats = unchecked((int) 0x4000); + [NativeName("Type", "long")] + [NativeName("Name", "D3DCREATE_DISABLE_PRINTSCREEN")] + public const int CreateDisablePrintscreen = unchecked((int) 0x8000); + [NativeName("Type", "long")] + [NativeName("Name", "D3DCREATE_SCREENSAVER")] + public const int CreateScreensaver = unchecked((int) 0x10000000); [NativeName("Type", "int")] [NativeName("Name", "D3DADAPTER_DEFAULT")] public const int AdapterDefault = unchecked((int) 0x0); [NativeName("Type", "long")] + [NativeName("Name", "D3DENUM_WHQL_LEVEL")] + public const int EnumWhqlLevel = unchecked((int) 0x2); + [NativeName("Type", "long")] [NativeName("Name", "D3DENUM_NO_DRIVERVERSION")] public const int EnumNoDriverversion = unchecked((int) 0x4); [NativeName("Type", "long")] [NativeName("Name", "D3DPRESENT_BACK_BUFFERS_MAX")] public const int PresentBackBuffersMax = unchecked((int) 0x3); [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_BACK_BUFFERS_MAX_EX")] + public const int PresentBackBuffersMaxEX = unchecked((int) 0x1E); + [NativeName("Type", "long")] [NativeName("Name", "D3DSGR_NO_CALIBRATION")] public const int SgrNoCalibration = unchecked((int) 0x0); [NativeName("Type", "long")] @@ -1306,15 +1336,111 @@ public unsafe partial class D3D9 : NativeAPI [NativeName("Type", "long")] [NativeName("Name", "D3DPRESENT_LINEAR_CONTENT")] public const int PresentLinearContent = unchecked((int) 0x2); + [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_DONOTFLIP")] + public const int PresentDonotflip = unchecked((int) 0x4); + [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_FLIPRESTART")] + public const int PresentFliprestart = unchecked((int) 0x8); + [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_VIDEO_RESTRICT_TO_MONITOR")] + public const int PresentVideoRestrictToMonitor = unchecked((int) 0x10); + [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_UPDATEOVERLAYONLY")] + public const int PresentUpdateoverlayonly = unchecked((int) 0x20); + [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_HIDEOVERLAY")] + public const int PresentHideoverlay = unchecked((int) 0x40); + [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_UPDATECOLORKEY")] + public const int PresentUpdatecolorkey = unchecked((int) 0x80); + [NativeName("Type", "long")] + [NativeName("Name", "D3DPRESENT_FORCEIMMEDIATE")] + public const int PresentForceimmediate = unchecked((int) 0x100); [NativeName("Type", "int")] [NativeName("Name", "_FACD3D")] public const int Facd3D = unchecked((int) 0x876); /// To be documented. - [NativeName("Src", "Line 220, Column 21 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um\\d3d9helper.h")] + [NativeName("Src", "Line 309, Column 21 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] [NativeApi(EntryPoint = "Direct3DCreate9")] public unsafe partial IDirect3D9* Direct3DCreate9(uint SDKVersion); + /// To be documented. + [NativeName("Src", "Line 315, Column 12 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_BeginEvent")] + public unsafe partial int PERFBeginEvent(uint col, char* wszName); + + /// To be documented. + [NativeName("Src", "Line 315, Column 12 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_BeginEvent")] + public partial int PERFBeginEvent(uint col, ref char wszName); + + /// To be documented. + [NativeName("Src", "Line 315, Column 12 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_BeginEvent")] + public partial int PERFBeginEvent(uint col, string wszName); + + /// To be documented. + [NativeName("Src", "Line 316, Column 12 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_EndEvent")] + public partial int PERFEndEvent(); + + /// To be documented. + [NativeName("Src", "Line 317, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_SetMarker")] + public unsafe partial void PERFSetMarker(uint col, char* wszName); + + /// To be documented. + [NativeName("Src", "Line 317, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_SetMarker")] + public partial void PERFSetMarker(uint col, ref char wszName); + + /// To be documented. + [NativeName("Src", "Line 317, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_SetMarker")] + public partial void PERFSetMarker(uint col, string wszName); + + /// To be documented. + [NativeName("Src", "Line 318, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_SetRegion")] + public unsafe partial void PERFSetRegion(uint col, char* wszName); + + /// To be documented. + [NativeName("Src", "Line 318, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_SetRegion")] + public partial void PERFSetRegion(uint col, ref char wszName); + + /// To be documented. + [NativeName("Src", "Line 318, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_SetRegion")] + public partial void PERFSetRegion(uint col, string wszName); + + /// To be documented. + [NativeName("Src", "Line 319, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_QueryRepeatFrame")] + public partial int PERFQueryRepeatFrame(); + + /// To be documented. + [NativeName("Src", "Line 321, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_SetOptions")] + public partial void PERFSetOptions(uint dwOptions); + + /// To be documented. + [NativeName("Src", "Line 322, Column 14 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "D3DPERF_GetStatus")] + public partial uint PERFGetStatus(); + + /// To be documented. + [NativeName("Src", "Line 2030, Column 16 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "Direct3DCreate9Ex")] + public unsafe partial int Direct3DCreate9Ex(uint SDKVersion, IDirect3D9Ex** arg1); + + /// To be documented. + [NativeName("Src", "Line 2030, Column 16 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + [NativeApi(EntryPoint = "Direct3DCreate9Ex")] + public unsafe partial int Direct3DCreate9Ex(uint SDKVersion, ref IDirect3D9Ex* arg1); + public D3D9(INativeContext ctx) : base(ctx) diff --git a/src/Microsoft/Silk.NET.Direct3D9/D3D9.h b/src/Microsoft/Silk.NET.Direct3D9/D3D9.h index d6b2fe2546..cd8eead229 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/D3D9.h +++ b/src/Microsoft/Silk.NET.Direct3D9/D3D9.h @@ -1,6 +1,6 @@ #include -#include +#include #include #include -#include -#include \ No newline at end of file +#include +#include \ No newline at end of file diff --git a/src/Microsoft/Silk.NET.Direct3D9/D3D9Overloads.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/D3D9Overloads.gen.cs new file mode 100644 index 0000000000..242f82bd95 --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/D3D9Overloads.gen.cs @@ -0,0 +1,45 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + public static class D3D9Overloads + { + /// To be documented. + [NativeName("Src", "Line 315, Column 12 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + public static unsafe int PERFBeginEvent(this D3D9 thisApi, uint col, Span wszName) + { + // SpanOverloader + return thisApi.PERFBeginEvent(col, ref wszName.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 317, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + public static unsafe void PERFSetMarker(this D3D9 thisApi, uint col, Span wszName) + { + // SpanOverloader + thisApi.PERFSetMarker(col, ref wszName.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 318, Column 13 in C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared\\d3d9.h")] + public static unsafe void PERFSetRegion(this D3D9 thisApi, uint col, Span wszName) + { + // SpanOverloader + thisApi.PERFSetRegion(col, ref wszName.GetPinnableReference()); + } + + } +} + diff --git a/src/Microsoft/Silk.NET.Direct3D9/Silk.NET.Direct3D9.csproj b/src/Microsoft/Silk.NET.Direct3D9/Silk.NET.Direct3D9.csproj index 26822e4a05..efcb4e96a1 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Silk.NET.Direct3D9.csproj +++ b/src/Microsoft/Silk.NET.Direct3D9/Silk.NET.Direct3D9.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 true preview diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlags.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlags.gen.cs index 6d7de9771a..09424808af 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlags.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlags.gen.cs @@ -59,11 +59,11 @@ public AuthenticatedchannelProtectionFlags [NativeName("Type.Name", "__AnonymousRecord_d3d9types_L2100_C5")] [NativeName("Name", "anonymous1")] public AuthenticatedchannelProtectionFlagsUnion Anonymous; -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public ref uint Value { [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Value; + get => ref MemoryMarshal.CreateSpan(ref Anonymous, 1)[0].Value; } #else public uint Value @@ -73,47 +73,23 @@ public uint Value } #endif -#if NETSTANDARD2_1 - public ref uint ProtectionEnabled - { - [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.ProtectionEnabled; - } -#else public uint ProtectionEnabled { get => Anonymous.ProtectionEnabled; set => Anonymous.ProtectionEnabled = value; } -#endif -#if NETSTANDARD2_1 - public ref uint OverlayOrFullscreenRequired - { - [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.OverlayOrFullscreenRequired; - } -#else public uint OverlayOrFullscreenRequired { get => Anonymous.OverlayOrFullscreenRequired; set => Anonymous.OverlayOrFullscreenRequired = value; } -#endif -#if NETSTANDARD2_1 - public ref uint Reserved - { - [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Reserved; - } -#else public uint Reserved { get => Anonymous.Reserved; set => Anonymous.Reserved = value; } -#endif } } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlagsUnion.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlagsUnion.gen.cs index 0cb234ac24..18b39a7394 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlagsUnion.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/AuthenticatedchannelProtectionFlagsUnion.gen.cs @@ -67,47 +67,23 @@ public AuthenticatedchannelProtectionFlagsUnion [NativeName("Type.Name", "UINT")] [NativeName("Name", "Value")] public uint Value; -#if NETSTANDARD2_1 - public ref uint ProtectionEnabled - { - [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.ProtectionEnabled; - } -#else public uint ProtectionEnabled { get => Anonymous.ProtectionEnabled; set => Anonymous.ProtectionEnabled = value; } -#endif -#if NETSTANDARD2_1 - public ref uint OverlayOrFullscreenRequired - { - [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.OverlayOrFullscreenRequired; - } -#else public uint OverlayOrFullscreenRequired { get => Anonymous.OverlayOrFullscreenRequired; set => Anonymous.OverlayOrFullscreenRequired = value; } -#endif -#if NETSTANDARD2_1 - public ref uint Reserved - { - [MethodImpl((MethodImplOptions) 768)] - get => ref Anonymous.Reserved; - } -#else public uint Reserved { get => Anonymous.Reserved; set => Anonymous.Reserved = value; } -#endif } } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/DevinfoResourcemanager.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/DevinfoResourcemanager.gen.cs index 55c0e39d5f..2f173144ff 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/DevinfoResourcemanager.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/DevinfoResourcemanager.gen.cs @@ -51,7 +51,7 @@ public ref Resourcestats this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 8); #endif diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs index 81e9365386..8c29ec2695 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs @@ -27,15 +27,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3D9 val) public IDirect3D9 ( - char* version = null, void** lpVtbl = null ) : this() { - if (version is not null) - { - Version = version; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -43,11 +37,6 @@ public IDirect3D9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Version")] - public char* Version; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] @@ -221,11 +210,11 @@ public readonly int GetAdapterDisplayMode(uint Adapter, ref Displaymode pMode) } /// To be documented. - public readonly int CheckDeviceType(uint iAdapter, Devtype DevType, Format DisplayFormat, Format BackBufferFormat, int bWindowed) + public readonly int CheckDeviceType(uint Adapter, Devtype DevType, Format AdapterFormat, Format BackBufferFormat, int bWindowed) { var @this = (IDirect3D9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, iAdapter, DevType, DisplayFormat, BackBufferFormat, bWindowed); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, Adapter, DevType, AdapterFormat, BackBufferFormat, bWindowed); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9Ex.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9Ex.gen.cs new file mode 100644 index 0000000000..0c0a9c8bf0 --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9Ex.gen.cs @@ -0,0 +1,597 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + [Guid("02177241-69fc-400c-8ff1-93a44df6861d")] + [NativeName("Name", "IDirect3D9Ex")] + public unsafe partial struct IDirect3D9Ex + { + public static readonly Guid Guid = new("02177241-69fc-400c-8ff1-93a44df6861d"); + + public static implicit operator IDirect3D9(IDirect3D9Ex val) + => Unsafe.As(ref val); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3D9Ex val) + => Unsafe.As(ref val); + + public IDirect3D9Ex + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int RegisterSoftwareDevice(void* pInitializeFunction) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pInitializeFunction); + return ret; + } + + /// To be documented. + public readonly int RegisterSoftwareDevice(ref T0 pInitializeFunction) where T0 : unmanaged + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pInitializeFunctionPtr = &pInitializeFunction) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pInitializeFunctionPtr); + } + return ret; + } + + /// To be documented. + public readonly uint GetAdapterCount() + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetAdapterIdentifier(uint Adapter, uint Flags, AdapterIdentifier9* pIdentifier) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Adapter, Flags, pIdentifier); + return ret; + } + + /// To be documented. + public readonly int GetAdapterIdentifier(uint Adapter, uint Flags, ref AdapterIdentifier9 pIdentifier) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (AdapterIdentifier9* pIdentifierPtr = &pIdentifier) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, Adapter, Flags, pIdentifierPtr); + } + return ret; + } + + /// To be documented. + public readonly uint GetAdapterModeCount(uint Adapter, Format Format) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, Adapter, Format); + return ret; + } + + /// To be documented. + public readonly unsafe int EnumAdapterModes(uint Adapter, Format Format, uint Mode, Displaymode* pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Adapter, Format, Mode, pMode); + return ret; + } + + /// To be documented. + public readonly int EnumAdapterModes(uint Adapter, Format Format, uint Mode, ref Displaymode pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymode* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, Adapter, Format, Mode, pModePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetAdapterDisplayMode(uint Adapter, Displaymode* pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, Adapter, pMode); + return ret; + } + + /// To be documented. + public readonly int GetAdapterDisplayMode(uint Adapter, ref Displaymode pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymode* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, Adapter, pModePtr); + } + return ret; + } + + /// To be documented. + public readonly int CheckDeviceType(uint Adapter, Devtype DevType, Format AdapterFormat, Format BackBufferFormat, int bWindowed) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, Adapter, DevType, AdapterFormat, BackBufferFormat, bWindowed); + return ret; + } + + /// To be documented. + public readonly int CheckDeviceFormat(uint Adapter, Devtype DeviceType, Format AdapterFormat, uint Usage, Resourcetype RType, Format CheckFormat) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, Adapter, DeviceType, AdapterFormat, Usage, RType, CheckFormat); + return ret; + } + + /// To be documented. + public readonly unsafe int CheckDeviceMultiSampleType(uint Adapter, Devtype DeviceType, Format SurfaceFormat, int Windowed, MultisampleType MultiSampleType, uint* pQualityLevels) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Adapter, DeviceType, SurfaceFormat, Windowed, MultiSampleType, pQualityLevels); + return ret; + } + + /// To be documented. + public readonly int CheckDeviceMultiSampleType(uint Adapter, Devtype DeviceType, Format SurfaceFormat, int Windowed, MultisampleType MultiSampleType, ref uint pQualityLevels) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pQualityLevelsPtr = &pQualityLevels) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Adapter, DeviceType, SurfaceFormat, Windowed, MultiSampleType, pQualityLevelsPtr); + } + return ret; + } + + /// To be documented. + public readonly int CheckDepthStencilMatch(uint Adapter, Devtype DeviceType, Format AdapterFormat, Format RenderTargetFormat, Format DepthStencilFormat) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[12])(@this, Adapter, DeviceType, AdapterFormat, RenderTargetFormat, DepthStencilFormat); + return ret; + } + + /// To be documented. + public readonly int CheckDeviceFormatConversion(uint Adapter, Devtype DeviceType, Format SourceFormat, Format TargetFormat) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, Adapter, DeviceType, SourceFormat, TargetFormat); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDeviceCaps(uint Adapter, Devtype DeviceType, Caps9* pCaps) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[14])(@this, Adapter, DeviceType, pCaps); + return ret; + } + + /// To be documented. + public readonly int GetDeviceCaps(uint Adapter, Devtype DeviceType, ref Caps9 pCaps) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Caps9* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[14])(@this, Adapter, DeviceType, pCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly nint GetAdapterMonitor(uint Adapter) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + nint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, Adapter); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, IDirect3DDevice9** ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, ppReturnedDeviceInterface); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, ref IDirect3DDevice9* ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DDevice9** ppReturnedDeviceInterfacePtr = &ppReturnedDeviceInterface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, ppReturnedDeviceInterfacePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, IDirect3DDevice9** ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, ppReturnedDeviceInterface); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, ref IDirect3DDevice9* ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + fixed (IDirect3DDevice9** ppReturnedDeviceInterfacePtr = &ppReturnedDeviceInterface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, ppReturnedDeviceInterfacePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe uint GetAdapterModeCountEx(uint Adapter, Displaymodefilter* pFilter) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[17])(@this, Adapter, pFilter); + return ret; + } + + /// To be documented. + public readonly uint GetAdapterModeCountEx(uint Adapter, ref Displaymodefilter pFilter) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + fixed (Displaymodefilter* pFilterPtr = &pFilter) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[17])(@this, Adapter, pFilterPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int EnumAdapterModesEx(uint Adapter, Displaymodefilter* pFilter, uint Mode, Displaymodeex* pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, Adapter, pFilter, Mode, pMode); + return ret; + } + + /// To be documented. + public readonly unsafe int EnumAdapterModesEx(uint Adapter, Displaymodefilter* pFilter, uint Mode, ref Displaymodeex pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, Adapter, pFilter, Mode, pModePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int EnumAdapterModesEx(uint Adapter, ref Displaymodefilter pFilter, uint Mode, Displaymodeex* pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodefilter* pFilterPtr = &pFilter) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, Adapter, pFilterPtr, Mode, pMode); + } + return ret; + } + + /// To be documented. + public readonly int EnumAdapterModesEx(uint Adapter, ref Displaymodefilter pFilter, uint Mode, ref Displaymodeex pMode) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodefilter* pFilterPtr = &pFilter) + { + fixed (Displaymodeex* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, Adapter, pFilterPtr, Mode, pModePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetAdapterDisplayModeEx(uint Adapter, Displaymodeex* pMode, Displayrotation* pRotation) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[19])(@this, Adapter, pMode, pRotation); + return ret; + } + + /// To be documented. + public readonly unsafe int GetAdapterDisplayModeEx(uint Adapter, Displaymodeex* pMode, ref Displayrotation pRotation) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displayrotation* pRotationPtr = &pRotation) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[19])(@this, Adapter, pMode, pRotationPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetAdapterDisplayModeEx(uint Adapter, ref Displaymodeex pMode, Displayrotation* pRotation) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[19])(@this, Adapter, pModePtr, pRotation); + } + return ret; + } + + /// To be documented. + public readonly int GetAdapterDisplayModeEx(uint Adapter, ref Displaymodeex pMode, ref Displayrotation pRotation) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pModePtr = &pMode) + { + fixed (Displayrotation* pRotationPtr = &pRotation) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[19])(@this, Adapter, pModePtr, pRotationPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, Displaymodeex* pFullscreenDisplayMode, IDirect3DDevice9Ex** ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, pFullscreenDisplayMode, ppReturnedDeviceInterface); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, Displaymodeex* pFullscreenDisplayMode, ref IDirect3DDevice9Ex* ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DDevice9Ex** ppReturnedDeviceInterfacePtr = &ppReturnedDeviceInterface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, pFullscreenDisplayMode, ppReturnedDeviceInterfacePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, ref Displaymodeex pFullscreenDisplayMode, IDirect3DDevice9Ex** ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pFullscreenDisplayModePtr = &pFullscreenDisplayMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, pFullscreenDisplayModePtr, ppReturnedDeviceInterface); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, ref Displaymodeex pFullscreenDisplayMode, ref IDirect3DDevice9Ex* ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pFullscreenDisplayModePtr = &pFullscreenDisplayMode) + { + fixed (IDirect3DDevice9Ex** ppReturnedDeviceInterfacePtr = &ppReturnedDeviceInterface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, pFullscreenDisplayModePtr, ppReturnedDeviceInterfacePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, Displaymodeex* pFullscreenDisplayMode, IDirect3DDevice9Ex** ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, pFullscreenDisplayMode, ppReturnedDeviceInterface); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, Displaymodeex* pFullscreenDisplayMode, ref IDirect3DDevice9Ex* ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + fixed (IDirect3DDevice9Ex** ppReturnedDeviceInterfacePtr = &ppReturnedDeviceInterface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, pFullscreenDisplayMode, ppReturnedDeviceInterfacePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, ref Displaymodeex pFullscreenDisplayMode, IDirect3DDevice9Ex** ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + fixed (Displaymodeex* pFullscreenDisplayModePtr = &pFullscreenDisplayMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, pFullscreenDisplayModePtr, ppReturnedDeviceInterface); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDeviceEx(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, ref Displaymodeex pFullscreenDisplayMode, ref IDirect3DDevice9Ex* ppReturnedDeviceInterface) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + fixed (Displaymodeex* pFullscreenDisplayModePtr = &pFullscreenDisplayMode) + { + fixed (IDirect3DDevice9Ex** ppReturnedDeviceInterfacePtr = &ppReturnedDeviceInterface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, pFullscreenDisplayModePtr, ppReturnedDeviceInterfacePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetAdapterLUID(uint Adapter, Luid* pLUID) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, Adapter, pLUID); + return ret; + } + + /// To be documented. + public readonly int GetAdapterLUID(uint Adapter, ref Luid pLUID) + { + var @this = (IDirect3D9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Luid* pLUIDPtr = &pLUID) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, Adapter, pLUIDPtr); + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9ExOverlayExtension.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9ExOverlayExtension.gen.cs new file mode 100644 index 0000000000..2ccb8d5c3a --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9ExOverlayExtension.gen.cs @@ -0,0 +1,159 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + [Guid("187aeb13-aaf5-4c59-876d-e059088c0df8")] + [NativeName("Name", "IDirect3D9ExOverlayExtension")] + public unsafe partial struct IDirect3D9ExOverlayExtension + { + public static readonly Guid Guid = new("187aeb13-aaf5-4c59-876d-e059088c0df8"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3D9ExOverlayExtension val) + => Unsafe.As(ref val); + + public IDirect3D9ExOverlayExtension + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int CheckDeviceOverlayType(uint Adapter, Devtype DevType, uint OverlayWidth, uint OverlayHeight, Format OverlayFormat, Displaymodeex* pDisplayMode, Displayrotation DisplayRotation, Overlaycaps* pOverlayCaps) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Adapter, DevType, OverlayWidth, OverlayHeight, OverlayFormat, pDisplayMode, DisplayRotation, pOverlayCaps); + return ret; + } + + /// To be documented. + public readonly unsafe int CheckDeviceOverlayType(uint Adapter, Devtype DevType, uint OverlayWidth, uint OverlayHeight, Format OverlayFormat, Displaymodeex* pDisplayMode, Displayrotation DisplayRotation, ref Overlaycaps pOverlayCaps) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Overlaycaps* pOverlayCapsPtr = &pOverlayCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Adapter, DevType, OverlayWidth, OverlayHeight, OverlayFormat, pDisplayMode, DisplayRotation, pOverlayCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CheckDeviceOverlayType(uint Adapter, Devtype DevType, uint OverlayWidth, uint OverlayHeight, Format OverlayFormat, ref Displaymodeex pDisplayMode, Displayrotation DisplayRotation, Overlaycaps* pOverlayCaps) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pDisplayModePtr = &pDisplayMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Adapter, DevType, OverlayWidth, OverlayHeight, OverlayFormat, pDisplayModePtr, DisplayRotation, pOverlayCaps); + } + return ret; + } + + /// To be documented. + public readonly int CheckDeviceOverlayType(uint Adapter, Devtype DevType, uint OverlayWidth, uint OverlayHeight, Format OverlayFormat, ref Displaymodeex pDisplayMode, Displayrotation DisplayRotation, ref Overlaycaps pOverlayCaps) + { + var @this = (IDirect3D9ExOverlayExtension*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pDisplayModePtr = &pDisplayMode) + { + fixed (Overlaycaps* pOverlayCapsPtr = &pOverlayCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, Adapter, DevType, OverlayWidth, OverlayHeight, OverlayFormat, pDisplayModePtr, DisplayRotation, pOverlayCapsPtr); + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DAuthenticatedChannel9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DAuthenticatedChannel9.gen.cs new file mode 100644 index 0000000000..5e7c3939c4 --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DAuthenticatedChannel9.gen.cs @@ -0,0 +1,281 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + [Guid("ff24beee-da21-4beb-98b5-d2f899f98af9")] + [NativeName("Name", "IDirect3DAuthenticatedChannel9")] + public unsafe partial struct IDirect3DAuthenticatedChannel9 + { + public static readonly Guid Guid = new("ff24beee-da21-4beb-98b5-d2f899f98af9"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DAuthenticatedChannel9 val) + => Unsafe.As(ref val); + + public IDirect3DAuthenticatedChannel9 + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetCertificateSize(uint* pCertificateSize) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCertificateSize); + return ret; + } + + /// To be documented. + public readonly int GetCertificateSize(ref uint pCertificateSize) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCertificateSizePtr = &pCertificateSize) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCertificateSizePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCertificate(uint CertifacteSize, byte* ppCertificate) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, CertifacteSize, ppCertificate); + return ret; + } + + /// To be documented. + public readonly int GetCertificate(uint CertifacteSize, ref byte ppCertificate) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (byte* ppCertificatePtr = &ppCertificate) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, CertifacteSize, ppCertificatePtr); + } + return ret; + } + + /// To be documented. + public readonly int GetCertificate(uint CertifacteSize, string ppCertificate) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + var ppCertificatePtr = (byte*) Marshal.StringToHGlobalAnsi(ppCertificate); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, CertifacteSize, ppCertificatePtr); + Marshal.FreeHGlobal((nint)ppCertificatePtr); + return ret; + } + + /// To be documented. + public readonly unsafe int NegotiateKeyExchange(uint DataSize, void* pData) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, DataSize, pData); + return ret; + } + + /// To be documented. + public readonly int NegotiateKeyExchange(uint DataSize, ref T0 pData) where T0 : unmanaged + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pDataPtr = &pData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, DataSize, pDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Query(uint InputSize, void* pInput, uint OutputSize, void* pOutput) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, InputSize, pInput, OutputSize, pOutput); + return ret; + } + + /// To be documented. + public readonly unsafe int Query(uint InputSize, void* pInput, uint OutputSize, ref T0 pOutput) where T0 : unmanaged + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pOutputPtr = &pOutput) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, InputSize, pInput, OutputSize, pOutputPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Query(uint InputSize, ref T0 pInput, uint OutputSize, void* pOutput) where T0 : unmanaged + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pInputPtr = &pInput) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, InputSize, pInputPtr, OutputSize, pOutput); + } + return ret; + } + + /// To be documented. + public readonly int Query(uint InputSize, ref T0 pInput, uint OutputSize, ref T1 pOutput) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pInputPtr = &pInput) + { + fixed (T1* pOutputPtr = &pOutput) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, InputSize, pInputPtr, OutputSize, pOutputPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int Configure(uint InputSize, void* pInput, AuthenticatedchannelConfigureOutput* pOutput) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, InputSize, pInput, pOutput); + return ret; + } + + /// To be documented. + public readonly unsafe int Configure(uint InputSize, void* pInput, ref AuthenticatedchannelConfigureOutput pOutput) + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (AuthenticatedchannelConfigureOutput* pOutputPtr = &pOutput) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, InputSize, pInput, pOutputPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Configure(uint InputSize, ref T0 pInput, AuthenticatedchannelConfigureOutput* pOutput) where T0 : unmanaged + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pInputPtr = &pInput) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, InputSize, pInputPtr, pOutput); + } + return ret; + } + + /// To be documented. + public readonly int Configure(uint InputSize, ref T0 pInput, ref AuthenticatedchannelConfigureOutput pOutput) where T0 : unmanaged + { + var @this = (IDirect3DAuthenticatedChannel9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pInputPtr = &pInput) + { + fixed (AuthenticatedchannelConfigureOutput* pOutputPtr = &pOutput) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, InputSize, pInputPtr, pOutputPtr); + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DCryptoSession9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DCryptoSession9.gen.cs new file mode 100644 index 0000000000..b366fd9628 --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DCryptoSession9.gen.cs @@ -0,0 +1,920 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + [Guid("fa0ab799-7a9c-48ca-8c5b-237e71a54434")] + [NativeName("Name", "IDirect3DCryptoSession9")] + public unsafe partial struct IDirect3DCryptoSession9 + { + public static readonly Guid Guid = new("fa0ab799-7a9c-48ca-8c5b-237e71a54434"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DCryptoSession9 val) + => Unsafe.As(ref val); + + public IDirect3DCryptoSession9 + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetCertificateSize(uint* pCertificateSize) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCertificateSize); + return ret; + } + + /// To be documented. + public readonly int GetCertificateSize(ref uint pCertificateSize) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pCertificateSizePtr = &pCertificateSize) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCertificateSizePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCertificate(uint CertifacteSize, byte* ppCertificate) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, CertifacteSize, ppCertificate); + return ret; + } + + /// To be documented. + public readonly int GetCertificate(uint CertifacteSize, ref byte ppCertificate) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (byte* ppCertificatePtr = &ppCertificate) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, CertifacteSize, ppCertificatePtr); + } + return ret; + } + + /// To be documented. + public readonly int GetCertificate(uint CertifacteSize, string ppCertificate) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + var ppCertificatePtr = (byte*) Marshal.StringToHGlobalAnsi(ppCertificate); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, CertifacteSize, ppCertificatePtr); + Marshal.FreeHGlobal((nint)ppCertificatePtr); + return ret; + } + + /// To be documented. + public readonly unsafe int NegotiateKeyExchange(uint DataSize, void* pData) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, DataSize, pData); + return ret; + } + + /// To be documented. + public readonly int NegotiateKeyExchange(uint DataSize, ref T0 pData) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pDataPtr = &pData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, DataSize, pDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int EncryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint DstSurfaceSize, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurface, pDstSurface, DstSurfaceSize, pIV); + return ret; + } + + /// To be documented. + public readonly unsafe int EncryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint DstSurfaceSize, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurface, pDstSurface, DstSurfaceSize, pIVPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int EncryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint DstSurfaceSize, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurface, pDstSurfacePtr, DstSurfaceSize, pIV); + } + return ret; + } + + /// To be documented. + public readonly unsafe int EncryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint DstSurfaceSize, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurface, pDstSurfacePtr, DstSurfaceSize, pIVPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int EncryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint DstSurfaceSize, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurfacePtr, pDstSurface, DstSurfaceSize, pIV); + } + return ret; + } + + /// To be documented. + public readonly unsafe int EncryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint DstSurfaceSize, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurfacePtr, pDstSurface, DstSurfaceSize, pIVPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int EncryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint DstSurfaceSize, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurfacePtr, pDstSurfacePtr, DstSurfaceSize, pIV); + } + } + return ret; + } + + /// To be documented. + public readonly int EncryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint DstSurfaceSize, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSrcSurfacePtr, pDstSurfacePtr, DstSurfaceSize, pIVPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIV); + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIVPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIV); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIVPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIV); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIVPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIV); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIVPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIV); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIVPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIV); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIVPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIV); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIVPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIV); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(IDirect3DSurface9* pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurface, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIVPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIV); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIVPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIV); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIVPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIV); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIVPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIV); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, IDirect3DSurface9* pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurface, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIVPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIV); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKey, pIVPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIV); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, EncryptedBlockInfo* pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfo, pContentKeyPtr, pIVPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, void* pIV) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIV); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, void* pContentKey, ref T0 pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKey, pIVPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, void* pIV) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIV); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly int DecryptionBlt(ref IDirect3DSurface9 pSrcSurface, ref IDirect3DSurface9 pDstSurface, uint SrcSurfaceSize, ref EncryptedBlockInfo pEncryptedBlockInfo, ref T0 pContentKey, ref T1 pIV) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (IDirect3DSurface9* pDstSurfacePtr = &pDstSurface) + { + fixed (EncryptedBlockInfo* pEncryptedBlockInfoPtr = &pEncryptedBlockInfo) + { + fixed (T0* pContentKeyPtr = &pContentKey) + { + fixed (T1* pIVPtr = &pIV) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pSrcSurfacePtr, pDstSurfacePtr, SrcSurfaceSize, pEncryptedBlockInfoPtr, pContentKeyPtr, pIVPtr); + } + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetSurfacePitch(IDirect3DSurface9* pSrcSurface, uint* pSurfacePitch) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcSurface, pSurfacePitch); + return ret; + } + + /// To be documented. + public readonly unsafe int GetSurfacePitch(IDirect3DSurface9* pSrcSurface, ref uint pSurfacePitch) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pSurfacePitchPtr = &pSurfacePitch) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcSurface, pSurfacePitchPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetSurfacePitch(ref IDirect3DSurface9 pSrcSurface, uint* pSurfacePitch) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcSurfacePtr, pSurfacePitch); + } + return ret; + } + + /// To be documented. + public readonly int GetSurfacePitch(ref IDirect3DSurface9 pSrcSurface, ref uint pSurfacePitch) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcSurfacePtr = &pSrcSurface) + { + fixed (uint* pSurfacePitchPtr = &pSurfacePitch) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcSurfacePtr, pSurfacePitchPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StartSessionKeyRefresh(void* pRandomNumber, uint RandomNumberSize) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pRandomNumber, RandomNumberSize); + return ret; + } + + /// To be documented. + public readonly int StartSessionKeyRefresh(ref T0 pRandomNumber, uint RandomNumberSize) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pRandomNumberPtr = &pRandomNumber) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pRandomNumberPtr, RandomNumberSize); + } + return ret; + } + + /// To be documented. + public readonly int FinishSessionKeyRefresh() + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetEncryptionBltKey(void* pReadbackKey, uint KeySize) + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, pReadbackKey, KeySize); + return ret; + } + + /// To be documented. + public readonly int GetEncryptionBltKey(ref T0 pReadbackKey, uint KeySize) where T0 : unmanaged + { + var @this = (IDirect3DCryptoSession9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pReadbackKeyPtr = &pReadbackKey) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, pReadbackKeyPtr, KeySize); + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DCubeTexture9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DCubeTexture9.gen.cs index f1059a510c..c3ae3be8e4 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DCubeTexture9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DCubeTexture9.gen.cs @@ -33,75 +33,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DCubeTextu public IDirect3DCubeTexture9 ( - char* name = null, - uint? width = null, - uint? height = null, - uint? levels = null, - uint? usage = null, - Format? format = null, - Pool? pool = null, - uint? priority = null, - uint? lOD = null, - Texturefiltertype? filterType = null, - uint? lockCount = null, void** lpVtbl = null ) : this() { - if (name is not null) - { - Name = name; - } - - if (width is not null) - { - Width = width.Value; - } - - if (height is not null) - { - Height = height.Value; - } - - if (levels is not null) - { - Levels = levels.Value; - } - - if (usage is not null) - { - Usage = usage.Value; - } - - if (format is not null) - { - Format = format.Value; - } - - if (pool is not null) - { - Pool = pool.Value; - } - - if (priority is not null) - { - Priority = priority.Value; - } - - if (lOD is not null) - { - LOD = lOD.Value; - } - - if (filterType is not null) - { - FilterType = filterType.Value; - } - - if (lockCount is not null) - { - LockCount = lockCount.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -109,61 +43,6 @@ public IDirect3DCubeTexture9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Name")] - public char* Name; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Width")] - public uint Width; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Height")] - public uint Height; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Levels")] - public uint Levels; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Usage")] - public uint Usage; - - [NativeName("Type", "D3DFORMAT")] - [NativeName("Type.Name", "D3DFORMAT")] - [NativeName("Name", "Format")] - public Format Format; - - [NativeName("Type", "D3DPOOL")] - [NativeName("Type.Name", "D3DPOOL")] - [NativeName("Name", "Pool")] - public Pool Pool; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Priority")] - public uint Priority; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "LOD")] - public uint LOD; - - [NativeName("Type", "D3DTEXTUREFILTERTYPE")] - [NativeName("Type.Name", "D3DTEXTUREFILTERTYPE")] - [NativeName("Name", "FilterType")] - public Texturefiltertype FilterType; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "LockCount")] - public uint LockCount; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs index 41057afbdf..5df967ff6b 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs @@ -27,153 +27,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DDevice9 v public IDirect3DDevice9 ( - DeviceCreationParameters? creationParameters = null, - PresentParameters? presentParameters = null, - Displaymode? displayMode = null, - Caps9? caps = null, - uint? availableTextureMem = null, - uint? swapChains = null, - uint? textures = null, - uint? vertexBuffers = null, - uint? indexBuffers = null, - uint? vertexShaders = null, - uint? pixelShaders = null, - Viewport9? viewport = null, - System.Numerics.Matrix4x4? projectionMatrix = null, - System.Numerics.Matrix4x4? viewMatrix = null, - System.Numerics.Matrix4x4? worldMatrix = null, - uint? fVF = null, - uint? vertexSize = null, - uint? vertexShaderVersion = null, - uint? pixelShaderVersion = null, - int? softwareVertexProcessing = null, - Material9? material = null, - Gammaramp? gammaRamp = null, - Silk.NET.Maths.Rectangle? scissorRect = null, - int? dialogBoxMode = null, void** lpVtbl = null ) : this() { - if (creationParameters is not null) - { - CreationParameters = creationParameters.Value; - } - - if (presentParameters is not null) - { - PresentParameters = presentParameters.Value; - } - - if (displayMode is not null) - { - DisplayMode = displayMode.Value; - } - - if (caps is not null) - { - Caps = caps.Value; - } - - if (availableTextureMem is not null) - { - AvailableTextureMem = availableTextureMem.Value; - } - - if (swapChains is not null) - { - SwapChains = swapChains.Value; - } - - if (textures is not null) - { - Textures = textures.Value; - } - - if (vertexBuffers is not null) - { - VertexBuffers = vertexBuffers.Value; - } - - if (indexBuffers is not null) - { - IndexBuffers = indexBuffers.Value; - } - - if (vertexShaders is not null) - { - VertexShaders = vertexShaders.Value; - } - - if (pixelShaders is not null) - { - PixelShaders = pixelShaders.Value; - } - - if (viewport is not null) - { - Viewport = viewport.Value; - } - - if (projectionMatrix is not null) - { - ProjectionMatrix = projectionMatrix.Value; - } - - if (viewMatrix is not null) - { - ViewMatrix = viewMatrix.Value; - } - - if (worldMatrix is not null) - { - WorldMatrix = worldMatrix.Value; - } - - if (fVF is not null) - { - FVF = fVF.Value; - } - - if (vertexSize is not null) - { - VertexSize = vertexSize.Value; - } - - if (vertexShaderVersion is not null) - { - VertexShaderVersion = vertexShaderVersion.Value; - } - - if (pixelShaderVersion is not null) - { - PixelShaderVersion = pixelShaderVersion.Value; - } - - if (softwareVertexProcessing is not null) - { - SoftwareVertexProcessing = softwareVertexProcessing.Value; - } - - if (material is not null) - { - Material = material.Value; - } - - if (gammaRamp is not null) - { - GammaRamp = gammaRamp.Value; - } - - if (scissorRect is not null) - { - ScissorRect = scissorRect.Value; - } - - if (dialogBoxMode is not null) - { - DialogBoxMode = dialogBoxMode.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -181,214 +37,6 @@ public IDirect3DDevice9 } - [NativeName("Type", "D3DDEVICE_CREATION_PARAMETERS")] - [NativeName("Type.Name", "D3DDEVICE_CREATION_PARAMETERS")] - [NativeName("Name", "CreationParameters")] - public DeviceCreationParameters CreationParameters; - - [NativeName("Type", "D3DPRESENT_PARAMETERS")] - [NativeName("Type.Name", "D3DPRESENT_PARAMETERS")] - [NativeName("Name", "PresentParameters")] - public PresentParameters PresentParameters; - - [NativeName("Type", "D3DDISPLAYMODE")] - [NativeName("Type.Name", "D3DDISPLAYMODE")] - [NativeName("Name", "DisplayMode")] - public Displaymode DisplayMode; - - [NativeName("Type", "D3DCAPS9")] - [NativeName("Type.Name", "D3DCAPS9")] - [NativeName("Name", "Caps")] - public Caps9 Caps; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "AvailableTextureMem")] - public uint AvailableTextureMem; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "SwapChains")] - public uint SwapChains; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Textures")] - public uint Textures; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "VertexBuffers")] - public uint VertexBuffers; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "IndexBuffers")] - public uint IndexBuffers; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "VertexShaders")] - public uint VertexShaders; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "PixelShaders")] - public uint PixelShaders; - - [NativeName("Type", "D3DVIEWPORT9")] - [NativeName("Type.Name", "D3DVIEWPORT9")] - [NativeName("Name", "Viewport")] - public Viewport9 Viewport; - - [NativeName("Type", "D3DMATRIX")] - [NativeName("Type.Name", "D3DMATRIX")] - [NativeName("Name", "ProjectionMatrix")] - public System.Numerics.Matrix4x4 ProjectionMatrix; - - [NativeName("Type", "D3DMATRIX")] - [NativeName("Type.Name", "D3DMATRIX")] - [NativeName("Name", "ViewMatrix")] - public System.Numerics.Matrix4x4 ViewMatrix; - - [NativeName("Type", "D3DMATRIX")] - [NativeName("Type.Name", "D3DMATRIX")] - [NativeName("Name", "WorldMatrix")] - public System.Numerics.Matrix4x4 WorldMatrix; - - [NativeName("Type", "D3DMATRIX [8]")] - [NativeName("Type.Name", "D3DMATRIX [8]")] - [NativeName("Name", "TextureMatrices")] - public TextureMatricesBuffer TextureMatrices; - - public struct TextureMatricesBuffer - { - public System.Numerics.Matrix4x4 Element0; - public System.Numerics.Matrix4x4 Element1; - public System.Numerics.Matrix4x4 Element2; - public System.Numerics.Matrix4x4 Element3; - public System.Numerics.Matrix4x4 Element4; - public System.Numerics.Matrix4x4 Element5; - public System.Numerics.Matrix4x4 Element6; - public System.Numerics.Matrix4x4 Element7; - public ref System.Numerics.Matrix4x4 this[int index] - { - get - { - if (index > 7 || index < 0) - { - throw new ArgumentOutOfRangeException(nameof(index)); - } - - fixed (System.Numerics.Matrix4x4* ptr = &Element0) - { - return ref ptr[index]; - } - } - } - -#if NETSTANDARD2_1 - public Span AsSpan() - => MemoryMarshal.CreateSpan(ref Element0, 8); -#endif - } - - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "FVF")] - public uint FVF; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "VertexSize")] - public uint VertexSize; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "VertexShaderVersion")] - public uint VertexShaderVersion; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "PixelShaderVersion")] - public uint PixelShaderVersion; - - [NativeName("Type", "BOOL")] - [NativeName("Type.Name", "BOOL")] - [NativeName("Name", "SoftwareVertexProcessing")] - public int SoftwareVertexProcessing; - - [NativeName("Type", "D3DMATERIAL9")] - [NativeName("Type.Name", "D3DMATERIAL9")] - [NativeName("Name", "Material")] - public Material9 Material; - - [NativeName("Type", "D3DLIGHT9 [16]")] - [NativeName("Type.Name", "D3DLIGHT9 [16]")] - [NativeName("Name", "Lights")] - public LightsBuffer Lights; - - public struct LightsBuffer - { - public Light9 Element0; - public Light9 Element1; - public Light9 Element2; - public Light9 Element3; - public Light9 Element4; - public Light9 Element5; - public Light9 Element6; - public Light9 Element7; - public Light9 Element8; - public Light9 Element9; - public Light9 Element10; - public Light9 Element11; - public Light9 Element12; - public Light9 Element13; - public Light9 Element14; - public Light9 Element15; - public ref Light9 this[int index] - { - get - { - if (index > 15 || index < 0) - { - throw new ArgumentOutOfRangeException(nameof(index)); - } - - fixed (Light9* ptr = &Element0) - { - return ref ptr[index]; - } - } - } - -#if NETSTANDARD2_1 - public Span AsSpan() - => MemoryMarshal.CreateSpan(ref Element0, 16); -#endif - } - - [NativeName("Type", "BOOL [16]")] - [NativeName("Type.Name", "BOOL [16]")] - [NativeName("Name", "LightsEnabled")] - public fixed int LightsEnabled[16]; - - [NativeName("Type", "D3DGAMMARAMP")] - [NativeName("Type.Name", "D3DGAMMARAMP")] - [NativeName("Name", "GammaRamp")] - public Gammaramp GammaRamp; - - [NativeName("Type", "RECT")] - [NativeName("Type.Name", "RECT")] - [NativeName("Name", "ScissorRect")] - public Silk.NET.Maths.Rectangle ScissorRect; - - [NativeName("Type", "BOOL")] - [NativeName("Type.Name", "BOOL")] - [NativeName("Name", "DialogBoxMode")] - public int DialogBoxMode; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] @@ -3201,67 +2849,67 @@ public readonly int SetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, uint* OffsetInBytes, uint* pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, uint* pOffsetInBytes, uint* pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, OffsetInBytes, pStride); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytes, pStride); return ret; } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, uint* OffsetInBytes, ref uint pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, uint* pOffsetInBytes, ref uint pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pStridePtr = &pStride) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, OffsetInBytes, pStridePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytes, pStridePtr); } return ret; } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, ref uint OffsetInBytes, uint* pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, ref uint pOffsetInBytes, uint* pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (uint* OffsetInBytesPtr = &OffsetInBytes) + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, OffsetInBytesPtr, pStride); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytesPtr, pStride); } return ret; } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, ref uint OffsetInBytes, ref uint pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, ref uint pOffsetInBytes, ref uint pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (uint* OffsetInBytesPtr = &OffsetInBytes) + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) { fixed (uint* pStridePtr = &pStride) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, OffsetInBytesPtr, pStridePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytesPtr, pStridePtr); } } return ret; } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, uint* OffsetInBytes, uint* pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, uint* pOffsetInBytes, uint* pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDirect3DVertexBuffer9** ppStreamDataPtr = &ppStreamData) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, OffsetInBytes, pStride); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytes, pStride); } return ret; } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, uint* OffsetInBytes, ref uint pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, uint* pOffsetInBytes, ref uint pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -3269,39 +2917,39 @@ public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVerte { fixed (uint* pStridePtr = &pStride) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, OffsetInBytes, pStridePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytes, pStridePtr); } } return ret; } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, ref uint OffsetInBytes, uint* pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, ref uint pOffsetInBytes, uint* pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDirect3DVertexBuffer9** ppStreamDataPtr = &ppStreamData) { - fixed (uint* OffsetInBytesPtr = &OffsetInBytes) + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, OffsetInBytesPtr, pStride); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytesPtr, pStride); } } return ret; } /// To be documented. - public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, ref uint OffsetInBytes, ref uint pStride) + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, ref uint pOffsetInBytes, ref uint pStride) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDirect3DVertexBuffer9** ppStreamDataPtr = &ppStreamData) { - fixed (uint* OffsetInBytesPtr = &OffsetInBytes) + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) { fixed (uint* pStridePtr = &pStride) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, OffsetInBytesPtr, pStridePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytesPtr, pStridePtr); } } } @@ -3309,31 +2957,31 @@ public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVerte } /// To be documented. - public readonly int SetStreamSourceFreq(uint StreamNumber, uint Divider) + public readonly int SetStreamSourceFreq(uint StreamNumber, uint Setting) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[102])(@this, StreamNumber, Divider); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[102])(@this, StreamNumber, Setting); return ret; } /// To be documented. - public readonly unsafe int GetStreamSourceFreq(uint StreamNumber, uint* Divider) + public readonly unsafe int GetStreamSourceFreq(uint StreamNumber, uint* pSetting) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[103])(@this, StreamNumber, Divider); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[103])(@this, StreamNumber, pSetting); return ret; } /// To be documented. - public readonly int GetStreamSourceFreq(uint StreamNumber, ref uint Divider) + public readonly int GetStreamSourceFreq(uint StreamNumber, ref uint pSetting) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (uint* DividerPtr = &Divider) + fixed (uint* pSettingPtr = &pSetting) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[103])(@this, StreamNumber, DividerPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[103])(@this, StreamNumber, pSettingPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9Ex.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9Ex.gen.cs new file mode 100644 index 0000000000..6b62716de7 --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9Ex.gen.cs @@ -0,0 +1,4112 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + [Guid("b18b10ce-2649-405a-870f-95f777d4313a")] + [NativeName("Name", "IDirect3DDevice9Ex")] + public unsafe partial struct IDirect3DDevice9Ex + { + public static readonly Guid Guid = new("b18b10ce-2649-405a-870f-95f777d4313a"); + + public static implicit operator IDirect3DDevice9(IDirect3DDevice9Ex val) + => Unsafe.As(ref val); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DDevice9Ex val) + => Unsafe.As(ref val); + + public IDirect3DDevice9Ex + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly int TestCooperativeLevel() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this); + return ret; + } + + /// To be documented. + public readonly uint GetAvailableTextureMem() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this); + return ret; + } + + /// To be documented. + public readonly int EvictManagedResources() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDirect3D(IDirect3D9** ppD3D9) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, ppD3D9); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDirect3D(ref IDirect3D9* ppD3D9) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3D9** ppD3D9Ptr = &ppD3D9) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, ppD3D9Ptr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDeviceCaps(Caps9* pCaps) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pCaps); + return ret; + } + + /// To be documented. + public readonly int GetDeviceCaps(ref Caps9 pCaps) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Caps9* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayMode(uint iSwapChain, Displaymode* pMode) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, iSwapChain, pMode); + return ret; + } + + /// To be documented. + public readonly int GetDisplayMode(uint iSwapChain, ref Displaymode pMode) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymode* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, iSwapChain, pModePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetCreationParameters(DeviceCreationParameters* pParameters) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pParameters); + return ret; + } + + /// To be documented. + public readonly int GetCreationParameters(ref DeviceCreationParameters pParameters) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (DeviceCreationParameters* pParametersPtr = &pParameters) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pParametersPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetCursorProperties(uint XHotSpot, uint YHotSpot, IDirect3DSurface9* pCursorBitmap) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, XHotSpot, YHotSpot, pCursorBitmap); + return ret; + } + + /// To be documented. + public readonly int SetCursorProperties(uint XHotSpot, uint YHotSpot, ref IDirect3DSurface9 pCursorBitmap) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pCursorBitmapPtr = &pCursorBitmap) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, XHotSpot, YHotSpot, pCursorBitmapPtr); + } + return ret; + } + + /// To be documented. + public readonly void SetCursorPosition(int X, int Y, uint Flags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, X, Y, Flags); + } + + /// To be documented. + public readonly int ShowCursor(int bShow) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[12])(@this, bShow); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAdditionalSwapChain(PresentParameters* pPresentationParameters, IDirect3DSwapChain9** pSwapChain) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pPresentationParameters, pSwapChain); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAdditionalSwapChain(PresentParameters* pPresentationParameters, ref IDirect3DSwapChain9* pSwapChain) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSwapChain9** pSwapChainPtr = &pSwapChain) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pPresentationParameters, pSwapChainPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAdditionalSwapChain(ref PresentParameters pPresentationParameters, IDirect3DSwapChain9** pSwapChain) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pPresentationParametersPtr, pSwapChain); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAdditionalSwapChain(ref PresentParameters pPresentationParameters, ref IDirect3DSwapChain9* pSwapChain) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + fixed (IDirect3DSwapChain9** pSwapChainPtr = &pSwapChain) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pPresentationParametersPtr, pSwapChainPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetSwapChain(uint iSwapChain, IDirect3DSwapChain9** pSwapChain) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[14])(@this, iSwapChain, pSwapChain); + return ret; + } + + /// To be documented. + public readonly unsafe int GetSwapChain(uint iSwapChain, ref IDirect3DSwapChain9* pSwapChain) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSwapChain9** pSwapChainPtr = &pSwapChain) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[14])(@this, iSwapChain, pSwapChainPtr); + } + return ret; + } + + /// To be documented. + public readonly uint GetNumberOfSwapChains() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int Reset(PresentParameters* pPresentationParameters) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, pPresentationParameters); + return ret; + } + + /// To be documented. + public readonly int Reset(ref PresentParameters pPresentationParameters) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, pPresentationParametersPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion); + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegionPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegion); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegion); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegionPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegion); + } + } + return ret; + } + + /// To be documented. + public readonly int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetBackBuffer(uint iSwapChain, uint iBackBuffer, BackbufferType Type, IDirect3DSurface9** ppBackBuffer) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, iSwapChain, iBackBuffer, Type, ppBackBuffer); + return ret; + } + + /// To be documented. + public readonly unsafe int GetBackBuffer(uint iSwapChain, uint iBackBuffer, BackbufferType Type, ref IDirect3DSurface9* ppBackBuffer) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppBackBufferPtr = &ppBackBuffer) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, iSwapChain, iBackBuffer, Type, ppBackBufferPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetRasterStatus(uint iSwapChain, RasterStatus* pRasterStatus) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[19])(@this, iSwapChain, pRasterStatus); + return ret; + } + + /// To be documented. + public readonly int GetRasterStatus(uint iSwapChain, ref RasterStatus pRasterStatus) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (RasterStatus* pRasterStatusPtr = &pRasterStatus) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[19])(@this, iSwapChain, pRasterStatusPtr); + } + return ret; + } + + /// To be documented. + public readonly int SetDialogBoxMode(int bEnableDialogs) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, bEnableDialogs); + return ret; + } + + /// To be documented. + public readonly unsafe void SetGammaRamp(uint iSwapChain, uint Flags, Gammaramp* pRamp) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, iSwapChain, Flags, pRamp); + } + + /// To be documented. + public readonly void SetGammaRamp(uint iSwapChain, uint Flags, ref Gammaramp pRamp) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (Gammaramp* pRampPtr = &pRamp) + { + ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, iSwapChain, Flags, pRampPtr); + } + } + + /// To be documented. + public readonly unsafe void GetGammaRamp(uint iSwapChain, Gammaramp* pRamp) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + ((delegate* unmanaged[Cdecl])LpVtbl[22])(@this, iSwapChain, pRamp); + } + + /// To be documented. + public readonly void GetGammaRamp(uint iSwapChain, ref Gammaramp pRamp) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + fixed (Gammaramp* pRampPtr = &pRamp) + { + ((delegate* unmanaged[Cdecl])LpVtbl[22])(@this, iSwapChain, pRampPtr); + } + } + + /// To be documented. + public readonly unsafe int CreateTexture(uint Width, uint Height, uint Levels, uint Usage, Format Format, Pool Pool, IDirect3DTexture9** ppTexture, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[23])(@this, Width, Height, Levels, Usage, Format, Pool, ppTexture, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateTexture(uint Width, uint Height, uint Levels, uint Usage, Format Format, Pool Pool, IDirect3DTexture9** ppTexture, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[23])(@this, Width, Height, Levels, Usage, Format, Pool, ppTexture, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateTexture(uint Width, uint Height, uint Levels, uint Usage, Format Format, Pool Pool, ref IDirect3DTexture9* ppTexture, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DTexture9** ppTexturePtr = &ppTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[23])(@this, Width, Height, Levels, Usage, Format, Pool, ppTexturePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateTexture(uint Width, uint Height, uint Levels, uint Usage, Format Format, Pool Pool, ref IDirect3DTexture9* ppTexture, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DTexture9** ppTexturePtr = &ppTexture) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[23])(@this, Width, Height, Levels, Usage, Format, Pool, ppTexturePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVolumeTexture(uint Width, uint Height, uint Depth, uint Levels, uint Usage, Format Format, Pool Pool, IDirect3DVolumeTexture9** ppVolumeTexture, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[24])(@this, Width, Height, Depth, Levels, Usage, Format, Pool, ppVolumeTexture, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVolumeTexture(uint Width, uint Height, uint Depth, uint Levels, uint Usage, Format Format, Pool Pool, IDirect3DVolumeTexture9** ppVolumeTexture, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[24])(@this, Width, Height, Depth, Levels, Usage, Format, Pool, ppVolumeTexture, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVolumeTexture(uint Width, uint Height, uint Depth, uint Levels, uint Usage, Format Format, Pool Pool, ref IDirect3DVolumeTexture9* ppVolumeTexture, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVolumeTexture9** ppVolumeTexturePtr = &ppVolumeTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[24])(@this, Width, Height, Depth, Levels, Usage, Format, Pool, ppVolumeTexturePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVolumeTexture(uint Width, uint Height, uint Depth, uint Levels, uint Usage, Format Format, Pool Pool, ref IDirect3DVolumeTexture9* ppVolumeTexture, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVolumeTexture9** ppVolumeTexturePtr = &ppVolumeTexture) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[24])(@this, Width, Height, Depth, Levels, Usage, Format, Pool, ppVolumeTexturePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCubeTexture(uint EdgeLength, uint Levels, uint Usage, Format Format, Pool Pool, IDirect3DCubeTexture9** ppCubeTexture, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[25])(@this, EdgeLength, Levels, Usage, Format, Pool, ppCubeTexture, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCubeTexture(uint EdgeLength, uint Levels, uint Usage, Format Format, Pool Pool, IDirect3DCubeTexture9** ppCubeTexture, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[25])(@this, EdgeLength, Levels, Usage, Format, Pool, ppCubeTexture, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCubeTexture(uint EdgeLength, uint Levels, uint Usage, Format Format, Pool Pool, ref IDirect3DCubeTexture9* ppCubeTexture, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DCubeTexture9** ppCubeTexturePtr = &ppCubeTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[25])(@this, EdgeLength, Levels, Usage, Format, Pool, ppCubeTexturePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCubeTexture(uint EdgeLength, uint Levels, uint Usage, Format Format, Pool Pool, ref IDirect3DCubeTexture9* ppCubeTexture, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DCubeTexture9** ppCubeTexturePtr = &ppCubeTexture) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[25])(@this, EdgeLength, Levels, Usage, Format, Pool, ppCubeTexturePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexBuffer(uint Length, uint Usage, uint FVF, Pool Pool, IDirect3DVertexBuffer9** ppVertexBuffer, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[26])(@this, Length, Usage, FVF, Pool, ppVertexBuffer, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexBuffer(uint Length, uint Usage, uint FVF, Pool Pool, IDirect3DVertexBuffer9** ppVertexBuffer, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[26])(@this, Length, Usage, FVF, Pool, ppVertexBuffer, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexBuffer(uint Length, uint Usage, uint FVF, Pool Pool, ref IDirect3DVertexBuffer9* ppVertexBuffer, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9** ppVertexBufferPtr = &ppVertexBuffer) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[26])(@this, Length, Usage, FVF, Pool, ppVertexBufferPtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexBuffer(uint Length, uint Usage, uint FVF, Pool Pool, ref IDirect3DVertexBuffer9* ppVertexBuffer, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9** ppVertexBufferPtr = &ppVertexBuffer) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[26])(@this, Length, Usage, FVF, Pool, ppVertexBufferPtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateIndexBuffer(uint Length, uint Usage, Format Format, Pool Pool, IDirect3DIndexBuffer9** ppIndexBuffer, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[27])(@this, Length, Usage, Format, Pool, ppIndexBuffer, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateIndexBuffer(uint Length, uint Usage, Format Format, Pool Pool, IDirect3DIndexBuffer9** ppIndexBuffer, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[27])(@this, Length, Usage, Format, Pool, ppIndexBuffer, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateIndexBuffer(uint Length, uint Usage, Format Format, Pool Pool, ref IDirect3DIndexBuffer9* ppIndexBuffer, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DIndexBuffer9** ppIndexBufferPtr = &ppIndexBuffer) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[27])(@this, Length, Usage, Format, Pool, ppIndexBufferPtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateIndexBuffer(uint Length, uint Usage, Format Format, Pool Pool, ref IDirect3DIndexBuffer9* ppIndexBuffer, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DIndexBuffer9** ppIndexBufferPtr = &ppIndexBuffer) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[27])(@this, Length, Usage, Format, Pool, ppIndexBufferPtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTarget(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, IDirect3DSurface9** ppSurface, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[28])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurface, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTarget(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, IDirect3DSurface9** ppSurface, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[28])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurface, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTarget(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, ref IDirect3DSurface9* ppSurface, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[28])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurfacePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTarget(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, ref IDirect3DSurface9* ppSurface, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[28])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurfacePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurface(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, IDirect3DSurface9** ppSurface, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[29])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurface, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurface(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, IDirect3DSurface9** ppSurface, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[29])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurface, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurface(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, ref IDirect3DSurface9* ppSurface, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[29])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurfacePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurface(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, ref IDirect3DSurface9* ppSurface, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[29])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurfacePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRect, pDestinationSurface, pDestPoint); + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRect, pDestinationSurface, pDestPointPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRect, pDestinationSurfacePtr, pDestPoint); + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRect, pDestinationSurfacePtr, pDestPointPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRectPtr, pDestinationSurface, pDestPoint); + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRectPtr, pDestinationSurface, pDestPointPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRectPtr, pDestinationSurfacePtr, pDestPoint); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurface, pSourceRectPtr, pDestinationSurfacePtr, pDestPointPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRect, pDestinationSurface, pDestPoint); + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRect, pDestinationSurface, pDestPointPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRect, pDestinationSurfacePtr, pDestPoint); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRect, pDestinationSurfacePtr, pDestPointPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestinationSurface, pDestPoint); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestinationSurface, pDestPointPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestinationSurface, Silk.NET.Maths.Vector2D* pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestinationSurfacePtr, pDestPoint); + } + } + } + return ret; + } + + /// To be documented. + public readonly int UpdateSurface(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestinationSurface, ref Silk.NET.Maths.Vector2D pDestPoint) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestinationSurfacePtr = &pDestinationSurface) + { + fixed (Silk.NET.Maths.Vector2D* pDestPointPtr = &pDestPoint) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Vector2D*, int>)LpVtbl[30])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestinationSurfacePtr, pDestPointPtr); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateTexture(IDirect3DBaseTexture9* pSourceTexture, IDirect3DBaseTexture9* pDestinationTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pSourceTexture, pDestinationTexture); + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateTexture(IDirect3DBaseTexture9* pSourceTexture, ref IDirect3DBaseTexture9 pDestinationTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DBaseTexture9* pDestinationTexturePtr = &pDestinationTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pSourceTexture, pDestinationTexturePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int UpdateTexture(ref IDirect3DBaseTexture9 pSourceTexture, IDirect3DBaseTexture9* pDestinationTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DBaseTexture9* pSourceTexturePtr = &pSourceTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pSourceTexturePtr, pDestinationTexture); + } + return ret; + } + + /// To be documented. + public readonly int UpdateTexture(ref IDirect3DBaseTexture9 pSourceTexture, ref IDirect3DBaseTexture9 pDestinationTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DBaseTexture9* pSourceTexturePtr = &pSourceTexture) + { + fixed (IDirect3DBaseTexture9* pDestinationTexturePtr = &pDestinationTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pSourceTexturePtr, pDestinationTexturePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetRenderTargetData(IDirect3DSurface9* pRenderTarget, IDirect3DSurface9* pDestSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pRenderTarget, pDestSurface); + return ret; + } + + /// To be documented. + public readonly unsafe int GetRenderTargetData(IDirect3DSurface9* pRenderTarget, ref IDirect3DSurface9 pDestSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pRenderTarget, pDestSurfacePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetRenderTargetData(ref IDirect3DSurface9 pRenderTarget, IDirect3DSurface9* pDestSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pRenderTargetPtr, pDestSurface); + } + return ret; + } + + /// To be documented. + public readonly int GetRenderTargetData(ref IDirect3DSurface9 pRenderTarget, ref IDirect3DSurface9 pDestSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pRenderTargetPtr, pDestSurfacePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFrontBufferData(uint iSwapChain, IDirect3DSurface9* pDestSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, iSwapChain, pDestSurface); + return ret; + } + + /// To be documented. + public readonly int GetFrontBufferData(uint iSwapChain, ref IDirect3DSurface9 pDestSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, iSwapChain, pDestSurfacePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRect, pDestSurface, pDestRect, Filter); + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRect, pDestSurface, pDestRectPtr, Filter); + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRect, pDestSurfacePtr, pDestRect, Filter); + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRect, pDestSurfacePtr, pDestRectPtr, Filter); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRectPtr, pDestSurface, pDestRect, Filter); + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRectPtr, pDestSurface, pDestRectPtr, Filter); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRectPtr, pDestSurfacePtr, pDestRect, Filter); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(IDirect3DSurface9* pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurface, pSourceRectPtr, pDestSurfacePtr, pDestRectPtr, Filter); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRect, pDestSurface, pDestRect, Filter); + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, IDirect3DSurface9* pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRect, pDestSurface, pDestRectPtr, Filter); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRect, pDestSurfacePtr, pDestRect, Filter); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(ref IDirect3DSurface9 pSourceSurface, Silk.NET.Maths.Rectangle* pSourceRect, ref IDirect3DSurface9 pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRect, pDestSurfacePtr, pDestRectPtr, Filter); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestSurface, pDestRect, Filter); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, IDirect3DSurface9* pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestSurface, pDestRectPtr, Filter); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int StretchRect(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestSurface, Silk.NET.Maths.Rectangle* pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestSurfacePtr, pDestRect, Filter); + } + } + } + return ret; + } + + /// To be documented. + public readonly int StretchRect(ref IDirect3DSurface9 pSourceSurface, ref Silk.NET.Maths.Rectangle pSourceRect, ref IDirect3DSurface9 pDestSurface, ref Silk.NET.Maths.Rectangle pDestRect, Texturefiltertype Filter) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSourceSurfacePtr = &pSourceSurface) + { + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, IDirect3DSurface9*, Silk.NET.Maths.Rectangle*, Texturefiltertype, int>)LpVtbl[34])(@this, pSourceSurfacePtr, pSourceRectPtr, pDestSurfacePtr, pDestRectPtr, Filter); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ColorFill(IDirect3DSurface9* pSurface, Silk.NET.Maths.Rectangle* pRect, uint color) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, uint, int>)LpVtbl[35])(@this, pSurface, pRect, color); + return ret; + } + + /// To be documented. + public readonly unsafe int ColorFill(IDirect3DSurface9* pSurface, ref Silk.NET.Maths.Rectangle pRect, uint color) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pRectPtr = &pRect) + { + ret = ((delegate* unmanaged[Cdecl]*, uint, int>)LpVtbl[35])(@this, pSurface, pRectPtr, color); + } + return ret; + } + + /// To be documented. + public readonly unsafe int ColorFill(ref IDirect3DSurface9 pSurface, Silk.NET.Maths.Rectangle* pRect, uint color) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSurfacePtr = &pSurface) + { + ret = ((delegate* unmanaged[Cdecl]*, uint, int>)LpVtbl[35])(@this, pSurfacePtr, pRect, color); + } + return ret; + } + + /// To be documented. + public readonly int ColorFill(ref IDirect3DSurface9 pSurface, ref Silk.NET.Maths.Rectangle pRect, uint color) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSurfacePtr = &pSurface) + { + fixed (Silk.NET.Maths.Rectangle* pRectPtr = &pRect) + { + ret = ((delegate* unmanaged[Cdecl]*, uint, int>)LpVtbl[35])(@this, pSurfacePtr, pRectPtr, color); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurface(uint Width, uint Height, Format Format, Pool Pool, IDirect3DSurface9** ppSurface, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[36])(@this, Width, Height, Format, Pool, ppSurface, pSharedHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurface(uint Width, uint Height, Format Format, Pool Pool, IDirect3DSurface9** ppSurface, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[36])(@this, Width, Height, Format, Pool, ppSurface, pSharedHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurface(uint Width, uint Height, Format Format, Pool Pool, ref IDirect3DSurface9* ppSurface, void** pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[36])(@this, Width, Height, Format, Pool, ppSurfacePtr, pSharedHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurface(uint Width, uint Height, Format Format, Pool Pool, ref IDirect3DSurface9* ppSurface, ref void* pSharedHandle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[36])(@this, Width, Height, Format, Pool, ppSurfacePtr, pSharedHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetRenderTarget(uint RenderTargetIndex, IDirect3DSurface9* pRenderTarget) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[37])(@this, RenderTargetIndex, pRenderTarget); + return ret; + } + + /// To be documented. + public readonly int SetRenderTarget(uint RenderTargetIndex, ref IDirect3DSurface9 pRenderTarget) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pRenderTargetPtr = &pRenderTarget) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[37])(@this, RenderTargetIndex, pRenderTargetPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetRenderTarget(uint RenderTargetIndex, IDirect3DSurface9** ppRenderTarget) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[38])(@this, RenderTargetIndex, ppRenderTarget); + return ret; + } + + /// To be documented. + public readonly unsafe int GetRenderTarget(uint RenderTargetIndex, ref IDirect3DSurface9* ppRenderTarget) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppRenderTargetPtr = &ppRenderTarget) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[38])(@this, RenderTargetIndex, ppRenderTargetPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetDepthStencilSurface(IDirect3DSurface9* pNewZStencil) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[39])(@this, pNewZStencil); + return ret; + } + + /// To be documented. + public readonly int SetDepthStencilSurface(ref IDirect3DSurface9 pNewZStencil) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pNewZStencilPtr = &pNewZStencil) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[39])(@this, pNewZStencilPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDepthStencilSurface(IDirect3DSurface9** ppZStencilSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[40])(@this, ppZStencilSurface); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDepthStencilSurface(ref IDirect3DSurface9* ppZStencilSurface) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppZStencilSurfacePtr = &ppZStencilSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[40])(@this, ppZStencilSurfacePtr); + } + return ret; + } + + /// To be documented. + public readonly int BeginScene() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[41])(@this); + return ret; + } + + /// To be documented. + public readonly int EndScene() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[42])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int Clear(uint Count, Rect* pRects, uint Flags, uint Color, float Z, uint Stencil) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[43])(@this, Count, pRects, Flags, Color, Z, Stencil); + return ret; + } + + /// To be documented. + public readonly int Clear(uint Count, ref Rect pRects, uint Flags, uint Color, float Z, uint Stencil) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Rect* pRectsPtr = &pRects) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[43])(@this, Count, pRectsPtr, Flags, Color, Z, Stencil); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetTransform(Transformstatetype State, System.Numerics.Matrix4x4* pMatrix) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[44])(@this, State, pMatrix); + return ret; + } + + /// To be documented. + public readonly int SetTransform(Transformstatetype State, ref System.Numerics.Matrix4x4 pMatrix) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (System.Numerics.Matrix4x4* pMatrixPtr = &pMatrix) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[44])(@this, State, pMatrixPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetTransform(Transformstatetype State, System.Numerics.Matrix4x4* pMatrix) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[45])(@this, State, pMatrix); + return ret; + } + + /// To be documented. + public readonly int GetTransform(Transformstatetype State, ref System.Numerics.Matrix4x4 pMatrix) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (System.Numerics.Matrix4x4* pMatrixPtr = &pMatrix) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[45])(@this, State, pMatrixPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int MultiplyTransform(Transformstatetype arg0, System.Numerics.Matrix4x4* arg1) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[46])(@this, arg0, arg1); + return ret; + } + + /// To be documented. + public readonly int MultiplyTransform(Transformstatetype arg0, ref System.Numerics.Matrix4x4 arg1) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (System.Numerics.Matrix4x4* arg1Ptr = &arg1) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[46])(@this, arg0, arg1Ptr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetViewport(Viewport9* pViewport) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[47])(@this, pViewport); + return ret; + } + + /// To be documented. + public readonly int SetViewport(ref Viewport9 pViewport) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Viewport9* pViewportPtr = &pViewport) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[47])(@this, pViewportPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetViewport(Viewport9* pViewport) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[48])(@this, pViewport); + return ret; + } + + /// To be documented. + public readonly int GetViewport(ref Viewport9 pViewport) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Viewport9* pViewportPtr = &pViewport) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[48])(@this, pViewportPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetMaterial(Material9* pMaterial) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, pMaterial); + return ret; + } + + /// To be documented. + public readonly int SetMaterial(ref Material9 pMaterial) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Material9* pMaterialPtr = &pMaterial) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, pMaterialPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetMaterial(Material9* pMaterial) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[50])(@this, pMaterial); + return ret; + } + + /// To be documented. + public readonly int GetMaterial(ref Material9 pMaterial) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Material9* pMaterialPtr = &pMaterial) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[50])(@this, pMaterialPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetLight(uint Index, Light9* arg1) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[51])(@this, Index, arg1); + return ret; + } + + /// To be documented. + public readonly int SetLight(uint Index, ref Light9 arg1) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Light9* arg1Ptr = &arg1) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[51])(@this, Index, arg1Ptr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetLight(uint Index, Light9* arg1) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[52])(@this, Index, arg1); + return ret; + } + + /// To be documented. + public readonly int GetLight(uint Index, ref Light9 arg1) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Light9* arg1Ptr = &arg1) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[52])(@this, Index, arg1Ptr); + } + return ret; + } + + /// To be documented. + public readonly int LightEnable(uint Index, int Enable) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[53])(@this, Index, Enable); + return ret; + } + + /// To be documented. + public readonly unsafe int GetLightEnable(uint Index, int* pEnable) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[54])(@this, Index, pEnable); + return ret; + } + + /// To be documented. + public readonly int GetLightEnable(uint Index, ref int pEnable) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pEnablePtr = &pEnable) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[54])(@this, Index, pEnablePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetClipPlane(uint Index, float* pPlane) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[55])(@this, Index, pPlane); + return ret; + } + + /// To be documented. + public readonly int SetClipPlane(uint Index, ref float pPlane) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pPlanePtr = &pPlane) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[55])(@this, Index, pPlanePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetClipPlane(uint Index, float* pPlane) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[56])(@this, Index, pPlane); + return ret; + } + + /// To be documented. + public readonly int GetClipPlane(uint Index, ref float pPlane) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pPlanePtr = &pPlane) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[56])(@this, Index, pPlanePtr); + } + return ret; + } + + /// To be documented. + public readonly int SetRenderState(Renderstatetype State, uint Value) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[57])(@this, State, Value); + return ret; + } + + /// To be documented. + public readonly unsafe int GetRenderState(Renderstatetype State, uint* pValue) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[58])(@this, State, pValue); + return ret; + } + + /// To be documented. + public readonly int GetRenderState(Renderstatetype State, ref uint pValue) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pValuePtr = &pValue) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[58])(@this, State, pValuePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateStateBlock(Stateblocktype Type, IDirect3DStateBlock9** ppSB) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[59])(@this, Type, ppSB); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateStateBlock(Stateblocktype Type, ref IDirect3DStateBlock9* ppSB) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DStateBlock9** ppSBPtr = &ppSB) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[59])(@this, Type, ppSBPtr); + } + return ret; + } + + /// To be documented. + public readonly int BeginStateBlock() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[60])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int EndStateBlock(IDirect3DStateBlock9** ppSB) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[61])(@this, ppSB); + return ret; + } + + /// To be documented. + public readonly unsafe int EndStateBlock(ref IDirect3DStateBlock9* ppSB) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DStateBlock9** ppSBPtr = &ppSB) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[61])(@this, ppSBPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetClipStatus(Clipstatus9* pClipStatus) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[62])(@this, pClipStatus); + return ret; + } + + /// To be documented. + public readonly int SetClipStatus(ref Clipstatus9 pClipStatus) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Clipstatus9* pClipStatusPtr = &pClipStatus) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[62])(@this, pClipStatusPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetClipStatus(Clipstatus9* pClipStatus) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[63])(@this, pClipStatus); + return ret; + } + + /// To be documented. + public readonly int GetClipStatus(ref Clipstatus9 pClipStatus) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Clipstatus9* pClipStatusPtr = &pClipStatus) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[63])(@this, pClipStatusPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetTexture(uint Stage, IDirect3DBaseTexture9** ppTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[64])(@this, Stage, ppTexture); + return ret; + } + + /// To be documented. + public readonly unsafe int GetTexture(uint Stage, ref IDirect3DBaseTexture9* ppTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DBaseTexture9** ppTexturePtr = &ppTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[64])(@this, Stage, ppTexturePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetTexture(uint Stage, IDirect3DBaseTexture9* pTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[65])(@this, Stage, pTexture); + return ret; + } + + /// To be documented. + public readonly int SetTexture(uint Stage, ref IDirect3DBaseTexture9 pTexture) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DBaseTexture9* pTexturePtr = &pTexture) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[65])(@this, Stage, pTexturePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetTextureStageState(uint Stage, Texturestagestatetype Type, uint* pValue) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[66])(@this, Stage, Type, pValue); + return ret; + } + + /// To be documented. + public readonly int GetTextureStageState(uint Stage, Texturestagestatetype Type, ref uint pValue) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pValuePtr = &pValue) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[66])(@this, Stage, Type, pValuePtr); + } + return ret; + } + + /// To be documented. + public readonly int SetTextureStageState(uint Stage, Texturestagestatetype Type, uint Value) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[67])(@this, Stage, Type, Value); + return ret; + } + + /// To be documented. + public readonly unsafe int GetSamplerState(uint Sampler, Samplerstatetype Type, uint* pValue) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[68])(@this, Sampler, Type, pValue); + return ret; + } + + /// To be documented. + public readonly int GetSamplerState(uint Sampler, Samplerstatetype Type, ref uint pValue) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pValuePtr = &pValue) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[68])(@this, Sampler, Type, pValuePtr); + } + return ret; + } + + /// To be documented. + public readonly int SetSamplerState(uint Sampler, Samplerstatetype Type, uint Value) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[69])(@this, Sampler, Type, Value); + return ret; + } + + /// To be documented. + public readonly unsafe int ValidateDevice(uint* pNumPasses) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[70])(@this, pNumPasses); + return ret; + } + + /// To be documented. + public readonly int ValidateDevice(ref uint pNumPasses) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pNumPassesPtr = &pNumPasses) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[70])(@this, pNumPassesPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetPaletteEntries(uint PaletteNumber, Silk.NET.Maths.Vector4D* pEntries) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[71])(@this, PaletteNumber, pEntries); + return ret; + } + + /// To be documented. + public readonly int SetPaletteEntries(uint PaletteNumber, ref Silk.NET.Maths.Vector4D pEntries) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Vector4D* pEntriesPtr = &pEntries) + { + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[71])(@this, PaletteNumber, pEntriesPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetPaletteEntries(uint PaletteNumber, Silk.NET.Maths.Vector4D* pEntries) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[72])(@this, PaletteNumber, pEntries); + return ret; + } + + /// To be documented. + public readonly int GetPaletteEntries(uint PaletteNumber, ref Silk.NET.Maths.Vector4D pEntries) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Vector4D* pEntriesPtr = &pEntries) + { + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[72])(@this, PaletteNumber, pEntriesPtr); + } + return ret; + } + + /// To be documented. + public readonly int SetCurrentTexturePalette(uint PaletteNumber) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[73])(@this, PaletteNumber); + return ret; + } + + /// To be documented. + public readonly unsafe int GetCurrentTexturePalette(uint* PaletteNumber) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[74])(@this, PaletteNumber); + return ret; + } + + /// To be documented. + public readonly int GetCurrentTexturePalette(ref uint PaletteNumber) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* PaletteNumberPtr = &PaletteNumber) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[74])(@this, PaletteNumberPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetScissorRect(Silk.NET.Maths.Rectangle* pRect) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[75])(@this, pRect); + return ret; + } + + /// To be documented. + public readonly int SetScissorRect(ref Silk.NET.Maths.Rectangle pRect) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pRectPtr = &pRect) + { + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[75])(@this, pRectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetScissorRect(Silk.NET.Maths.Rectangle* pRect) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[76])(@this, pRect); + return ret; + } + + /// To be documented. + public readonly int GetScissorRect(ref Silk.NET.Maths.Rectangle pRect) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pRectPtr = &pRect) + { + ret = ((delegate* unmanaged[Cdecl]*, int>)LpVtbl[76])(@this, pRectPtr); + } + return ret; + } + + /// To be documented. + public readonly int SetSoftwareVertexProcessing(int bSoftware) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[77])(@this, bSoftware); + return ret; + } + + /// To be documented. + public readonly int GetSoftwareVertexProcessing() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[78])(@this); + return ret; + } + + /// To be documented. + public readonly int SetNPatchMode(float nSegments) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[79])(@this, nSegments); + return ret; + } + + /// To be documented. + public readonly float GetNPatchMode() + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + float ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[80])(@this); + return ret; + } + + /// To be documented. + public readonly int DrawPrimitive(Primitivetype PrimitiveType, uint StartVertex, uint PrimitiveCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[81])(@this, PrimitiveType, StartVertex, PrimitiveCount); + return ret; + } + + /// To be documented. + public readonly int DrawIndexedPrimitive(Primitivetype arg0, int BaseVertexIndex, uint MinVertexIndex, uint NumVertices, uint startIndex, uint primCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[82])(@this, arg0, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount); + return ret; + } + + /// To be documented. + public readonly unsafe int DrawPrimitiveUP(Primitivetype PrimitiveType, uint PrimitiveCount, void* pVertexStreamZeroData, uint VertexStreamZeroStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[83])(@this, PrimitiveType, PrimitiveCount, pVertexStreamZeroData, VertexStreamZeroStride); + return ret; + } + + /// To be documented. + public readonly int DrawPrimitiveUP(Primitivetype PrimitiveType, uint PrimitiveCount, ref T0 pVertexStreamZeroData, uint VertexStreamZeroStride) where T0 : unmanaged + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pVertexStreamZeroDataPtr = &pVertexStreamZeroData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[83])(@this, PrimitiveType, PrimitiveCount, pVertexStreamZeroDataPtr, VertexStreamZeroStride); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DrawIndexedPrimitiveUP(Primitivetype PrimitiveType, uint MinVertexIndex, uint NumVertices, uint PrimitiveCount, void* pIndexData, Format IndexDataFormat, void* pVertexStreamZeroData, uint VertexStreamZeroStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[84])(@this, PrimitiveType, MinVertexIndex, NumVertices, PrimitiveCount, pIndexData, IndexDataFormat, pVertexStreamZeroData, VertexStreamZeroStride); + return ret; + } + + /// To be documented. + public readonly unsafe int DrawIndexedPrimitiveUP(Primitivetype PrimitiveType, uint MinVertexIndex, uint NumVertices, uint PrimitiveCount, void* pIndexData, Format IndexDataFormat, ref T0 pVertexStreamZeroData, uint VertexStreamZeroStride) where T0 : unmanaged + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pVertexStreamZeroDataPtr = &pVertexStreamZeroData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[84])(@this, PrimitiveType, MinVertexIndex, NumVertices, PrimitiveCount, pIndexData, IndexDataFormat, pVertexStreamZeroDataPtr, VertexStreamZeroStride); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DrawIndexedPrimitiveUP(Primitivetype PrimitiveType, uint MinVertexIndex, uint NumVertices, uint PrimitiveCount, ref T0 pIndexData, Format IndexDataFormat, void* pVertexStreamZeroData, uint VertexStreamZeroStride) where T0 : unmanaged + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pIndexDataPtr = &pIndexData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[84])(@this, PrimitiveType, MinVertexIndex, NumVertices, PrimitiveCount, pIndexDataPtr, IndexDataFormat, pVertexStreamZeroData, VertexStreamZeroStride); + } + return ret; + } + + /// To be documented. + public readonly int DrawIndexedPrimitiveUP(Primitivetype PrimitiveType, uint MinVertexIndex, uint NumVertices, uint PrimitiveCount, ref T0 pIndexData, Format IndexDataFormat, ref T1 pVertexStreamZeroData, uint VertexStreamZeroStride) where T0 : unmanaged where T1 : unmanaged + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (T0* pIndexDataPtr = &pIndexData) + { + fixed (T1* pVertexStreamZeroDataPtr = &pVertexStreamZeroData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[84])(@this, PrimitiveType, MinVertexIndex, NumVertices, PrimitiveCount, pIndexDataPtr, IndexDataFormat, pVertexStreamZeroDataPtr, VertexStreamZeroStride); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ProcessVertices(uint SrcStartIndex, uint DestIndex, uint VertexCount, IDirect3DVertexBuffer9* pDestBuffer, IDirect3DVertexDeclaration9* pVertexDecl, uint Flags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[85])(@this, SrcStartIndex, DestIndex, VertexCount, pDestBuffer, pVertexDecl, Flags); + return ret; + } + + /// To be documented. + public readonly unsafe int ProcessVertices(uint SrcStartIndex, uint DestIndex, uint VertexCount, IDirect3DVertexBuffer9* pDestBuffer, ref IDirect3DVertexDeclaration9 pVertexDecl, uint Flags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexDeclaration9* pVertexDeclPtr = &pVertexDecl) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[85])(@this, SrcStartIndex, DestIndex, VertexCount, pDestBuffer, pVertexDeclPtr, Flags); + } + return ret; + } + + /// To be documented. + public readonly unsafe int ProcessVertices(uint SrcStartIndex, uint DestIndex, uint VertexCount, ref IDirect3DVertexBuffer9 pDestBuffer, IDirect3DVertexDeclaration9* pVertexDecl, uint Flags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9* pDestBufferPtr = &pDestBuffer) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[85])(@this, SrcStartIndex, DestIndex, VertexCount, pDestBufferPtr, pVertexDecl, Flags); + } + return ret; + } + + /// To be documented. + public readonly int ProcessVertices(uint SrcStartIndex, uint DestIndex, uint VertexCount, ref IDirect3DVertexBuffer9 pDestBuffer, ref IDirect3DVertexDeclaration9 pVertexDecl, uint Flags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9* pDestBufferPtr = &pDestBuffer) + { + fixed (IDirect3DVertexDeclaration9* pVertexDeclPtr = &pVertexDecl) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[85])(@this, SrcStartIndex, DestIndex, VertexCount, pDestBufferPtr, pVertexDeclPtr, Flags); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexDeclaration(Vertexelement9* pVertexElements, IDirect3DVertexDeclaration9** ppDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[86])(@this, pVertexElements, ppDecl); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexDeclaration(Vertexelement9* pVertexElements, ref IDirect3DVertexDeclaration9* ppDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexDeclaration9** ppDeclPtr = &ppDecl) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[86])(@this, pVertexElements, ppDeclPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexDeclaration(ref Vertexelement9 pVertexElements, IDirect3DVertexDeclaration9** ppDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Vertexelement9* pVertexElementsPtr = &pVertexElements) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[86])(@this, pVertexElementsPtr, ppDecl); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexDeclaration(ref Vertexelement9 pVertexElements, ref IDirect3DVertexDeclaration9* ppDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Vertexelement9* pVertexElementsPtr = &pVertexElements) + { + fixed (IDirect3DVertexDeclaration9** ppDeclPtr = &ppDecl) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[86])(@this, pVertexElementsPtr, ppDeclPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetVertexDeclaration(IDirect3DVertexDeclaration9* pDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[87])(@this, pDecl); + return ret; + } + + /// To be documented. + public readonly int SetVertexDeclaration(ref IDirect3DVertexDeclaration9 pDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexDeclaration9* pDeclPtr = &pDecl) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[87])(@this, pDeclPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVertexDeclaration(IDirect3DVertexDeclaration9** ppDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[88])(@this, ppDecl); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVertexDeclaration(ref IDirect3DVertexDeclaration9* ppDecl) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexDeclaration9** ppDeclPtr = &ppDecl) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[88])(@this, ppDeclPtr); + } + return ret; + } + + /// To be documented. + public readonly int SetFVF(uint FVF) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[89])(@this, FVF); + return ret; + } + + /// To be documented. + public readonly unsafe int GetFVF(uint* pFVF) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[90])(@this, pFVF); + return ret; + } + + /// To be documented. + public readonly int GetFVF(ref uint pFVF) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pFVFPtr = &pFVF) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[90])(@this, pFVFPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexShader(uint* pFunction, IDirect3DVertexShader9** ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[91])(@this, pFunction, ppShader); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexShader(uint* pFunction, ref IDirect3DVertexShader9* ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexShader9** ppShaderPtr = &ppShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[91])(@this, pFunction, ppShaderPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexShader(ref uint pFunction, IDirect3DVertexShader9** ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pFunctionPtr = &pFunction) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[91])(@this, pFunctionPtr, ppShader); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateVertexShader(ref uint pFunction, ref IDirect3DVertexShader9* ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pFunctionPtr = &pFunction) + { + fixed (IDirect3DVertexShader9** ppShaderPtr = &ppShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[91])(@this, pFunctionPtr, ppShaderPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetVertexShader(IDirect3DVertexShader9* pShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[92])(@this, pShader); + return ret; + } + + /// To be documented. + public readonly int SetVertexShader(ref IDirect3DVertexShader9 pShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexShader9* pShaderPtr = &pShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[92])(@this, pShaderPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVertexShader(IDirect3DVertexShader9** ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[93])(@this, ppShader); + return ret; + } + + /// To be documented. + public readonly unsafe int GetVertexShader(ref IDirect3DVertexShader9* ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexShader9** ppShaderPtr = &ppShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[93])(@this, ppShaderPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetVertexShaderConstantF(uint StartRegister, float* pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[94])(@this, StartRegister, pConstantData, Vector4fCount); + return ret; + } + + /// To be documented. + public readonly int SetVertexShaderConstantF(uint StartRegister, ref float pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[94])(@this, StartRegister, pConstantDataPtr, Vector4fCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVertexShaderConstantF(uint StartRegister, float* pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[95])(@this, StartRegister, pConstantData, Vector4fCount); + return ret; + } + + /// To be documented. + public readonly int GetVertexShaderConstantF(uint StartRegister, ref float pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[95])(@this, StartRegister, pConstantDataPtr, Vector4fCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetVertexShaderConstantI(uint StartRegister, int* pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[96])(@this, StartRegister, pConstantData, Vector4iCount); + return ret; + } + + /// To be documented. + public readonly int SetVertexShaderConstantI(uint StartRegister, ref int pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[96])(@this, StartRegister, pConstantDataPtr, Vector4iCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVertexShaderConstantI(uint StartRegister, int* pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[97])(@this, StartRegister, pConstantData, Vector4iCount); + return ret; + } + + /// To be documented. + public readonly int GetVertexShaderConstantI(uint StartRegister, ref int pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[97])(@this, StartRegister, pConstantDataPtr, Vector4iCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetVertexShaderConstantB(uint StartRegister, int* pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[98])(@this, StartRegister, pConstantData, BoolCount); + return ret; + } + + /// To be documented. + public readonly int SetVertexShaderConstantB(uint StartRegister, ref int pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[98])(@this, StartRegister, pConstantDataPtr, BoolCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetVertexShaderConstantB(uint StartRegister, int* pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[99])(@this, StartRegister, pConstantData, BoolCount); + return ret; + } + + /// To be documented. + public readonly int GetVertexShaderConstantB(uint StartRegister, ref int pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[99])(@this, StartRegister, pConstantDataPtr, BoolCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9* pStreamData, uint OffsetInBytes, uint Stride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[100])(@this, StreamNumber, pStreamData, OffsetInBytes, Stride); + return ret; + } + + /// To be documented. + public readonly int SetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9 pStreamData, uint OffsetInBytes, uint Stride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9* pStreamDataPtr = &pStreamData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[100])(@this, StreamNumber, pStreamDataPtr, OffsetInBytes, Stride); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, uint* pOffsetInBytes, uint* pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytes, pStride); + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, uint* pOffsetInBytes, ref uint pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pStridePtr = &pStride) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytes, pStridePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, ref uint pOffsetInBytes, uint* pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytesPtr, pStride); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, IDirect3DVertexBuffer9** ppStreamData, ref uint pOffsetInBytes, ref uint pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) + { + fixed (uint* pStridePtr = &pStride) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamData, pOffsetInBytesPtr, pStridePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, uint* pOffsetInBytes, uint* pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9** ppStreamDataPtr = &ppStreamData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytes, pStride); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, uint* pOffsetInBytes, ref uint pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9** ppStreamDataPtr = &ppStreamData) + { + fixed (uint* pStridePtr = &pStride) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytes, pStridePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, ref uint pOffsetInBytes, uint* pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9** ppStreamDataPtr = &ppStreamData) + { + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytesPtr, pStride); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSource(uint StreamNumber, ref IDirect3DVertexBuffer9* ppStreamData, ref uint pOffsetInBytes, ref uint pStride) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9** ppStreamDataPtr = &ppStreamData) + { + fixed (uint* pOffsetInBytesPtr = &pOffsetInBytes) + { + fixed (uint* pStridePtr = &pStride) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[101])(@this, StreamNumber, ppStreamDataPtr, pOffsetInBytesPtr, pStridePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly int SetStreamSourceFreq(uint StreamNumber, uint Setting) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[102])(@this, StreamNumber, Setting); + return ret; + } + + /// To be documented. + public readonly unsafe int GetStreamSourceFreq(uint StreamNumber, uint* pSetting) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[103])(@this, StreamNumber, pSetting); + return ret; + } + + /// To be documented. + public readonly int GetStreamSourceFreq(uint StreamNumber, ref uint pSetting) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pSettingPtr = &pSetting) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[103])(@this, StreamNumber, pSettingPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetIndices(IDirect3DIndexBuffer9* pIndexData) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[104])(@this, pIndexData); + return ret; + } + + /// To be documented. + public readonly int SetIndices(ref IDirect3DIndexBuffer9 pIndexData) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DIndexBuffer9* pIndexDataPtr = &pIndexData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[104])(@this, pIndexDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetIndices(IDirect3DIndexBuffer9** ppIndexData) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[105])(@this, ppIndexData); + return ret; + } + + /// To be documented. + public readonly unsafe int GetIndices(ref IDirect3DIndexBuffer9* ppIndexData) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DIndexBuffer9** ppIndexDataPtr = &ppIndexData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[105])(@this, ppIndexDataPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreatePixelShader(uint* pFunction, IDirect3DPixelShader9** ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[106])(@this, pFunction, ppShader); + return ret; + } + + /// To be documented. + public readonly unsafe int CreatePixelShader(uint* pFunction, ref IDirect3DPixelShader9* ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DPixelShader9** ppShaderPtr = &ppShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[106])(@this, pFunction, ppShaderPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreatePixelShader(ref uint pFunction, IDirect3DPixelShader9** ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pFunctionPtr = &pFunction) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[106])(@this, pFunctionPtr, ppShader); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreatePixelShader(ref uint pFunction, ref IDirect3DPixelShader9* ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pFunctionPtr = &pFunction) + { + fixed (IDirect3DPixelShader9** ppShaderPtr = &ppShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[106])(@this, pFunctionPtr, ppShaderPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetPixelShader(IDirect3DPixelShader9* pShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[107])(@this, pShader); + return ret; + } + + /// To be documented. + public readonly int SetPixelShader(ref IDirect3DPixelShader9 pShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DPixelShader9* pShaderPtr = &pShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[107])(@this, pShaderPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetPixelShader(IDirect3DPixelShader9** ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[108])(@this, ppShader); + return ret; + } + + /// To be documented. + public readonly unsafe int GetPixelShader(ref IDirect3DPixelShader9* ppShader) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DPixelShader9** ppShaderPtr = &ppShader) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[108])(@this, ppShaderPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetPixelShaderConstantF(uint StartRegister, float* pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[109])(@this, StartRegister, pConstantData, Vector4fCount); + return ret; + } + + /// To be documented. + public readonly int SetPixelShaderConstantF(uint StartRegister, ref float pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[109])(@this, StartRegister, pConstantDataPtr, Vector4fCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetPixelShaderConstantF(uint StartRegister, float* pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[110])(@this, StartRegister, pConstantData, Vector4fCount); + return ret; + } + + /// To be documented. + public readonly int GetPixelShaderConstantF(uint StartRegister, ref float pConstantData, uint Vector4fCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[110])(@this, StartRegister, pConstantDataPtr, Vector4fCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetPixelShaderConstantI(uint StartRegister, int* pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[111])(@this, StartRegister, pConstantData, Vector4iCount); + return ret; + } + + /// To be documented. + public readonly int SetPixelShaderConstantI(uint StartRegister, ref int pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[111])(@this, StartRegister, pConstantDataPtr, Vector4iCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetPixelShaderConstantI(uint StartRegister, int* pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[112])(@this, StartRegister, pConstantData, Vector4iCount); + return ret; + } + + /// To be documented. + public readonly int GetPixelShaderConstantI(uint StartRegister, ref int pConstantData, uint Vector4iCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[112])(@this, StartRegister, pConstantDataPtr, Vector4iCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetPixelShaderConstantB(uint StartRegister, int* pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[113])(@this, StartRegister, pConstantData, BoolCount); + return ret; + } + + /// To be documented. + public readonly int SetPixelShaderConstantB(uint StartRegister, ref int pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[113])(@this, StartRegister, pConstantDataPtr, BoolCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetPixelShaderConstantB(uint StartRegister, int* pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[114])(@this, StartRegister, pConstantData, BoolCount); + return ret; + } + + /// To be documented. + public readonly int GetPixelShaderConstantB(uint StartRegister, ref int pConstantData, uint BoolCount) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pConstantDataPtr = &pConstantData) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[114])(@this, StartRegister, pConstantDataPtr, BoolCount); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DrawRectPatch(uint Handle, float* pNumSegs, RectpatchInfo* pRectPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[115])(@this, Handle, pNumSegs, pRectPatchInfo); + return ret; + } + + /// To be documented. + public readonly unsafe int DrawRectPatch(uint Handle, float* pNumSegs, ref RectpatchInfo pRectPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (RectpatchInfo* pRectPatchInfoPtr = &pRectPatchInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[115])(@this, Handle, pNumSegs, pRectPatchInfoPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DrawRectPatch(uint Handle, ref float pNumSegs, RectpatchInfo* pRectPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pNumSegsPtr = &pNumSegs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[115])(@this, Handle, pNumSegsPtr, pRectPatchInfo); + } + return ret; + } + + /// To be documented. + public readonly int DrawRectPatch(uint Handle, ref float pNumSegs, ref RectpatchInfo pRectPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pNumSegsPtr = &pNumSegs) + { + fixed (RectpatchInfo* pRectPatchInfoPtr = &pRectPatchInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[115])(@this, Handle, pNumSegsPtr, pRectPatchInfoPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int DrawTriPatch(uint Handle, float* pNumSegs, TripatchInfo* pTriPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[116])(@this, Handle, pNumSegs, pTriPatchInfo); + return ret; + } + + /// To be documented. + public readonly unsafe int DrawTriPatch(uint Handle, float* pNumSegs, ref TripatchInfo pTriPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (TripatchInfo* pTriPatchInfoPtr = &pTriPatchInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[116])(@this, Handle, pNumSegs, pTriPatchInfoPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int DrawTriPatch(uint Handle, ref float pNumSegs, TripatchInfo* pTriPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pNumSegsPtr = &pNumSegs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[116])(@this, Handle, pNumSegsPtr, pTriPatchInfo); + } + return ret; + } + + /// To be documented. + public readonly int DrawTriPatch(uint Handle, ref float pNumSegs, ref TripatchInfo pTriPatchInfo) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* pNumSegsPtr = &pNumSegs) + { + fixed (TripatchInfo* pTriPatchInfoPtr = &pTriPatchInfo) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[116])(@this, Handle, pNumSegsPtr, pTriPatchInfoPtr); + } + } + return ret; + } + + /// To be documented. + public readonly int DeletePatch(uint Handle) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[117])(@this, Handle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateQuery(Querytype Type, IDirect3DQuery9** ppQuery) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[118])(@this, Type, ppQuery); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateQuery(Querytype Type, ref IDirect3DQuery9* ppQuery) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DQuery9** ppQueryPtr = &ppQuery) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[118])(@this, Type, ppQueryPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetConvolutionMonoKernel(uint width, uint height, float* rows, float* columns) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[119])(@this, width, height, rows, columns); + return ret; + } + + /// To be documented. + public readonly unsafe int SetConvolutionMonoKernel(uint width, uint height, float* rows, ref float columns) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* columnsPtr = &columns) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[119])(@this, width, height, rows, columnsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int SetConvolutionMonoKernel(uint width, uint height, ref float rows, float* columns) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* rowsPtr = &rows) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[119])(@this, width, height, rowsPtr, columns); + } + return ret; + } + + /// To be documented. + public readonly int SetConvolutionMonoKernel(uint width, uint height, ref float rows, ref float columns) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (float* rowsPtr = &rows) + { + fixed (float* columnsPtr = &columns) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[119])(@this, width, height, rowsPtr, columnsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, IDirect3DSurface9* pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDst, pSrcRectDescs, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, IDirect3DSurface9* pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDst, pSrcRectDescs, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, IDirect3DSurface9* pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDst, pSrcRectDescsPtr, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, IDirect3DSurface9* pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDst, pSrcRectDescsPtr, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, ref IDirect3DSurface9 pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDstPtr, pSrcRectDescs, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, ref IDirect3DSurface9 pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDstPtr, pSrcRectDescs, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, ref IDirect3DSurface9 pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDstPtr, pSrcRectDescsPtr, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(IDirect3DSurface9* pSrc, ref IDirect3DSurface9 pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrc, pDstPtr, pSrcRectDescsPtr, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(ref IDirect3DSurface9 pSrc, IDirect3DSurface9* pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDst, pSrcRectDescs, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(ref IDirect3DSurface9 pSrc, IDirect3DSurface9* pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDst, pSrcRectDescs, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(ref IDirect3DSurface9 pSrc, IDirect3DSurface9* pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDst, pSrcRectDescsPtr, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(ref IDirect3DSurface9 pSrc, IDirect3DSurface9* pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDst, pSrcRectDescsPtr, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(ref IDirect3DSurface9 pSrc, ref IDirect3DSurface9 pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDstPtr, pSrcRectDescs, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(ref IDirect3DSurface9 pSrc, ref IDirect3DSurface9 pDst, IDirect3DVertexBuffer9* pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDstPtr, pSrcRectDescs, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ComposeRects(ref IDirect3DSurface9 pSrc, ref IDirect3DSurface9 pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, IDirect3DVertexBuffer9* pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDstPtr, pSrcRectDescsPtr, NumRects, pDstRectDescs, Operation, Xoffset, Yoffset); + } + } + } + return ret; + } + + /// To be documented. + public readonly int ComposeRects(ref IDirect3DSurface9 pSrc, ref IDirect3DSurface9 pDst, ref IDirect3DVertexBuffer9 pSrcRectDescs, uint NumRects, ref IDirect3DVertexBuffer9 pDstRectDescs, Composerectsop Operation, int Xoffset, int Yoffset) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pSrcPtr = &pSrc) + { + fixed (IDirect3DSurface9* pDstPtr = &pDst) + { + fixed (IDirect3DVertexBuffer9* pSrcRectDescsPtr = &pSrcRectDescs) + { + fixed (IDirect3DVertexBuffer9* pDstRectDescsPtr = &pDstRectDescs) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[120])(@this, pSrcPtr, pDstPtr, pSrcRectDescsPtr, NumRects, pDstRectDescsPtr, Operation, Xoffset, Yoffset); + } + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int PresentEx(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags); + return ret; + } + + /// To be documented. + public readonly unsafe int PresentEx(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + return ret; + } + + /// To be documented. + public readonly unsafe int PresentEx(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegion, dwFlags); + } + return ret; + } + + /// To be documented. + public readonly unsafe int PresentEx(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int PresentEx(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags); + } + return ret; + } + + /// To be documented. + public readonly unsafe int PresentEx(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int PresentEx(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegion, dwFlags); + } + } + return ret; + } + + /// To be documented. + public readonly int PresentEx(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[121])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetGPUThreadPriority(int* pPriority) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[122])(@this, pPriority); + return ret; + } + + /// To be documented. + public readonly int GetGPUThreadPriority(ref int pPriority) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (int* pPriorityPtr = &pPriority) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[122])(@this, pPriorityPtr); + } + return ret; + } + + /// To be documented. + public readonly int SetGPUThreadPriority(int Priority) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[123])(@this, Priority); + return ret; + } + + /// To be documented. + public readonly int WaitForVBlank(uint iSwapChain) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[124])(@this, iSwapChain); + return ret; + } + + /// To be documented. + public readonly unsafe int CheckResourceResidency(IDirect3DResource9** pResourceArray, uint NumResources) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[125])(@this, pResourceArray, NumResources); + return ret; + } + + /// To be documented. + public readonly unsafe int CheckResourceResidency(ref IDirect3DResource9* pResourceArray, uint NumResources) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DResource9** pResourceArrayPtr = &pResourceArray) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[125])(@this, pResourceArrayPtr, NumResources); + } + return ret; + } + + /// To be documented. + public readonly int SetMaximumFrameLatency(uint MaxLatency) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[126])(@this, MaxLatency); + return ret; + } + + /// To be documented. + public readonly unsafe int GetMaximumFrameLatency(uint* pMaxLatency) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[127])(@this, pMaxLatency); + return ret; + } + + /// To be documented. + public readonly int GetMaximumFrameLatency(ref uint pMaxLatency) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pMaxLatencyPtr = &pMaxLatency) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[127])(@this, pMaxLatencyPtr); + } + return ret; + } + + /// To be documented. + public readonly int CheckDeviceState(nint hDestinationWindow) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[128])(@this, hDestinationWindow); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTargetEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, IDirect3DSurface9** ppSurface, void** pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[129])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurface, pSharedHandle, Usage); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTargetEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, IDirect3DSurface9** ppSurface, ref void* pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[129])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurface, pSharedHandlePtr, Usage); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTargetEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, ref IDirect3DSurface9* ppSurface, void** pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[129])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurfacePtr, pSharedHandle, Usage); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateRenderTargetEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Lockable, ref IDirect3DSurface9* ppSurface, ref void* pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[129])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Lockable, ppSurfacePtr, pSharedHandlePtr, Usage); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurfaceEx(uint Width, uint Height, Format Format, Pool Pool, IDirect3DSurface9** ppSurface, void** pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[130])(@this, Width, Height, Format, Pool, ppSurface, pSharedHandle, Usage); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurfaceEx(uint Width, uint Height, Format Format, Pool Pool, IDirect3DSurface9** ppSurface, ref void* pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[130])(@this, Width, Height, Format, Pool, ppSurface, pSharedHandlePtr, Usage); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurfaceEx(uint Width, uint Height, Format Format, Pool Pool, ref IDirect3DSurface9* ppSurface, void** pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[130])(@this, Width, Height, Format, Pool, ppSurfacePtr, pSharedHandle, Usage); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateOffscreenPlainSurfaceEx(uint Width, uint Height, Format Format, Pool Pool, ref IDirect3DSurface9* ppSurface, ref void* pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[130])(@this, Width, Height, Format, Pool, ppSurfacePtr, pSharedHandlePtr, Usage); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurfaceEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, IDirect3DSurface9** ppSurface, void** pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[131])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurface, pSharedHandle, Usage); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurfaceEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, IDirect3DSurface9** ppSurface, ref void* pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[131])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurface, pSharedHandlePtr, Usage); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurfaceEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, ref IDirect3DSurface9* ppSurface, void** pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[131])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurfacePtr, pSharedHandle, Usage); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateDepthStencilSurfaceEx(uint Width, uint Height, Format Format, MultisampleType MultiSample, uint MultisampleQuality, int Discard, ref IDirect3DSurface9* ppSurface, ref void* pSharedHandle, uint Usage) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppSurfacePtr = &ppSurface) + { + fixed (void** pSharedHandlePtr = &pSharedHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[131])(@this, Width, Height, Format, MultiSample, MultisampleQuality, Discard, ppSurfacePtr, pSharedHandlePtr, Usage); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int ResetEx(PresentParameters* pPresentationParameters, Displaymodeex* pFullscreenDisplayMode) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[132])(@this, pPresentationParameters, pFullscreenDisplayMode); + return ret; + } + + /// To be documented. + public readonly unsafe int ResetEx(PresentParameters* pPresentationParameters, ref Displaymodeex pFullscreenDisplayMode) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pFullscreenDisplayModePtr = &pFullscreenDisplayMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[132])(@this, pPresentationParameters, pFullscreenDisplayModePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int ResetEx(ref PresentParameters pPresentationParameters, Displaymodeex* pFullscreenDisplayMode) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[132])(@this, pPresentationParametersPtr, pFullscreenDisplayMode); + } + return ret; + } + + /// To be documented. + public readonly int ResetEx(ref PresentParameters pPresentationParameters, ref Displaymodeex pFullscreenDisplayMode) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + fixed (Displaymodeex* pFullscreenDisplayModePtr = &pFullscreenDisplayMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[132])(@this, pPresentationParametersPtr, pFullscreenDisplayModePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayModeEx(uint iSwapChain, Displaymodeex* pMode, Displayrotation* pRotation) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[133])(@this, iSwapChain, pMode, pRotation); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayModeEx(uint iSwapChain, Displaymodeex* pMode, ref Displayrotation pRotation) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displayrotation* pRotationPtr = &pRotation) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[133])(@this, iSwapChain, pMode, pRotationPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayModeEx(uint iSwapChain, ref Displaymodeex pMode, Displayrotation* pRotation) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[133])(@this, iSwapChain, pModePtr, pRotation); + } + return ret; + } + + /// To be documented. + public readonly int GetDisplayModeEx(uint iSwapChain, ref Displaymodeex pMode, ref Displayrotation pRotation) + { + var @this = (IDirect3DDevice9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pModePtr = &pMode) + { + fixed (Displayrotation* pRotationPtr = &pRotation) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[133])(@this, iSwapChain, pModePtr, pRotationPtr); + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9Video.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9Video.gen.cs new file mode 100644 index 0000000000..74cefecf51 --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9Video.gen.cs @@ -0,0 +1,507 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + [Guid("26dc4561-a1ee-4ae7-96da-118a36c0ec95")] + [NativeName("Name", "IDirect3DDevice9Video")] + public unsafe partial struct IDirect3DDevice9Video + { + public static readonly Guid Guid = new("26dc4561-a1ee-4ae7-96da-118a36c0ec95"); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DDevice9Video val) + => Unsafe.As(ref val); + + public IDirect3DDevice9Video + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecodeProfile, Contentprotectioncaps* pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoType, pDecodeProfile, pCaps); + return ret; + } + + /// To be documented. + public readonly unsafe int GetContentProtectionCaps(Guid* pCryptoType, Guid* pDecodeProfile, ref Contentprotectioncaps pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Contentprotectioncaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoType, pDecodeProfile, pCapsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetContentProtectionCaps(Guid* pCryptoType, ref Guid pDecodeProfile, Contentprotectioncaps* pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoType, pDecodeProfilePtr, pCaps); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetContentProtectionCaps(Guid* pCryptoType, ref Guid pDecodeProfile, ref Contentprotectioncaps pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (Contentprotectioncaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoType, pDecodeProfilePtr, pCapsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetContentProtectionCaps(ref Guid pCryptoType, Guid* pDecodeProfile, Contentprotectioncaps* pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoTypePtr, pDecodeProfile, pCaps); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetContentProtectionCaps(ref Guid pCryptoType, Guid* pDecodeProfile, ref Contentprotectioncaps pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (Contentprotectioncaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoTypePtr, pDecodeProfile, pCapsPtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetContentProtectionCaps(ref Guid pCryptoType, ref Guid pDecodeProfile, Contentprotectioncaps* pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoTypePtr, pDecodeProfilePtr, pCaps); + } + } + return ret; + } + + /// To be documented. + public readonly int GetContentProtectionCaps(ref Guid pCryptoType, ref Guid pDecodeProfile, ref Contentprotectioncaps pCaps) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (Contentprotectioncaps* pCapsPtr = &pCaps) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pCryptoTypePtr, pDecodeProfilePtr, pCapsPtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAuthenticatedChannel(Authenticatedchanneltype ChannelType, IDirect3DAuthenticatedChannel9** ppAuthenticatedChannel, void** pChannelHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, ChannelType, ppAuthenticatedChannel, pChannelHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAuthenticatedChannel(Authenticatedchanneltype ChannelType, IDirect3DAuthenticatedChannel9** ppAuthenticatedChannel, ref void* pChannelHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pChannelHandlePtr = &pChannelHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, ChannelType, ppAuthenticatedChannel, pChannelHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAuthenticatedChannel(Authenticatedchanneltype ChannelType, ref IDirect3DAuthenticatedChannel9* ppAuthenticatedChannel, void** pChannelHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DAuthenticatedChannel9** ppAuthenticatedChannelPtr = &ppAuthenticatedChannel) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, ChannelType, ppAuthenticatedChannelPtr, pChannelHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateAuthenticatedChannel(Authenticatedchanneltype ChannelType, ref IDirect3DAuthenticatedChannel9* ppAuthenticatedChannel, ref void* pChannelHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DAuthenticatedChannel9** ppAuthenticatedChannelPtr = &ppAuthenticatedChannel) + { + fixed (void** pChannelHandlePtr = &pChannelHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, ChannelType, ppAuthenticatedChannelPtr, pChannelHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, Guid* pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfile, ppCryptoSession, pCryptoHandle); + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, Guid* pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfile, ppCryptoSession, pCryptoHandlePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, Guid* pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfile, ppCryptoSessionPtr, pCryptoHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, Guid* pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfile, ppCryptoSessionPtr, pCryptoHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, ref Guid pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfilePtr, ppCryptoSession, pCryptoHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, ref Guid pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfilePtr, ppCryptoSession, pCryptoHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, ref Guid pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfilePtr, ppCryptoSessionPtr, pCryptoHandle); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(Guid* pCryptoType, ref Guid pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoType, pDecodeProfilePtr, ppCryptoSessionPtr, pCryptoHandlePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, Guid* pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfile, ppCryptoSession, pCryptoHandle); + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, Guid* pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfile, ppCryptoSession, pCryptoHandlePtr); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, Guid* pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfile, ppCryptoSessionPtr, pCryptoHandle); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, Guid* pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfile, ppCryptoSessionPtr, pCryptoHandlePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, ref Guid pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfilePtr, ppCryptoSession, pCryptoHandle); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, ref Guid pDecodeProfile, IDirect3DCryptoSession9** ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfilePtr, ppCryptoSession, pCryptoHandlePtr); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, ref Guid pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, void** pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfilePtr, ppCryptoSessionPtr, pCryptoHandle); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int CreateCryptoSession(ref Guid pCryptoType, ref Guid pDecodeProfile, ref IDirect3DCryptoSession9* ppCryptoSession, ref void* pCryptoHandle) + { + var @this = (IDirect3DDevice9Video*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* pCryptoTypePtr = &pCryptoType) + { + fixed (Guid* pDecodeProfilePtr = &pDecodeProfile) + { + fixed (IDirect3DCryptoSession9** ppCryptoSessionPtr = &ppCryptoSession) + { + fixed (void** pCryptoHandlePtr = &pCryptoHandle) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pCryptoTypePtr, pDecodeProfilePtr, ppCryptoSessionPtr, pCryptoHandlePtr); + } + } + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DIndexBuffer9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DIndexBuffer9.gen.cs index 39c8a3721c..de3f4962ab 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DIndexBuffer9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DIndexBuffer9.gen.cs @@ -30,51 +30,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DIndexBuff public IDirect3DIndexBuffer9 ( - char* name = null, - uint? length = null, - uint? usage = null, - Format? format = null, - Pool? pool = null, - uint? priority = null, - uint? lockCount = null, void** lpVtbl = null ) : this() { - if (name is not null) - { - Name = name; - } - - if (length is not null) - { - Length = length.Value; - } - - if (usage is not null) - { - Usage = usage.Value; - } - - if (format is not null) - { - Format = format.Value; - } - - if (pool is not null) - { - Pool = pool.Value; - } - - if (priority is not null) - { - Priority = priority.Value; - } - - if (lockCount is not null) - { - LockCount = lockCount.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -82,41 +40,6 @@ public IDirect3DIndexBuffer9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Name")] - public char* Name; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Length")] - public uint Length; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Usage")] - public uint Usage; - - [NativeName("Type", "D3DFORMAT")] - [NativeName("Type.Name", "D3DFORMAT")] - [NativeName("Name", "Format")] - public Format Format; - - [NativeName("Type", "D3DPOOL")] - [NativeName("Type.Name", "D3DPOOL")] - [NativeName("Name", "Pool")] - public Pool Pool; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Priority")] - public uint Priority; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "LockCount")] - public uint LockCount; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DPixelShader9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DPixelShader9.gen.cs index 4bc69e2665..602ffdf3c6 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DPixelShader9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DPixelShader9.gen.cs @@ -27,15 +27,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DPixelShad public IDirect3DPixelShader9 ( - uint? version = null, void** lpVtbl = null ) : this() { - if (version is not null) - { - Version = version.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -43,11 +37,6 @@ public IDirect3DPixelShader9 } - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Version")] - public uint Version; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DQuery9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DQuery9.gen.cs index f2648c8919..fd1cd5dd21 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DQuery9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DQuery9.gen.cs @@ -27,21 +27,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DQuery9 va public IDirect3DQuery9 ( - Querytype? type = null, - uint? dataSize = null, void** lpVtbl = null ) : this() { - if (type is not null) - { - Type = type.Value; - } - - if (dataSize is not null) - { - DataSize = dataSize.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -49,16 +37,6 @@ public IDirect3DQuery9 } - [NativeName("Type", "D3DQUERYTYPE")] - [NativeName("Type.Name", "D3DQUERYTYPE")] - [NativeName("Name", "Type")] - public Querytype Type; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "DataSize")] - public uint DataSize; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs index 26b2e4a655..f6f0fb9795 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs @@ -30,75 +30,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DSurface9 public IDirect3DSurface9 ( - char* name = null, - uint? width = null, - uint? height = null, - uint? usage = null, - Format? format = null, - Pool? pool = null, - MultisampleType? multiSampleType = null, - uint? multiSampleQuality = null, - uint? priority = null, - uint? lockCount = null, - uint? dCCount = null, void** lpVtbl = null ) : this() { - if (name is not null) - { - Name = name; - } - - if (width is not null) - { - Width = width.Value; - } - - if (height is not null) - { - Height = height.Value; - } - - if (usage is not null) - { - Usage = usage.Value; - } - - if (format is not null) - { - Format = format.Value; - } - - if (pool is not null) - { - Pool = pool.Value; - } - - if (multiSampleType is not null) - { - MultiSampleType = multiSampleType.Value; - } - - if (multiSampleQuality is not null) - { - MultiSampleQuality = multiSampleQuality.Value; - } - - if (priority is not null) - { - Priority = priority.Value; - } - - if (lockCount is not null) - { - LockCount = lockCount.Value; - } - - if (dCCount is not null) - { - DCCount = dCCount.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -106,61 +40,6 @@ public IDirect3DSurface9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Name")] - public char* Name; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Width")] - public uint Width; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Height")] - public uint Height; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Usage")] - public uint Usage; - - [NativeName("Type", "D3DFORMAT")] - [NativeName("Type.Name", "D3DFORMAT")] - [NativeName("Name", "Format")] - public Format Format; - - [NativeName("Type", "D3DPOOL")] - [NativeName("Type.Name", "D3DPOOL")] - [NativeName("Name", "Pool")] - public Pool Pool; - - [NativeName("Type", "D3DMULTISAMPLE_TYPE")] - [NativeName("Type.Name", "D3DMULTISAMPLE_TYPE")] - [NativeName("Name", "MultiSampleType")] - public MultisampleType MultiSampleType; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "MultiSampleQuality")] - public uint MultiSampleQuality; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Priority")] - public uint Priority; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "LockCount")] - public uint LockCount; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "DCCount")] - public uint DCCount; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs index 0f0962f33a..ffe4ba4bc3 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs @@ -27,21 +27,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DSwapChain public IDirect3DSwapChain9 ( - PresentParameters? presentParameters = null, - Displaymode? displayMode = null, void** lpVtbl = null ) : this() { - if (presentParameters is not null) - { - PresentParameters = presentParameters.Value; - } - - if (displayMode is not null) - { - DisplayMode = displayMode.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -49,16 +37,6 @@ public IDirect3DSwapChain9 } - [NativeName("Type", "D3DPRESENT_PARAMETERS")] - [NativeName("Type.Name", "D3DPRESENT_PARAMETERS")] - [NativeName("Name", "PresentParameters")] - public PresentParameters PresentParameters; - - [NativeName("Type", "D3DDISPLAYMODE")] - [NativeName("Type.Name", "D3DDISPLAYMODE")] - [NativeName("Name", "DisplayMode")] - public Displaymode DisplayMode; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9Ex.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9Ex.gen.cs new file mode 100644 index 0000000000..ca4e97c49f --- /dev/null +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9Ex.gen.cs @@ -0,0 +1,438 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Direct3D9 +{ + [Guid("91886caf-1c3d-4d2e-a0ab-3e4c7d8d3303")] + [NativeName("Name", "IDirect3DSwapChain9Ex")] + public unsafe partial struct IDirect3DSwapChain9Ex + { + public static readonly Guid Guid = new("91886caf-1c3d-4d2e-a0ab-3e4c7d8d3303"); + + public static implicit operator IDirect3DSwapChain9(IDirect3DSwapChain9Ex val) + => Unsafe.As(ref val); + + public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DSwapChain9Ex val) + => Unsafe.As(ref val); + + public IDirect3DSwapChain9Ex + ( + void** lpVtbl = null + ) : this() + { + if (lpVtbl is not null) + { + LpVtbl = lpVtbl; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "lpVtbl")] + public void** LpVtbl; + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObject); + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riid, ppvObjectPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObject); + } + return ret; + } + + /// To be documented. + public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Guid* riidPtr = &riid) + { + fixed (void** ppvObjectPtr = &ppvObject) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, riidPtr, ppvObjectPtr); + } + } + return ret; + } + + /// To be documented. + public readonly uint AddRef() + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[1])(@this); + return ret; + } + + /// To be documented. + public readonly uint Release() + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + uint ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this); + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags); + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegion, dwFlags); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags); + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegion, dwFlags); + } + } + return ret; + } + + /// To be documented. + public readonly int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Silk.NET.Maths.Rectangle* pSourceRectPtr = &pSourceRect) + { + fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) + { + fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) + { + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + } + } + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetFrontBufferData(IDirect3DSurface9* pDestSurface) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDestSurface); + return ret; + } + + /// To be documented. + public readonly int GetFrontBufferData(ref IDirect3DSurface9 pDestSurface) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9* pDestSurfacePtr = &pDestSurface) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pDestSurfacePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetBackBuffer(uint iBackBuffer, BackbufferType Type, IDirect3DSurface9** ppBackBuffer) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, iBackBuffer, Type, ppBackBuffer); + return ret; + } + + /// To be documented. + public readonly unsafe int GetBackBuffer(uint iBackBuffer, BackbufferType Type, ref IDirect3DSurface9* ppBackBuffer) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DSurface9** ppBackBufferPtr = &ppBackBuffer) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, iBackBuffer, Type, ppBackBufferPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetRasterStatus(RasterStatus* pRasterStatus) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pRasterStatus); + return ret; + } + + /// To be documented. + public readonly int GetRasterStatus(ref RasterStatus pRasterStatus) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (RasterStatus* pRasterStatusPtr = &pRasterStatus) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pRasterStatusPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayMode(Displaymode* pMode) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pMode); + return ret; + } + + /// To be documented. + public readonly int GetDisplayMode(ref Displaymode pMode) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymode* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pModePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDevice(IDirect3DDevice9** ppDevice) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, ppDevice); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDevice(ref IDirect3DDevice9* ppDevice) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (IDirect3DDevice9** ppDevicePtr = &ppDevice) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, ppDevicePtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetPresentParameters(PresentParameters* pPresentationParameters) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pPresentationParameters); + return ret; + } + + /// To be documented. + public readonly int GetPresentParameters(ref PresentParameters pPresentationParameters) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (PresentParameters* pPresentationParametersPtr = &pPresentationParameters) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pPresentationParametersPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetLastPresentCount(uint* pLastPresentCount) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pLastPresentCount); + return ret; + } + + /// To be documented. + public readonly int GetLastPresentCount(ref uint pLastPresentCount) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (uint* pLastPresentCountPtr = &pLastPresentCount) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pLastPresentCountPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetPresentStats(Presentstats* pPresentationStatistics) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, pPresentationStatistics); + return ret; + } + + /// To be documented. + public readonly int GetPresentStats(ref Presentstats pPresentationStatistics) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Presentstats* pPresentationStatisticsPtr = &pPresentationStatistics) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, pPresentationStatisticsPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayModeEx(Displaymodeex* pMode, Displayrotation* pRotation) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + ret = ((delegate* unmanaged[Cdecl])LpVtbl[12])(@this, pMode, pRotation); + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayModeEx(Displaymodeex* pMode, ref Displayrotation pRotation) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displayrotation* pRotationPtr = &pRotation) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[12])(@this, pMode, pRotationPtr); + } + return ret; + } + + /// To be documented. + public readonly unsafe int GetDisplayModeEx(ref Displaymodeex pMode, Displayrotation* pRotation) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pModePtr = &pMode) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[12])(@this, pModePtr, pRotation); + } + return ret; + } + + /// To be documented. + public readonly int GetDisplayModeEx(ref Displaymodeex pMode, ref Displayrotation pRotation) + { + var @this = (IDirect3DSwapChain9Ex*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); + int ret = default; + fixed (Displaymodeex* pModePtr = &pMode) + { + fixed (Displayrotation* pRotationPtr = &pRotation) + { + ret = ((delegate* unmanaged[Cdecl])LpVtbl[12])(@this, pModePtr, pRotationPtr); + } + } + return ret; + } + + } +} diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DTexture9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DTexture9.gen.cs index c516d0f0f7..7a4d210ceb 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DTexture9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DTexture9.gen.cs @@ -33,75 +33,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DTexture9 public IDirect3DTexture9 ( - char* name = null, - uint? width = null, - uint? height = null, - uint? levels = null, - uint? usage = null, - Format? format = null, - Pool? pool = null, - uint? priority = null, - uint? lOD = null, - Texturefiltertype? filterType = null, - uint? lockCount = null, void** lpVtbl = null ) : this() { - if (name is not null) - { - Name = name; - } - - if (width is not null) - { - Width = width.Value; - } - - if (height is not null) - { - Height = height.Value; - } - - if (levels is not null) - { - Levels = levels.Value; - } - - if (usage is not null) - { - Usage = usage.Value; - } - - if (format is not null) - { - Format = format.Value; - } - - if (pool is not null) - { - Pool = pool.Value; - } - - if (priority is not null) - { - Priority = priority.Value; - } - - if (lOD is not null) - { - LOD = lOD.Value; - } - - if (filterType is not null) - { - FilterType = filterType.Value; - } - - if (lockCount is not null) - { - LockCount = lockCount.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -109,61 +43,6 @@ public IDirect3DTexture9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Name")] - public char* Name; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Width")] - public uint Width; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Height")] - public uint Height; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Levels")] - public uint Levels; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Usage")] - public uint Usage; - - [NativeName("Type", "D3DFORMAT")] - [NativeName("Type.Name", "D3DFORMAT")] - [NativeName("Name", "Format")] - public Format Format; - - [NativeName("Type", "D3DPOOL")] - [NativeName("Type.Name", "D3DPOOL")] - [NativeName("Name", "Pool")] - public Pool Pool; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Priority")] - public uint Priority; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "LOD")] - public uint LOD; - - [NativeName("Type", "D3DTEXTUREFILTERTYPE")] - [NativeName("Type.Name", "D3DTEXTUREFILTERTYPE")] - [NativeName("Name", "FilterType")] - public Texturefiltertype FilterType; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "LockCount")] - public uint LockCount; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexBuffer9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexBuffer9.gen.cs index d4ad79f388..36506bdc82 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexBuffer9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexBuffer9.gen.cs @@ -30,51 +30,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DVertexBuf public IDirect3DVertexBuffer9 ( - char* name = null, - uint? length = null, - uint? usage = null, - uint? fVF = null, - Pool? pool = null, - uint? priority = null, - uint? lockCount = null, void** lpVtbl = null ) : this() { - if (name is not null) - { - Name = name; - } - - if (length is not null) - { - Length = length.Value; - } - - if (usage is not null) - { - Usage = usage.Value; - } - - if (fVF is not null) - { - FVF = fVF.Value; - } - - if (pool is not null) - { - Pool = pool.Value; - } - - if (priority is not null) - { - Priority = priority.Value; - } - - if (lockCount is not null) - { - LockCount = lockCount.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -82,41 +40,6 @@ public IDirect3DVertexBuffer9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Name")] - public char* Name; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Length")] - public uint Length; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Usage")] - public uint Usage; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "FVF")] - public uint FVF; - - [NativeName("Type", "D3DPOOL")] - [NativeName("Type.Name", "D3DPOOL")] - [NativeName("Name", "Pool")] - public Pool Pool; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Priority")] - public uint Priority; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "LockCount")] - public uint LockCount; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexDeclaration9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexDeclaration9.gen.cs index f32164d131..f360c20594 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexDeclaration9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexDeclaration9.gen.cs @@ -129,48 +129,48 @@ public readonly unsafe int GetDevice(ref IDirect3DDevice9* ppDevice) } /// To be documented. - public readonly unsafe int GetDeclaration(Vertexelement9* arg0, uint* pNumElements) + public readonly unsafe int GetDeclaration(Vertexelement9* pElement, uint* pNumElements) { var @this = (IDirect3DVertexDeclaration9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, arg0, pNumElements); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pElement, pNumElements); return ret; } /// To be documented. - public readonly unsafe int GetDeclaration(Vertexelement9* arg0, ref uint pNumElements) + public readonly unsafe int GetDeclaration(Vertexelement9* pElement, ref uint pNumElements) { var @this = (IDirect3DVertexDeclaration9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pNumElementsPtr = &pNumElements) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, arg0, pNumElementsPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pElement, pNumElementsPtr); } return ret; } /// To be documented. - public readonly unsafe int GetDeclaration(ref Vertexelement9 arg0, uint* pNumElements) + public readonly unsafe int GetDeclaration(ref Vertexelement9 pElement, uint* pNumElements) { var @this = (IDirect3DVertexDeclaration9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (Vertexelement9* arg0Ptr = &arg0) + fixed (Vertexelement9* pElementPtr = &pElement) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, arg0Ptr, pNumElements); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pElementPtr, pNumElements); } return ret; } /// To be documented. - public readonly int GetDeclaration(ref Vertexelement9 arg0, ref uint pNumElements) + public readonly int GetDeclaration(ref Vertexelement9 pElement, ref uint pNumElements) { var @this = (IDirect3DVertexDeclaration9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (Vertexelement9* arg0Ptr = &arg0) + fixed (Vertexelement9* pElementPtr = &pElement) { fixed (uint* pNumElementsPtr = &pNumElements) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, arg0Ptr, pNumElementsPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pElementPtr, pNumElementsPtr); } } return ret; diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexShader9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexShader9.gen.cs index b73e4774f8..b1b4502083 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexShader9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVertexShader9.gen.cs @@ -27,15 +27,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DVertexSha public IDirect3DVertexShader9 ( - uint? version = null, void** lpVtbl = null ) : this() { - if (version is not null) - { - Version = version.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -43,11 +37,6 @@ public IDirect3DVertexShader9 } - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Version")] - public uint Version; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolume9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolume9.gen.cs index 929e870184..00a0e3bb22 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolume9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolume9.gen.cs @@ -27,57 +27,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DVolume9 v public IDirect3DVolume9 ( - char* name = null, - uint? width = null, - uint? height = null, - uint? depth = null, - uint? usage = null, - Format? format = null, - Pool? pool = null, - uint? lockCount = null, void** lpVtbl = null ) : this() { - if (name is not null) - { - Name = name; - } - - if (width is not null) - { - Width = width.Value; - } - - if (height is not null) - { - Height = height.Value; - } - - if (depth is not null) - { - Depth = depth.Value; - } - - if (usage is not null) - { - Usage = usage.Value; - } - - if (format is not null) - { - Format = format.Value; - } - - if (pool is not null) - { - Pool = pool.Value; - } - - if (lockCount is not null) - { - LockCount = lockCount.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -85,46 +37,6 @@ public IDirect3DVolume9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Name")] - public char* Name; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Width")] - public uint Width; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Height")] - public uint Height; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Depth")] - public uint Depth; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Usage")] - public uint Usage; - - [NativeName("Type", "D3DFORMAT")] - [NativeName("Type.Name", "D3DFORMAT")] - [NativeName("Name", "Format")] - public Format Format; - - [NativeName("Type", "D3DPOOL")] - [NativeName("Type.Name", "D3DPOOL")] - [NativeName("Name", "Pool")] - public Pool Pool; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "LockCount")] - public uint LockCount; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolumeTexture9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolumeTexture9.gen.cs index 29977b1463..a5c87574dd 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolumeTexture9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DVolumeTexture9.gen.cs @@ -33,81 +33,9 @@ public static implicit operator Silk.NET.Core.Native.IUnknown(IDirect3DVolumeTex public IDirect3DVolumeTexture9 ( - char* name = null, - uint? width = null, - uint? height = null, - uint? depth = null, - uint? levels = null, - uint? usage = null, - Format? format = null, - Pool? pool = null, - uint? priority = null, - uint? lOD = null, - Texturefiltertype? filterType = null, - uint? lockCount = null, void** lpVtbl = null ) : this() { - if (name is not null) - { - Name = name; - } - - if (width is not null) - { - Width = width.Value; - } - - if (height is not null) - { - Height = height.Value; - } - - if (depth is not null) - { - Depth = depth.Value; - } - - if (levels is not null) - { - Levels = levels.Value; - } - - if (usage is not null) - { - Usage = usage.Value; - } - - if (format is not null) - { - Format = format.Value; - } - - if (pool is not null) - { - Pool = pool.Value; - } - - if (priority is not null) - { - Priority = priority.Value; - } - - if (lOD is not null) - { - LOD = lOD.Value; - } - - if (filterType is not null) - { - FilterType = filterType.Value; - } - - if (lockCount is not null) - { - LockCount = lockCount.Value; - } - if (lpVtbl is not null) { LpVtbl = lpVtbl; @@ -115,66 +43,6 @@ public IDirect3DVolumeTexture9 } - [NativeName("Type", "LPCWSTR")] - [NativeName("Type.Name", "LPCWSTR")] - [NativeName("Name", "Name")] - public char* Name; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Width")] - public uint Width; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Height")] - public uint Height; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Depth")] - public uint Depth; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "Levels")] - public uint Levels; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Usage")] - public uint Usage; - - [NativeName("Type", "D3DFORMAT")] - [NativeName("Type.Name", "D3DFORMAT")] - [NativeName("Name", "Format")] - public Format Format; - - [NativeName("Type", "D3DPOOL")] - [NativeName("Type.Name", "D3DPOOL")] - [NativeName("Name", "Pool")] - public Pool Pool; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "Priority")] - public uint Priority; - - [NativeName("Type", "DWORD")] - [NativeName("Type.Name", "DWORD")] - [NativeName("Name", "LOD")] - public uint LOD; - - [NativeName("Type", "D3DTEXTUREFILTERTYPE")] - [NativeName("Type.Name", "D3DTEXTUREFILTERTYPE")] - [NativeName("Name", "FilterType")] - public Texturefiltertype FilterType; - - [NativeName("Type", "UINT")] - [NativeName("Type.Name", "UINT")] - [NativeName("Name", "LockCount")] - public uint LockCount; - [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "lpVtbl")] diff --git a/src/Microsoft/Silk.NET.XInput/Structs/Keystroke.gen.cs b/src/Microsoft/Silk.NET.XInput/Structs/Keystroke.gen.cs index 36d1f1deae..1c30b5367d 100644 --- a/src/Microsoft/Silk.NET.XInput/Structs/Keystroke.gen.cs +++ b/src/Microsoft/Silk.NET.XInput/Structs/Keystroke.gen.cs @@ -16,6 +16,7 @@ namespace Silk.NET.XInput { + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] [NativeName("Name", "_XINPUT_KEYSTROKE")] public unsafe partial struct Keystroke { diff --git a/src/Microsoft/dxva.h b/src/Microsoft/dxva.h new file mode 100644 index 0000000000..fedc4dd34d --- /dev/null +++ b/src/Microsoft/dxva.h @@ -0,0 +1,11 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include \ No newline at end of file diff --git a/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj b/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj index 9436a056c8..c574986f28 100644 --- a/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj +++ b/src/OpenAL/Silk.NET.OpenAL/Silk.NET.OpenAL.csproj @@ -1,6 +1,6 @@  - netstandard20 + netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 true true preview diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/Enums/INTEL.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/Enums/INTEL.gen.cs index d8bb1ed391..38e7ad2c1d 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/Enums/INTEL.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/Enums/INTEL.gen.cs @@ -146,6 +146,24 @@ public enum INTEL : int QueueCapabilityBarrierIntel = 0x2000000, [NativeName("Name", "CL_QUEUE_CAPABILITY_KERNEL_INTEL")] QueueCapabilityKernelIntel = 0x4000000, + [NativeName("Name", "CL_DEVICE_FEATURE_FLAG_DP4A_INTEL")] + DeviceFeatureFlagDP4AIntel = 0x1, + [NativeName("Name", "CL_DEVICE_FEATURE_FLAG_DPAS_INTEL")] + DeviceFeatureFlagDpasIntel = 0x2, + [NativeName("Name", "CL_DEVICE_IP_VERSION_INTEL")] + DeviceIPVersionIntel = 0x4250, + [NativeName("Name", "CL_DEVICE_ID_INTEL")] + DeviceIDIntel = 0x4251, + [NativeName("Name", "CL_DEVICE_NUM_SLICES_INTEL")] + DeviceNumSlicesIntel = 0x4252, + [NativeName("Name", "CL_DEVICE_NUM_SUB_SLICES_PER_SLICE_INTEL")] + DeviceNumSubSlicesPerSliceIntel = 0x4253, + [NativeName("Name", "CL_DEVICE_NUM_EUS_PER_SUB_SLICE_INTEL")] + DeviceNumEusPerSubSliceIntel = 0x4254, + [NativeName("Name", "CL_DEVICE_NUM_THREADS_PER_EU_INTEL")] + DeviceNumThreadsPerEUIntel = 0x4255, + [NativeName("Name", "CL_DEVICE_FEATURE_CAPABILITIES_INTEL")] + DeviceFeatureCapabilitiesIntel = 0x4256, [NativeName("Name", "CL_DEVICE_PARTITION_BY_NAMES_INTEL")] DevicePartitionByNamesIntel = 0x4052, [NativeName("Name", "CL_DEVICE_AVC_ME_VERSION_INTEL")] diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/HandCapsuleFB.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/HandCapsuleFB.gen.cs index d04f79bd3b..2a0c18957e 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/HandCapsuleFB.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/HandCapsuleFB.gen.cs @@ -62,7 +62,7 @@ public ref Vector3f this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/HandTrackingCapsulesStateFB.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/HandTrackingCapsulesStateFB.gen.cs index fffda34ea3..42db48bcd4 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/HandTrackingCapsulesStateFB.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/HandTrackingCapsulesStateFB.gen.cs @@ -89,7 +89,7 @@ public ref HandCapsuleFB this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 19); #endif diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBuffer.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBuffer.gen.cs index d8029d5c83..2e42463a87 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBuffer.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBuffer.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class AndroidExternalMemoryAndroidHardwareBuffer : NativeE public unsafe partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] nint* buffer, [Count(Count = 0), Flow(FlowDirection.Out)] AndroidHardwareBufferPropertiesANDROID* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.AndroidHardwareBufferPropertiesAndroid);")] [NativeApi(EntryPoint = "vkGetAndroidHardwareBufferPropertiesANDROID")] public unsafe partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] nint* buffer, [Count(Count = 0), Flow(FlowDirection.Out)] out AndroidHardwareBufferPropertiesANDROID pProperties); @@ -33,6 +34,7 @@ public unsafe partial class AndroidExternalMemoryAndroidHardwareBuffer : NativeE public unsafe partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in nint buffer, [Count(Count = 0), Flow(FlowDirection.Out)] AndroidHardwareBufferPropertiesANDROID* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.AndroidHardwareBufferPropertiesAndroid);")] [NativeApi(EntryPoint = "vkGetAndroidHardwareBufferPropertiesANDROID")] public partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in nint buffer, [Count(Count = 0), Flow(FlowDirection.Out)] out AndroidHardwareBufferPropertiesANDROID pProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBufferOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBufferOverloads.gen.cs index 0acc8f26dc..c7b8f3cb64 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBufferOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.ANDROID/AndroidExternalMemoryAndroidHardwareBufferOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.ANDROID public static class AndroidExternalMemoryAndroidHardwareBufferOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.AndroidHardwareBufferPropertiesAndroid);")] public static unsafe Result GetAndroidHardwareBufferProperties(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] nint* buffer, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetAndroidHardwareBufferProperties(this AndroidExter } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.AndroidHardwareBufferPropertiesAndroid);")] public static unsafe Result GetAndroidHardwareBufferProperties(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan buffer, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounter.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounter.gen.cs index ef78c76983..32cc205450 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounter.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounter.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class ExtDisplaySurfaceCounter : NativeExtension public unsafe partial Result GetPhysicalDeviceSurfaceCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.Out)] SurfaceCapabilities2EXT* pSurfaceCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceCapabilities = new(StructureType.SurfaceCapabilities2Ext);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSurfaceCapabilities2EXT")] public partial Result GetPhysicalDeviceSurfaceCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.Out)] out SurfaceCapabilities2EXT pSurfaceCapabilities); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounterOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounterOverloads.gen.cs index 24aac2f612..4f28eda784 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounterOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDisplaySurfaceCounterOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtDisplaySurfaceCounterOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceCapabilities = new(StructureType.SurfaceCapabilities2Ext);")] public static unsafe Result GetPhysicalDeviceSurfaceCapabilities2(this ExtDisplaySurfaceCounter thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSurfaceCapabilities) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHost.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHost.gen.cs index 0a46b4950e..5b99e7d5ba 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHost.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHost.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class ExtExternalMemoryHost : NativeExtension public unsafe partial Result GetMemoryHostPointerProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] void* pHostPointer, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryHostPointerProperties = new(StructureType.MemoryHostPointerPropertiesExt);")] [NativeApi(EntryPoint = "vkGetMemoryHostPointerPropertiesEXT")] public unsafe partial Result GetMemoryHostPointerProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] void* pHostPointer, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryHostPointerPropertiesEXT pMemoryHostPointerProperties); @@ -33,6 +34,7 @@ public unsafe partial class ExtExternalMemoryHost : NativeExtension public unsafe partial Result GetMemoryHostPointerProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] ref T0 pHostPointer, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties) where T0 : unmanaged; /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryHostPointerProperties = new(StructureType.MemoryHostPointerPropertiesExt);")] [NativeApi(EntryPoint = "vkGetMemoryHostPointerPropertiesEXT")] public partial Result GetMemoryHostPointerProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] ref T0 pHostPointer, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryHostPointerPropertiesEXT pMemoryHostPointerProperties) where T0 : unmanaged; diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHostOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHostOverloads.gen.cs index 8e985907d0..8b261b2d1a 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHostOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtExternalMemoryHostOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtExternalMemoryHostOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryHostPointerProperties = new(StructureType.MemoryHostPointerPropertiesExt);")] public static unsafe Result GetMemoryHostPointerProperties(this ExtExternalMemoryHost thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] void* pHostPointer, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryHostPointerProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetMemoryHostPointerProperties(this ExtExternalM } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryHostPointerProperties = new(StructureType.MemoryHostPointerPropertiesExt);")] public static unsafe Result GetMemoryHostPointerProperties(this ExtExternalMemoryHost thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] Span pHostPointer, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryHostPointerProperties) where T0 : unmanaged { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifier.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifier.gen.cs index 92a280ac06..c0a238fdb6 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifier.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifier.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class ExtImageDrmFormatModifier : NativeExtension public unsafe partial Result GetImageDrmFormatModifierProperties([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(FlowDirection.Out)] ImageDrmFormatModifierPropertiesEXT* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.ImageDrmFormatModifierPropertiesExt);")] [NativeApi(EntryPoint = "vkGetImageDrmFormatModifierPropertiesEXT")] public partial Result GetImageDrmFormatModifierProperties([Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(FlowDirection.Out)] out ImageDrmFormatModifierPropertiesEXT pProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifierOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifierOverloads.gen.cs index 775749cbe5..9fdff5baed 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifierOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtImageDrmFormatModifierOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtImageDrmFormatModifierOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.ImageDrmFormatModifierPropertiesExt);")] public static unsafe Result GetImageDrmFormatModifierProperties(this ExtImageDrmFormatModifier thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Image image, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtPageableDeviceLocalMemory.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtPageableDeviceLocalMemory.gen.cs new file mode 100644 index 0000000000..d0e293181d --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtPageableDeviceLocalMemory.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; +using Silk.NET.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.EXT +{ + [Extension("VK_EXT_pageable_device_local_memory")] + public unsafe partial class ExtPageableDeviceLocalMemory : NativeExtension + { + public const string ExtensionName = "VK_EXT_pageable_device_local_memory"; + /// To be documented. + [NativeApi(EntryPoint = "vkSetDeviceMemoryPriorityEXT")] + public partial void SetDeviceMemoryPriority([Count(Count = 0)] Device device, [Count(Count = 0)] DeviceMemory memory, [Count(Count = 0)] float priority); + + public ExtPageableDeviceLocalMemory(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocations.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocations.gen.cs index 2c764f1621..798bc5de1b 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocations.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocations.gen.cs @@ -33,6 +33,7 @@ public unsafe partial class ExtSampleLocations : NativeExtension public unsafe partial void GetPhysicalDeviceMultisampleProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SampleCountFlags samples, [Count(Count = 0), Flow(FlowDirection.Out)] MultisamplePropertiesEXT* pMultisampleProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMultisampleProperties = new(StructureType.MultisamplePropertiesExt);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceMultisamplePropertiesEXT")] public partial void GetPhysicalDeviceMultisampleProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SampleCountFlags samples, [Count(Count = 0), Flow(FlowDirection.Out)] out MultisamplePropertiesEXT pMultisampleProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocationsOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocationsOverloads.gen.cs index 0c63565be8..d2133c908d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocationsOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtSampleLocationsOverloads.gen.cs @@ -24,6 +24,7 @@ public static unsafe void CmdSetSampleLocation(this ExtSampleLocations thisApi, } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMultisampleProperties = new(StructureType.MultisamplePropertiesExt);")] public static unsafe void GetPhysicalDeviceMultisampleProperties(this ExtSampleLocations thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SampleCountFlags samples, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMultisampleProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfo.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfo.gen.cs index b27d48871c..131c88457e 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfo.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfo.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class ExtToolingInfo : NativeExtension public unsafe partial Result GetPhysicalDeviceToolProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pToolCount, [Count(Parameter = "pToolCount"), Flow(FlowDirection.Out)] PhysicalDeviceToolPropertiesEXT* pToolProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pToolProperties = new(StructureType.PhysicalDeviceToolPropertiesExt);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceToolPropertiesEXT")] public unsafe partial Result GetPhysicalDeviceToolProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pToolCount, [Count(Parameter = "pToolCount"), Flow(FlowDirection.Out)] out PhysicalDeviceToolPropertiesEXT pToolProperties); @@ -33,6 +34,7 @@ public unsafe partial class ExtToolingInfo : NativeExtension public unsafe partial Result GetPhysicalDeviceToolProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pToolCount, [Count(Parameter = "pToolCount"), Flow(FlowDirection.Out)] PhysicalDeviceToolPropertiesEXT* pToolProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pToolProperties = new(StructureType.PhysicalDeviceToolPropertiesExt);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceToolPropertiesEXT")] public partial Result GetPhysicalDeviceToolProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pToolCount, [Count(Parameter = "pToolCount"), Flow(FlowDirection.Out)] out PhysicalDeviceToolPropertiesEXT pToolProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfoOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfoOverloads.gen.cs index 966aa96698..b053508f7d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfoOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtToolingInfoOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtToolingInfoOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pToolProperties = new(StructureType.PhysicalDeviceToolPropertiesExt);")] public static unsafe Result GetPhysicalDeviceToolProperties(this ExtToolingInfo thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pToolCount, [Count(Parameter = "pToolCount"), Flow(FlowDirection.Out)] Span pToolProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetPhysicalDeviceToolProperties(this ExtToolingInfo } /// To be documented. + [Inject(SilkTouchStage.Begin, "pToolProperties = new(StructureType.PhysicalDeviceToolPropertiesExt);")] public static unsafe Result GetPhysicalDeviceToolProperties(this ExtToolingInfo thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pToolCount, [Count(Parameter = "pToolCount"), Flow(FlowDirection.Out)] Span pToolProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaBufferCollection.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaBufferCollection.gen.cs new file mode 100644 index 0000000000..ddcdbdfec5 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaBufferCollection.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; +using Silk.NET.Vulkan; +using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.FUCHSIA +{ + [Extension("VK_FUCHSIA_buffer_collection")] + public unsafe partial class FuchsiaBufferCollection : NativeExtension + { + public const string ExtensionName = "VK_FUCHSIA_buffer_collection"; + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public unsafe partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferCollectionCreateInfoFUCHSIA* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionFUCHSIA* pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public unsafe partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferCollectionCreateInfoFUCHSIA* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out BufferCollectionFUCHSIA pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public unsafe partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferCollectionCreateInfoFUCHSIA* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionFUCHSIA* pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public unsafe partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferCollectionCreateInfoFUCHSIA* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out BufferCollectionFUCHSIA pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public unsafe partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferCollectionCreateInfoFUCHSIA pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionFUCHSIA* pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public unsafe partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferCollectionCreateInfoFUCHSIA pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out BufferCollectionFUCHSIA pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public unsafe partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferCollectionCreateInfoFUCHSIA pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionFUCHSIA* pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkCreateBufferCollectionFUCHSIA")] + public partial Result CreateBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferCollectionCreateInfoFUCHSIA pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out BufferCollectionFUCHSIA pCollection); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyBufferCollectionFUCHSIA")] + public unsafe partial void DestroyBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkDestroyBufferCollectionFUCHSIA")] + public partial void DestroyBufferCollectionFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator); + + /// To be documented. + [NativeApi(EntryPoint = "vkGetBufferCollectionPropertiesFUCHSIA")] + public unsafe partial Result GetBufferCollectionPropertiesFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionPropertiesFUCHSIA* pProperties); + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.BufferCollectionPropertiesFuchsia);")] + [NativeApi(EntryPoint = "vkGetBufferCollectionPropertiesFUCHSIA")] + public partial Result GetBufferCollectionPropertiesFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.Out)] out BufferCollectionPropertiesFUCHSIA pProperties); + + /// To be documented. + [NativeApi(EntryPoint = "vkSetBufferCollectionBufferConstraintsFUCHSIA")] + public unsafe partial Result SetBufferCollectionBufferConstraintsFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] BufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkSetBufferCollectionBufferConstraintsFUCHSIA")] + public partial Result SetBufferCollectionBufferConstraintsFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] in BufferConstraintsInfoFUCHSIA pBufferConstraintsInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkSetBufferCollectionImageConstraintsFUCHSIA")] + public unsafe partial Result SetBufferCollectionImageConstraintsFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] ImageConstraintsInfoFUCHSIA* pImageConstraintsInfo); + + /// To be documented. + [NativeApi(EntryPoint = "vkSetBufferCollectionImageConstraintsFUCHSIA")] + public partial Result SetBufferCollectionImageConstraintsFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] in ImageConstraintsInfoFUCHSIA pImageConstraintsInfo); + + public FuchsiaBufferCollection(INativeContext ctx) + : base(ctx) + { + } + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaBufferCollectionOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaBufferCollectionOverloads.gen.cs new file mode 100644 index 0000000000..c668660365 --- /dev/null +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaBufferCollectionOverloads.gen.cs @@ -0,0 +1,99 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan.Extensions.FUCHSIA +{ + public static class FuchsiaBufferCollectionOverloads + { + /// To be documented. + public static unsafe Result CreateBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferCollectionCreateInfoFUCHSIA* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCollection) + { + // SpanOverloader + return thisApi.CreateBufferCollectionFuchsia(device, pCreateInfo, pAllocator, out pCollection.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferCollectionCreateInfoFUCHSIA* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionFUCHSIA* pCollection) + { + // SpanOverloader + return thisApi.CreateBufferCollectionFuchsia(device, pCreateInfo, in pAllocator.GetPinnableReference(), pCollection); + } + + /// To be documented. + public static unsafe Result CreateBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferCollectionCreateInfoFUCHSIA* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCollection) + { + // SpanOverloader + return thisApi.CreateBufferCollectionFuchsia(device, pCreateInfo, in pAllocator.GetPinnableReference(), out pCollection.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionFUCHSIA* pCollection) + { + // SpanOverloader + return thisApi.CreateBufferCollectionFuchsia(device, in pCreateInfo.GetPinnableReference(), pAllocator, pCollection); + } + + /// To be documented. + public static unsafe Result CreateBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCollection) + { + // SpanOverloader + return thisApi.CreateBufferCollectionFuchsia(device, in pCreateInfo.GetPinnableReference(), pAllocator, out pCollection.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result CreateBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] BufferCollectionFUCHSIA* pCollection) + { + // SpanOverloader + return thisApi.CreateBufferCollectionFuchsia(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), pCollection); + } + + /// To be documented. + public static unsafe Result CreateBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCollection) + { + // SpanOverloader + return thisApi.CreateBufferCollectionFuchsia(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pCollection.GetPinnableReference()); + } + + /// To be documented. + public static unsafe void DestroyBufferCollectionFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator) + { + // SpanOverloader + thisApi.DestroyBufferCollectionFuchsia(device, collection, in pAllocator.GetPinnableReference()); + } + + /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.BufferCollectionPropertiesFuchsia);")] + public static unsafe Result GetBufferCollectionPropertiesFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) + { + // SpanOverloader + return thisApi.GetBufferCollectionPropertiesFuchsia(device, collection, out pProperties.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result SetBufferCollectionBufferConstraintsFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pBufferConstraintsInfo) + { + // SpanOverloader + return thisApi.SetBufferCollectionBufferConstraintsFuchsia(device, collection, in pBufferConstraintsInfo.GetPinnableReference()); + } + + /// To be documented. + public static unsafe Result SetBufferCollectionImageConstraintsFuchsia(this FuchsiaBufferCollection thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] BufferCollectionFUCHSIA collection, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pImageConstraintsInfo) + { + // SpanOverloader + return thisApi.SetBufferCollectionImageConstraintsFuchsia(device, collection, in pImageConstraintsInfo.GetPinnableReference()); + } + + } +} + diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemory.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemory.gen.cs index 7a43762b49..56485becff 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemory.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemory.gen.cs @@ -41,6 +41,7 @@ public unsafe partial class FuchsiaExternalMemory : NativeExtension public unsafe partial Result GetMemoryZirconHandlePropertiesFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] nint zirconHandle, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryZirconHandleProperties = new(StructureType.MemoryZirconHandlePropertiesFuchsia);")] [NativeApi(EntryPoint = "vkGetMemoryZirconHandlePropertiesFUCHSIA")] public partial Result GetMemoryZirconHandlePropertiesFuchsia([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] nint zirconHandle, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryZirconHandlePropertiesFUCHSIA pMemoryZirconHandleProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemoryOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemoryOverloads.gen.cs index 9cab225345..4a3f61cb0d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemoryOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.FUCHSIA/FuchsiaExternalMemoryOverloads.gen.cs @@ -38,6 +38,7 @@ public static unsafe Result GetMemoryZirconHandleFuchsia(this FuchsiaExternalMem } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryZirconHandleProperties = new(StructureType.MemoryZirconHandlePropertiesFuchsia);")] public static unsafe Result GetMemoryZirconHandlePropertiesFuchsia(this FuchsiaExternalMemory thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] nint zirconHandle, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryZirconHandleProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructure.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructure.gen.cs index 2beb9fc330..71bb7cf0fa 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructure.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructure.gen.cs @@ -217,6 +217,7 @@ public unsafe partial class KhrAccelerationStructure : NativeExtension public unsafe partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureBuildGeometryInfoKHR* pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] uint* pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] [NativeApi(EntryPoint = "vkGetAccelerationStructureBuildSizesKHR")] public unsafe partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureBuildGeometryInfoKHR* pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] uint* pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); @@ -225,6 +226,7 @@ public unsafe partial class KhrAccelerationStructure : NativeExtension public unsafe partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureBuildGeometryInfoKHR* pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] in uint pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] [NativeApi(EntryPoint = "vkGetAccelerationStructureBuildSizesKHR")] public unsafe partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureBuildGeometryInfoKHR* pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] in uint pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); @@ -233,6 +235,7 @@ public unsafe partial class KhrAccelerationStructure : NativeExtension public unsafe partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] in AccelerationStructureBuildGeometryInfoKHR pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] uint* pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] [NativeApi(EntryPoint = "vkGetAccelerationStructureBuildSizesKHR")] public unsafe partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] in AccelerationStructureBuildGeometryInfoKHR pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] uint* pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); @@ -241,6 +244,7 @@ public unsafe partial class KhrAccelerationStructure : NativeExtension public unsafe partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] in AccelerationStructureBuildGeometryInfoKHR pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] in uint pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] AccelerationStructureBuildSizesInfoKHR* pSizeInfo); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] [NativeApi(EntryPoint = "vkGetAccelerationStructureBuildSizesKHR")] public partial void GetAccelerationStructureBuildSizes([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] in AccelerationStructureBuildGeometryInfoKHR pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] in uint pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] out AccelerationStructureBuildSizesInfoKHR pSizeInfo); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructureOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructureOverloads.gen.cs index 09e9777ce4..9c44dac6cb 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructureOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrAccelerationStructureOverloads.gen.cs @@ -248,6 +248,7 @@ public static unsafe void DestroyAccelerationStructure(this KhrAccelerationStruc } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] public static unsafe void GetAccelerationStructureBuildSizes(this KhrAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureBuildGeometryInfoKHR* pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] uint* pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSizeInfo) { // SpanOverloader @@ -262,6 +263,7 @@ public static unsafe void GetAccelerationStructureBuildSizes(this KhrAcceleratio } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] public static unsafe void GetAccelerationStructureBuildSizes(this KhrAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureBuildGeometryInfoKHR* pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] ReadOnlySpan pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSizeInfo) { // SpanOverloader @@ -276,6 +278,7 @@ public static unsafe void GetAccelerationStructureBuildSizes(this KhrAcceleratio } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] public static unsafe void GetAccelerationStructureBuildSizes(this KhrAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] uint* pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSizeInfo) { // SpanOverloader @@ -290,6 +293,7 @@ public static unsafe void GetAccelerationStructureBuildSizes(this KhrAcceleratio } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSizeInfo = new(StructureType.AccelerationStructureBuildSizesInfoKhr);")] public static unsafe void GetAccelerationStructureBuildSizes(this KhrAccelerationStructure thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureBuildTypeKHR buildType, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pBuildInfo, [Count(Computed = "pBuildInfo->geometryCount"), Flow(FlowDirection.In)] ReadOnlySpan pMaxPrimitiveCounts, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSizeInfo) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroup.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroup.gen.cs index 397eb9a21a..f3020e23d7 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroup.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroup.gen.cs @@ -57,6 +57,7 @@ public unsafe partial class KhrDeviceGroup : NativeExtension public unsafe partial Result GetDeviceGroupPresentCapabilities([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.Out)] DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pDeviceGroupPresentCapabilities = new(StructureType.DeviceGroupPresentCapabilitiesKhr);")] [NativeApi(EntryPoint = "vkGetDeviceGroupPresentCapabilitiesKHR")] public partial Result GetDeviceGroupPresentCapabilities([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.Out)] out DeviceGroupPresentCapabilitiesKHR pDeviceGroupPresentCapabilities); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroupOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroupOverloads.gen.cs index c4bfe39bac..363d2eaa46 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroupOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrDeviceGroupOverloads.gen.cs @@ -45,6 +45,7 @@ public static unsafe void GetDeviceGroupPeerMemoryFeatures(this KhrDeviceGroup t } /// To be documented. + [Inject(SilkTouchStage.Begin, "pDeviceGroupPresentCapabilities = new(StructureType.DeviceGroupPresentCapabilitiesKhr);")] public static unsafe Result GetDeviceGroupPresentCapabilities(this KhrDeviceGroup thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDeviceGroupPresentCapabilities) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilities.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilities.gen.cs index a97a5b0ab6..86cb8fadca 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilities.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilities.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrExternalFenceCapabilities : NativeExtension public unsafe partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalFenceProperties* pExternalFenceProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalFencePropertiesKHR")] public unsafe partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalFenceProperties pExternalFenceProperties); @@ -33,6 +34,7 @@ public unsafe partial class KhrExternalFenceCapabilities : NativeExtension public unsafe partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalFenceInfo pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalFenceProperties* pExternalFenceProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalFencePropertiesKHR")] public partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalFenceInfo pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalFenceProperties pExternalFenceProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilitiesOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilitiesOverloads.gen.cs index 7ba58d2dde..61a71b31e3 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilitiesOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceCapabilitiesOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrExternalFenceCapabilitiesOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] public static unsafe void GetPhysicalDeviceExternalFenceProperties(this KhrExternalFenceCapabilities thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalFenceProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe void GetPhysicalDeviceExternalFenceProperties(this KhrExter } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] public static unsafe void GetPhysicalDeviceExternalFenceProperties(this KhrExternalFenceCapabilities thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalFenceProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilities.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilities.gen.cs index 1bbe5efb1a..6064e6a6f2 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilities.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilities.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrExternalMemoryCapabilities : NativeExtension public unsafe partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalBufferProperties* pExternalBufferProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalBufferPropertiesKHR")] public unsafe partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalBufferProperties pExternalBufferProperties); @@ -33,6 +34,7 @@ public unsafe partial class KhrExternalMemoryCapabilities : NativeExtension public unsafe partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalBufferInfo pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalBufferProperties* pExternalBufferProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalBufferPropertiesKHR")] public partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalBufferInfo pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalBufferProperties pExternalBufferProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilitiesOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilitiesOverloads.gen.cs index 92366fa36d..09904ad7c0 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilitiesOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryCapabilitiesOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrExternalMemoryCapabilitiesOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] public static unsafe void GetPhysicalDeviceExternalBufferProperties(this KhrExternalMemoryCapabilities thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalBufferProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe void GetPhysicalDeviceExternalBufferProperties(this KhrExte } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] public static unsafe void GetPhysicalDeviceExternalBufferProperties(this KhrExternalMemoryCapabilities thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalBufferProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFd.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFd.gen.cs index 6f984e0d42..a9199adb03 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFd.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFd.gen.cs @@ -41,6 +41,7 @@ public unsafe partial class KhrExternalMemoryFd : NativeExtension public unsafe partial Result GetMemoryFdProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] int fd, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryFdPropertiesKHR* pMemoryFdProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryFdProperties = new(StructureType.MemoryFDPropertiesKhr);")] [NativeApi(EntryPoint = "vkGetMemoryFdPropertiesKHR")] public partial Result GetMemoryFdProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] int fd, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryFdPropertiesKHR pMemoryFdProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFdOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFdOverloads.gen.cs index e0157974e3..c41d68215e 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFdOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryFdOverloads.gen.cs @@ -38,6 +38,7 @@ public static unsafe Result GetMemoryF(this KhrExternalMemoryFd thisApi, [Count( } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryFdProperties = new(StructureType.MemoryFDPropertiesKhr);")] public static unsafe Result GetMemoryFdProperties(this KhrExternalMemoryFd thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] int fd, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryFdProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32.gen.cs index 9863c0daf2..a66242238c 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32.gen.cs @@ -41,6 +41,7 @@ public unsafe partial class KhrExternalMemoryWin32 : NativeExtension public unsafe partial Result GetMemoryWin32HandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] nint handle, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryWin32HandleProperties = new(StructureType.MemoryWin32HandlePropertiesKhr);")] [NativeApi(EntryPoint = "vkGetMemoryWin32HandlePropertiesKHR")] public partial Result GetMemoryWin32HandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] nint handle, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryWin32HandlePropertiesKHR pMemoryWin32HandleProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32Overloads.gen.cs index 92a735c2d8..8bb0646cdd 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalMemoryWin32Overloads.gen.cs @@ -38,6 +38,7 @@ public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thi } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryWin32HandleProperties = new(StructureType.MemoryWin32HandlePropertiesKhr);")] public static unsafe Result GetMemoryWin32HandleProperties(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] nint handle, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryWin32HandleProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilities.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilities.gen.cs index ca605c5012..69d7ea10f3 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilities.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilities.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrExternalSemaphoreCapabilities : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR")] public unsafe partial void GetPhysicalDeviceExternalSemaphoreProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalSemaphoreProperties pExternalSemaphoreProperties); @@ -33,6 +34,7 @@ public unsafe partial class KhrExternalSemaphoreCapabilities : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR")] public partial void GetPhysicalDeviceExternalSemaphoreProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalSemaphoreInfo pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalSemaphoreProperties pExternalSemaphoreProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilitiesOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilitiesOverloads.gen.cs index 7ef2730529..4f227c7993 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilitiesOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreCapabilitiesOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrExternalSemaphoreCapabilitiesOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] public static unsafe void GetPhysicalDeviceExternalSemaphoreProperties(this KhrExternalSemaphoreCapabilities thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalSemaphoreProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe void GetPhysicalDeviceExternalSemaphoreProperties(this KhrE } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] public static unsafe void GetPhysicalDeviceExternalSemaphoreProperties(this KhrExternalSemaphoreCapabilities thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalSemaphoreProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRate.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRate.gen.cs index 102ba1ea39..7f966e8a02 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRate.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRate.gen.cs @@ -41,6 +41,7 @@ public unsafe partial class KhrFragmentShadingRate : NativeExtension public unsafe partial Result GetPhysicalDeviceFragmentShadingRates([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pFragmentShadingRateCount, [Count(Parameter = "pFragmentShadingRateCount"), Flow(FlowDirection.Out)] PhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates); /// To be documented. + [Inject(SilkTouchStage.Begin, "pFragmentShadingRates = new(StructureType.PhysicalDeviceFragmentShadingRateKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceFragmentShadingRatesKHR")] public unsafe partial Result GetPhysicalDeviceFragmentShadingRates([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pFragmentShadingRateCount, [Count(Parameter = "pFragmentShadingRateCount"), Flow(FlowDirection.Out)] out PhysicalDeviceFragmentShadingRateKHR pFragmentShadingRates); @@ -49,6 +50,7 @@ public unsafe partial class KhrFragmentShadingRate : NativeExtension public unsafe partial Result GetPhysicalDeviceFragmentShadingRates([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pFragmentShadingRateCount, [Count(Parameter = "pFragmentShadingRateCount"), Flow(FlowDirection.Out)] PhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates); /// To be documented. + [Inject(SilkTouchStage.Begin, "pFragmentShadingRates = new(StructureType.PhysicalDeviceFragmentShadingRateKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceFragmentShadingRatesKHR")] public partial Result GetPhysicalDeviceFragmentShadingRates([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pFragmentShadingRateCount, [Count(Parameter = "pFragmentShadingRateCount"), Flow(FlowDirection.Out)] out PhysicalDeviceFragmentShadingRateKHR pFragmentShadingRates); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRateOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRateOverloads.gen.cs index 03f947146e..1a4a65d2c5 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRateOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrFragmentShadingRateOverloads.gen.cs @@ -38,6 +38,7 @@ public static unsafe void CmdSetFragmentShadingRate(this KhrFragmentShadingRate } /// To be documented. + [Inject(SilkTouchStage.Begin, "pFragmentShadingRates = new(StructureType.PhysicalDeviceFragmentShadingRateKhr);")] public static unsafe Result GetPhysicalDeviceFragmentShadingRates(this KhrFragmentShadingRate thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pFragmentShadingRateCount, [Count(Parameter = "pFragmentShadingRateCount"), Flow(FlowDirection.Out)] Span pFragmentShadingRates) { // SpanOverloader @@ -52,6 +53,7 @@ public static unsafe Result GetPhysicalDeviceFragmentShadingRates(this KhrFragme } /// To be documented. + [Inject(SilkTouchStage.Begin, "pFragmentShadingRates = new(StructureType.PhysicalDeviceFragmentShadingRateKhr);")] public static unsafe Result GetPhysicalDeviceFragmentShadingRates(this KhrFragmentShadingRate thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pFragmentShadingRateCount, [Count(Parameter = "pFragmentShadingRateCount"), Flow(FlowDirection.Out)] Span pFragmentShadingRates) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2.gen.cs index c2be055fa2..a13e0cdb22 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetDisplayModeProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] DisplayModeProperties2KHR* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayModeProperties2Khr);")] [NativeApi(EntryPoint = "vkGetDisplayModeProperties2KHR")] public unsafe partial Result GetDisplayModeProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out DisplayModeProperties2KHR pProperties); @@ -33,6 +34,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetDisplayModeProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] DisplayModeProperties2KHR* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayModeProperties2Khr);")] [NativeApi(EntryPoint = "vkGetDisplayModeProperties2KHR")] public partial Result GetDisplayModeProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out DisplayModeProperties2KHR pProperties); @@ -41,6 +43,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetDisplayPlaneCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DisplayPlaneInfo2KHR* pDisplayPlaneInfo, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayPlaneCapabilities2KHR* pCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.DisplayPlaneCapabilities2Khr);")] [NativeApi(EntryPoint = "vkGetDisplayPlaneCapabilities2KHR")] public unsafe partial Result GetDisplayPlaneCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DisplayPlaneInfo2KHR* pDisplayPlaneInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayPlaneCapabilities2KHR pCapabilities); @@ -49,6 +52,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetDisplayPlaneCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in DisplayPlaneInfo2KHR pDisplayPlaneInfo, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayPlaneCapabilities2KHR* pCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.DisplayPlaneCapabilities2Khr);")] [NativeApi(EntryPoint = "vkGetDisplayPlaneCapabilities2KHR")] public partial Result GetDisplayPlaneCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in DisplayPlaneInfo2KHR pDisplayPlaneInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayPlaneCapabilities2KHR pCapabilities); @@ -57,6 +61,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetPhysicalDeviceDisplayPlaneProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] DisplayPlaneProperties2KHR* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayPlaneProperties2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] public unsafe partial Result GetPhysicalDeviceDisplayPlaneProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out DisplayPlaneProperties2KHR pProperties); @@ -65,6 +70,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetPhysicalDeviceDisplayPlaneProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] DisplayPlaneProperties2KHR* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayPlaneProperties2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] public partial Result GetPhysicalDeviceDisplayPlaneProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out DisplayPlaneProperties2KHR pProperties); @@ -73,6 +79,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetPhysicalDeviceDisplayProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] DisplayProperties2KHR* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayProperties2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceDisplayProperties2KHR")] public unsafe partial Result GetPhysicalDeviceDisplayProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out DisplayProperties2KHR pProperties); @@ -81,6 +88,7 @@ public unsafe partial class KhrGetDisplayProperties2 : NativeExtension public unsafe partial Result GetPhysicalDeviceDisplayProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] DisplayProperties2KHR* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayProperties2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceDisplayProperties2KHR")] public partial Result GetPhysicalDeviceDisplayProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out DisplayProperties2KHR pProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2Overloads.gen.cs index d0cbdc2e3e..e004feabdd 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetDisplayProperties2Overloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrGetDisplayProperties2Overloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayModeProperties2Khr);")] public static unsafe Result GetDisplayModeProperties2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetDisplayModeProperties2(this KhrGetDisplayProperti } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayModeProperties2Khr);")] public static unsafe Result GetDisplayModeProperties2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -38,6 +40,7 @@ public static unsafe Result GetDisplayModeProperties2(this KhrGetDisplayProperti } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.DisplayPlaneCapabilities2Khr);")] public static unsafe Result GetDisplayPlaneCapabilities2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DisplayPlaneInfo2KHR* pDisplayPlaneInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCapabilities) { // SpanOverloader @@ -52,6 +55,7 @@ public static unsafe Result GetDisplayPlaneCapabilities2(this KhrGetDisplayPrope } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.DisplayPlaneCapabilities2Khr);")] public static unsafe Result GetDisplayPlaneCapabilities2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pDisplayPlaneInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCapabilities) { // SpanOverloader @@ -59,6 +63,7 @@ public static unsafe Result GetDisplayPlaneCapabilities2(this KhrGetDisplayPrope } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayPlaneProperties2Khr);")] public static unsafe Result GetPhysicalDeviceDisplayPlaneProperties2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -73,6 +78,7 @@ public static unsafe Result GetPhysicalDeviceDisplayPlaneProperties2(this KhrGet } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayPlaneProperties2Khr);")] public static unsafe Result GetPhysicalDeviceDisplayPlaneProperties2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -80,6 +86,7 @@ public static unsafe Result GetPhysicalDeviceDisplayPlaneProperties2(this KhrGet } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayProperties2Khr);")] public static unsafe Result GetPhysicalDeviceDisplayProperties2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -94,6 +101,7 @@ public static unsafe Result GetPhysicalDeviceDisplayProperties2(this KhrGetDispl } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.DisplayProperties2Khr);")] public static unsafe Result GetPhysicalDeviceDisplayProperties2(this KhrGetDisplayProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2.gen.cs index 055b237487..ca2606030d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetBufferMemoryRequirements2KHR")] public unsafe partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -33,6 +34,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetBufferMemoryRequirements2KHR")] public partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -41,6 +43,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageMemoryRequirements2KHR")] public unsafe partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -49,6 +52,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageMemoryRequirements2KHR")] public partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -57,6 +61,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2KHR")] public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); @@ -65,6 +70,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2KHR")] public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); @@ -73,6 +79,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2KHR")] public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); @@ -81,6 +88,7 @@ public unsafe partial class KhrGetMemoryRequirements2 : NativeExtension public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2KHR")] public partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2Overloads.gen.cs index 7b7ad5f33e..6b6b99259c 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetMemoryRequirements2Overloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrGetMemoryRequirements2Overloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetBufferMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe void GetBufferMemoryRequirements2(this KhrGetMemoryRequirem } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetBufferMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -38,6 +40,7 @@ public static unsafe void GetBufferMemoryRequirements2(this KhrGetMemoryRequirem } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetImageMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -52,6 +55,7 @@ public static unsafe void GetImageMemoryRequirements2(this KhrGetMemoryRequireme } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetImageMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -59,6 +63,7 @@ public static unsafe void GetImageMemoryRequirements2(this KhrGetMemoryRequireme } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader @@ -73,6 +78,7 @@ public static unsafe void GetImageSparseMemoryRequirements2(this KhrGetMemoryReq } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] Span pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader @@ -87,6 +93,7 @@ public static unsafe void GetImageSparseMemoryRequirements2(this KhrGetMemoryReq } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader @@ -101,6 +108,7 @@ public static unsafe void GetImageSparseMemoryRequirements2(this KhrGetMemoryReq } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this KhrGetMemoryRequirements2 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] Span pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2.gen.cs index 9b40d3d434..c87cc17ddd 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pFeatures = new(StructureType.PhysicalDeviceFeatures2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceFeatures2KHR")] public partial void GetPhysicalDeviceFeatures2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] out PhysicalDeviceFeatures2 pFeatures); @@ -33,6 +34,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pFormatProperties = new(StructureType.FormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceFormatProperties2KHR")] public partial void GetPhysicalDeviceFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Format format, [Count(Count = 0), Flow(FlowDirection.Out)] out FormatProperties2 pFormatProperties); @@ -41,6 +43,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceImageFormatProperties2KHR")] public unsafe partial Result GetPhysicalDeviceImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceImageFormatInfo2* pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ImageFormatProperties2 pImageFormatProperties); @@ -49,6 +52,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceImageFormatProperties2KHR")] public partial Result GetPhysicalDeviceImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceImageFormatInfo2 pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ImageFormatProperties2 pImageFormatProperties); @@ -57,6 +61,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pMemoryProperties = new(StructureType.PhysicalDeviceMemoryProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceMemoryProperties2KHR")] public partial void GetPhysicalDeviceMemoryProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] out PhysicalDeviceMemoryProperties2 pMemoryProperties); @@ -65,6 +70,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PhysicalDeviceProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceProperties2KHR")] public partial void GetPhysicalDeviceProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] out PhysicalDeviceProperties2 pProperties); @@ -73,6 +79,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyProperties2KHR")] public unsafe partial void GetPhysicalDeviceQueueFamilyProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] out QueueFamilyProperties2 pQueueFamilyProperties); @@ -81,6 +88,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyProperties2KHR")] public partial void GetPhysicalDeviceQueueFamilyProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] out QueueFamilyProperties2 pQueueFamilyProperties); @@ -89,6 +97,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2KHR")] public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); @@ -97,6 +106,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2KHR")] public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); @@ -105,6 +115,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2KHR")] public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSparseImageFormatInfo2 pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); @@ -113,6 +124,7 @@ public unsafe partial class KhrGetPhysicalDeviceProperties2 : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2KHR")] public partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSparseImageFormatInfo2 pFormatInfo, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2Overloads.gen.cs index 88de4e472c..034b5e4ec9 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetPhysicalDeviceProperties2Overloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrGetPhysicalDeviceProperties2Overloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pFeatures = new(StructureType.PhysicalDeviceFeatures2);")] public static unsafe void GetPhysicalDeviceFeatures2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] Span pFeatures) { // SpanOverloader @@ -24,6 +25,7 @@ public static unsafe void GetPhysicalDeviceFeatures2(this KhrGetPhysicalDevicePr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pFormatProperties = new(StructureType.FormatProperties2);")] public static unsafe void GetPhysicalDeviceFormatProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Format format, [Count(Count = 0), Flow(FlowDirection.Out)] Span pFormatProperties) { // SpanOverloader @@ -31,6 +33,7 @@ public static unsafe void GetPhysicalDeviceFormatProperties2(this KhrGetPhysical } /// To be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceImageFormatInfo2* pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pImageFormatProperties) { // SpanOverloader @@ -45,6 +48,7 @@ public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this KhrGetP } /// To be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pImageFormatProperties) { // SpanOverloader @@ -52,6 +56,7 @@ public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this KhrGetP } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryProperties = new(StructureType.PhysicalDeviceMemoryProperties2);")] public static unsafe void GetPhysicalDeviceMemoryProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryProperties) { // SpanOverloader @@ -59,6 +64,7 @@ public static unsafe void GetPhysicalDeviceMemoryProperties2(this KhrGetPhysical } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PhysicalDeviceProperties2);")] public static unsafe void GetPhysicalDeviceProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -66,6 +72,7 @@ public static unsafe void GetPhysicalDeviceProperties2(this KhrGetPhysicalDevice } /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] Span pQueueFamilyProperties) { // SpanOverloader @@ -80,6 +87,7 @@ public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this KhrGetPhy } /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] Span pQueueFamilyProperties) { // SpanOverloader @@ -87,6 +95,7 @@ public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this KhrGetPhy } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -101,6 +110,7 @@ public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Khr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -115,6 +125,7 @@ public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Khr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -129,6 +140,7 @@ public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Khr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this KhrGetPhysicalDeviceProperties2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pFormatInfo, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2.gen.cs index 4861ce317b..d38e250134 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrGetSurfaceCapabilities2 : NativeExtension public unsafe partial Result GetPhysicalDeviceSurfaceCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] SurfaceCapabilities2KHR* pSurfaceCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceCapabilities = new(StructureType.SurfaceCapabilities2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSurfaceCapabilities2KHR")] public unsafe partial Result GetPhysicalDeviceSurfaceCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out SurfaceCapabilities2KHR pSurfaceCapabilities); @@ -33,6 +34,7 @@ public unsafe partial class KhrGetSurfaceCapabilities2 : NativeExtension public unsafe partial Result GetPhysicalDeviceSurfaceCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] SurfaceCapabilities2KHR* pSurfaceCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceCapabilities = new(StructureType.SurfaceCapabilities2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSurfaceCapabilities2KHR")] public partial Result GetPhysicalDeviceSurfaceCapabilities2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out SurfaceCapabilities2KHR pSurfaceCapabilities); @@ -41,6 +43,7 @@ public unsafe partial class KhrGetSurfaceCapabilities2 : NativeExtension public unsafe partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0)] uint* pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] SurfaceFormat2KHR* pSurfaceFormats); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSurfaceFormats2KHR")] public unsafe partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0)] uint* pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] out SurfaceFormat2KHR pSurfaceFormats); @@ -49,6 +52,7 @@ public unsafe partial class KhrGetSurfaceCapabilities2 : NativeExtension public unsafe partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0)] ref uint pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] SurfaceFormat2KHR* pSurfaceFormats); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSurfaceFormats2KHR")] public unsafe partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0)] ref uint pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] out SurfaceFormat2KHR pSurfaceFormats); @@ -57,6 +61,7 @@ public unsafe partial class KhrGetSurfaceCapabilities2 : NativeExtension public unsafe partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, [Count(Count = 0)] uint* pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] SurfaceFormat2KHR* pSurfaceFormats); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSurfaceFormats2KHR")] public unsafe partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, [Count(Count = 0)] uint* pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] out SurfaceFormat2KHR pSurfaceFormats); @@ -65,6 +70,7 @@ public unsafe partial class KhrGetSurfaceCapabilities2 : NativeExtension public unsafe partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, [Count(Count = 0)] ref uint pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] SurfaceFormat2KHR* pSurfaceFormats); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSurfaceFormats2KHR")] public partial Result GetPhysicalDeviceSurfaceFormats2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, [Count(Count = 0)] ref uint pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] out SurfaceFormat2KHR pSurfaceFormats); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2Overloads.gen.cs index 2d3684ebe8..50d29bcd51 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrGetSurfaceCapabilities2Overloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrGetSurfaceCapabilities2Overloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceCapabilities = new(StructureType.SurfaceCapabilities2Khr);")] public static unsafe Result GetPhysicalDeviceSurfaceCapabilities2(this KhrGetSurfaceCapabilities2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSurfaceCapabilities) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetPhysicalDeviceSurfaceCapabilities2(this KhrGetSur } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceCapabilities = new(StructureType.SurfaceCapabilities2Khr);")] public static unsafe Result GetPhysicalDeviceSurfaceCapabilities2(this KhrGetSurfaceCapabilities2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pSurfaceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSurfaceCapabilities) { // SpanOverloader @@ -38,6 +40,7 @@ public static unsafe Result GetPhysicalDeviceSurfaceCapabilities2(this KhrGetSur } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] public static unsafe Result GetPhysicalDeviceSurfaceFormats2(this KhrGetSurfaceCapabilities2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0)] uint* pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] Span pSurfaceFormats) { // SpanOverloader @@ -52,6 +55,7 @@ public static unsafe Result GetPhysicalDeviceSurfaceFormats2(this KhrGetSurfaceC } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] public static unsafe Result GetPhysicalDeviceSurfaceFormats2(this KhrGetSurfaceCapabilities2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, [Count(Count = 0)] Span pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] Span pSurfaceFormats) { // SpanOverloader @@ -66,6 +70,7 @@ public static unsafe Result GetPhysicalDeviceSurfaceFormats2(this KhrGetSurfaceC } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] public static unsafe Result GetPhysicalDeviceSurfaceFormats2(this KhrGetSurfaceCapabilities2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pSurfaceInfo, [Count(Count = 0)] uint* pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] Span pSurfaceFormats) { // SpanOverloader @@ -80,6 +85,7 @@ public static unsafe Result GetPhysicalDeviceSurfaceFormats2(this KhrGetSurfaceC } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSurfaceFormats = new(StructureType.SurfaceFormat2Khr);")] public static unsafe Result GetPhysicalDeviceSurfaceFormats2(this KhrGetSurfaceCapabilities2 thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pSurfaceInfo, [Count(Count = 0)] Span pSurfaceFormatCount, [Count(Parameter = "pSurfaceFormatCount"), Flow(FlowDirection.Out)] Span pSurfaceFormats) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3.gen.cs index ce38be50a1..3573bcc885 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrMaintenance3 : NativeExtension public unsafe partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] DescriptorSetLayoutCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] DescriptorSetLayoutSupport* pSupport); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] [NativeApi(EntryPoint = "vkGetDescriptorSetLayoutSupportKHR")] public unsafe partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] DescriptorSetLayoutCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out DescriptorSetLayoutSupport pSupport); @@ -33,6 +34,7 @@ public unsafe partial class KhrMaintenance3 : NativeExtension public unsafe partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in DescriptorSetLayoutCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] DescriptorSetLayoutSupport* pSupport); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] [NativeApi(EntryPoint = "vkGetDescriptorSetLayoutSupportKHR")] public partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in DescriptorSetLayoutCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out DescriptorSetLayoutSupport pSupport); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3Overloads.gen.cs index df8317a39b..62449b1460 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrMaintenance3Overloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrMaintenance3Overloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] public static unsafe void GetDescriptorSetLayoutSupport(this KhrMaintenance3 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] DescriptorSetLayoutCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSupport) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe void GetDescriptorSetLayoutSupport(this KhrMaintenance3 thi } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] public static unsafe void GetDescriptorSetLayoutSupport(this KhrMaintenance3 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSupport) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutableProperties.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutableProperties.gen.cs index 656d83b6ee..5ad3940ae5 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutableProperties.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutableProperties.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableInternalRepresentationsKHR")] public unsafe partial Result GetPipelineExecutableInternalRepresentation([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] uint* pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] out PipelineExecutableInternalRepresentationKHR pInternalRepresentations); @@ -33,6 +34,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableInternalRepresentationsKHR")] public unsafe partial Result GetPipelineExecutableInternalRepresentation([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] ref uint pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] out PipelineExecutableInternalRepresentationKHR pInternalRepresentations); @@ -41,6 +43,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableInternalRepresentationsKHR")] public unsafe partial Result GetPipelineExecutableInternalRepresentation([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in PipelineExecutableInfoKHR pExecutableInfo, [Count(Count = 0)] uint* pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] out PipelineExecutableInternalRepresentationKHR pInternalRepresentations); @@ -49,6 +52,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableInternalRepresentationsKHR")] public partial Result GetPipelineExecutableInternalRepresentation([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in PipelineExecutableInfoKHR pExecutableInfo, [Count(Count = 0)] ref uint pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] out PipelineExecutableInternalRepresentationKHR pInternalRepresentations); @@ -57,6 +61,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutablePropertiesKHR")] public unsafe partial Result GetPipelineExecutableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineInfoKHR* pPipelineInfo, [Count(Count = 0)] uint* pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] out PipelineExecutablePropertiesKHR pProperties); @@ -65,6 +70,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutablePropertiesKHR")] public unsafe partial Result GetPipelineExecutableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineInfoKHR* pPipelineInfo, [Count(Count = 0)] ref uint pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] out PipelineExecutablePropertiesKHR pProperties); @@ -73,6 +79,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutablePropertiesKHR")] public unsafe partial Result GetPipelineExecutableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in PipelineInfoKHR pPipelineInfo, [Count(Count = 0)] uint* pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] out PipelineExecutablePropertiesKHR pProperties); @@ -81,6 +88,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutablePropertiesKHR")] public partial Result GetPipelineExecutableProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in PipelineInfoKHR pPipelineInfo, [Count(Count = 0)] ref uint pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] out PipelineExecutablePropertiesKHR pProperties); @@ -89,6 +97,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableStatisticsKHR")] public unsafe partial Result GetPipelineExecutableStatistic([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] uint* pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] out PipelineExecutableStatisticKHR pStatistics); @@ -97,6 +106,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableStatisticsKHR")] public unsafe partial Result GetPipelineExecutableStatistic([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] ref uint pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] out PipelineExecutableStatisticKHR pStatistics); @@ -105,6 +115,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableStatisticsKHR")] public unsafe partial Result GetPipelineExecutableStatistic([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in PipelineExecutableInfoKHR pExecutableInfo, [Count(Count = 0)] uint* pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] out PipelineExecutableStatisticKHR pStatistics); @@ -113,6 +124,7 @@ public unsafe partial class KhrPipelineExecutableProperties : NativeExtensionTo be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] [NativeApi(EntryPoint = "vkGetPipelineExecutableStatisticsKHR")] public partial Result GetPipelineExecutableStatistic([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in PipelineExecutableInfoKHR pExecutableInfo, [Count(Count = 0)] ref uint pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] out PipelineExecutableStatisticKHR pStatistics); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutablePropertiesOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutablePropertiesOverloads.gen.cs index d9d20e0261..389da6cef8 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutablePropertiesOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrPipelineExecutablePropertiesOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrPipelineExecutablePropertiesOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] public static unsafe Result GetPipelineExecutableInternalRepresentation(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] uint* pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] Span pInternalRepresentations) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetPipelineExecutableInternalRepresentation(this Khr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] public static unsafe Result GetPipelineExecutableInternalRepresentation(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] Span pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] Span pInternalRepresentations) { // SpanOverloader @@ -45,6 +47,7 @@ public static unsafe Result GetPipelineExecutableInternalRepresentation(this Khr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] public static unsafe Result GetPipelineExecutableInternalRepresentation(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExecutableInfo, [Count(Count = 0)] uint* pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] Span pInternalRepresentations) { // SpanOverloader @@ -59,6 +62,7 @@ public static unsafe Result GetPipelineExecutableInternalRepresentation(this Khr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pInternalRepresentations = new(StructureType.PipelineExecutableInternalRepresentationKhr);")] public static unsafe Result GetPipelineExecutableInternalRepresentation(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExecutableInfo, [Count(Count = 0)] Span pInternalRepresentationCount, [Count(Parameter = "pInternalRepresentationCount"), Flow(FlowDirection.Out)] Span pInternalRepresentations) { // SpanOverloader @@ -66,6 +70,7 @@ public static unsafe Result GetPipelineExecutableInternalRepresentation(this Khr } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineInfoKHR* pPipelineInfo, [Count(Count = 0)] uint* pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -80,6 +85,7 @@ public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExec } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineInfoKHR* pPipelineInfo, [Count(Count = 0)] Span pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -94,6 +100,7 @@ public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExec } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] uint* pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -108,6 +115,7 @@ public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExec } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PipelineExecutablePropertiesKhr);")] public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pPipelineInfo, [Count(Count = 0)] Span pExecutableCount, [Count(Parameter = "pExecutableCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -115,6 +123,7 @@ public static unsafe Result GetPipelineExecutableProperties(this KhrPipelineExec } /// To be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] public static unsafe Result GetPipelineExecutableStatistic(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] uint* pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] Span pStatistics) { // SpanOverloader @@ -129,6 +138,7 @@ public static unsafe Result GetPipelineExecutableStatistic(this KhrPipelineExecu } /// To be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] public static unsafe Result GetPipelineExecutableStatistic(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] PipelineExecutableInfoKHR* pExecutableInfo, [Count(Count = 0)] Span pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] Span pStatistics) { // SpanOverloader @@ -143,6 +153,7 @@ public static unsafe Result GetPipelineExecutableStatistic(this KhrPipelineExecu } /// To be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] public static unsafe Result GetPipelineExecutableStatistic(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExecutableInfo, [Count(Count = 0)] uint* pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] Span pStatistics) { // SpanOverloader @@ -157,6 +168,7 @@ public static unsafe Result GetPipelineExecutableStatistic(this KhrPipelineExecu } /// To be documented. + [Inject(SilkTouchStage.Begin, "pStatistics = new(StructureType.PipelineExecutableStatisticKhr);")] public static unsafe Result GetPipelineExecutableStatistic(this KhrPipelineExecutableProperties thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExecutableInfo, [Count(Count = 0)] Span pStatisticCount, [Count(Parameter = "pStatisticCount"), Flow(FlowDirection.Out)] Span pStatistics) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchain.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchain.gen.cs index 7426256eb0..012eb325aa 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchain.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchain.gen.cs @@ -89,6 +89,7 @@ public unsafe partial class KhrSwapchain : NativeExtension public unsafe partial Result GetDeviceGroupPresentCapabilities([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.Out)] DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pDeviceGroupPresentCapabilities = new(StructureType.DeviceGroupPresentCapabilitiesKhr);")] [NativeApi(EntryPoint = "vkGetDeviceGroupPresentCapabilitiesKHR")] public partial Result GetDeviceGroupPresentCapabilities([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.Out)] out DeviceGroupPresentCapabilitiesKHR pDeviceGroupPresentCapabilities); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainOverloads.gen.cs index 25b8bbd60b..7fb7ba22e8 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSwapchainOverloads.gen.cs @@ -101,6 +101,7 @@ public static unsafe void DestroySwapchain(this KhrSwapchain thisApi, [Count(Cou } /// To be documented. + [Inject(SilkTouchStage.Begin, "pDeviceGroupPresentCapabilities = new(StructureType.DeviceGroupPresentCapabilitiesKhr);")] public static unsafe Result GetDeviceGroupPresentCapabilities(this KhrSwapchain thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDeviceGroupPresentCapabilities) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2.gen.cs index 9e71478a50..4cd9c92620 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2.gen.cs @@ -69,6 +69,7 @@ public unsafe partial class KhrSynchronization2 : NativeExtension public unsafe partial void GetQueueCheckpointData2([Count(Count = 0)] Queue queue, [Count(Count = 0)] uint* pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] CheckpointData2NV* pCheckpointData); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointData2NV);")] [NativeApi(EntryPoint = "vkGetQueueCheckpointData2NV")] public unsafe partial void GetQueueCheckpointData2([Count(Count = 0)] Queue queue, [Count(Count = 0)] uint* pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] out CheckpointData2NV pCheckpointData); @@ -77,6 +78,7 @@ public unsafe partial class KhrSynchronization2 : NativeExtension public unsafe partial void GetQueueCheckpointData2([Count(Count = 0)] Queue queue, [Count(Count = 0)] ref uint pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] CheckpointData2NV* pCheckpointData); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointData2NV);")] [NativeApi(EntryPoint = "vkGetQueueCheckpointData2NV")] public partial void GetQueueCheckpointData2([Count(Count = 0)] Queue queue, [Count(Count = 0)] ref uint pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] out CheckpointData2NV pCheckpointData); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2Overloads.gen.cs index d34b524d08..e015b83329 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrSynchronization2Overloads.gen.cs @@ -52,6 +52,7 @@ public static unsafe void CmdWaitEvents2(this KhrSynchronization2 thisApi, [Coun } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointData2NV);")] public static unsafe void GetQueueCheckpointData2(this KhrSynchronization2 thisApi, [Count(Count = 0)] Queue queue, [Count(Count = 0)] uint* pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] Span pCheckpointData) { // SpanOverloader @@ -66,6 +67,7 @@ public static unsafe void GetQueueCheckpointData2(this KhrSynchronization2 thisA } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointData2NV);")] public static unsafe void GetQueueCheckpointData2(this KhrSynchronization2 thisApi, [Count(Count = 0)] Queue queue, [Count(Count = 0)] Span pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] Span pCheckpointData) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueue.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueue.gen.cs index 7804b04325..7e95829026 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueue.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueue.gen.cs @@ -137,6 +137,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetPhysicalDeviceVideoCapabilities([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] VideoProfileKHR* pVideoProfile, [Count(Count = 0), Flow(FlowDirection.Out)] VideoCapabilitiesKHR* pCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.VideoCapabilitiesKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceVideoCapabilitiesKHR")] public unsafe partial Result GetPhysicalDeviceVideoCapabilities([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] VideoProfileKHR* pVideoProfile, [Count(Count = 0), Flow(FlowDirection.Out)] out VideoCapabilitiesKHR pCapabilities); @@ -145,6 +146,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetPhysicalDeviceVideoCapabilities([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in VideoProfileKHR pVideoProfile, [Count(Count = 0), Flow(FlowDirection.Out)] VideoCapabilitiesKHR* pCapabilities); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.VideoCapabilitiesKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceVideoCapabilitiesKHR")] public partial Result GetPhysicalDeviceVideoCapabilities([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in VideoProfileKHR pVideoProfile, [Count(Count = 0), Flow(FlowDirection.Out)] out VideoCapabilitiesKHR pCapabilities); @@ -153,6 +155,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, [Count(Count = 0)] uint* pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] VideoFormatPropertiesKHR* pVideoFormatProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceVideoFormatPropertiesKHR")] public unsafe partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, [Count(Count = 0)] uint* pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] out VideoFormatPropertiesKHR pVideoFormatProperties); @@ -161,6 +164,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, [Count(Count = 0)] ref uint pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] VideoFormatPropertiesKHR* pVideoFormatProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceVideoFormatPropertiesKHR")] public unsafe partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, [Count(Count = 0)] ref uint pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] out VideoFormatPropertiesKHR pVideoFormatProperties); @@ -169,6 +173,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceVideoFormatInfoKHR pVideoFormatInfo, [Count(Count = 0)] uint* pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] VideoFormatPropertiesKHR* pVideoFormatProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceVideoFormatPropertiesKHR")] public unsafe partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceVideoFormatInfoKHR pVideoFormatInfo, [Count(Count = 0)] uint* pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] out VideoFormatPropertiesKHR pVideoFormatProperties); @@ -177,6 +182,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceVideoFormatInfoKHR pVideoFormatInfo, [Count(Count = 0)] ref uint pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] VideoFormatPropertiesKHR* pVideoFormatProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceVideoFormatPropertiesKHR")] public partial Result GetPhysicalDeviceVideoFormatProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceVideoFormatInfoKHR pVideoFormatInfo, [Count(Count = 0)] ref uint pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] out VideoFormatPropertiesKHR pVideoFormatProperties); @@ -185,6 +191,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetVideoSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] uint* pVideoSessionMemoryRequirementsCount, [Count(Parameter = "pVideoSessionMemoryRequirementsCount"), Flow(FlowDirection.Out)] VideoGetMemoryPropertiesKHR* pVideoSessionMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoSessionMemoryRequirements = new(StructureType.VideoGetMemoryPropertiesKhr);")] [NativeApi(EntryPoint = "vkGetVideoSessionMemoryRequirementsKHR")] public unsafe partial Result GetVideoSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] uint* pVideoSessionMemoryRequirementsCount, [Count(Parameter = "pVideoSessionMemoryRequirementsCount"), Flow(FlowDirection.Out)] out VideoGetMemoryPropertiesKHR pVideoSessionMemoryRequirements); @@ -193,6 +200,7 @@ public unsafe partial class KhrVideoQueue : NativeExtension public unsafe partial Result GetVideoSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] ref uint pVideoSessionMemoryRequirementsCount, [Count(Parameter = "pVideoSessionMemoryRequirementsCount"), Flow(FlowDirection.Out)] VideoGetMemoryPropertiesKHR* pVideoSessionMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoSessionMemoryRequirements = new(StructureType.VideoGetMemoryPropertiesKhr);")] [NativeApi(EntryPoint = "vkGetVideoSessionMemoryRequirementsKHR")] public partial Result GetVideoSessionMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] ref uint pVideoSessionMemoryRequirementsCount, [Count(Parameter = "pVideoSessionMemoryRequirementsCount"), Flow(FlowDirection.Out)] out VideoGetMemoryPropertiesKHR pVideoSessionMemoryRequirements); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueueOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueueOverloads.gen.cs index 2902f3cb3d..1172a26f81 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueueOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrVideoQueueOverloads.gen.cs @@ -157,6 +157,7 @@ public static unsafe void DestroyVideoSessionParameters(this KhrVideoQueue thisA } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.VideoCapabilitiesKhr);")] public static unsafe Result GetPhysicalDeviceVideoCapabilities(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] VideoProfileKHR* pVideoProfile, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCapabilities) { // SpanOverloader @@ -171,6 +172,7 @@ public static unsafe Result GetPhysicalDeviceVideoCapabilities(this KhrVideoQueu } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCapabilities = new(StructureType.VideoCapabilitiesKhr);")] public static unsafe Result GetPhysicalDeviceVideoCapabilities(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pVideoProfile, [Count(Count = 0), Flow(FlowDirection.Out)] Span pCapabilities) { // SpanOverloader @@ -178,6 +180,7 @@ public static unsafe Result GetPhysicalDeviceVideoCapabilities(this KhrVideoQueu } /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, [Count(Count = 0)] uint* pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] Span pVideoFormatProperties) { // SpanOverloader @@ -192,6 +195,7 @@ public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideo } /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, [Count(Count = 0)] Span pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] Span pVideoFormatProperties) { // SpanOverloader @@ -206,6 +210,7 @@ public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideo } /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pVideoFormatInfo, [Count(Count = 0)] uint* pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] Span pVideoFormatProperties) { // SpanOverloader @@ -220,6 +225,7 @@ public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideo } /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoFormatProperties = new(StructureType.VideoFormatPropertiesKhr);")] public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pVideoFormatInfo, [Count(Count = 0)] Span pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] Span pVideoFormatProperties) { // SpanOverloader @@ -227,6 +233,7 @@ public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideo } /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoSessionMemoryRequirements = new(StructureType.VideoGetMemoryPropertiesKhr);")] public static unsafe Result GetVideoSessionMemoryRequirements(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] uint* pVideoSessionMemoryRequirementsCount, [Count(Parameter = "pVideoSessionMemoryRequirementsCount"), Flow(FlowDirection.Out)] Span pVideoSessionMemoryRequirements) { // SpanOverloader @@ -241,6 +248,7 @@ public static unsafe Result GetVideoSessionMemoryRequirements(this KhrVideoQueue } /// To be documented. + [Inject(SilkTouchStage.Begin, "pVideoSessionMemoryRequirements = new(StructureType.VideoGetMemoryPropertiesKhr);")] public static unsafe Result GetVideoSessionMemoryRequirements(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] Span pVideoSessionMemoryRequirementsCount, [Count(Parameter = "pVideoSessionMemoryRequirementsCount"), Flow(FlowDirection.Out)] Span pVideoSessionMemoryRequirements) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrix.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrix.gen.cs index 101ff5c854..158fbf1694 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrix.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrix.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class NVCooperativeMatrix : NativeExtension public unsafe partial Result GetPhysicalDeviceCooperativeMatrixProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] CooperativeMatrixPropertiesNV* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeMatrixPropertiesNV);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV")] public unsafe partial Result GetPhysicalDeviceCooperativeMatrixProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out CooperativeMatrixPropertiesNV pProperties); @@ -33,6 +34,7 @@ public unsafe partial class NVCooperativeMatrix : NativeExtension public unsafe partial Result GetPhysicalDeviceCooperativeMatrixProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] CooperativeMatrixPropertiesNV* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeMatrixPropertiesNV);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV")] public partial Result GetPhysicalDeviceCooperativeMatrixProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out CooperativeMatrixPropertiesNV pProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrixOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrixOverloads.gen.cs index dc511ddf1e..cd8e403f2f 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrixOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCooperativeMatrixOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.NV public static class NVCooperativeMatrixOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeMatrixPropertiesNV);")] public static unsafe Result GetPhysicalDeviceCooperativeMatrixProperties(this NVCooperativeMatrix thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetPhysicalDeviceCooperativeMatrixProperties(this NV } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.CooperativeMatrixPropertiesNV);")] public static unsafe Result GetPhysicalDeviceCooperativeMatrixProperties(this NVCooperativeMatrix thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionMode.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionMode.gen.cs index 87075a0913..9f2a5daff0 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionMode.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionMode.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class NVCoverageReductionMode : NativeExtension public unsafe partial Result GetPhysicalDeviceSupportedFramebufferMixedSamplesCombination([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pCombinationCount, [Count(Parameter = "pCombinationCount"), Flow(FlowDirection.Out)] FramebufferMixedSamplesCombinationNV* pCombinations); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCombinations = new(StructureType.FramebufferMixedSamplesCombinationNV);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV")] public unsafe partial Result GetPhysicalDeviceSupportedFramebufferMixedSamplesCombination([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pCombinationCount, [Count(Parameter = "pCombinationCount"), Flow(FlowDirection.Out)] out FramebufferMixedSamplesCombinationNV pCombinations); @@ -33,6 +34,7 @@ public unsafe partial class NVCoverageReductionMode : NativeExtension public unsafe partial Result GetPhysicalDeviceSupportedFramebufferMixedSamplesCombination([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pCombinationCount, [Count(Parameter = "pCombinationCount"), Flow(FlowDirection.Out)] FramebufferMixedSamplesCombinationNV* pCombinations); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCombinations = new(StructureType.FramebufferMixedSamplesCombinationNV);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV")] public partial Result GetPhysicalDeviceSupportedFramebufferMixedSamplesCombination([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pCombinationCount, [Count(Parameter = "pCombinationCount"), Flow(FlowDirection.Out)] out FramebufferMixedSamplesCombinationNV pCombinations); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionModeOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionModeOverloads.gen.cs index 67016f6d41..d8772719c6 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionModeOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVCoverageReductionModeOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.NV public static class NVCoverageReductionModeOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pCombinations = new(StructureType.FramebufferMixedSamplesCombinationNV);")] public static unsafe Result GetPhysicalDeviceSupportedFramebufferMixedSamplesCombination(this NVCoverageReductionMode thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pCombinationCount, [Count(Parameter = "pCombinationCount"), Flow(FlowDirection.Out)] Span pCombinations) { // SpanOverloader @@ -31,6 +32,7 @@ public static unsafe Result GetPhysicalDeviceSupportedFramebufferMixedSamplesCom } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCombinations = new(StructureType.FramebufferMixedSamplesCombinationNV);")] public static unsafe Result GetPhysicalDeviceSupportedFramebufferMixedSamplesCombination(this NVCoverageReductionMode thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pCombinationCount, [Count(Parameter = "pCombinationCount"), Flow(FlowDirection.Out)] Span pCombinations) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpoints.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpoints.gen.cs index 3d0e084108..45e6d84671 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpoints.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpoints.gen.cs @@ -33,6 +33,7 @@ public unsafe partial class NVDeviceDiagnosticCheckpoints : NativeExtension public unsafe partial void GetQueueCheckpointData([Count(Count = 0)] Queue queue, [Count(Count = 0)] uint* pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] CheckpointDataNV* pCheckpointData); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointDataNV);")] [NativeApi(EntryPoint = "vkGetQueueCheckpointDataNV")] public unsafe partial void GetQueueCheckpointData([Count(Count = 0)] Queue queue, [Count(Count = 0)] uint* pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] out CheckpointDataNV pCheckpointData); @@ -41,6 +42,7 @@ public unsafe partial class NVDeviceDiagnosticCheckpoints : NativeExtension public unsafe partial void GetQueueCheckpointData([Count(Count = 0)] Queue queue, [Count(Count = 0)] ref uint pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] CheckpointDataNV* pCheckpointData); /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointDataNV);")] [NativeApi(EntryPoint = "vkGetQueueCheckpointDataNV")] public partial void GetQueueCheckpointData([Count(Count = 0)] Queue queue, [Count(Count = 0)] ref uint pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] out CheckpointDataNV pCheckpointData); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpointsOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpointsOverloads.gen.cs index 404ccdc64e..7b25ab0b7b 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpointsOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceDiagnosticCheckpointsOverloads.gen.cs @@ -24,6 +24,7 @@ public static unsafe void CmdSetCheckpoint(this NVDeviceDiagnosticCheckpoint } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointDataNV);")] public static unsafe void GetQueueCheckpointData(this NVDeviceDiagnosticCheckpoints thisApi, [Count(Count = 0)] Queue queue, [Count(Count = 0)] uint* pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] Span pCheckpointData) { // SpanOverloader @@ -38,6 +39,7 @@ public static unsafe void GetQueueCheckpointData(this NVDeviceDiagnosticCheckpoi } /// To be documented. + [Inject(SilkTouchStage.Begin, "pCheckpointData = new(StructureType.CheckpointDataNV);")] public static unsafe void GetQueueCheckpointData(this NVDeviceDiagnosticCheckpoints thisApi, [Count(Count = 0)] Queue queue, [Count(Count = 0)] Span pCheckpointDataCount, [Count(Parameter = "pCheckpointDataCount"), Flow(FlowDirection.Out)] Span pCheckpointData) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommands.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommands.gen.cs index ae737b158c..e52600a31a 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommands.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommands.gen.cs @@ -85,6 +85,7 @@ public unsafe partial class NVDeviceGeneratedCommands : NativeExtension public unsafe partial void GetGeneratedCommandsMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] GeneratedCommandsMemoryRequirementsInfoNV* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetGeneratedCommandsMemoryRequirementsNV")] public unsafe partial void GetGeneratedCommandsMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] GeneratedCommandsMemoryRequirementsInfoNV* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -93,6 +94,7 @@ public unsafe partial class NVDeviceGeneratedCommands : NativeExtension public unsafe partial void GetGeneratedCommandsMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in GeneratedCommandsMemoryRequirementsInfoNV pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetGeneratedCommandsMemoryRequirementsNV")] public partial void GetGeneratedCommandsMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in GeneratedCommandsMemoryRequirementsInfoNV pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommandsOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommandsOverloads.gen.cs index 18768413b3..51220ee4f4 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommandsOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVDeviceGeneratedCommandsOverloads.gen.cs @@ -87,6 +87,7 @@ public static unsafe void DestroyIndirectCommandsLayout(this NVDeviceGeneratedCo } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetGeneratedCommandsMemoryRequirements(this NVDeviceGeneratedCommands thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] GeneratedCommandsMemoryRequirementsInfoNV* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -101,6 +102,7 @@ public static unsafe void GetGeneratedCommandsMemoryRequirements(this NVDeviceGe } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetGeneratedCommandsMemoryRequirements(this NVDeviceGeneratedCommands thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracing.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracing.gen.cs index a06d63e6e9..2f360ca919 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracing.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracing.gen.cs @@ -141,6 +141,7 @@ public unsafe partial class NVRayTracing : NativeExtension public unsafe partial void GetAccelerationStructureMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureMemoryRequirementsInfoNV* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2KHR* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetAccelerationStructureMemoryRequirementsNV")] public unsafe partial void GetAccelerationStructureMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureMemoryRequirementsInfoNV* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2KHR pMemoryRequirements); @@ -149,6 +150,7 @@ public unsafe partial class NVRayTracing : NativeExtension public unsafe partial void GetAccelerationStructureMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in AccelerationStructureMemoryRequirementsInfoNV pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2KHR* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetAccelerationStructureMemoryRequirementsNV")] public partial void GetAccelerationStructureMemoryRequirements([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in AccelerationStructureMemoryRequirementsInfoNV pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2KHR pMemoryRequirements); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracingOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracingOverloads.gen.cs index 0600ba254e..92ea160235 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracingOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVRayTracingOverloads.gen.cs @@ -150,6 +150,7 @@ public static unsafe Result GetAccelerationStructureHandle(this NVRayTracing } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetAccelerationStructureMemoryRequirements(this NVRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] AccelerationStructureMemoryRequirementsInfoNV* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -164,6 +165,7 @@ public static unsafe void GetAccelerationStructureMemoryRequirements(this NVRayT } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetAccelerationStructureMemoryRequirements(this NVRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs index 170268b4dd..152e2ec56e 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandle.gen.cs @@ -25,6 +25,7 @@ public unsafe partial class NvxImageViewHandle : NativeExtension public unsafe partial Result GetImageViewAddress([Count(Count = 0)] Device device, [Count(Count = 0)] ImageView imageView, [Count(Count = 0), Flow(FlowDirection.Out)] ImageViewAddressPropertiesNVX* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.ImageViewAddressPropertiesNvx);")] [NativeApi(EntryPoint = "vkGetImageViewAddressNVX")] public partial Result GetImageViewAddress([Count(Count = 0)] Device device, [Count(Count = 0)] ImageView imageView, [Count(Count = 0), Flow(FlowDirection.Out)] out ImageViewAddressPropertiesNVX pProperties); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs index 3c3b98f07e..f496422f1f 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NVX/NvxImageViewHandleOverloads.gen.cs @@ -17,6 +17,7 @@ namespace Silk.NET.Vulkan.Extensions.NVX public static class NvxImageViewHandleOverloads { /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.ImageViewAddressPropertiesNvx);")] public static unsafe Result GetImageViewAddress(this NvxImageViewHandle thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ImageView imageView, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs index c7ea7672e6..7707238dcd 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs @@ -93,5 +93,7 @@ public enum AccessFlags2KHR : long Access2ColorAttachmentReadNoncoherentBitExt = 524288, [NativeName("Name", "VK_ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI")] Access2InvocationMaskReadBitHuawei = 549755813888, + [NativeName("Name", "VK_ACCESS_2_RESERVED_387_BIT_KHR")] + Access2Reserved387BitKhr = 1099511627776, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DebugReportObjectTypeEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DebugReportObjectTypeEXT.gen.cs index 76ba363433..f4dc80556b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DebugReportObjectTypeEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DebugReportObjectTypeEXT.gen.cs @@ -96,5 +96,7 @@ public enum DebugReportObjectTypeEXT : int DebugReportObjectTypeSamplerYcbcrConversionKhrExt = 1000156000, [NativeName("Name", "VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT")] DebugReportObjectTypeAccelerationStructureNVExt = 1000165000, + [NativeName("Name", "VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT")] + DebugReportObjectTypeBufferCollectionFuchsiaExt = 1000366000, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs index 120d95fc18..d13e4686c8 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverId.gen.cs @@ -46,5 +46,11 @@ public enum DriverId : int DriverIDJuiceProprietary = 16, [NativeName("Name", "VK_DRIVER_ID_VERISILICON_PROPRIETARY")] DriverIDVerisiliconProprietary = 17, + [NativeName("Name", "VK_DRIVER_ID_MESA_TURNIP")] + DriverIDMesaTurnip = 18, + [NativeName("Name", "VK_DRIVER_ID_MESA_V3DV")] + DriverIDMesaV3DV = 19, + [NativeName("Name", "VK_DRIVER_ID_MESA_PANVK")] + DriverIDMesaPanvk = 20, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs index c508a1ef79..99725ae03b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/DriverIdKHR.gen.cs @@ -46,5 +46,11 @@ public enum DriverIdKHR : int DriverIDJuiceProprietary = 16, [NativeName("Name", "VK_DRIVER_ID_VERISILICON_PROPRIETARY")] DriverIDVerisiliconProprietary = 17, + [NativeName("Name", "VK_DRIVER_ID_MESA_TURNIP")] + DriverIDMesaTurnip = 18, + [NativeName("Name", "VK_DRIVER_ID_MESA_V3DV")] + DriverIDMesaV3DV = 19, + [NativeName("Name", "VK_DRIVER_ID_MESA_PANVK")] + DriverIDMesaPanvk = 20, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageConstraintsInfoFlagsFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageConstraintsInfoFlagsFUCHSIA.gen.cs new file mode 100644 index 0000000000..3a64cb5772 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageConstraintsInfoFlagsFUCHSIA.gen.cs @@ -0,0 +1,27 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags()] + [NativeName("Name", "VkImageConstraintsInfoFlagsFUCHSIA")] + public enum ImageConstraintsInfoFlagsFUCHSIA : int + { + [NativeName("Name", "VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_RARELY_FUCHSIA")] + ImageConstraintsInfoCpuReadRarelyFuchsia = 1, + [NativeName("Name", "VK_IMAGE_CONSTRAINTS_INFO_CPU_READ_OFTEN_FUCHSIA")] + ImageConstraintsInfoCpuReadOftenFuchsia = 2, + [NativeName("Name", "VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_RARELY_FUCHSIA")] + ImageConstraintsInfoCpuWriteRarelyFuchsia = 4, + [NativeName("Name", "VK_IMAGE_CONSTRAINTS_INFO_CPU_WRITE_OFTEN_FUCHSIA")] + ImageConstraintsInfoCpuWriteOftenFuchsia = 8, + [NativeName("Name", "VK_IMAGE_CONSTRAINTS_INFO_PROTECTED_OPTIONAL_FUCHSIA")] + ImageConstraintsInfoProtectedOptionalFuchsia = 16, + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs index 290c6b73cf..2d7ce56b20 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageCreateFlags.gen.cs @@ -41,6 +41,8 @@ public enum ImageCreateFlags : int ImageCreateAliasBitKhr = 1024, [NativeName("Name", "VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT")] ImageCreateSubsampledBitExt = 16384, + [NativeName("Name", "VK_IMAGE_CREATE_RESERVED_426_BIT_QCOM")] + ImageCreateReserved426BitQCom = 32768, [NativeName("Name", "VK_IMAGE_CREATE_ALIAS_BIT")] ImageCreateAliasBit = 1024, [NativeName("Name", "VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ImageFormatConstraintsFlagsFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageFormatConstraintsFlagsFUCHSIA.gen.cs new file mode 100644 index 0000000000..88fb214266 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ImageFormatConstraintsFlagsFUCHSIA.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [Flags()] + [NativeName("Name", "VkImageFormatConstraintsFlagsFUCHSIA")] + public enum ImageFormatConstraintsFlagsFUCHSIA : int + { + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs index c2e6f7accb..b9a5a54c27 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/ObjectType.gen.cs @@ -102,6 +102,8 @@ public enum ObjectType : int IndirectCommandsLayoutNV = 1000277000, [NativeName("Name", "VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT")] PrivateDataSlotExt = 1000295000, + [NativeName("Name", "VK_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA")] + BufferCollectionFuchsia = 1000366000, [NativeName("Name", "VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION")] SamplerYcbcrConversion = 1000156000, [NativeName("Name", "VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs index 54003d42fd..eb9602edf7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/PipelineStageFlags2KHR.gen.cs @@ -97,5 +97,7 @@ public enum PipelineStageFlags2KHR : long PipelineStage2SubpassShadingBitHuawei = 549755813888, [NativeName("Name", "VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI")] PipelineStage2InvocationMaskBitHuawei = 1099511627776, + [NativeName("Name", "VK_PIPELINE_STAGE_2_RESERVED_387_BIT_KHR")] + PipelineStage2Reserved387BitKhr = 268435456, } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs index d1e068c34a..58beefc45b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/StructureType.gen.cs @@ -1126,6 +1126,26 @@ public enum StructureType : int ImportSemaphoreZirconHandleInfoFuchsia = 1000365000, [NativeName("Name", "VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA")] SemaphoreGetZirconHandleInfoFuchsia = 1000365001, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CREATE_INFO_FUCHSIA")] + BufferCollectionCreateInfoFuchsia = 1000366000, + [NativeName("Name", "VK_STRUCTURE_TYPE_IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA")] + ImportMemoryBufferCollectionFuchsia = 1000366001, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_IMAGE_CREATE_INFO_FUCHSIA")] + BufferCollectionImageCreateInfoFuchsia = 1000366002, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_PROPERTIES_FUCHSIA")] + BufferCollectionPropertiesFuchsia = 1000366003, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUFFER_CONSTRAINTS_INFO_FUCHSIA")] + BufferConstraintsInfoFuchsia = 1000366004, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_BUFFER_CREATE_INFO_FUCHSIA")] + BufferCollectionBufferCreateInfoFuchsia = 1000366005, + [NativeName("Name", "VK_STRUCTURE_TYPE_IMAGE_CONSTRAINTS_INFO_FUCHSIA")] + ImageConstraintsInfoFuchsia = 1000366006, + [NativeName("Name", "VK_STRUCTURE_TYPE_IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA")] + ImageFormatConstraintsInfoFuchsia = 1000366007, + [NativeName("Name", "VK_STRUCTURE_TYPE_SYSMEM_COLOR_SPACE_FUCHSIA")] + SysmemColorSpaceFuchsia = 1000366008, + [NativeName("Name", "VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA")] + BufferCollectionConstraintsInfoFuchsia = 1000366009, [NativeName("Name", "VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI")] SubpassShadingPipelineCreateInfoHuawei = 1000369000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI")] @@ -1154,6 +1174,8 @@ public enum StructureType : int PhysicalDeviceMultiDrawFeaturesExt = 1000392000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT")] PhysicalDeviceMultiDrawPropertiesExt = 1000392001, + [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT")] + PhysicalDevicePageableDeviceLocalMemoryFeaturesExt = 1000412000, [NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES")] PhysicalDeviceSubgroupProperties = 1000094000, [NativeName("Name", "VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodingQualityPresetFlagsKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodingQualityPresetFlagsKHR.gen.cs index ec60eeb60d..e2ad4a1b7b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodingQualityPresetFlagsKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Enums/VideoCodingQualityPresetFlagsKHR.gen.cs @@ -13,8 +13,6 @@ namespace Silk.NET.Vulkan [NativeName("Name", "VkVideoCodingQualityPresetFlagsKHR")] public enum VideoCodingQualityPresetFlagsKHR : int { - [NativeName("Name", "VK_VIDEO_CODING_QUALITY_PRESET_DEFAULT_BIT_KHR")] - VideoCodingQualityPresetDefaultBitKhr = 0, [NativeName("Name", "VK_VIDEO_CODING_QUALITY_PRESET_NORMAL_BIT_KHR")] VideoCodingQualityPresetNormalBitKhr = 1, [NativeName("Name", "VK_VIDEO_CODING_QUALITY_PRESET_POWER_BIT_KHR")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionBufferCreateInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionBufferCreateInfoFUCHSIA.gen.cs new file mode 100644 index 0000000000..a471940476 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionBufferCreateInfoFUCHSIA.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferCollectionBufferCreateInfoFUCHSIA")] + public unsafe partial struct BufferCollectionBufferCreateInfoFUCHSIA + { + public BufferCollectionBufferCreateInfoFUCHSIA + ( + StructureType? sType = StructureType.BufferCollectionBufferCreateInfoFuchsia, + void* pNext = null, + BufferCollectionFUCHSIA? collection = null, + uint? index = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (collection is not null) + { + Collection = collection.Value; + } + + if (index is not null) + { + Index = index.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBufferCollectionFUCHSIA")] + [NativeName("Type.Name", "VkBufferCollectionFUCHSIA")] + [NativeName("Name", "collection")] + public BufferCollectionFUCHSIA Collection; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "index")] + public uint Index; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionConstraintsInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionConstraintsInfoFUCHSIA.gen.cs new file mode 100644 index 0000000000..3548b1b20d --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionConstraintsInfoFUCHSIA.gen.cs @@ -0,0 +1,105 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferCollectionConstraintsInfoFUCHSIA")] + public unsafe partial struct BufferCollectionConstraintsInfoFUCHSIA + { + public BufferCollectionConstraintsInfoFUCHSIA + ( + StructureType? sType = StructureType.BufferCollectionConstraintsInfoFuchsia, + void* pNext = null, + uint? minBufferCount = null, + uint? maxBufferCount = null, + uint? minBufferCountForCamping = null, + uint? minBufferCountForDedicatedSlack = null, + uint? minBufferCountForSharedSlack = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (minBufferCount is not null) + { + MinBufferCount = minBufferCount.Value; + } + + if (maxBufferCount is not null) + { + MaxBufferCount = maxBufferCount.Value; + } + + if (minBufferCountForCamping is not null) + { + MinBufferCountForCamping = minBufferCountForCamping.Value; + } + + if (minBufferCountForDedicatedSlack is not null) + { + MinBufferCountForDedicatedSlack = minBufferCountForDedicatedSlack.Value; + } + + if (minBufferCountForSharedSlack is not null) + { + MinBufferCountForSharedSlack = minBufferCountForSharedSlack.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "minBufferCount")] + public uint MinBufferCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxBufferCount")] + public uint MaxBufferCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "minBufferCountForCamping")] + public uint MinBufferCountForCamping; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "minBufferCountForDedicatedSlack")] + public uint MinBufferCountForDedicatedSlack; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "minBufferCountForSharedSlack")] + public uint MinBufferCountForSharedSlack; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionCreateInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionCreateInfoFUCHSIA.gen.cs new file mode 100644 index 0000000000..e6b133d299 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionCreateInfoFUCHSIA.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferCollectionCreateInfoFUCHSIA")] + public unsafe partial struct BufferCollectionCreateInfoFUCHSIA + { + public BufferCollectionCreateInfoFUCHSIA + ( + StructureType? sType = StructureType.BufferCollectionCreateInfoFuchsia, + void* pNext = null, + nint? collectionToken = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (collectionToken is not null) + { + CollectionToken = collectionToken.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "zx_handle_t")] + [NativeName("Type.Name", "zx_handle_t")] + [NativeName("Name", "collectionToken")] + public nint CollectionToken; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionFUCHSIA.gen.cs new file mode 100644 index 0000000000..9c01bb5a05 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionFUCHSIA.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferCollectionFUCHSIA")] + public unsafe partial struct BufferCollectionFUCHSIA + { + public BufferCollectionFUCHSIA + ( + ulong? handle = null + ) : this() + { + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "")] + [NativeName("Type.Name", "")] + [NativeName("Name", "")] + public ulong Handle; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionImageCreateInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionImageCreateInfoFUCHSIA.gen.cs new file mode 100644 index 0000000000..bb0662871c --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionImageCreateInfoFUCHSIA.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferCollectionImageCreateInfoFUCHSIA")] + public unsafe partial struct BufferCollectionImageCreateInfoFUCHSIA + { + public BufferCollectionImageCreateInfoFUCHSIA + ( + StructureType? sType = StructureType.BufferCollectionImageCreateInfoFuchsia, + void* pNext = null, + BufferCollectionFUCHSIA? collection = null, + uint? index = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (collection is not null) + { + Collection = collection.Value; + } + + if (index is not null) + { + Index = index.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBufferCollectionFUCHSIA")] + [NativeName("Type.Name", "VkBufferCollectionFUCHSIA")] + [NativeName("Name", "collection")] + public BufferCollectionFUCHSIA Collection; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "index")] + public uint Index; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionPropertiesFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionPropertiesFUCHSIA.gen.cs new file mode 100644 index 0000000000..39f694dce6 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferCollectionPropertiesFUCHSIA.gen.cs @@ -0,0 +1,171 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferCollectionPropertiesFUCHSIA")] + public unsafe partial struct BufferCollectionPropertiesFUCHSIA + { + public BufferCollectionPropertiesFUCHSIA + ( + StructureType? sType = StructureType.BufferCollectionPropertiesFuchsia, + void* pNext = null, + uint? memoryTypeBits = null, + uint? bufferCount = null, + uint? createInfoIndex = null, + ulong? sysmemPixelFormat = null, + FormatFeatureFlags? formatFeatures = null, + SysmemColorSpaceFUCHSIA? sysmemColorSpaceIndex = null, + ComponentMapping? samplerYcbcrConversionComponents = null, + SamplerYcbcrModelConversion? suggestedYcbcrModel = null, + SamplerYcbcrRange? suggestedYcbcrRange = null, + ChromaLocation? suggestedXChromaOffset = null, + ChromaLocation? suggestedYChromaOffset = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (memoryTypeBits is not null) + { + MemoryTypeBits = memoryTypeBits.Value; + } + + if (bufferCount is not null) + { + BufferCount = bufferCount.Value; + } + + if (createInfoIndex is not null) + { + CreateInfoIndex = createInfoIndex.Value; + } + + if (sysmemPixelFormat is not null) + { + SysmemPixelFormat = sysmemPixelFormat.Value; + } + + if (formatFeatures is not null) + { + FormatFeatures = formatFeatures.Value; + } + + if (sysmemColorSpaceIndex is not null) + { + SysmemColorSpaceIndex = sysmemColorSpaceIndex.Value; + } + + if (samplerYcbcrConversionComponents is not null) + { + SamplerYcbcrConversionComponents = samplerYcbcrConversionComponents.Value; + } + + if (suggestedYcbcrModel is not null) + { + SuggestedYcbcrModel = suggestedYcbcrModel.Value; + } + + if (suggestedYcbcrRange is not null) + { + SuggestedYcbcrRange = suggestedYcbcrRange.Value; + } + + if (suggestedXChromaOffset is not null) + { + SuggestedXChromaOffset = suggestedXChromaOffset.Value; + } + + if (suggestedYChromaOffset is not null) + { + SuggestedYChromaOffset = suggestedYChromaOffset.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "memoryTypeBits")] + public uint MemoryTypeBits; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "bufferCount")] + public uint BufferCount; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "createInfoIndex")] + public uint CreateInfoIndex; +/// + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "sysmemPixelFormat")] + public ulong SysmemPixelFormat; +/// + [NativeName("Type", "VkFormatFeatureFlags")] + [NativeName("Type.Name", "VkFormatFeatureFlags")] + [NativeName("Name", "formatFeatures")] + public FormatFeatureFlags FormatFeatures; +/// + [NativeName("Type", "VkSysmemColorSpaceFUCHSIA")] + [NativeName("Type.Name", "VkSysmemColorSpaceFUCHSIA")] + [NativeName("Name", "sysmemColorSpaceIndex")] + public SysmemColorSpaceFUCHSIA SysmemColorSpaceIndex; +/// + [NativeName("Type", "VkComponentMapping")] + [NativeName("Type.Name", "VkComponentMapping")] + [NativeName("Name", "samplerYcbcrConversionComponents")] + public ComponentMapping SamplerYcbcrConversionComponents; +/// + [NativeName("Type", "VkSamplerYcbcrModelConversion")] + [NativeName("Type.Name", "VkSamplerYcbcrModelConversion")] + [NativeName("Name", "suggestedYcbcrModel")] + public SamplerYcbcrModelConversion SuggestedYcbcrModel; +/// + [NativeName("Type", "VkSamplerYcbcrRange")] + [NativeName("Type.Name", "VkSamplerYcbcrRange")] + [NativeName("Name", "suggestedYcbcrRange")] + public SamplerYcbcrRange SuggestedYcbcrRange; +/// + [NativeName("Type", "VkChromaLocation")] + [NativeName("Type.Name", "VkChromaLocation")] + [NativeName("Name", "suggestedXChromaOffset")] + public ChromaLocation SuggestedXChromaOffset; +/// + [NativeName("Type", "VkChromaLocation")] + [NativeName("Type.Name", "VkChromaLocation")] + [NativeName("Name", "suggestedYChromaOffset")] + public ChromaLocation SuggestedYChromaOffset; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/BufferConstraintsInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferConstraintsInfoFUCHSIA.gen.cs new file mode 100644 index 0000000000..45b53c3441 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/BufferConstraintsInfoFUCHSIA.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkBufferConstraintsInfoFUCHSIA")] + public unsafe partial struct BufferConstraintsInfoFUCHSIA + { + public BufferConstraintsInfoFUCHSIA + ( + StructureType? sType = StructureType.BufferConstraintsInfoFuchsia, + void* pNext = null, + BufferCreateInfo? createInfo = null, + FormatFeatureFlags? requiredFormatFeatures = null, + BufferCollectionConstraintsInfoFUCHSIA? bufferCollectionConstraints = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (createInfo is not null) + { + CreateInfo = createInfo.Value; + } + + if (requiredFormatFeatures is not null) + { + RequiredFormatFeatures = requiredFormatFeatures.Value; + } + + if (bufferCollectionConstraints is not null) + { + BufferCollectionConstraints = bufferCollectionConstraints.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBufferCreateInfo")] + [NativeName("Type.Name", "VkBufferCreateInfo")] + [NativeName("Name", "createInfo")] + public BufferCreateInfo CreateInfo; +/// + [NativeName("Type", "VkFormatFeatureFlags")] + [NativeName("Type.Name", "VkFormatFeatureFlags")] + [NativeName("Name", "requiredFormatFeatures")] + public FormatFeatureFlags RequiredFormatFeatures; +/// + [NativeName("Type", "VkBufferCollectionConstraintsInfoFUCHSIA")] + [NativeName("Type.Name", "VkBufferCollectionConstraintsInfoFUCHSIA")] + [NativeName("Name", "bufferCollectionConstraints")] + public BufferCollectionConstraintsInfoFUCHSIA BufferCollectionConstraints; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit.gen.cs index 074fd8e050..d4308145d7 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit.gen.cs @@ -67,7 +67,7 @@ public ref Offset3D this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif @@ -104,7 +104,7 @@ public ref Offset3D this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit2KHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit2KHR.gen.cs index 52f8348f87..8de70ae9ba 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit2KHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageBlit2KHR.gen.cs @@ -89,7 +89,7 @@ public ref Offset3D this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif @@ -126,7 +126,7 @@ public ref Offset3D this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageConstraintsInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageConstraintsInfoFUCHSIA.gen.cs new file mode 100644 index 0000000000..cf485ba457 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageConstraintsInfoFUCHSIA.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkImageConstraintsInfoFUCHSIA")] + public unsafe partial struct ImageConstraintsInfoFUCHSIA + { + public ImageConstraintsInfoFUCHSIA + ( + StructureType? sType = StructureType.ImageConstraintsInfoFuchsia, + void* pNext = null, + uint? formatConstraintsCount = null, + ImageFormatConstraintsInfoFUCHSIA* pFormatConstraints = null, + BufferCollectionConstraintsInfoFUCHSIA? bufferCollectionConstraints = null, + ImageConstraintsInfoFlagsFUCHSIA? flags = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (formatConstraintsCount is not null) + { + FormatConstraintsCount = formatConstraintsCount.Value; + } + + if (pFormatConstraints is not null) + { + PFormatConstraints = pFormatConstraints; + } + + if (bufferCollectionConstraints is not null) + { + BufferCollectionConstraints = bufferCollectionConstraints.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "formatConstraintsCount")] + public uint FormatConstraintsCount; +/// + [NativeName("Type", "VkImageFormatConstraintsInfoFUCHSIA*")] + [NativeName("Type.Name", "VkImageFormatConstraintsInfoFUCHSIA")] + [NativeName("Name", "pFormatConstraints")] + public ImageFormatConstraintsInfoFUCHSIA* PFormatConstraints; +/// + [NativeName("Type", "VkBufferCollectionConstraintsInfoFUCHSIA")] + [NativeName("Type.Name", "VkBufferCollectionConstraintsInfoFUCHSIA")] + [NativeName("Name", "bufferCollectionConstraints")] + public BufferCollectionConstraintsInfoFUCHSIA BufferCollectionConstraints; +/// + [NativeName("Type", "VkImageConstraintsInfoFlagsFUCHSIA")] + [NativeName("Type.Name", "VkImageConstraintsInfoFlagsFUCHSIA")] + [NativeName("Name", "flags")] + public ImageConstraintsInfoFlagsFUCHSIA Flags; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImageFormatConstraintsInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageFormatConstraintsInfoFUCHSIA.gen.cs new file mode 100644 index 0000000000..3fc863b5f9 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImageFormatConstraintsInfoFUCHSIA.gen.cs @@ -0,0 +1,116 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkImageFormatConstraintsInfoFUCHSIA")] + public unsafe partial struct ImageFormatConstraintsInfoFUCHSIA + { + public ImageFormatConstraintsInfoFUCHSIA + ( + StructureType? sType = StructureType.ImageFormatConstraintsInfoFuchsia, + void* pNext = null, + ImageCreateInfo? imageCreateInfo = null, + FormatFeatureFlags? requiredFormatFeatures = null, + ImageFormatConstraintsFlagsFUCHSIA? flags = null, + ulong? sysmemPixelFormat = null, + uint? colorSpaceCount = null, + SysmemColorSpaceFUCHSIA* pColorSpaces = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (imageCreateInfo is not null) + { + ImageCreateInfo = imageCreateInfo.Value; + } + + if (requiredFormatFeatures is not null) + { + RequiredFormatFeatures = requiredFormatFeatures.Value; + } + + if (flags is not null) + { + Flags = flags.Value; + } + + if (sysmemPixelFormat is not null) + { + SysmemPixelFormat = sysmemPixelFormat.Value; + } + + if (colorSpaceCount is not null) + { + ColorSpaceCount = colorSpaceCount.Value; + } + + if (pColorSpaces is not null) + { + PColorSpaces = pColorSpaces; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkImageCreateInfo")] + [NativeName("Type.Name", "VkImageCreateInfo")] + [NativeName("Name", "imageCreateInfo")] + public ImageCreateInfo ImageCreateInfo; +/// + [NativeName("Type", "VkFormatFeatureFlags")] + [NativeName("Type.Name", "VkFormatFeatureFlags")] + [NativeName("Name", "requiredFormatFeatures")] + public FormatFeatureFlags RequiredFormatFeatures; +/// + [NativeName("Type", "VkImageFormatConstraintsFlagsFUCHSIA")] + [NativeName("Type.Name", "VkImageFormatConstraintsFlagsFUCHSIA")] + [NativeName("Name", "flags")] + public ImageFormatConstraintsFlagsFUCHSIA Flags; +/// + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "sysmemPixelFormat")] + public ulong SysmemPixelFormat; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "colorSpaceCount")] + public uint ColorSpaceCount; +/// + [NativeName("Type", "VkSysmemColorSpaceFUCHSIA*")] + [NativeName("Type.Name", "VkSysmemColorSpaceFUCHSIA")] + [NativeName("Name", "pColorSpaces")] + public SysmemColorSpaceFUCHSIA* PColorSpaces; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryBufferCollectionFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryBufferCollectionFUCHSIA.gen.cs new file mode 100644 index 0000000000..80a2d135ab --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryBufferCollectionFUCHSIA.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkImportMemoryBufferCollectionFUCHSIA")] + public unsafe partial struct ImportMemoryBufferCollectionFUCHSIA + { + public ImportMemoryBufferCollectionFUCHSIA + ( + StructureType? sType = StructureType.ImportMemoryBufferCollectionFuchsia, + void* pNext = null, + BufferCollectionFUCHSIA? collection = null, + uint? index = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (collection is not null) + { + Collection = collection.Value; + } + + if (index is not null) + { + Index = index.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBufferCollectionFUCHSIA")] + [NativeName("Type.Name", "VkBufferCollectionFUCHSIA")] + [NativeName("Name", "collection")] + public BufferCollectionFUCHSIA Collection; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "index")] + public uint Index; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupProperties.gen.cs index ae0a0a6181..6c4a90021e 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupProperties.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupProperties.gen.cs @@ -119,7 +119,7 @@ public ref PhysicalDevice this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 32); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupPropertiesKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupPropertiesKHR.gen.cs index e31796fa1d..a47145b20e 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupPropertiesKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceGroupPropertiesKHR.gen.cs @@ -119,7 +119,7 @@ public ref PhysicalDevice this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 32); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMemoryProperties.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMemoryProperties.gen.cs index 89fb961c1e..1951d154ea 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMemoryProperties.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceMemoryProperties.gen.cs @@ -97,7 +97,7 @@ public ref MemoryType this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 32); #endif @@ -148,7 +148,7 @@ public ref MemoryHeap this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 16); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT.gen.cs new file mode 100644 index 0000000000..83103d80e2 --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT")] + public unsafe partial struct PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT + { + public PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT + ( + StructureType? sType = StructureType.PhysicalDevicePageableDeviceLocalMemoryFeaturesExt, + void* pNext = null, + Bool32? pageableDeviceLocalMemory = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (pageableDeviceLocalMemory is not null) + { + PageableDeviceLocalMemory = pageableDeviceLocalMemory.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "VkBool32")] + [NativeName("Type.Name", "VkBool32")] + [NativeName("Name", "pageableDeviceLocalMemory")] + public Bool32 PageableDeviceLocalMemory; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateEnumStateCreateInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateEnumStateCreateInfoNV.gen.cs index 2360f24d5f..4beb07b185 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateEnumStateCreateInfoNV.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateEnumStateCreateInfoNV.gen.cs @@ -94,7 +94,7 @@ public ref FragmentShadingRateCombinerOpKHR this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateStateCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateStateCreateInfoKHR.gen.cs index 7a9894bceb..e97767c30d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateStateCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineFragmentShadingRateStateCreateInfoKHR.gen.cs @@ -83,7 +83,7 @@ public ref FragmentShadingRateCombinerOpKHR this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 2); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs index 78f7b0e3cc..3372bcc325 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/QueueFamilyGlobalPriorityPropertiesEXT.gen.cs @@ -97,7 +97,7 @@ public ref QueueGlobalPriorityEXT this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 16); #endif diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SysmemColorSpaceFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SysmemColorSpaceFUCHSIA.gen.cs new file mode 100644 index 0000000000..39d0ac3f2a --- /dev/null +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SysmemColorSpaceFUCHSIA.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.Vulkan +{ + [NativeName("Name", "VkSysmemColorSpaceFUCHSIA")] + public unsafe partial struct SysmemColorSpaceFUCHSIA + { + public SysmemColorSpaceFUCHSIA + ( + StructureType? sType = StructureType.SysmemColorSpaceFuchsia, + void* pNext = null, + uint? colorSpace = null + ) : this() + { + if (sType is not null) + { + SType = sType.Value; + } + + if (pNext is not null) + { + PNext = pNext; + } + + if (colorSpace is not null) + { + ColorSpace = colorSpace.Value; + } + } + +/// + [NativeName("Type", "VkStructureType")] + [NativeName("Type.Name", "VkStructureType")] + [NativeName("Name", "sType")] + public StructureType SType; +/// + [NativeName("Type", "void*")] + [NativeName("Type.Name", "void")] + [NativeName("Name", "pNext")] + public void* PNext; +/// + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "colorSpace")] + public uint ColorSpace; + } +} diff --git a/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs index de6fba6de9..c3f8bf74dc 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs @@ -369,6 +369,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetBufferMemoryRequirements2")] public unsafe partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -377,6 +378,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetBufferMemoryRequirements2")] public partial void GetBufferMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in BufferMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -385,6 +387,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] DescriptorSetLayoutCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] DescriptorSetLayoutSupport* pSupport); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] [NativeApi(EntryPoint = "vkGetDescriptorSetLayoutSupport")] public unsafe partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] DescriptorSetLayoutCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out DescriptorSetLayoutSupport pSupport); @@ -393,6 +396,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in DescriptorSetLayoutCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] DescriptorSetLayoutSupport* pSupport); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] [NativeApi(EntryPoint = "vkGetDescriptorSetLayoutSupport")] public partial void GetDescriptorSetLayoutSupport([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in DescriptorSetLayoutCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out DescriptorSetLayoutSupport pSupport); @@ -425,6 +429,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageMemoryRequirements2")] public unsafe partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -433,6 +438,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryRequirements2* pMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageMemoryRequirements2")] public partial void GetImageMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageMemoryRequirementsInfo2 pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryRequirements2 pMemoryRequirements); @@ -441,6 +447,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2")] public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); @@ -449,6 +456,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2")] public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); @@ -457,6 +465,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2")] public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); @@ -465,6 +474,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] SparseImageMemoryRequirements2* pSparseMemoryRequirements); /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] [NativeApi(EntryPoint = "vkGetImageSparseMemoryRequirements2")] public partial void GetImageSparseMemoryRequirements2([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageSparseMemoryRequirementsInfo2 pInfo, [Count(Count = 0)] ref uint pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] out SparseImageMemoryRequirements2 pSparseMemoryRequirements); @@ -473,6 +483,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalBufferProperties* pExternalBufferProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalBufferProperties")] public unsafe partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalBufferProperties pExternalBufferProperties); @@ -481,6 +492,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalBufferInfo pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalBufferProperties* pExternalBufferProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalBufferProperties")] public partial void GetPhysicalDeviceExternalBufferProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalBufferInfo pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalBufferProperties pExternalBufferProperties); @@ -489,6 +501,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalFenceProperties* pExternalFenceProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalFenceProperties")] public unsafe partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalFenceProperties pExternalFenceProperties); @@ -497,6 +510,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalFenceInfo pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalFenceProperties* pExternalFenceProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalFenceProperties")] public partial void GetPhysicalDeviceExternalFenceProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalFenceInfo pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalFenceProperties pExternalFenceProperties); @@ -505,6 +519,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceExternalSemaphoreProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalSemaphoreProperties* pExternalSemaphoreProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalSemaphoreProperties")] public unsafe partial void GetPhysicalDeviceExternalSemaphoreProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalSemaphoreProperties pExternalSemaphoreProperties); @@ -513,6 +528,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceExternalSemaphoreProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalSemaphoreInfo pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ExternalSemaphoreProperties* pExternalSemaphoreProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceExternalSemaphoreProperties")] public partial void GetPhysicalDeviceExternalSemaphoreProperties([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceExternalSemaphoreInfo pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ExternalSemaphoreProperties pExternalSemaphoreProperties); @@ -521,6 +537,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceFeatures2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] PhysicalDeviceFeatures2* pFeatures); /// To be documented. + [Inject(SilkTouchStage.Begin, "pFeatures = new(StructureType.PhysicalDeviceFeatures2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceFeatures2")] public partial void GetPhysicalDeviceFeatures2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] out PhysicalDeviceFeatures2 pFeatures); @@ -529,6 +546,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Format format, [Count(Count = 0), Flow(FlowDirection.Out)] FormatProperties2* pFormatProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pFormatProperties = new(StructureType.FormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceFormatProperties2")] public partial void GetPhysicalDeviceFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Format format, [Count(Count = 0), Flow(FlowDirection.Out)] out FormatProperties2 pFormatProperties); @@ -537,6 +555,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial Result GetPhysicalDeviceImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceImageFormatInfo2* pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ImageFormatProperties2* pImageFormatProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceImageFormatProperties2")] public unsafe partial Result GetPhysicalDeviceImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceImageFormatInfo2* pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ImageFormatProperties2 pImageFormatProperties); @@ -545,6 +564,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial Result GetPhysicalDeviceImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceImageFormatInfo2 pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] ImageFormatProperties2* pImageFormatProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceImageFormatProperties2")] public partial Result GetPhysicalDeviceImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceImageFormatInfo2 pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out ImageFormatProperties2 pImageFormatProperties); @@ -553,6 +573,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceMemoryProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] PhysicalDeviceMemoryProperties2* pMemoryProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryProperties = new(StructureType.PhysicalDeviceMemoryProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceMemoryProperties2")] public partial void GetPhysicalDeviceMemoryProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] out PhysicalDeviceMemoryProperties2 pMemoryProperties); @@ -561,6 +582,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] PhysicalDeviceProperties2* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PhysicalDeviceProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceProperties2")] public partial void GetPhysicalDeviceProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] out PhysicalDeviceProperties2 pProperties); @@ -569,6 +591,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceQueueFamilyProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] QueueFamilyProperties2* pQueueFamilyProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyProperties2")] public unsafe partial void GetPhysicalDeviceQueueFamilyProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] out QueueFamilyProperties2 pQueueFamilyProperties); @@ -577,6 +600,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceQueueFamilyProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] QueueFamilyProperties2* pQueueFamilyProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceQueueFamilyProperties2")] public partial void GetPhysicalDeviceQueueFamilyProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref uint pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] out QueueFamilyProperties2 pQueueFamilyProperties); @@ -585,6 +609,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] SparseImageFormatProperties2* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2")] public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); @@ -593,6 +618,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] SparseImageFormatProperties2* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2")] public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); @@ -601,6 +627,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSparseImageFormatInfo2 pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] SparseImageFormatProperties2* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2")] public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSparseImageFormatInfo2 pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); @@ -609,6 +636,7 @@ public unsafe partial class Vk : NativeAPI public unsafe partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSparseImageFormatInfo2 pFormatInfo, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] SparseImageFormatProperties2* pProperties); /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] [NativeApi(EntryPoint = "vkGetPhysicalDeviceSparseImageFormatProperties2")] public partial void GetPhysicalDeviceSparseImageFormatProperties2([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in PhysicalDeviceSparseImageFormatInfo2 pFormatInfo, [Count(Count = 0)] ref uint pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] out SparseImageFormatProperties2 pProperties); diff --git a/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs b/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs index 1bde79e7dc..540a229eb0 100644 --- a/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs @@ -311,6 +311,7 @@ public static unsafe Result EnumeratePhysicalDeviceGroups(this Vk thisApi, [Coun } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetBufferMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] BufferMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -325,6 +326,7 @@ public static unsafe void GetBufferMemoryRequirements2(this Vk thisApi, [Count(C } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetBufferMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -332,6 +334,7 @@ public static unsafe void GetBufferMemoryRequirements2(this Vk thisApi, [Count(C } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] public static unsafe void GetDescriptorSetLayoutSupport(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] DescriptorSetLayoutCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSupport) { // SpanOverloader @@ -346,6 +349,7 @@ public static unsafe void GetDescriptorSetLayoutSupport(this Vk thisApi, [Count( } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSupport = new(StructureType.DescriptorSetLayoutSupport);")] public static unsafe void GetDescriptorSetLayoutSupport(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pSupport) { // SpanOverloader @@ -381,6 +385,7 @@ public static unsafe void GetDeviceQueue2(this Vk thisApi, [Count(Count = 0)] De } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetImageMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageMemoryRequirementsInfo2* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -395,6 +400,7 @@ public static unsafe void GetImageMemoryRequirements2(this Vk thisApi, [Count(Co } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryRequirements = new(StructureType.MemoryRequirements2);")] public static unsafe void GetImageMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryRequirements) { // SpanOverloader @@ -402,6 +408,7 @@ public static unsafe void GetImageMemoryRequirements2(this Vk thisApi, [Count(Co } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader @@ -416,6 +423,7 @@ public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Co } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ImageSparseMemoryRequirementsInfo2* pInfo, [Count(Count = 0)] Span pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader @@ -430,6 +438,7 @@ public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Co } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] uint* pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader @@ -444,6 +453,7 @@ public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Co } /// To be documented. + [Inject(SilkTouchStage.Begin, "pSparseMemoryRequirements = new(StructureType.SparseImageMemoryRequirements2);")] public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0)] Span pSparseMemoryRequirementCount, [Count(Parameter = "pSparseMemoryRequirementCount"), Flow(FlowDirection.Out)] Span pSparseMemoryRequirements) { // SpanOverloader @@ -451,6 +461,7 @@ public static unsafe void GetImageSparseMemoryRequirements2(this Vk thisApi, [Co } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] public static unsafe void GetPhysicalDeviceExternalBufferProperties(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalBufferProperties) { // SpanOverloader @@ -465,6 +476,7 @@ public static unsafe void GetPhysicalDeviceExternalBufferProperties(this Vk this } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalBufferProperties = new(StructureType.ExternalBufferProperties);")] public static unsafe void GetPhysicalDeviceExternalBufferProperties(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExternalBufferInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalBufferProperties) { // SpanOverloader @@ -472,6 +484,7 @@ public static unsafe void GetPhysicalDeviceExternalBufferProperties(this Vk this } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] public static unsafe void GetPhysicalDeviceExternalFenceProperties(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalFenceProperties) { // SpanOverloader @@ -486,6 +499,7 @@ public static unsafe void GetPhysicalDeviceExternalFenceProperties(this Vk thisA } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalFenceProperties = new(StructureType.ExternalFenceProperties);")] public static unsafe void GetPhysicalDeviceExternalFenceProperties(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExternalFenceInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalFenceProperties) { // SpanOverloader @@ -493,6 +507,7 @@ public static unsafe void GetPhysicalDeviceExternalFenceProperties(this Vk thisA } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] public static unsafe void GetPhysicalDeviceExternalSemaphoreProperties(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalSemaphoreProperties) { // SpanOverloader @@ -507,6 +522,7 @@ public static unsafe void GetPhysicalDeviceExternalSemaphoreProperties(this Vk t } /// To be documented. + [Inject(SilkTouchStage.Begin, "pExternalSemaphoreProperties = new(StructureType.ExternalSemaphoreProperties);")] public static unsafe void GetPhysicalDeviceExternalSemaphoreProperties(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pExternalSemaphoreInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pExternalSemaphoreProperties) { // SpanOverloader @@ -514,6 +530,7 @@ public static unsafe void GetPhysicalDeviceExternalSemaphoreProperties(this Vk t } /// To be documented. + [Inject(SilkTouchStage.Begin, "pFeatures = new(StructureType.PhysicalDeviceFeatures2);")] public static unsafe void GetPhysicalDeviceFeatures2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] Span pFeatures) { // SpanOverloader @@ -521,6 +538,7 @@ public static unsafe void GetPhysicalDeviceFeatures2(this Vk thisApi, [Count(Cou } /// To be documented. + [Inject(SilkTouchStage.Begin, "pFormatProperties = new(StructureType.FormatProperties2);")] public static unsafe void GetPhysicalDeviceFormatProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Format format, [Count(Count = 0), Flow(FlowDirection.Out)] Span pFormatProperties) { // SpanOverloader @@ -528,6 +546,7 @@ public static unsafe void GetPhysicalDeviceFormatProperties2(this Vk thisApi, [C } /// To be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceImageFormatInfo2* pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pImageFormatProperties) { // SpanOverloader @@ -542,6 +561,7 @@ public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this Vk this } /// To be documented. + [Inject(SilkTouchStage.Begin, "pImageFormatProperties = new(StructureType.ImageFormatProperties2);")] public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pImageFormatInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pImageFormatProperties) { // SpanOverloader @@ -549,6 +569,7 @@ public static unsafe Result GetPhysicalDeviceImageFormatProperties2(this Vk this } /// To be documented. + [Inject(SilkTouchStage.Begin, "pMemoryProperties = new(StructureType.PhysicalDeviceMemoryProperties2);")] public static unsafe void GetPhysicalDeviceMemoryProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryProperties) { // SpanOverloader @@ -556,6 +577,7 @@ public static unsafe void GetPhysicalDeviceMemoryProperties2(this Vk thisApi, [C } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.PhysicalDeviceProperties2);")] public static unsafe void GetPhysicalDeviceProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -563,6 +585,7 @@ public static unsafe void GetPhysicalDeviceProperties2(this Vk thisApi, [Count(C } /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint* pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] Span pQueueFamilyProperties) { // SpanOverloader @@ -577,6 +600,7 @@ public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this Vk thisAp } /// To be documented. + [Inject(SilkTouchStage.Begin, "pQueueFamilyProperties = new(StructureType.QueueFamilyProperties2);")] public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span pQueueFamilyPropertyCount, [Count(Parameter = "pQueueFamilyPropertyCount"), Flow(FlowDirection.Out)] Span pQueueFamilyProperties) { // SpanOverloader @@ -584,6 +608,7 @@ public static unsafe void GetPhysicalDeviceQueueFamilyProperties2(this Vk thisAp } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -598,6 +623,7 @@ public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Vk } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -612,6 +638,7 @@ public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Vk } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pFormatInfo, [Count(Count = 0)] uint* pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader @@ -626,6 +653,7 @@ public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Vk } /// To be documented. + [Inject(SilkTouchStage.Begin, "pProperties = new(StructureType.SparseImageFormatProperties2);")] public static unsafe void GetPhysicalDeviceSparseImageFormatProperties2(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pFormatInfo, [Count(Count = 0)] Span pPropertyCount, [Count(Parameter = "pPropertyCount"), Flow(FlowDirection.Out)] Span pProperties) { // SpanOverloader diff --git a/src/Windowing/Silk.NET.SDL/Structs/AudioCVT.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/AudioCVT.gen.cs index cf2bc904c4..4dc37c93e9 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/AudioCVT.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/AudioCVT.gen.cs @@ -163,7 +163,7 @@ public ref PfnAudioFilter this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 10); #endif diff --git a/src/Windowing/Silk.NET.SDL/Structs/MessageBoxColorScheme.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/MessageBoxColorScheme.gen.cs index 5f8235f737..c284ec7a74 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/MessageBoxColorScheme.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/MessageBoxColorScheme.gen.cs @@ -48,7 +48,7 @@ public ref MessageBoxColor this[int index] } } -#if NETSTANDARD2_1 +#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER public Span AsSpan() => MemoryMarshal.CreateSpan(ref Element0, 5); #endif